/openbmc/libmctp/ |
H A D | serial.c | 88 } rx_state; member 213 serial->rx_state == STATE_WAIT_LEN)); in mctp_rx_consume_one() 215 switch (serial->rx_state) { in mctp_rx_consume_one() 228 serial->rx_state = STATE_WAIT_LEN; in mctp_rx_consume_one() 256 serial->rx_state = STATE_DATA; in mctp_rx_consume_one() 264 serial->rx_state = STATE_DATA_ESCAPED; in mctp_rx_consume_one() 270 serial->rx_state = STATE_WAIT_FCS1; in mctp_rx_consume_one() 279 serial->rx_state = STATE_WAIT_FCS1; in mctp_rx_consume_one() 281 serial->rx_state = STATE_DATA; in mctp_rx_consume_one() 286 serial->rx_state = STATE_WAIT_FCS2; in mctp_rx_consume_one() [all …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_bcsp.c | 61 } rx_state; member 438 bcsp->rx_state != BCSP_W4_CRC) in bcsp_unslip_one_byte() 449 bcsp->rx_state != BCSP_W4_CRC) in bcsp_unslip_one_byte() 458 bcsp->rx_state != BCSP_W4_CRC) in bcsp_unslip_one_byte() 570 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_complete_rx_pkt() 595 bcsp->rx_state = BCSP_W4_PKT_START; in bcsp_recv() 604 switch (bcsp->rx_state) { in bcsp_recv() 615 bcsp->rx_state = BCSP_W4_DATA; in bcsp_recv() 622 bcsp->rx_state = BCSP_W4_CRC; in bcsp_recv() 647 bcsp->rx_state = BCSP_W4_PKT_START; in bcsp_recv() [all …]
|
H A D | bt3c_cs.c | 80 unsigned long rx_state; member 237 info->rx_state = RECV_WAIT_PACKET_TYPE; in bt3c_receive() 247 if (info->rx_state == RECV_WAIT_PACKET_TYPE) { in bt3c_receive() 255 info->rx_state = RECV_WAIT_EVENT_HEADER; in bt3c_receive() 260 info->rx_state = RECV_WAIT_ACL_HEADER; in bt3c_receive() 265 info->rx_state = RECV_WAIT_SCO_HEADER; in bt3c_receive() 296 switch (info->rx_state) { in bt3c_receive() 300 info->rx_state = RECV_WAIT_DATA; in bt3c_receive() 307 info->rx_state = RECV_WAIT_DATA; in bt3c_receive() 313 info->rx_state = RECV_WAIT_DATA; in bt3c_receive() [all …]
|
H A D | bluecard_cs.c | 75 unsigned long rx_state; member 388 info->rx_state = RECV_WAIT_PACKET_TYPE; in bluecard_receive() 397 if (info->rx_state == RECV_WAIT_PACKET_TYPE) { in bluecard_receive() 417 info->rx_state = RECV_WAIT_EVENT_HEADER; in bluecard_receive() 422 info->rx_state = RECV_WAIT_ACL_HEADER; in bluecard_receive() 427 info->rx_state = RECV_WAIT_SCO_HEADER; in bluecard_receive() 455 switch (info->rx_state) { in bluecard_receive() 459 info->rx_state = RECV_WAIT_DATA; in bluecard_receive() 466 info->rx_state = RECV_WAIT_DATA; in bluecard_receive() 472 info->rx_state = RECV_WAIT_DATA; in bluecard_receive() [all …]
|
H A D | dtl1_cs.c | 78 unsigned long rx_state; member 223 info->rx_state = RECV_WAIT_NSH; in dtl1_receive() 236 switch (info->rx_state) { in dtl1_receive() 238 info->rx_state = RECV_WAIT_DATA; in dtl1_receive() 273 info->rx_state = RECV_WAIT_NSH; in dtl1_receive() 445 info->rx_state = RECV_WAIT_NSH; in dtl1_open()
|
/openbmc/linux/drivers/net/can/ |
H A D | ti_hecc.c | 638 enum can_state rx_state, in ti_hecc_change_state() argument 649 priv->can.state = max(tx_state, rx_state); in ti_hecc_change_state() 655 if (max(tx_state, rx_state) != CAN_STATE_BUS_OFF) { in ti_hecc_change_state() 688 enum can_state rx_state, tx_state; in ti_hecc_interrupt() local 697 ti_hecc_change_state(ndev, rx_state, tx_state); in ti_hecc_interrupt() 705 ti_hecc_change_state(ndev, rx_state, tx_state); in ti_hecc_interrupt() 710 rx_state = CAN_STATE_BUS_OFF; in ti_hecc_interrupt() 717 ti_hecc_change_state(ndev, rx_state, tx_state); in ti_hecc_interrupt() 720 enum can_state new_state, tx_state, rx_state; in ti_hecc_interrupt() local 732 rx_state = rec >= tec ? new_state : 0; in ti_hecc_interrupt() [all …]
|
H A D | kvaser_pciefd.c | 1177 enum can_state rx_state) in kvaser_pciefd_change_state() argument 1179 can_change_state(can->can.dev, cf, tx_state, rx_state); in kvaser_pciefd_change_state() 1200 enum can_state *rx_state) in kvaser_pciefd_packet_to_state() argument 1219 *rx_state = bec->txerr <= bec->rxerr ? *new_state : 0; in kvaser_pciefd_packet_to_state() 1226 enum can_state old_state, new_state, tx_state, rx_state; in kvaser_pciefd_rx_error_frame() local 1236 kvaser_pciefd_packet_to_state(p, &bec, &new_state, &tx_state, &rx_state); in kvaser_pciefd_rx_error_frame() 1239 kvaser_pciefd_change_state(can, cf, new_state, tx_state, rx_state); in kvaser_pciefd_rx_error_frame() 1298 enum can_state old_state, new_state, tx_state, rx_state; in kvaser_pciefd_handle_status_resp() local 1305 kvaser_pciefd_packet_to_state(p, &bec, &new_state, &tx_state, &rx_state); in kvaser_pciefd_handle_status_resp() 1317 kvaser_pciefd_change_state(can, cf, new_state, tx_state, rx_state); in kvaser_pciefd_handle_status_resp()
|
H A D | sun4i_can.c | 532 enum can_state rx_state, tx_state; in sun4i_can_err() local 630 rx_state = txerr <= rxerr ? state : 0; in sun4i_can_err() 633 can_change_state(dev, cf, tx_state, rx_state); in sun4i_can_err()
|
/openbmc/linux/include/linux/mfd/ |
H A D | ipaq-micro.h | 36 enum rx_state { enum 65 enum rx_state state;
|
/openbmc/linux/drivers/net/can/dev/ |
H A D | dev.c | 94 enum can_state tx_state, enum can_state rx_state) in can_change_state() argument 97 enum can_state new_state = max(tx_state, rx_state); in can_change_state() 120 cf->data[1] |= tx_state >= rx_state ? in can_change_state() 122 cf->data[1] |= tx_state <= rx_state ? in can_change_state() 123 can_rx_state_to_frame(dev, rx_state) : 0; in can_change_state()
|
/openbmc/linux/drivers/misc/ti-st/ |
H A D | st_core.c | 179 st_gdata->rx_state = ST_W4_DATA; in st_check_data_len() 185 st_gdata->rx_state = ST_W4_PACKET_TYPE; in st_check_data_len() 243 "rx_count %ld", count, st_gdata->rx_state, in st_int_recv() 260 switch (st_gdata->rx_state) { in st_int_recv() 270 st_gdata->rx_state = ST_W4_PACKET_TYPE; in st_int_recv() 374 st_gdata->rx_state = ST_W4_HEADER; in st_int_recv() 786 st_gdata->rx_state = ST_W4_PACKET_TYPE; in st_tty_close()
|
H A D | st_kim.c | 69 kim_gdata->rx_state = ST_W4_PACKET_TYPE; in validate_firmware_response() 108 kim_gdata->rx_state = ST_W4_DATA; in kim_check_data_len() 117 kim_gdata->rx_state = ST_W4_PACKET_TYPE; in kim_check_data_len() 150 switch (kim_gdata->rx_state) { in kim_int_recv() 155 kim_gdata->rx_state = ST_W4_PACKET_TYPE; in kim_int_recv() 170 kim_gdata->rx_state = ST_W4_HEADER; in kim_int_recv() 185 kim_gdata->rx_state = ST_W4_PACKET_TYPE; in kim_int_recv()
|
/openbmc/linux/drivers/net/hamradio/ |
H A D | hdlcdrv.c | 119 while (s->hdlcrx.rx_state && num >= 8) { in hdlc_rx_add_bytes() 121 s->hdlcrx.rx_state = 0; in hdlc_rx_add_bytes() 183 s->hdlcrx.rx_state = 0; /* abort received */ in hdlcdrv_receiver() 186 if (s->hdlcrx.rx_state) { in hdlcdrv_receiver() 195 s->hdlcrx.rx_state = 1; in hdlcdrv_receiver() 447 s->hdlcrx.rx_state = 0; in hdlcdrv_open() 646 s->hdlcrx.rx_state = 0; in hdlcdrv_setup()
|
/openbmc/linux/include/linux/ |
H A D | ti_wilink_st.h | 138 unsigned long rx_state; member 253 unsigned long rx_state; member
|
H A D | hdlcdrv.h | 110 int rx_state; member
|
/openbmc/linux/net/dccp/ccids/ |
H A D | ccid3.c | 580 enum ccid3_hc_rx_states oldstate = hc->rx_state; in ccid3_hc_rx_set_state() 586 hc->rx_state = state; in ccid3_hc_rx_set_state() 714 if (unlikely(hc->rx_state == TFRC_RSTATE_NO_DATA)) { in ccid3_hc_rx_packet_recv() 795 hc->rx_state = TFRC_RSTATE_NO_DATA; in ccid3_hc_rx_init() 810 info->tcpi_ca_state = ccid3_hc_rx_sk(sk)->rx_state; in ccid3_hc_rx_get_info()
|
H A D | ccid3.h | 130 enum ccid3_hc_rx_states rx_state:8;
|
/openbmc/linux/drivers/firmware/tegra/ |
H A D | ivc.c | 431 enum tegra_ivc_state rx_state, tx_state; in tegra_ivc_notified() local 435 rx_state = tegra_ivc_header_read_field(&ivc->rx.map, tx.state); in tegra_ivc_notified() 438 if (rx_state == TEGRA_IVC_STATE_SYNC) { in tegra_ivc_notified() 477 rx_state == TEGRA_IVC_STATE_ACK) { in tegra_ivc_notified()
|
/openbmc/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_hwi.c | 870 u8 rx_state = 0; in bnx2fc_process_cq_compl() local 886 rx_state = ((task->rxwr_txrd.var_ctx.rx_flags & in bnx2fc_process_cq_compl() 893 if (rx_state == FCOE_TASK_RX_STATE_COMPLETED) { in bnx2fc_process_cq_compl() 900 if (rx_state == FCOE_TASK_RX_STATE_ABTS_COMPLETED) in bnx2fc_process_cq_compl() 902 else if (rx_state == in bnx2fc_process_cq_compl() 907 rx_state); in bnx2fc_process_cq_compl() 926 if (rx_state == FCOE_TASK_RX_STATE_COMPLETED) in bnx2fc_process_cq_compl() 928 else if (rx_state == FCOE_TASK_RX_STATE_ABTS_COMPLETED) in bnx2fc_process_cq_compl() 930 else if (rx_state == in bnx2fc_process_cq_compl() 935 rx_state); in bnx2fc_process_cq_compl() [all …]
|
/openbmc/linux/drivers/net/can/slcan/ |
H A D | slcan-core.c | 265 enum can_state state, rx_state, tx_state; in slcan_bump_state() local 300 rx_state = txerr <= rxerr ? state : 0; in slcan_bump_state() 301 can_change_state(dev, cf, tx_state, rx_state); in slcan_bump_state()
|
/openbmc/linux/drivers/net/can/sja1000/ |
H A D | sja1000.c | 413 enum can_state rx_state, tx_state; in sja1000_err() local 511 rx_state = txerr <= rxerr ? state : 0; in sja1000_err() 513 can_change_state(dev, cf, tx_state, rx_state); in sja1000_err()
|
/openbmc/linux/include/linux/can/ |
H A D | dev.h | 199 enum can_state tx_state, enum can_state rx_state);
|
/openbmc/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-core.c | 1054 enum can_state new_state, rx_state, tx_state; in mcp251xfd_handle_cerrif() local 1072 rx_state = CAN_STATE_ERROR_PASSIVE; in mcp251xfd_handle_cerrif() 1074 rx_state = CAN_STATE_ERROR_WARNING; in mcp251xfd_handle_cerrif() 1076 rx_state = CAN_STATE_ERROR_ACTIVE; in mcp251xfd_handle_cerrif() 1078 new_state = max(tx_state, rx_state); in mcp251xfd_handle_cerrif() 1086 can_change_state(priv->ndev, cf, tx_state, rx_state); in mcp251xfd_handle_cerrif()
|
/openbmc/linux/drivers/net/can/usb/kvaser_usb/ |
H A D | kvaser_usb_hydra.c | 944 enum can_state tx_state, rx_state; in kvaser_usb_hydra_update_state() local 948 rx_state = (bec->txerr <= bec->rxerr) ? in kvaser_usb_hydra_update_state() 950 can_change_state(netdev, cf, tx_state, rx_state); in kvaser_usb_hydra_update_state() 1092 enum can_state tx_state, rx_state; in kvaser_usb_hydra_error_frame() local 1096 rx_state = (bec.txerr <= bec.rxerr) ? in kvaser_usb_hydra_error_frame() 1099 can_change_state(netdev, cf, tx_state, rx_state); in kvaser_usb_hydra_error_frame()
|
/openbmc/linux/drivers/net/can/spi/ |
H A D | hi311x.c | 662 enum can_state rx_state, tx_state; in hi3110_can_ist() local 672 rx_state = txerr <= rxerr ? new_state : 0; in hi3110_can_ist() 673 can_change_state(net, cf, tx_state, rx_state); in hi3110_can_ist()
|