Home
last modified time | relevance | path

Searched refs:peer (Results 1 – 25 of 59) sorted by relevance

123

/linux-4.19.296/drivers/ntb/test/
Dntb_perf.c203 int (*cmd_send)(struct perf_peer *peer, enum perf_cmd cmd, u64 data);
248 static inline bool perf_link_is_up(struct perf_peer *peer) in perf_link_is_up() argument
252 link = ntb_link_is_up(peer->perf->ntb, NULL, NULL); in perf_link_is_up()
253 return !!(link & BIT_ULL_MASK(peer->pidx)); in perf_link_is_up()
256 static int perf_spad_cmd_send(struct perf_peer *peer, enum perf_cmd cmd, in perf_spad_cmd_send() argument
259 struct perf_ctx *perf = peer->perf; in perf_spad_cmd_send()
273 if (!perf_link_is_up(peer)) in perf_spad_cmd_send()
276 sts = ntb_peer_spad_read(perf->ntb, peer->pidx, in perf_spad_cmd_send()
283 ntb_peer_spad_write(perf->ntb, peer->pidx, in perf_spad_cmd_send()
286 ntb_peer_spad_write(perf->ntb, peer->pidx, in perf_spad_cmd_send()
[all …]
Dntb_tool.c431 struct tool_peer *peer = filep->private_data; in tool_peer_port_read() local
432 struct tool_ctx *tc = peer->tc; in tool_peer_port_read()
437 ntb_peer_port_number(tc->ntb, peer->pidx)); in tool_peer_port_read()
498 struct tool_peer *peer = filep->private_data; in tool_peer_link_read() local
499 struct tool_ctx *tc = peer->tc; in tool_peer_link_read()
502 if (ntb_link_is_up(tc->ntb, NULL, NULL) & BIT(peer->pidx)) in tool_peer_link_read()
520 struct tool_peer *peer = filep->private_data; in tool_peer_link_event_write() local
521 struct tool_ctx *tc = peer->tc; in tool_peer_link_event_write()
530 link_msk = BIT_ULL_MASK(peer->pidx); in tool_peer_link_event_write()
/linux-4.19.296/drivers/clk/qcom/
Dclk-rpm.c38 .peer = &_platform##_##_active, \
49 .peer = &_platform##_##_name, \
89 .peer = &_platform##_##_active, \
101 .peer = &_platform##_##_name, \
116 .peer = &_platform##_##_active, \
129 .peer = &_platform##_##_name, \
151 struct clk_rpm *peer; member
231 struct clk_rpm *peer = r->peer; in clk_rpm_prepare() local
246 if (peer->enabled) in clk_rpm_prepare()
247 to_active_sleep(peer, peer->rate, in clk_rpm_prepare()
[all …]
Dclk-smd-rpm.c45 .peer = &_platform##_##_active, \
60 .peer = &_platform##_##_name, \
79 .peer = &_platform##_##_active, \
95 .peer = &_platform##_##_name, \
137 struct clk_smd_rpm *peer; member
231 struct clk_smd_rpm *peer = r->peer; in clk_smd_rpm_prepare() local
246 if (peer->enabled) in clk_smd_rpm_prepare()
247 to_active_sleep(peer, peer->rate, in clk_smd_rpm_prepare()
280 struct clk_smd_rpm *peer = r->peer; in clk_smd_rpm_unprepare() local
291 if (peer->enabled) in clk_smd_rpm_unprepare()
[all …]
Dclk-rpmh.c46 struct clk_rpmh *peer; member
64 .peer = &_platform##_##_name_active, \
80 .peer = &_platform##_##_name, \
140 c->peer->last_sent_aggr_state = c->last_sent_aggr_state; in clk_rpmh_send_aggregate_command()
158 c->aggr_state = c->state | c->peer->state; in clk_rpmh_aggregate_state_send_command()
159 c->peer->aggr_state = c->aggr_state; in clk_rpmh_aggregate_state_send_command()
/linux-4.19.296/drivers/isdn/mISDN/
Ddsp_core.c218 if (!dsp->ch.peer) { in dsp_rx_off_member()
226 if (dsp->ch.peer->ctrl(dsp->ch.peer, CONTROL_CHANNEL, &cq)) { in dsp_rx_off_member()
263 if (!dsp->ch.peer) { in dsp_fill_empty()
272 if (dsp->ch.peer->ctrl(dsp->ch.peer, CONTROL_CHANNEL, &cq)) { in dsp_fill_empty()
633 if (!ch->peer) { in get_features()
641 if (ch->peer->ctrl(ch->peer, CONTROL_CHANNEL, &cq) < 0) { in get_features()
655 if (ch->peer->ctrl(ch->peer, CONTROL_CHANNEL, &cq)) { in get_features()
919 if (ch->peer) in dsp_function()
920 return ch->recv(ch->peer, skb); in dsp_function()
939 if (ch->peer) in dsp_function()
[all …]
Dstack.c399 dev->teimgr->peer = &newst->own; in create_stack()
404 dev->D.peer = &newst->own; in create_stack()
446 ch->peer = &dev->D.st->own; in connect_layer1()
487 ch->peer = rq.ch; in connect_Bstack()
489 rq.ch->peer = ch; in connect_Bstack()
502 ch->peer = rq2.ch; in connect_Bstack()
512 rq2.ch->peer = rq.ch; in connect_Bstack()
514 rq.ch->peer = rq2.ch; in connect_Bstack()
545 ch->peer = &dev->D.st->own; in create_l2entity()
562 rq.ch->peer = &dev->D.st->own; in create_l2entity()
[all …]
Ddsp_hwec.c102 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_enable()
122 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_disable()
Dhwchannel.c31 if (likely(dch->dev.D.peer)) { in dchannel_bh()
32 err = dch->dev.D.recv(dch->dev.D.peer, skb); in dchannel_bh()
55 if (likely(bch->ch.peer)) { in bchannel_bh()
56 err = bch->ch.recv(bch->ch.peer, skb); in bchannel_bh()
400 if (ch->peer) { in queue_ch_frame()
404 if (!ch->recv(ch->peer, skb)) in queue_ch_frame()
/linux-4.19.296/drivers/misc/vmw_vmci/
Dvmci_queue_pair.h39 u32 peer; member
150 int vmci_qp_broker_alloc(struct vmci_handle handle, u32 peer,
165 u32 peer, u32 flags, u32 priv_flags,
Dvmci_queue_pair.c159 u32 peer; member
195 u32 peer; member
890 u32 peer, in qp_guest_endpoint_create() argument
911 entry->qp.peer = peer; in qp_guest_endpoint_create()
976 alloc_msg->peer = entry->qp.peer; in qp_alloc_hypercall()
1107 u32 peer, in qp_alloc_guest_work() argument
1177 queue_pair_entry = qp_guest_endpoint_create(*handle, peer, flags, in qp_alloc_guest_work()
1212 (queue_pair_entry->qp.peer != VMCI_INVALID_ID && in qp_alloc_guest_work()
1213 queue_pair_entry->qp.peer != context_id)) { in qp_alloc_guest_work()
1292 u32 peer, in qp_broker_create() argument
[all …]
/linux-4.19.296/include/trace/events/
Dsctp.h32 __entry->primary = (sp == asoc->peer.primary_path);
74 __entry->peer_port = asoc->peer.port;
76 __entry->rwnd = asoc->peer.rwnd;
Drxrpc.h536 __field(unsigned int, peer )
543 __entry->peer = peer_debug_id;
550 __entry->peer,
1445 TP_PROTO(struct rxrpc_peer *peer, struct sock_extended_err *ee,
1448 TP_ARGS(peer, ee, srx),
1451 __field(unsigned int, peer )
1457 __entry->peer = peer->debug_id;
1463 __entry->peer,
/linux-4.19.296/include/soc/tegra/
Divc.h23 struct device *peer; member
102 int tegra_ivc_init(struct tegra_ivc *ivc, struct device *peer, void *rx,
/linux-4.19.296/include/uapi/linux/
Dscif_ioctl.h81 struct scif_port_id peer; member
92 struct scif_port_id peer; member
Dtipc.h224 __u32 peer; member
230 __u32 peer; member
/linux-4.19.296/include/net/
Dnet_namespace.h332 int peernet2id_alloc(struct net *net, struct net *peer, gfp_t gfp);
333 int peernet2id(struct net *net, struct net *peer);
334 bool peernet_has_id(struct net *net, struct net *peer);
Daf_unix.h59 struct sock *peer; member
Dinet_common.h38 int peer);
/linux-4.19.296/include/linux/
Ddrbd.h269 unsigned peer:2 ; /* 3/4 primary/secondary/unknown */ member
291 unsigned peer:2 ; /* 3/4 primary/secondary/unknown */
DmISDNif.h474 struct mISDNchannel *peer; member
570 if (!ch->peer) in _queue_data()
575 if (ch->recv(ch->peer, skb)) in _queue_data()
/linux-4.19.296/drivers/ntb/hw/idt/
Dntb_hw_idt.c1130 struct idt_ntb_peer *peer; in idt_init_mws() local
1143 peer = &ndev->peers[pidx]; in idt_init_mws()
1144 peer->mws = idt_scan_mws(ndev, peer->port, &peer->mw_cnt); in idt_init_mws()
1145 if (IS_ERR(peer->mws)) { in idt_init_mws()
1147 "Failed to scan mws of port %hhu", peer->port); in idt_init_mws()
1148 return PTR_ERR(peer->mws); in idt_init_mws()
1201 struct idt_ntb_peer *peer; in idt_ntb_mw_get_align() local
1206 peer = &ndev->peers[pidx]; in idt_ntb_mw_get_align()
1208 if (widx < 0 || peer->mw_cnt <= widx) in idt_ntb_mw_get_align()
1212 *addr_align = peer->mws[widx].addr_align; in idt_ntb_mw_get_align()
[all …]
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_api.c148 msg.dst = ep->peer; in scif_disconnect_ep()
746 int scif_accept(scif_epd_t epd, struct scif_port_id *peer, in scif_accept() argument
762 if (!peer || !newepd) in scif_accept()
803 peer->node = conreq->msg.src.node; in scif_accept()
804 peer->port = conreq->msg.src.port; in scif_accept()
815 cep->remote_dev = &scif_dev[peer->node]; in scif_accept()
856 cep->peer.node = peer->node; in scif_accept()
857 cep->peer.port = peer->port; in scif_accept()
Dscif_epd.c180 ep->peer.node = msg->src.node; in scif_cnctgnt()
181 ep->peer.port = msg->src.port; in scif_cnctgnt()
/linux-4.19.296/drivers/uwb/
DKconfig16 The topology is peer to peer; however, higher level

123