/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | mcdi_functions.c | 43 MCDI_SET_DWORD(inbuf, ALLOC_VIS_IN_MIN_VI_COUNT, min_vis); in efx_mcdi_alloc_vis() 44 MCDI_SET_DWORD(inbuf, ALLOC_VIS_IN_MAX_VI_COUNT, max_vis); in efx_mcdi_alloc_vis() 86 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_SIZE, channel->eventq_mask + 1); in efx_mcdi_ev_init() 87 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_INSTANCE, channel->channel); in efx_mcdi_ev_init() 89 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_IRQ_NUM, channel->channel); in efx_mcdi_ev_init() 90 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_TMR_MODE, in efx_mcdi_ev_init() 92 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_TMR_LOAD, 0); in efx_mcdi_ev_init() 93 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_TMR_RELOAD, 0); in efx_mcdi_ev_init() 94 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_COUNT_MODE, in efx_mcdi_ev_init() 96 MCDI_SET_DWORD(inbuf, INIT_EVQ_IN_COUNT_THRSHLD, 0); in efx_mcdi_ev_init() [all …]
|
D | mcdi_port.c | 29 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_BUS, efx->mdio_bus); in efx_mcdi_mdio_read() 30 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_PRTAD, prtad); in efx_mcdi_mdio_read() 31 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_DEVAD, devad); in efx_mcdi_mdio_read() 32 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_ADDR, addr); in efx_mcdi_mdio_read() 55 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_BUS, efx->mdio_bus); in efx_mcdi_mdio_write() 56 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_PRTAD, prtad); in efx_mcdi_mdio_write() 57 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_DEVAD, devad); in efx_mcdi_mdio_write() 58 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_ADDR, addr); in efx_mcdi_mdio_write() 59 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_VALUE, value); in efx_mcdi_mdio_write()
|
D | ef10_sriov.c | 21 MCDI_SET_DWORD(inbuf, EVB_PORT_ASSIGN_IN_PORT_ID, port_id); in efx_ef10_evb_port_assign() 36 MCDI_SET_DWORD(inbuf, VSWITCH_ALLOC_IN_UPSTREAM_PORT_ID, port_id); in efx_ef10_vswitch_alloc() 37 MCDI_SET_DWORD(inbuf, VSWITCH_ALLOC_IN_TYPE, vswitch_type); in efx_ef10_vswitch_alloc() 38 MCDI_SET_DWORD(inbuf, VSWITCH_ALLOC_IN_NUM_VLAN_TAGS, 2); in efx_ef10_vswitch_alloc() 48 MCDI_SET_DWORD(inbuf, VSWITCH_ALLOC_IN_NUM_VLAN_TAGS, 1); in efx_ef10_vswitch_alloc() 63 MCDI_SET_DWORD(inbuf, VSWITCH_FREE_IN_UPSTREAM_PORT_ID, port_id); in efx_ef10_vswitch_free() 82 MCDI_SET_DWORD(inbuf, VPORT_ALLOC_IN_UPSTREAM_PORT_ID, port_id_in); in efx_ef10_vport_alloc() 83 MCDI_SET_DWORD(inbuf, VPORT_ALLOC_IN_TYPE, vport_type); in efx_ef10_vport_alloc() 84 MCDI_SET_DWORD(inbuf, VPORT_ALLOC_IN_NUM_VLAN_TAGS, in efx_ef10_vport_alloc() 107 MCDI_SET_DWORD(inbuf, VPORT_FREE_IN_VPORT_ID, port_id); in efx_ef10_vport_free() [all …]
|
D | ptp.c | 427 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_STATUS); in efx_ptp_update_stats() 428 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_update_stats() 642 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_GET_ATTRIBUTES); in efx_ptp_get_attributes() 643 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_attributes() 738 MCDI_SET_DWORD(inbuf, PTP_IN_OP, in efx_ptp_get_timestamp_corrections() 740 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_timestamp_corrections() 790 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_ENABLE); in efx_ptp_enable() 791 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_enable() 792 MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_QUEUE, in efx_ptp_enable() 795 MCDI_SET_DWORD(inbuf, PTP_IN_ENABLE_MODE, efx->ptp_data->mode); in efx_ptp_enable() [all …]
|
D | mcdi.c | 1462 MCDI_SET_DWORD(inbuf, DRV_ATTACH_IN_NEW_STATE, in efx_mcdi_drv_attach() 1464 MCDI_SET_DWORD(inbuf, DRV_ATTACH_IN_UPDATE, 1); in efx_mcdi_drv_attach() 1465 MCDI_SET_DWORD(inbuf, DRV_ATTACH_IN_FIRMWARE_ID, MC_CMD_FW_LOW_LATENCY); in efx_mcdi_drv_attach() 1476 MCDI_SET_DWORD(inbuf, DRV_ATTACH_IN_FIRMWARE_ID, in efx_mcdi_drv_attach() 1588 MCDI_SET_DWORD(inbuf, LOG_CTRL_IN_LOG_DEST, dest); in efx_mcdi_log_ctrl() 1589 MCDI_SET_DWORD(inbuf, LOG_CTRL_IN_LOG_DEST_EVQ, dest_evq); in efx_mcdi_log_ctrl() 1662 MCDI_SET_DWORD(inbuf, NVRAM_INFO_IN_TYPE, type); in efx_mcdi_nvram_info() 1690 MCDI_SET_DWORD(inbuf, NVRAM_TEST_IN_TYPE, type); in efx_mcdi_nvram_test() 1790 MCDI_SET_DWORD(inbuf, GET_ASSERTS_IN_CLEAR, 1); in efx_mcdi_read_assertion() 1848 MCDI_SET_DWORD(inbuf, REBOOT_IN_FLAGS, in efx_mcdi_exit_assertion() [all …]
|
D | mcdi_filters.c | 100 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_OP, in efx_mcdi_filter_push_prep_set_match_fields() 190 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_MATCH_FIELDS, in efx_mcdi_filter_push_prep_set_match_fields() 217 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_OP, in efx_mcdi_filter_push_prep() 224 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_PORT_ID, efx->vport_id); in efx_mcdi_filter_push_prep() 225 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_DEST, in efx_mcdi_filter_push_prep() 229 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_TX_DOMAIN, 0); in efx_mcdi_filter_push_prep() 230 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_TX_DEST, in efx_mcdi_filter_push_prep() 232 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_QUEUE, in efx_mcdi_filter_push_prep() 235 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_MODE, in efx_mcdi_filter_push_prep() 240 MCDI_SET_DWORD(inbuf, FILTER_OP_IN_RX_CONTEXT, ctx->context_id); in efx_mcdi_filter_push_prep() [all …]
|
D | mcdi_port_common.c | 78 MCDI_SET_DWORD(inbuf, SET_LINK_IN_CAP, capabilities); in efx_mcdi_set_link() 79 MCDI_SET_DWORD(inbuf, SET_LINK_IN_FLAGS, flags); in efx_mcdi_set_link() 80 MCDI_SET_DWORD(inbuf, SET_LINK_IN_LOOPBACK_MODE, loopback_mode); in efx_mcdi_set_link() 81 MCDI_SET_DWORD(inbuf, SET_LINK_IN_LOOPBACK_SPEED, loopback_speed); in efx_mcdi_set_link() 768 MCDI_SET_DWORD(inbuf, START_BIST_IN_TYPE, bist_mode); in efx_mcdi_bist() 917 MCDI_SET_DWORD(inbuf, GET_PHY_MEDIA_INFO_IN_PAGE, page); in efx_mcdi_phy_get_module_eeprom_page() 1106 MCDI_SET_DWORD(cmdbytes, SET_MAC_IN_MTU, efx_calc_mac_mtu(efx)); in efx_mcdi_set_mac() 1107 MCDI_SET_DWORD(cmdbytes, SET_MAC_IN_DRAIN, 0); in efx_mcdi_set_mac() 1133 MCDI_SET_DWORD(cmdbytes, SET_MAC_IN_FCNTL, fcntl); in efx_mcdi_set_mac() 1145 MCDI_SET_DWORD(inbuf, SET_MAC_EXT_IN_MTU, efx_calc_mac_mtu(efx)); in efx_mcdi_set_mtu() [all …]
|
D | ef10.c | 191 MCDI_SET_DWORD(inbuf, LICENSING_V3_IN_OP, in efx_ef10_read_licensed_features() 352 MCDI_SET_DWORD(inbuf, VPORT_GET_MAC_ADDRESSES_IN_VPORT_ID, in efx_ef10_get_mac_address_vf() 726 MCDI_SET_DWORD(inbuf, FREE_PIOBUF_IN_PIOBUF_HANDLE, in efx_ef10_free_piobufs() 789 MCDI_SET_DWORD(inbuf, LINK_PIOBUF_IN_PIOBUF_HANDLE, in efx_ef10_link_piobufs() 791 MCDI_SET_DWORD(inbuf, LINK_PIOBUF_IN_TXQ_INSTANCE, in efx_ef10_link_piobufs() 837 MCDI_SET_DWORD(inbuf, in efx_ef10_link_piobufs() 840 MCDI_SET_DWORD(inbuf, in efx_ef10_link_piobufs() 878 MCDI_SET_DWORD(inbuf, UNLINK_PIOBUF_IN_TXQ_INSTANCE, in efx_ef10_link_piobufs() 996 MCDI_SET_DWORD(inbuf, VADAPTOR_QUERY_IN_UPSTREAM_PORT_ID, in efx_ef10_vadaptor_query() 1027 MCDI_SET_DWORD(inbuf, VADAPTOR_ALLOC_IN_UPSTREAM_PORT_ID, port_id); in efx_ef10_vadaptor_alloc() [all …]
|
D | mcdi_mon.c | 152 MCDI_SET_DWORD(inbuf, READ_SENSORS_EXT_IN_LENGTH, hwmon->dma_buf.len); in efx_mcdi_mon_update() 319 MCDI_SET_DWORD(inbuf, SENSOR_INFO_EXT_IN_PAGE, page); in efx_mcdi_mon_probe() 381 MCDI_SET_DWORD(inbuf, SENSOR_INFO_EXT_IN_PAGE, in efx_mcdi_mon_probe()
|
D | siena_sriov.c | 205 MCDI_SET_DWORD(inbuf, SRIOV_IN_ENABLE, enable ? 1 : 0); in efx_siena_sriov_cmd() 206 MCDI_SET_DWORD(inbuf, SRIOV_IN_VI_BASE, EFX_VI_BASE); in efx_siena_sriov_cmd() 207 MCDI_SET_DWORD(inbuf, SRIOV_IN_VF_COUNT, efx->vf_count); in efx_siena_sriov_cmd() 259 MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_NUM_RECORDS, in efx_siena_sriov_memcpy() 261 MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_TO_RID, in efx_siena_sriov_memcpy() 282 MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_FROM_RID, from_rid); in efx_siena_sriov_memcpy() 285 MCDI_SET_DWORD(record, MEMCPY_RECORD_TYPEDEF_LENGTH, in efx_siena_sriov_memcpy()
|
D | mcdi.h | 215 #define MCDI_SET_DWORD(_buf, _field, _value) \ macro
|
D | ef100_nic.c | 632 MCDI_SET_DWORD(inbuf, TRIGGER_INTERRUPT_IN_INTR_LEVEL, efx->irq_level); in efx_ef100_irq_test_generate() 650 MCDI_SET_DWORD(inbuf, DRIVER_EVENT_IN_EVQ, channel->channel); in efx_ef100_ev_test_generate()
|