Home
last modified time | relevance | path

Searched refs:rx_state (Results 1 – 18 of 18) sorted by relevance

/drivers/bluetooth/
Dhci_bcsp.c77 } rx_state; member
437 bcsp->rx_state != BCSP_W4_CRC) in bcsp_unslip_one_byte()
448 bcsp->rx_state != BCSP_W4_CRC) in bcsp_unslip_one_byte()
457 bcsp->rx_state != BCSP_W4_CRC) in bcsp_unslip_one_byte()
467 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_unslip_one_byte()
542 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_complete_rx_pkt()
558 hu, count, bcsp->rx_state, bcsp->rx_count); in bcsp_recv()
566 bcsp->rx_state = BCSP_W4_PKT_START; in bcsp_recv()
575 switch (bcsp->rx_state) { in bcsp_recv()
581 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_recv()
[all …]
Dhci_ll.c80 unsigned long rx_state; member
361 ll->rx_state = HCILL_W4_DATA; in ll_check_data_len()
366 ll->rx_state = HCILL_W4_PACKET_TYPE; in ll_check_data_len()
383 BT_DBG("hu %p count %d rx_state %ld rx_count %ld", hu, count, ll->rx_state, ll->rx_count); in ll_recv()
395 switch (ll->rx_state) { in ll_recv()
400 ll->rx_state = HCILL_W4_PACKET_TYPE; in ll_recv()
435 ll->rx_state = HCILL_W4_EVENT_HDR; in ll_recv()
442 ll->rx_state = HCILL_W4_ACL_HDR; in ll_recv()
449 ll->rx_state = HCILL_W4_SCO_HDR; in ll_recv()
492 ll->rx_state = HCILL_W4_PACKET_TYPE; in ll_recv()
Dbtuart_cs.c75 unsigned long rx_state; member
191 info->rx_state = RECV_WAIT_PACKET_TYPE; in btuart_receive()
199 if (info->rx_state == RECV_WAIT_PACKET_TYPE) { in btuart_receive()
207 info->rx_state = RECV_WAIT_EVENT_HEADER; in btuart_receive()
212 info->rx_state = RECV_WAIT_ACL_HEADER; in btuart_receive()
217 info->rx_state = RECV_WAIT_SCO_HEADER; in btuart_receive()
246 switch (info->rx_state) { in btuart_receive()
250 info->rx_state = RECV_WAIT_DATA; in btuart_receive()
257 info->rx_state = RECV_WAIT_DATA; in btuart_receive()
263 info->rx_state = RECV_WAIT_DATA; in btuart_receive()
[all …]
Dbt3c_cs.c80 unsigned long rx_state; member
239 info->rx_state = RECV_WAIT_PACKET_TYPE; in bt3c_receive()
248 if (info->rx_state == RECV_WAIT_PACKET_TYPE) { in bt3c_receive()
258 info->rx_state = RECV_WAIT_EVENT_HEADER; in bt3c_receive()
263 info->rx_state = RECV_WAIT_ACL_HEADER; in bt3c_receive()
268 info->rx_state = RECV_WAIT_SCO_HEADER; in bt3c_receive()
299 switch (info->rx_state) { in bt3c_receive()
303 info->rx_state = RECV_WAIT_DATA; in bt3c_receive()
310 info->rx_state = RECV_WAIT_DATA; in bt3c_receive()
316 info->rx_state = RECV_WAIT_DATA; in bt3c_receive()
[all …]
Dbluecard_cs.c75 unsigned long rx_state; member
392 info->rx_state = RECV_WAIT_PACKET_TYPE; in bluecard_receive()
400 if (info->rx_state == RECV_WAIT_PACKET_TYPE) { in bluecard_receive()
421 info->rx_state = RECV_WAIT_EVENT_HEADER; in bluecard_receive()
426 info->rx_state = RECV_WAIT_ACL_HEADER; in bluecard_receive()
431 info->rx_state = RECV_WAIT_SCO_HEADER; in bluecard_receive()
458 switch (info->rx_state) { in bluecard_receive()
462 info->rx_state = RECV_WAIT_DATA; in bluecard_receive()
469 info->rx_state = RECV_WAIT_DATA; in bluecard_receive()
475 info->rx_state = RECV_WAIT_DATA; in bluecard_receive()
[all …]
Dhci_h4.c52 unsigned long rx_state; member
139 h4->rx_state = H4_W4_DATA; in h4_check_data_len()
144 h4->rx_state = H4_W4_PACKET_TYPE; in h4_check_data_len()
Ddtl1_cs.c78 unsigned long rx_state; member
221 info->rx_state = RECV_WAIT_NSH; in dtl1_receive()
233 switch (info->rx_state) { in dtl1_receive()
235 info->rx_state = RECV_WAIT_DATA; in dtl1_receive()
270 info->rx_state = RECV_WAIT_NSH; in dtl1_receive()
461 info->rx_state = RECV_WAIT_NSH; in dtl1_open()
/drivers/net/caif/
Dcaif_hsi.c549 while (nfrms < cfhsi->rx_state.nfrms) { in cfhsi_rx_pld()
583 cfhsi->rx_state.nfrms = nfrms; in cfhsi_rx_pld()
620 int desc_pld_len = 0, rx_len, rx_state; in cfhsi_rx_done() local
638 if (cfhsi->rx_state.state == CFHSI_RX_STATE_DESC) { in cfhsi_rx_done()
654 if (cfhsi->rx_state.pld_len > 0 && in cfhsi_rx_done()
659 cfhsi->rx_state.pld_len); in cfhsi_rx_done()
661 cfhsi->rx_state.piggy_desc = true; in cfhsi_rx_done()
684 rx_state = CFHSI_RX_STATE_PAYLOAD; in cfhsi_rx_done()
687 rx_state = CFHSI_RX_STATE_DESC; in cfhsi_rx_done()
708 if (cfhsi->rx_state.state == CFHSI_RX_STATE_DESC) { in cfhsi_rx_done()
[all …]
/drivers/misc/ti-st/
Dst_kim.c83 kim_gdata->rx_state = ST_W4_PACKET_TYPE; in validate_firmware_response()
119 kim_gdata->rx_state = ST_W4_DATA; in kim_check_data_len()
126 kim_gdata->rx_state = ST_W4_PACKET_TYPE; in kim_check_data_len()
166 switch (kim_gdata->rx_state) { in kim_int_recv()
171 kim_gdata->rx_state = ST_W4_PACKET_TYPE; in kim_int_recv()
186 kim_gdata->rx_state = ST_W4_HEADER; in kim_int_recv()
202 kim_gdata->rx_state = ST_W4_PACKET_TYPE; in kim_int_recv()
Dst_core.c189 st_gdata->rx_state = ST_W4_DATA; in st_check_data_len()
196 st_gdata->rx_state = ST_W4_PACKET_TYPE; in st_check_data_len()
257 "rx_count %ld", count, st_gdata->rx_state, in st_int_recv()
274 switch (st_gdata->rx_state) { in st_int_recv()
282 st_gdata->rx_state = ST_W4_PACKET_TYPE; in st_int_recv()
366 st_gdata->rx_state = ST_W4_HEADER; in st_int_recv()
767 st_gdata->rx_state = ST_W4_PACKET_TYPE; in st_tty_close()
/drivers/net/hamradio/
Dhdlcdrv.c131 while (s->hdlcrx.rx_state && num >= 8) { in hdlc_rx_add_bytes()
133 s->hdlcrx.rx_state = 0; in hdlc_rx_add_bytes()
195 s->hdlcrx.rx_state = 0; /* abort received */ in hdlcdrv_receiver()
198 if (s->hdlcrx.rx_state) { in hdlcdrv_receiver()
207 s->hdlcrx.rx_state = 1; in hdlcdrv_receiver()
454 s->hdlcrx.rx_state = 0; in hdlcdrv_open()
648 s->hdlcrx.rx_state = 0; in hdlcdrv_setup()
/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c882 u8 rx_state = 0; in bnx2fc_process_cq_compl() local
912 rx_state = ((task->rxwr_txrd.var_ctx.rx_flags & in bnx2fc_process_cq_compl()
919 if (rx_state == FCOE_TASK_RX_STATE_COMPLETED) { in bnx2fc_process_cq_compl()
925 if (rx_state == FCOE_TASK_RX_STATE_ABTS_COMPLETED) in bnx2fc_process_cq_compl()
927 else if (rx_state == in bnx2fc_process_cq_compl()
932 rx_state); in bnx2fc_process_cq_compl()
951 if (rx_state == FCOE_TASK_RX_STATE_COMPLETED) in bnx2fc_process_cq_compl()
953 else if (rx_state == FCOE_TASK_RX_STATE_ABTS_COMPLETED) in bnx2fc_process_cq_compl()
955 else if (rx_state == in bnx2fc_process_cq_compl()
960 rx_state); in bnx2fc_process_cq_compl()
[all …]
Dbnx2fc.h585 u8 rx_state);
Dbnx2fc_io.c1304 u8 rx_state) in bnx2fc_process_seq_cleanup_compl() argument
1317 if (rx_state == FCOE_TASK_RX_STATE_IGNORED_SEQUENCE_CLEANUP) { in bnx2fc_process_seq_cleanup_compl()
/drivers/net/usb/
Dhso.c246 enum rx_ctrl_state rx_state; member
1191 (serial->rx_state == RX_PENDING))) { in put_rxbuf_data_and_resubmit_ctrl_urb()
1192 serial->rx_state = RX_SENT; in put_rxbuf_data_and_resubmit_ctrl_urb()
1195 serial->rx_state = RX_IDLE; in put_rxbuf_data_and_resubmit_ctrl_urb()
1303 serial->rx_state = RX_IDLE; in hso_serial_open()
1888 if (serial->rx_state == RX_IDLE && in intr_callback()
1893 serial->rx_state = RX_SENT; in intr_callback()
1896 serial->rx_state = RX_PENDING; in intr_callback()
/drivers/usb/host/
Dfhci.h180 __be32 rx_state; /* Rx internal state */ member
Dfhci-hcd.c280 out_be32(&fhci->pram->rx_state, 0); in fhci_usb_init()
/drivers/tty/serial/
Ducc_uart.c121 __be32 rx_state; /* 0x94, RX state, initialize to 0 */ member
728 out_be32(&uccup->rx_state, 0); in qe_uart_init_ucc()