/linux/drivers/net/ethernet/sfc/siena/ |
H A D | farch.c | 836 if (likely(EFX_QWORD_FIELD(*event, FSF_AZ_TX_EV_COMP))) { in efx_farch_handle_tx_event() 838 tx_ev_desc_ptr = EFX_QWORD_FIELD(*event, FSF_AZ_TX_EV_DESC_PTR); in efx_farch_handle_tx_event() 839 tx_ev_q_label = EFX_QWORD_FIELD(*event, FSF_AZ_TX_EV_Q_LABEL); in efx_farch_handle_tx_event() 843 } else if (EFX_QWORD_FIELD(*event, FSF_AZ_TX_EV_WQ_FF_FULL)) { in efx_farch_handle_tx_event() 845 tx_ev_q_label = EFX_QWORD_FIELD(*event, FSF_AZ_TX_EV_Q_LABEL); in efx_farch_handle_tx_event() 852 } else if (EFX_QWORD_FIELD(*event, FSF_AZ_TX_EV_PKT_ERR)) { in efx_farch_handle_tx_event() 873 rx_ev_tobe_disc = EFX_QWORD_FIELD(*event, FSF_AZ_RX_EV_TOBE_DISC); in efx_farch_handle_rx_not_ok() 874 rx_ev_buf_owner_id_err = EFX_QWORD_FIELD(*event, in efx_farch_handle_rx_not_ok() 876 rx_ev_ip_hdr_chksum_err = EFX_QWORD_FIELD(*event, in efx_farch_handle_rx_not_ok() 878 rx_ev_tcp_udp_chksum_err = EFX_QWORD_FIELD(*event, in efx_farch_handle_rx_not_ok() [all …]
|
H A D | mcdi_mon.c | 109 type = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_MONITOR); in efx_siena_mcdi_sensor_event() 110 state = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_STATE); in efx_siena_mcdi_sensor_event() 111 value = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_VALUE); in efx_siena_mcdi_sensor_event()
|
H A D | ptp.c | 1858 evt->seq0 = EFX_QWORD_FIELD(ptp->evt_frags[2], MCDI_EVENT_DATA); in ptp_event_rx() 1859 evt->seq1 = (EFX_QWORD_FIELD(ptp->evt_frags[2], in ptp_event_rx() 1861 (EFX_QWORD_FIELD(ptp->evt_frags[1], in ptp_event_rx() 1863 (EFX_QWORD_FIELD(ptp->evt_frags[0], in ptp_event_rx() 1866 EFX_QWORD_FIELD(ptp->evt_frags[0], MCDI_EVENT_DATA), in ptp_event_rx() 1867 EFX_QWORD_FIELD(ptp->evt_frags[1], MCDI_EVENT_DATA), in ptp_event_rx() 1882 int code = EFX_QWORD_FIELD(ptp->evt_frags[0], MCDI_EVENT_DATA); in ptp_event_fault() 1900 int code = EFX_QWORD_FIELD(*ev, MCDI_EVENT_CODE); in efx_siena_ptp_event()
|
H A D | siena_sriov.c | 1409 qid = EFX_QWORD_FIELD(*event, FSF_CZ_USER_QID); in efx_siena_sriov_event() 1413 seq = EFX_QWORD_FIELD(*event, VFDI_EV_SEQ); in efx_siena_sriov_event() 1414 type = EFX_QWORD_FIELD(*event, VFDI_EV_TYPE); in efx_siena_sriov_event() 1415 data = EFX_QWORD_FIELD(*event, VFDI_EV_DATA); in efx_siena_sriov_event() 1497 queue = EFX_QWORD_FIELD(*event, FSF_AZ_DRIVER_EV_SUBDATA); in efx_siena_sriov_tx_flush_done() 1516 queue = EFX_QWORD_FIELD(*event, FSF_AZ_DRIVER_EV_RX_DESCQ_ID); in efx_siena_sriov_rx_flush_done() 1517 ev_failed = EFX_QWORD_FIELD(*event, in efx_siena_sriov_rx_flush_done()
|
H A D | mcdi_port_common.c | 1265 speed = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_SPEED); in efx_siena_mcdi_process_link_change() 1269 flags = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_LINK_FLAGS); in efx_siena_mcdi_process_link_change() 1270 fcntl = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_FCNTL); in efx_siena_mcdi_process_link_change() 1271 lpa = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_LP_CAP); in efx_siena_mcdi_process_link_change()
|
H A D | bitfield.h | 222 #define EFX_QWORD_FIELD EFX_QWORD_FIELD64 macro 229 #define EFX_QWORD_FIELD EFX_QWORD_FIELD32 macro
|
H A D | mcdi.h | 330 EFX_QWORD_FIELD(_ev, MCDI_EVENT_ ## _field)
|
H A D | mcdi.c | 1318 int code = EFX_QWORD_FIELD(*event, MCDI_EVENT_CODE); in efx_siena_mcdi_process_event() 1319 u32 data = EFX_QWORD_FIELD(*event, MCDI_EVENT_DATA); in efx_siena_mcdi_process_event()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 2469 if (EFX_QWORD_FIELD(*txd, ESF_DZ_TX_OPTION_TYPE) == 1) in efx_ef10_tx_write() 2727 if (EFX_QWORD_FIELD(*event, ESF_DZ_RX_ECRC_ERR)) { in efx_ef10_handle_rx_event_errors() 2735 if (EFX_QWORD_FIELD(*event, ESF_DZ_RX_IPCKSUM_ERR)) { in efx_ef10_handle_rx_event_errors() 2751 if (EFX_QWORD_FIELD(*event, ESF_DZ_RX_TCPUDP_CKSUM_ERR)) { in efx_ef10_handle_rx_event_errors() 2767 if (EFX_QWORD_FIELD(*event, ESF_EZ_RX_IP_INNER_CHKSUM_ERR)) { in efx_ef10_handle_rx_event_errors() 2785 if (EFX_QWORD_FIELD(*event, ESF_EZ_RX_TCP_UDP_INNER_CHKSUM_ERR)) { in efx_ef10_handle_rx_event_errors() 2825 rx_bytes = EFX_QWORD_FIELD(*event, ESF_DZ_RX_BYTES); in efx_ef10_handle_rx_event() 2826 next_ptr_lbits = EFX_QWORD_FIELD(*event, ESF_DZ_RX_DSC_PTR_LBITS); in efx_ef10_handle_rx_event() 2827 rx_queue_label = EFX_QWORD_FIELD(*event, ESF_DZ_RX_QLABEL); in efx_ef10_handle_rx_event() 2828 rx_l3_class = EFX_QWORD_FIELD(*event, ESF_DZ_RX_L3_CLASS); in efx_ef10_handle_rx_event() [all …]
|
H A D | mcdi_mon.c | 109 type = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_MONITOR); in efx_mcdi_sensor_event() 110 state = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_STATE); in efx_mcdi_sensor_event() 111 value = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_VALUE); in efx_mcdi_sensor_event()
|
H A D | ef100_tx.c | 352 EFX_QWORD_FIELD(*p_event, ESF_GZ_EV_TXCMPL_NUM_DESC); in ef100_ev_tx() 354 EFX_QWORD_FIELD(*p_event, ESF_GZ_EV_TXCMPL_Q_LABEL); in ef100_ev_tx()
|
H A D | mcdi_port_common.c | 1282 speed = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_SPEED); in efx_mcdi_process_link_change() 1286 flags = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_LINK_FLAGS); in efx_mcdi_process_link_change() 1287 fcntl = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_FCNTL); in efx_mcdi_process_link_change() 1288 lpa = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_LP_CAP); in efx_mcdi_process_link_change()
|
H A D | bitfield.h | 224 #define EFX_QWORD_FIELD EFX_QWORD_FIELD64 macro 231 #define EFX_QWORD_FIELD EFX_QWORD_FIELD32 macro
|
H A D | ptp.c | 1927 int code = EFX_QWORD_FIELD(ptp->evt_frags[0], MCDI_EVENT_DATA); in ptp_event_fault() 1945 int code = EFX_QWORD_FIELD(*ev, MCDI_EVENT_CODE); in efx_ptp_event()
|