Home
last modified time | relevance | path

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

1234

/linux-3.4.99/drivers/isdn/hardware/eicon/
Dcapidtmf.c414 p_state->recv.min_gap_duration = 1; in capidtmf_recv_init()
415 p_state->recv.min_digit_duration = 1; in capidtmf_recv_init()
417 p_state->recv.cycle_counter = 0; in capidtmf_recv_init()
418 p_state->recv.current_digit_on_time = 0; in capidtmf_recv_init()
419 p_state->recv.current_digit_off_time = 0; in capidtmf_recv_init()
420 p_state->recv.current_digit_value = CAPIDTMF_RECV_NO_DIGIT; in capidtmf_recv_init()
422 p_state->recv.digit_write_pos = 0; in capidtmf_recv_init()
423 p_state->recv.digit_read_pos = 0; in capidtmf_recv_init()
424 p_state->recv.indication_state = 0; in capidtmf_recv_init()
425 p_state->recv.indication_state_ack = 0; in capidtmf_recv_init()
[all …]
Dcapidtmf.h68 t_capidtmf_recv_state recv; member
75 #define capidtmf_indication(p_state, buffer) (((p_state)->recv.indication_state != (p_state)->recv
76 #define capidtmf_recv_process_block(p_state, buffer, length) { if ((p_state)->recv.state != CAPIDT…
/linux-3.4.99/net/rds/
Diw_recv.c70 struct rds_iw_recv_work *recv) in rds_iw_recv_unmap_page() argument
72 struct rds_page_frag *frag = recv->r_frag; in rds_iw_recv_unmap_page()
74 rdsdebug("recv %p frag %p page %p\n", recv, frag, frag->f_page); in rds_iw_recv_unmap_page()
84 struct rds_iw_recv_work *recv; in rds_iw_recv_init_ring() local
87 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_iw_recv_init_ring()
90 recv->r_iwinc = NULL; in rds_iw_recv_init_ring()
91 recv->r_frag = NULL; in rds_iw_recv_init_ring()
93 recv->r_wr.next = NULL; in rds_iw_recv_init_ring()
94 recv->r_wr.wr_id = i; in rds_iw_recv_init_ring()
95 recv->r_wr.sg_list = recv->r_sge; in rds_iw_recv_init_ring()
[all …]
Dib_recv.c48 struct rds_ib_recv_work *recv; in rds_ib_recv_init_ring() local
51 for (i = 0, recv = ic->i_recvs; i < ic->i_recv_ring.w_nr; i++, recv++) { in rds_ib_recv_init_ring()
54 recv->r_ibinc = NULL; in rds_ib_recv_init_ring()
55 recv->r_frag = NULL; in rds_ib_recv_init_ring()
57 recv->r_wr.next = NULL; in rds_ib_recv_init_ring()
58 recv->r_wr.wr_id = i; in rds_ib_recv_init_ring()
59 recv->r_wr.sg_list = recv->r_sge; in rds_ib_recv_init_ring()
60 recv->r_wr.num_sge = RDS_IB_RECV_SGE; in rds_ib_recv_init_ring()
62 sge = &recv->r_sge[0]; in rds_ib_recv_init_ring()
67 sge = &recv->r_sge[1]; in rds_ib_recv_init_ring()
[all …]
DMakefile3 recv.o send.o stats.o sysctl.o threads.o transport.o \
/linux-3.4.99/sound/soc/sh/
Ddma-sh7760.c141 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_open() local
147 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_open()
148 if (recv) { in camelot_pcm_open()
174 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_pcm_close() local
177 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_close()
179 if (recv) in camelot_pcm_close()
195 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_hw_params() local
203 if (recv) { in camelot_hw_params()
270 int recv = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? 0:1; in camelot_trigger() local
274 if (recv) in camelot_trigger()
[all …]
Dssi.c137 unsigned int bits, channels, swl, recv, i; in ssi_hw_params() local
141 recv = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 0 : 1; in ssi_hw_params()
150 if (!recv) in ssi_hw_params()
/linux-3.4.99/arch/arm/mach-msm/
Dsmd.c152 return (ch->recv->head - ch->recv->tail) & ch->fifo_mask; in smd_stream_read_avail()
182 return (ch->recv->state == SMD_SS_OPENED) && in ch_is_open()
189 unsigned head = ch->recv->head; in ch_read_buffer()
190 unsigned tail = ch->recv->tail; in ch_read_buffer()
203 ch->recv->tail = (ch->recv->tail + count) & ch->fifo_mask; in ch_read_done()
321 ch->recv->tail = 0; in smd_state_change()
347 if (ch->recv->fHEAD) { in handle_smd_irq()
348 ch->recv->fHEAD = 0; in handle_smd_irq()
352 if (ch->recv->fTAIL) { in handle_smd_irq()
353 ch->recv->fTAIL = 0; in handle_smd_irq()
[all …]
Dsmd_private.h287 volatile struct smd_half_channel *recv; member
353 ch->recv = &shared1->ch1; in _smd_alloc_channel()
382 ch->recv = &shared2->ch1; in _smd_alloc_channel()
/linux-3.4.99/drivers/usb/storage/
Dkarma.c47 char *recv; member
123 data->recv, RIO_RECV_LEN, &partial); in rio_karma_send_command()
127 if (data->recv[5] == seq) in rio_karma_send_command()
179 kfree(data->recv); in rio_karma_destructor()
189 data->recv = kmalloc(RIO_RECV_LEN, GFP_NOIO); in rio_karma_init()
190 if (!data->recv) { in rio_karma_init()
/linux-3.4.99/drivers/isdn/hardware/mISDN/
Dnetjet.c90 struct tiger_dma recv; member
272 card->recv.dmacur = inl(card->base + NJ_DMA_WRITE_ADR); in mode_tiger()
274 card->recv.idx = (card->recv.dmacur - card->recv.dmastart) >> 2; in mode_tiger()
281 card->recv.idx); in mode_tiger()
355 card->recv.start = card->dma_p + (NJ_DMA_SIZE / 2); in inittiger()
356 card->recv.dmastart = (u32)card->dma + (NJ_DMA_SIZE / 2); in inittiger()
357 card->recv.dmaend = card->recv.dmastart + in inittiger()
359 card->recv.dmairq = card->recv.dmastart + in inittiger()
361 card->recv.size = NJ_DMA_RXSIZE; in inittiger()
366 card->recv.dmastart, card->recv.dmairq, in inittiger()
[all …]
/linux-3.4.99/drivers/infiniband/hw/cxgb3/
Diwch_qp.c258 wqe->recv.pagesz[0] = page_size[0]; in build_rdma_recv()
259 wqe->recv.pagesz[1] = page_size[1]; in build_rdma_recv()
260 wqe->recv.pagesz[2] = page_size[2]; in build_rdma_recv()
261 wqe->recv.pagesz[3] = page_size[3]; in build_rdma_recv()
262 wqe->recv.num_sgle = cpu_to_be32(wr->num_sge); in build_rdma_recv()
264 wqe->recv.sgl[i].stag = cpu_to_be32(wr->sg_list[i].lkey); in build_rdma_recv()
265 wqe->recv.sgl[i].len = cpu_to_be32(wr->sg_list[i].length); in build_rdma_recv()
268 wqe->recv.sgl[i].to = cpu_to_be64(((u32)wr->sg_list[i].addr) & in build_rdma_recv()
272 wqe->recv.pbl_addr[i] = cpu_to_be32(pbl_addr[i]); in build_rdma_recv()
275 wqe->recv.sgl[i].stag = 0; in build_rdma_recv()
[all …]
/linux-3.4.99/Documentation/blockdev/drbd/
Dnode-states-8.dot7 Secondary -> Primary [ label = "recv state packet" ]
8 Primary -> Secondary [ label = "recv state packet" ]
/linux-3.4.99/drivers/infiniband/core/
Dmad.c1845 static bool generate_unmatched_resp(struct ib_mad_private *recv, in generate_unmatched_resp() argument
1848 if (recv->mad.mad.mad_hdr.method == IB_MGMT_METHOD_GET || in generate_unmatched_resp()
1849 recv->mad.mad.mad_hdr.method == IB_MGMT_METHOD_SET) { in generate_unmatched_resp()
1850 memcpy(response, recv, sizeof *response); in generate_unmatched_resp()
1857 if (recv->mad.mad.mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) in generate_unmatched_resp()
1870 struct ib_mad_private *recv, *response = NULL; in ib_mad_recv_done_handler() local
1882 recv = container_of(mad_priv_hdr, struct ib_mad_private, header); in ib_mad_recv_done_handler()
1884 recv->header.mapping, in ib_mad_recv_done_handler()
1890 recv->header.wc = *wc; in ib_mad_recv_done_handler()
1891 recv->header.recv_wc.wc = &recv->header.wc; in ib_mad_recv_done_handler()
[all …]
/linux-3.4.99/arch/arm/mach-ixp4xx/
Dixp4xx_npe.c449 u32 *recv = msg; in npe_recv_message() local
456 recv[cnt++] = __raw_readl(&npe->regs->in_out_fifo); in npe_recv_message()
467 debug_msg(npe, "Received [%08X]\n", recv[0]); in npe_recv_message()
470 debug_msg(npe, "Received [%08X:%08X]\n", recv[0], recv[1]); in npe_recv_message()
488 u32 *send = msg, recv[2]; in npe_send_recv_message() local
492 if ((result = npe_recv_message(npe, recv, what)) != 0) in npe_send_recv_message()
495 if ((recv[0] != send[0]) || (recv[1] != send[1])) { in npe_send_recv_message()
/linux-3.4.99/drivers/isdn/mISDN/
Dstack.c393 dev->teimgr->recv = mISDN_queue_message; in create_stack()
396 dev->D.recv = l1_receive; in create_stack()
401 newst->own.recv = mISDN_queue_message; in create_stack()
438 ch->recv = mISDN_queue_message; in connect_layer1()
479 ch->recv = rq.ch->send; in connect_Bstack()
481 rq.ch->recv = ch->send; in connect_Bstack()
494 ch->recv = rq2.ch->send; in connect_Bstack()
504 rq2.ch->recv = rq.ch->send; in connect_Bstack()
506 rq.ch->recv = rq2.ch->send; in connect_Bstack()
536 ch->recv = mISDN_queue_message; in create_l2entity()
[all …]
Dhwchannel.c32 err = dch->dev.D.recv(dch->dev.D.peer, skb); in dchannel_bh()
56 err = bch->ch.recv(bch->ch.peer, skb); in bchannel_bh()
334 if (!ch->recv(ch->peer, skb)) in queue_ch_frame()
/linux-3.4.99/drivers/scsi/libfc/
Dfc_libfc.c248 if (prov_entry && prov_entry->recv) in fc_fc4_conf_lport_params()
279 prov_entry = (prov->recv ? fc_passive_prov : fc_active_prov) + type; in fc_fc4_register_provider()
298 if (prov->recv) in fc_fc4_deregister_provider()
Dfc_lport.c882 void (*recv)(struct fc_lport *, struct fc_frame *); in fc_lport_recv_els_req() local
897 recv = lport->tt.rport_recv_req; in fc_lport_recv_els_req()
901 recv = fc_lport_recv_flogi_req; in fc_lport_recv_els_req()
905 recv = fc_lport_recv_logo_req; in fc_lport_recv_els_req()
908 recv = lport->tt.disc_recv_req; in fc_lport_recv_els_req()
911 recv = fc_lport_recv_echo_req; in fc_lport_recv_els_req()
914 recv = fc_lport_recv_rlir_req; in fc_lport_recv_els_req()
917 recv = fc_lport_recv_rnid_req; in fc_lport_recv_els_req()
921 recv(lport, fp); in fc_lport_recv_els_req()
935 .recv = fc_lport_recv_els_req,
[all …]
/linux-3.4.99/drivers/scsi/
Dlibiscsi_tcp.c116 static void iscsi_tcp_segment_map(struct iscsi_segment *segment, int recv) in iscsi_tcp_segment_map() argument
133 if (page_count(sg_page(sg)) >= 1 && !recv) in iscsi_tcp_segment_map()
136 if (recv) { in iscsi_tcp_segment_map()
193 struct iscsi_segment *segment, int recv, in iscsi_tcp_segment_done() argument
201 recv ? "recv" : "xmit"); in iscsi_tcp_segment_done()
222 iscsi_tcp_segment_map(segment, recv); in iscsi_tcp_segment_done()
240 iscsi_tcp_segment_map(segment, recv); in iscsi_tcp_segment_done()
265 recv ? segment->recv_digest : segment->digest); in iscsi_tcp_segment_done()
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dt3cdev.h59 int (*recv)(struct t3cdev *dev, struct sk_buff **skb, int n); member
/linux-3.4.99/drivers/tty/hvc/
Dhvc_xen.c142 int recv = 0; in domU_read_console() local
153 while (cons != prod && recv < len) in domU_read_console()
154 buf[recv++] = intf->in[MASK_XENCONS_IDX(cons++, intf->in)]; in domU_read_console()
160 return recv; in domU_read_console()
/linux-3.4.99/drivers/net/hyperv/
Dnetvsc.c612 transaction_id = packet->completion.recv.recv_completion_tid; in netvsc_receive_completion()
738 netvsc_packet->completion.recv.recv_completion = in netvsc_receive()
740 netvsc_packet->completion.recv.recv_completion_ctx = in netvsc_receive()
744 netvsc_packet->completion.recv.recv_completion_tid = in netvsc_receive()
756 completion.recv.recv_completion_ctx); in netvsc_receive()
/linux-3.4.99/drivers/bluetooth/
Dhci_uart.h58 int (*recv)(struct hci_uart *hu, void *data, int len); member
/linux-3.4.99/drivers/gpu/drm/radeon/
Datombios_dp.c90 u8 *recv, int recv_size, in radeon_process_aux_ch() argument
140 if (recv && recv_size) in radeon_process_aux_ch()
141 radeon_atom_copy_swap(recv, base + 16, recv_bytes, false); in radeon_process_aux_ch()
184 u16 address, u8 *recv, int recv_bytes, u8 delay) in radeon_dp_aux_native_read() argument
200 msg, msg_bytes, recv, recv_bytes, delay, &ack); in radeon_dp_aux_native_read()

1234