/openbmc/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() 852 } else if (EFX_QWORD_FIELD(*event, FSF_AZ_TX_EV_PKT_ERR)) { in efx_farch_handle_tx_event() 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() 986 rx_ev_sop = EFX_QWORD_FIELD(*event, FSF_AZ_RX_EV_SOP); in efx_farch_handle_rx_event() 987 WARN_ON(EFX_QWORD_FIELD(*event, FSF_AZ_RX_EV_Q_LABEL) != in efx_farch_handle_rx_event() 1060 EFX_QWORD_FIELD(*event, FSF_AZ_RX_EV_MCAST_HASH_MATCH); in efx_farch_handle_rx_event() 1089 qid = EFX_QWORD_FIELD(*event, FSF_AZ_DRIVER_EV_SUBDATA); in efx_farch_handle_tx_flush_done() 1154 magic = EFX_QWORD_FIELD(*event, FSF_AZ_DRV_GEN_EV_MAGIC); in efx_farch_handle_generated_event() [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 | 1864 evt->seq0 = EFX_QWORD_FIELD(ptp->evt_frags[2], MCDI_EVENT_DATA); in ptp_event_rx() 1865 evt->seq1 = (EFX_QWORD_FIELD(ptp->evt_frags[2], in ptp_event_rx() 1867 (EFX_QWORD_FIELD(ptp->evt_frags[1], in ptp_event_rx() 1869 (EFX_QWORD_FIELD(ptp->evt_frags[0], in ptp_event_rx() 1872 EFX_QWORD_FIELD(ptp->evt_frags[0], MCDI_EVENT_DATA), in ptp_event_rx() 1873 EFX_QWORD_FIELD(ptp->evt_frags[1], MCDI_EVENT_DATA), in ptp_event_rx() 1888 int code = EFX_QWORD_FIELD(ptp->evt_frags[0], MCDI_EVENT_DATA); in ptp_event_fault() 1906 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()
|
/openbmc/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() 2825 rx_bytes = EFX_QWORD_FIELD(*event, ESF_DZ_RX_BYTES); in efx_ef10_handle_rx_event() 2830 rx_cont = EFX_QWORD_FIELD(*event, ESF_DZ_RX_CONT); in efx_ef10_handle_rx_event() 2834 EFX_QWORD_FIELD(*event, ESF_EZ_RX_ENCAP_HDR) : in efx_ef10_handle_rx_event() 2837 if (EFX_QWORD_FIELD(*event, ESF_DZ_RX_DROP_EVENT)) in efx_ef10_handle_rx_event() 3009 tx_ev_type = EFX_QWORD_FIELD(*event, ESF_EZ_TX_SOFT1); in efx_ef10_handle_tx_event() 3048 subcode = EFX_QWORD_FIELD(*event, ESF_DZ_DRV_SUB_CODE); in efx_ef10_handle_driver_event() 3073 subcode = EFX_QWORD_FIELD(*event, EFX_DWORD_0); in efx_ef10_handle_driver_generated_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 | ef100_rx.c | 175 EFX_QWORD_FIELD(*p_event, ESF_GZ_EV_RXPKTS_NUM_PKT); in efx_ef100_ev_rx()
|
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 | ef100_nic.c | 282 ev_phase = !!EFX_QWORD_FIELD(*p_event, ESF_GZ_EV_RXPKTS_PHASE); in ef100_ev_process() 290 ev_type = EFX_QWORD_FIELD(*p_event, ESF_GZ_E_TYPE); in ef100_ev_process()
|
H A D | mcdi.h | 383 EFX_QWORD_FIELD(_ev, MCDI_EVENT_ ## _field)
|
H A D | ptp.c | 1939 int code = EFX_QWORD_FIELD(ptp->evt_frags[0], MCDI_EVENT_DATA); in ptp_event_fault() 1957 int code = EFX_QWORD_FIELD(*ev, MCDI_EVENT_CODE); in efx_ptp_event()
|
H A D | mcdi.c | 1312 int code = EFX_QWORD_FIELD(*event, MCDI_EVENT_CODE); in efx_mcdi_process_event() 1313 u32 data = EFX_QWORD_FIELD(*event, MCDI_EVENT_DATA); in efx_mcdi_process_event()
|