Home
last modified time | relevance | path

Searched refs:recv (Results 1 – 25 of 201) sorted by relevance

123456789

/linux/net/rds/
A Dib_recv.c52 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring()
55 recv->r_ibinc = NULL; in rds_ib_recv_init_ring()
56 recv->r_frag = NULL; in rds_ib_recv_init_ring()
59 recv->r_wr.wr_id = i; in rds_ib_recv_init_ring()
60 recv->r_wr.sg_list = recv->r_sge; in rds_ib_recv_init_ring()
63 sge = &recv->r_sge[0]; in rds_ib_recv_init_ring()
226 if (recv->r_ibinc) { in rds_ib_recv_clear_one()
230 if (recv->r_frag) { in rds_ib_recv_clear_one()
332 if (!recv->r_ibinc) in rds_ib_recv_refill_one()
338 if (!recv->r_frag) in rds_ib_recv_refill_one()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
A Dgt215.c54 pmu->recv.message = message; in gt215_pmu_send()
55 pmu->recv.process = process; in gt215_pmu_send()
77 wait_event(pmu->recv.wait, (pmu->recv.process == 0)); in gt215_pmu_send()
78 reply[0] = pmu->recv.data[0]; in gt215_pmu_send()
105 pmu->recv.base)); in gt215_pmu_recv()
116 if (pmu->recv.process) { in gt215_pmu_recv()
119 pmu->recv.data[0] = data0; in gt215_pmu_recv()
120 pmu->recv.data[1] = data1; in gt215_pmu_recv()
121 pmu->recv.process = 0; in gt215_pmu_recv()
122 wake_up(&pmu->recv.wait); in gt215_pmu_recv()
[all …]
A Dbase.c57 struct nvkm_pmu *pmu = container_of(work, typeof(*pmu), recv.work); in nvkm_pmu_recv()
58 return pmu->func->recv(pmu); in nvkm_pmu_recv()
87 flush_work(&pmu->recv.work); in nvkm_pmu_fini()
174 INIT_WORK(&pmu->recv.work, nvkm_pmu_recv); in nvkm_pmu_ctor()
175 init_waitqueue_head(&pmu->recv.wait); in nvkm_pmu_ctor()
/linux/tools/testing/selftests/net/
A Dtls.c224 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
436 EXPECT_NE(recv(self->cfd, buf, send_len, 0), -1); in TEST_F()
534 EXPECT_NE(recv(self->fd, mem, send_len, 0), -1); in TEST_F()
565 EXPECT_NE(recv(self->fd, buf, total_len, 0), -1); in TEST_F()
1008 EXPECT_NE((len = recv(self->cfd, buf, len, in TEST_F()
1160 int res = recv(self->cfd, buf, in TEST_F()
1222 int res = recv(self->cfd, buf, in TEST_F()
1289 res = recv(self->cfd, rb, in test_mutliproc()
1500 n = recv(self->cfd, buf, sizeof(buf), 0); in TEST_F()
1561 n = recv(self->cfd, cip, sizeof(cip), 0); in TEST_F()
[all …]
/linux/sound/soc/sh/
A Ddma-sh7760.c123 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_open() local
129 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_open()
130 if (recv) { in camelot_pcm_open()
157 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_close() local
160 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_close()
162 if (recv) in camelot_pcm_close()
179 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_hw_params() local
181 if (recv) { in camelot_hw_params()
249 if (recv) in camelot_trigger()
255 if (recv) in camelot_trigger()
[all …]
/linux/drivers/isdn/hardware/mISDN/
A Dnetjet.c77 struct tiger_dma recv; member
261 card->recv.idx = (card->recv.dmacur - card->recv.dmastart) >> 2; in mode_tiger()
268 card->recv.idx); in mode_tiger()
344 card->recv.dmaend = card->recv.dmastart + in inittiger()
346 card->recv.dmairq = card->recv.dmastart + in inittiger()
353 card->recv.dmastart, card->recv.dmairq, in inittiger()
354 card->recv.dmaend, card->recv.start, card->recv.size); in inittiger()
396 if (idx >= card->recv.size) in read_dma()
455 idx = card->recv.size - 1; in recv_tiger()
704 card->recv.idx = (card->recv.dmacur - card->recv.dmastart) >> 2; in nj_irq()
[all …]
/linux/drivers/bluetooth/
A Dhci_h4.c101 { H4_RECV_ACL, .recv = hci_recv_frame },
102 { H4_RECV_SCO, .recv = hci_recv_frame },
103 { H4_RECV_EVENT, .recv = hci_recv_frame },
104 { H4_RECV_ISO, .recv = hci_recv_frame },
138 .recv = h4_recv,
259 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
267 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
A Dhci_mrvl.c243 { H4_RECV_ACL, .recv = hci_recv_frame },
244 { H4_RECV_SCO, .recv = hci_recv_frame },
245 { H4_RECV_EVENT, .recv = hci_recv_frame },
246 { HCI_RECV_FW_REQ, .recv = mrvl_recv_fw_req },
247 { HCI_RECV_CHIP_VER, .recv = mrvl_recv_chip_ver },
391 .recv = mrvl_recv,
A Dh4_recv.h17 int (*recv)(struct hci_dev *hdev, struct sk_buff *skb); member
135 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
140 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
A Dhci_ath.c185 { H4_RECV_ACL, .recv = hci_recv_frame },
186 { H4_RECV_SCO, .recv = hci_recv_frame },
187 { H4_RECV_EVENT, .recv = hci_recv_frame },
255 .recv = ath_recv,
A Dhci_ll.c415 { H4_RECV_ACL, .recv = hci_recv_frame },
416 { H4_RECV_SCO, .recv = hci_recv_frame },
417 { H4_RECV_EVENT, .recv = hci_recv_frame },
418 { LL_RECV_SLEEP_IND, .recv = ll_recv_frame },
419 { LL_RECV_SLEEP_ACK, .recv = ll_recv_frame },
420 { LL_RECV_WAKE_IND, .recv = ll_recv_frame },
421 { LL_RECV_WAKE_ACK, .recv = ll_recv_frame },
804 .recv = ll_recv,
A Dhci_ag6xx.c96 { H4_RECV_ACL, .recv = hci_recv_frame },
97 { H4_RECV_SCO, .recv = hci_recv_frame },
98 { H4_RECV_EVENT, .recv = hci_recv_frame },
308 .recv = ag6xx_recv,
/linux/drivers/usb/storage/
A Dkarma.c39 char *recv; member
115 data->recv, RIO_RECV_LEN, NULL); in rio_karma_send_command()
119 if (data->recv[5] == seq) in rio_karma_send_command()
172 kfree(data->recv); in rio_karma_destructor()
183 data->recv = kmalloc(RIO_RECV_LEN, GFP_NOIO); in rio_karma_init()
184 if (!data->recv) { in rio_karma_init()
/linux/net/sunrpc/
A Dxprtsock.c480 &transport->recv.xid, in xs_read_header()
482 transport->recv.copied = transport->recv.offset; in xs_read_header()
510 want = transport->recv.len - transport->recv.offset; in xs_read_stream_request()
520 if (transport->recv.offset == transport->recv.len) in xs_read_stream_request()
641 transport->recv.len = be32_to_cpu(transport->recv.fraghdr) & in xs_read_stream()
643 transport->recv.offset -= sizeof(transport->recv.fraghdr); in xs_read_stream()
664 if (transport->recv.offset < transport->recv.len) { in xs_read_stream()
669 transport->recv.len - transport->recv.offset); in xs_read_stream()
674 if (transport->recv.offset != transport->recv.len) in xs_read_stream()
682 transport->recv.len = 0; in xs_read_stream()
[all …]
/linux/drivers/infiniband/core/
A Dmad.c2058 recv->header.mapping, in ib_mad_recv_done()
2063 recv->header.wc = *wc; in ib_mad_recv_done()
2064 recv->header.recv_wc.wc = &recv->header.wc; in ib_mad_recv_done()
2074 recv->header.recv_wc.recv_buf.mad = (struct ib_mad *)recv->mad; in ib_mad_recv_done()
2075 recv->header.recv_wc.recv_buf.grh = &recv->grh; in ib_mad_recv_done()
2084 mad_size = recv->mad_size; in ib_mad_recv_done()
2106 &recv->grh, (const struct ib_mad *)recv->mad, in ib_mad_recv_done()
2118 &recv->grh, wc, in ib_mad_recv_done()
2136 recv = NULL; in ib_mad_recv_done()
2148 kfree(recv); in ib_mad_recv_done()
[all …]
/linux/drivers/mailbox/
A Darm_mhuv2.c177 struct mhu2_recv_frame_reg __iomem *recv; member
265 &mhu->recv->ch_wn[priv->ch_wn_idx].mask_clear); in mhuv2_doorbell_rx_startup()
275 &mhu->recv->ch_wn[priv->ch_wn_idx].mask_set); in mhuv2_doorbell_rx_shutdown()
283 &mhu->recv->ch_wn[priv->ch_wn_idx].stat_clear); in mhuv2_doorbell_read_data()
334 writel_relaxed(0xFFFFFFFF, &mhu->recv->ch_wn[i].mask_clear); in mhuv2_data_transfer_rx_startup()
344 writel_relaxed(0xFFFFFFFF, &mhu->recv->ch_wn[i].mask_set); in mhuv2_data_transfer_rx_shutdown()
377 data[windows - 1 - i] = readl_relaxed(&mhu->recv->ch_wn[idx].stat); in mhuv2_data_transfer_read_data()
378 writel_relaxed(0xFFFFFFFF, &mhu->recv->ch_wn[idx].stat_clear); in mhuv2_data_transfer_read_data()
625 chan = get_irq_chan_comb(mhu, mhu->recv->chcomb_int_st); in get_irq_chan_comb_rx()
1026 mhu->recv = reg; in mhuv2_rx_init()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dtcpbpf_user.c81 rv = recv(accept_fd, buf, 1000, 0); in run_test()
93 rv = recv(cli_fd, buf, 500, 0); in run_test()
102 err = recv(cli_fd, buf, 1, 0); in run_test()
107 err = recv(accept_fd, buf, 1, 0); in run_test()
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_ct.c106 spin_lock_init(&ct->ctbs.recv.lock); in intel_guc_ct_init_early()
328 guc_ct_buffer_reset(&ct->ctbs.recv); in intel_guc_ct_enable()
334 desc = base + ptrdiff(ct->ctbs.recv.desc, blob); in intel_guc_ct_enable()
337 desc, cmds, ct->ctbs.recv.size * 4); in intel_guc_ct_enable()
525 send->status, recv->status); in ct_deadlocked()
550 atomic_sub(g2h_len_dw, &ct->ctbs.recv.space); in g2h_reserve_space()
555 atomic_add(g2h_len_dw, &ct->ctbs.recv.space); in g2h_release_space()
1126 spin_lock_irqsave(&ct->ctbs.recv.lock, flags); in ct_receive()
1186 atomic_read(&ct->ctbs.recv.space) * 4); in intel_guc_ct_print_info()
1188 ct->ctbs.recv.desc->head); in intel_guc_ct_print_info()
[all …]
/linux/Documentation/devicetree/bindings/mailbox/
A Dapple,mailbox.yaml53 - const: recv-empty
54 - const: recv-not-empty
75 "recv-empty", "recv-not-empty";
/linux/drivers/soc/ixp4xx/
A Dixp4xx-npe.c448 u32 *recv = msg; in npe_recv_message() local
455 recv[cnt++] = __raw_readl(&npe->regs->in_out_fifo); in npe_recv_message()
466 debug_msg(npe, "Received [%08X]\n", recv[0]); in npe_recv_message()
469 debug_msg(npe, "Received [%08X:%08X]\n", recv[0], recv[1]); in npe_recv_message()
487 u32 *send = msg, recv[2]; in npe_send_recv_message() local
491 if ((result = npe_recv_message(npe, recv, what)) != 0) in npe_send_recv_message()
494 if ((recv[0] != send[0]) || (recv[1] != send[1])) { in npe_send_recv_message()
/linux/drivers/char/tpm/st33zp24/
A Dst33zp24.c72 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption()
101 tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_status()
116 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in check_locality()
186 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 1, in get_burstcount()
192 status = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_STS + 2, in get_burstcount()
318 ret = tpm_dev->ops->recv(tpm_dev->phy_id, TPM_DATA_FIFO, in recv_data()
495 .recv = st33zp24_recv,
/linux/drivers/isdn/mISDN/
A Dstack.c389 dev->teimgr->recv = mISDN_queue_message; in create_stack()
392 dev->D.recv = l1_receive; in create_stack()
397 newst->own.recv = mISDN_queue_message; in create_stack()
434 ch->recv = mISDN_queue_message; in connect_layer1()
475 ch->recv = rq.ch->send; in connect_Bstack()
477 rq.ch->recv = ch->send; in connect_Bstack()
490 ch->recv = rq2.ch->send; in connect_Bstack()
500 rq2.ch->recv = rq.ch->send; in connect_Bstack()
502 rq.ch->recv = rq2.ch->send; in connect_Bstack()
533 ch->recv = mISDN_queue_message; in create_l2entity()
[all …]
/linux/Documentation/admin-guide/blockdev/drbd/
A Dpeer-states-8.dot2 Secondary -> Primary [ label = "recv state packet" ]
3 Primary -> Secondary [ label = "recv state packet" ]
/linux/tools/testing/selftests/net/af_unix/
A Dtest_unix_oob.c87 if (recv(fd, c, sizeof(*c), MSG_OOB) < 0) { in read_oob()
244 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
268 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
369 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
401 len = recv(pfd, buf, 1024, MSG_PEEK); in main()
/linux/tools/testing/selftests/pidfd/
A Dpidfd_getfd_test.c68 while ((ret = recv(sk, &buf, sizeof(buf), 0)) > 0) { in __child()
162 ret = recv(sk_pair[0], &self->remote_fd, sizeof(self->remote_fd), 0); in FIXTURE_SETUP()
190 ASSERT_EQ(1, recv(self->sk, &c, 1, 0)); in TEST_F()

Completed in 71 milliseconds

123456789