/drivers/net/ethernet/sfc/ |
D | mae.c | 18 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_MPORT_ALLOC_ALIAS_OUT_LEN); in efx_mae_allocate_mport() 19 MCDI_DECLARE_BUF(inbuf, MC_CMD_MAE_MPORT_ALLOC_ALIAS_IN_LEN); in efx_mae_allocate_mport() 45 MCDI_DECLARE_BUF(inbuf, MC_CMD_MAE_MPORT_FREE_IN_LEN); in efx_mae_free_mport() 99 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_MPORT_LOOKUP_OUT_LEN); in efx_mae_lookup_mport() 100 MCDI_DECLARE_BUF(inbuf, MC_CMD_MAE_MPORT_LOOKUP_IN_LEN); in efx_mae_lookup_mport() 117 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_GET_CAPS_OUT_LEN); in efx_mae_get_basic_caps() 137 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_GET_AR_CAPS_OUT_LEN(MAE_NUM_FIELDS)); in efx_mae_get_rule_fields() 283 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_ACTION_SET_ALLOC_OUT_LEN); in efx_mae_alloc_action_set() 284 MCDI_DECLARE_BUF(inbuf, MC_CMD_MAE_ACTION_SET_ALLOC_IN_LEN); in efx_mae_alloc_action_set() 321 MCDI_DECLARE_BUF(outbuf, MC_CMD_MAE_ACTION_SET_FREE_OUT_LEN(1)); in efx_mae_free_action_set() [all …]
|
D | mcdi_port.c | 24 MCDI_DECLARE_BUF(inbuf, MC_CMD_MDIO_READ_IN_LEN); in efx_mcdi_mdio_read() 25 MCDI_DECLARE_BUF(outbuf, MC_CMD_MDIO_READ_OUT_LEN); in efx_mcdi_mdio_read() 50 MCDI_DECLARE_BUF(inbuf, MC_CMD_MDIO_WRITE_IN_LEN); in efx_mcdi_mdio_write() 51 MCDI_DECLARE_BUF(outbuf, MC_CMD_MDIO_WRITE_OUT_LEN); in efx_mcdi_mdio_write() 82 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_mcdi_mac_check_fault()
|
D | mcdi_functions.c | 38 MCDI_DECLARE_BUF(outbuf, MC_CMD_ALLOC_VIS_OUT_LEN); in efx_mcdi_alloc_vis() 39 MCDI_DECLARE_BUF(inbuf, MC_CMD_ALLOC_VIS_IN_LEN); in efx_mcdi_alloc_vis() 73 MCDI_DECLARE_BUF(inbuf, in efx_mcdi_ev_init() 76 MCDI_DECLARE_BUF(outbuf, MC_CMD_INIT_EVQ_V2_OUT_LEN); in efx_mcdi_ev_init() 142 MCDI_DECLARE_BUF(inbuf, MC_CMD_FINI_EVQ_IN_LEN); in efx_mcdi_ev_fini() 165 MCDI_DECLARE_BUF(inbuf, MC_CMD_INIT_TXQ_IN_LEN(EFX_MAX_DMAQ_SIZE * 8 / in efx_mcdi_tx_init() 248 MCDI_DECLARE_BUF(inbuf, MC_CMD_FINI_TXQ_IN_LEN); in efx_mcdi_tx_fini() 282 MCDI_DECLARE_BUF(inbuf, MC_CMD_INIT_RXQ_V4_IN_LEN); in efx_mcdi_rx_init() 333 MCDI_DECLARE_BUF(inbuf, MC_CMD_FINI_RXQ_IN_LEN); in efx_mcdi_rx_fini() 418 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_FUNCTION_INFO_OUT_LEN); in efx_get_pf_index()
|
D | mcdi.c | 1411 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_VERSION_OUT_LEN); in efx_mcdi_print_fwver() 1455 MCDI_DECLARE_BUF(inbuf, MC_CMD_DRV_ATTACH_IN_LEN); in efx_mcdi_drv_attach() 1456 MCDI_DECLARE_BUF(outbuf, MC_CMD_DRV_ATTACH_EXT_OUT_LEN); in efx_mcdi_drv_attach() 1523 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_BOARD_CFG_OUT_LENMAX); in efx_mcdi_get_board_cfg() 1578 MCDI_DECLARE_BUF(inbuf, MC_CMD_LOG_CTRL_IN_LEN); in efx_mcdi_log_ctrl() 1599 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_TYPES_OUT_LEN); in efx_mcdi_nvram_types() 1656 MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_INFO_IN_LEN); in efx_mcdi_nvram_info() 1657 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_INFO_OUT_LEN); in efx_mcdi_nvram_info() 1685 MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_TEST_IN_LEN); in efx_mcdi_nvram_test() 1686 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_TEST_OUT_LEN); in efx_mcdi_nvram_test() [all …]
|
D | ef10_sriov.c | 18 MCDI_DECLARE_BUF(inbuf, MC_CMD_EVB_PORT_ASSIGN_IN_LEN); in efx_ef10_evb_port_assign() 33 MCDI_DECLARE_BUF(inbuf, MC_CMD_VSWITCH_ALLOC_IN_LEN); in efx_ef10_vswitch_alloc() 61 MCDI_DECLARE_BUF(inbuf, MC_CMD_VSWITCH_FREE_IN_LEN); in efx_ef10_vswitch_free() 75 MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_ALLOC_IN_LEN); in efx_ef10_vport_alloc() 76 MCDI_DECLARE_BUF(outbuf, MC_CMD_VPORT_ALLOC_OUT_LEN); in efx_ef10_vport_alloc() 105 MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_FREE_IN_LEN); in efx_ef10_vport_free() 473 MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_DEL_MAC_ADDRESS_IN_LEN); in efx_ef10_vport_del_vf_mac() 682 MCDI_DECLARE_BUF(pm_outbuf, MC_CMD_PRIVILEGE_MASK_OUT_LEN); in efx_ef10_sriov_set_privilege_mask() 683 MCDI_DECLARE_BUF(pm_inbuf, MC_CMD_PRIVILEGE_MASK_IN_LEN); in efx_ef10_sriov_set_privilege_mask() 748 MCDI_DECLARE_BUF(inbuf, MC_CMD_LINK_STATE_MODE_IN_LEN); in efx_ef10_sriov_set_vf_link_state() [all …]
|
D | mcdi_port_common.c | 17 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PHY_CFG_OUT_LEN); in efx_mcdi_get_phy_cfg() 73 MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_LINK_IN_LEN); in efx_mcdi_set_link() 88 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LOOPBACK_MODES_OUT_LEN); in efx_mcdi_loopback_modes() 403 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_mcdi_phy_poll() 427 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_mcdi_phy_probe() 541 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_mcdi_phy_get_link_ksettings() 616 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_V2_LEN); in efx_mcdi_phy_get_fecparam() 711 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PHY_STATE_OUT_LEN); in efx_mcdi_phy_test_alive() 760 MCDI_DECLARE_BUF(inbuf, MC_CMD_START_BIST_IN_LEN); in efx_mcdi_bist() 761 MCDI_DECLARE_BUF(outbuf, MC_CMD_POLL_BIST_OUT_SFT9001_LEN); in efx_mcdi_bist() [all …]
|
D | ef10.c | 90 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_FUNCTION_INFO_OUT_LEN); in efx_ef10_get_vf_index() 109 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_CAPABILITIES_V4_OUT_LEN); in efx_ef10_init_datapath_caps() 185 MCDI_DECLARE_BUF(inbuf, MC_CMD_LICENSING_V3_IN_LEN); in efx_ef10_read_licensed_features() 186 MCDI_DECLARE_BUF(outbuf, MC_CMD_LICENSING_V3_OUT_LEN); in efx_ef10_read_licensed_features() 204 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_CLOCK_OUT_LEN); in efx_ef10_get_sysclk_freq() 292 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_EVQ_TMR_PROPERTIES_OUT_LEN); in efx_ef10_get_timer_config() 327 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_MAC_ADDRESSES_OUT_LEN); in efx_ef10_get_mac_address_pf() 347 MCDI_DECLARE_BUF(inbuf, MC_CMD_VPORT_GET_MAC_ADDRESSES_IN_LEN); in efx_ef10_get_mac_address_vf() 348 MCDI_DECLARE_BUF(outbuf, MC_CMD_VPORT_GET_MAC_ADDRESSES_OUT_LENMAX); in efx_ef10_get_mac_address_vf() 718 MCDI_DECLARE_BUF(inbuf, MC_CMD_FREE_PIOBUF_IN_LEN); in efx_ef10_free_piobufs() [all …]
|
D | mcdi_filters.c | 250 MCDI_DECLARE_BUF(inbuf, MC_CMD_FILTER_OP_EXT_IN_LEN); in efx_mcdi_filter_push() 251 MCDI_DECLARE_BUF(outbuf, MC_CMD_FILTER_OP_EXT_OUT_LEN); in efx_mcdi_filter_push() 512 MCDI_DECLARE_BUF(inbuf, MC_CMD_FILTER_OP_EXT_IN_LEN); in efx_mcdi_filter_insert_locked() 582 MCDI_DECLARE_BUF(inbuf, in efx_mcdi_filter_remove_internal() 1257 MCDI_DECLARE_BUF(inbuf, MC_CMD_GET_PARSER_DISP_INFO_IN_LEN); in efx_mcdi_filter_table_probe_matches() 1258 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PARSER_DISP_INFO_OUT_LENMAX); in efx_mcdi_filter_table_probe_matches() 1469 MCDI_DECLARE_BUF(inbuf, MC_CMD_FILTER_OP_EXT_IN_LEN); in efx_mcdi_filter_table_down() 1884 MCDI_DECLARE_BUF(inbuf, MC_CMD_RSS_CONTEXT_GET_FLAGS_OUT_LEN); in efx_mcdi_get_rss_context_flags() 1885 MCDI_DECLARE_BUF(outbuf, MC_CMD_RSS_CONTEXT_GET_FLAGS_OUT_LEN); in efx_mcdi_get_rss_context_flags() 1915 MCDI_DECLARE_BUF(inbuf, MC_CMD_RSS_CONTEXT_SET_FLAGS_IN_LEN); in efx_mcdi_set_rss_context_flags() [all …]
|
D | ptp.c | 411 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_STATUS_LEN); in efx_ptp_update_stats() 412 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_STATUS_LEN); in efx_ptp_update_stats() 641 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes() 642 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes() 740 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_TIMESTAMP_CORRECTIONS_LEN); in efx_ptp_get_timestamp_corrections() 741 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_GET_TIMESTAMP_CORRECTIONS_V2_LEN); in efx_ptp_get_timestamp_corrections() 796 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ENABLE_LEN); in efx_ptp_enable() 824 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_DISABLE_LEN); in efx_ptp_disable() 1038 MCDI_DECLARE_BUF(synch_buf, MC_CMD_PTP_OUT_SYNCHRONIZE_LENMAX); in efx_ptp_synchronize() 1141 MCDI_DECLARE_BUF(txtime, MC_CMD_PTP_OUT_TRANSMIT_LEN); in efx_ptp_xmit_skb_mc() [all …]
|
D | mcdi_mon.c | 147 MCDI_DECLARE_BUF(inbuf, MC_CMD_READ_SENSORS_EXT_IN_LEN); in efx_mcdi_mon_update() 307 MCDI_DECLARE_BUF(inbuf, MC_CMD_SENSOR_INFO_EXT_IN_LEN); in efx_mcdi_mon_probe() 308 MCDI_DECLARE_BUF(outbuf, MC_CMD_SENSOR_INFO_OUT_LENMAX); in efx_mcdi_mon_probe()
|
D | ef100_nic.c | 135 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_MAC_ADDRESSES_OUT_LEN); in ef100_get_mac_address() 155 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_CAPABILITIES_V7_OUT_LEN); in efx_ef100_init_datapath_caps() 669 MCDI_DECLARE_BUF(inbuf, MC_CMD_TRIGGER_INTERRUPT_IN_LEN); in efx_ef100_irq_test_generate() 682 MCDI_DECLARE_BUF(inbuf, MC_CMD_DRIVER_EVENT_IN_LEN); in efx_ef100_ev_test_generate()
|
D | mcdi.h | 196 #define MCDI_DECLARE_BUF(_name, _len) \ macro 199 MCDI_DECLARE_BUF(_name, 8)
|
/drivers/net/ethernet/sfc/siena/ |
D | mcdi_port.c | 24 MCDI_DECLARE_BUF(inbuf, MC_CMD_MDIO_READ_IN_LEN); in efx_mcdi_mdio_read() 25 MCDI_DECLARE_BUF(outbuf, MC_CMD_MDIO_READ_OUT_LEN); in efx_mcdi_mdio_read() 50 MCDI_DECLARE_BUF(inbuf, MC_CMD_MDIO_WRITE_IN_LEN); in efx_mcdi_mdio_write() 51 MCDI_DECLARE_BUF(outbuf, MC_CMD_MDIO_WRITE_OUT_LEN); in efx_mcdi_mdio_write() 75 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_siena_mcdi_mac_check_fault()
|
D | mcdi.c | 1416 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_VERSION_OUT_LEN); in efx_siena_mcdi_print_fwver() 1460 MCDI_DECLARE_BUF(inbuf, MC_CMD_DRV_ATTACH_IN_LEN); in efx_mcdi_drv_attach() 1461 MCDI_DECLARE_BUF(outbuf, MC_CMD_DRV_ATTACH_EXT_OUT_LEN); in efx_mcdi_drv_attach() 1528 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_BOARD_CFG_OUT_LENMAX); in efx_siena_mcdi_get_board_cfg() 1584 MCDI_DECLARE_BUF(inbuf, MC_CMD_LOG_CTRL_IN_LEN); in efx_siena_mcdi_log_ctrl() 1605 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_TYPES_OUT_LEN); in efx_siena_mcdi_nvram_types() 1633 MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_INFO_IN_LEN); in efx_siena_mcdi_nvram_info() 1634 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_INFO_OUT_LEN); in efx_siena_mcdi_nvram_info() 1662 MCDI_DECLARE_BUF(inbuf, MC_CMD_NVRAM_TEST_IN_LEN); in efx_mcdi_nvram_test() 1663 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_TEST_OUT_LEN); in efx_mcdi_nvram_test() [all …]
|
D | mcdi_port_common.c | 18 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PHY_CFG_OUT_LEN); in efx_mcdi_get_phy_cfg() 74 MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_LINK_IN_LEN); in efx_mcdi_set_link() 89 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LOOPBACK_MODES_OUT_LEN); in efx_mcdi_loopback_modes() 404 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_siena_mcdi_phy_poll() 428 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_siena_mcdi_phy_probe() 543 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_siena_mcdi_phy_get_link_ksettings() 621 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_V2_LEN); in efx_siena_mcdi_phy_get_fecparam() 717 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PHY_STATE_OUT_LEN); in efx_siena_mcdi_phy_test_alive() 766 MCDI_DECLARE_BUF(inbuf, MC_CMD_START_BIST_IN_LEN); in efx_mcdi_bist() 767 MCDI_DECLARE_BUF(outbuf, MC_CMD_POLL_BIST_OUT_SFT9001_LEN); in efx_mcdi_bist() [all …]
|
D | ptp.c | 407 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_STATUS_LEN); in efx_siena_ptp_update_stats() 408 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_STATUS_LEN); in efx_siena_ptp_update_stats() 631 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes() 632 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes() 730 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_TIMESTAMP_CORRECTIONS_LEN); in efx_ptp_get_timestamp_corrections() 731 MCDI_DECLARE_BUF(outbuf, MC_CMD_PTP_OUT_GET_TIMESTAMP_CORRECTIONS_V2_LEN); in efx_ptp_get_timestamp_corrections() 786 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_ENABLE_LEN); in efx_ptp_enable() 814 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_DISABLE_LEN); in efx_ptp_disable() 1028 MCDI_DECLARE_BUF(synch_buf, MC_CMD_PTP_OUT_SYNCHRONIZE_LENMAX); in efx_ptp_synchronize() 1109 MCDI_DECLARE_BUF(txtime, MC_CMD_PTP_OUT_TRANSMIT_LEN); in efx_ptp_xmit_skb_mc() [all …]
|
D | mcdi_mon.c | 147 MCDI_DECLARE_BUF(inbuf, MC_CMD_READ_SENSORS_EXT_IN_LEN); in efx_mcdi_mon_update() 307 MCDI_DECLARE_BUF(inbuf, MC_CMD_SENSOR_INFO_EXT_IN_LEN); in efx_siena_mcdi_mon_probe() 308 MCDI_DECLARE_BUF(outbuf, MC_CMD_SENSOR_INFO_OUT_LENMAX); in efx_siena_mcdi_mon_probe()
|
D | mcdi.h | 198 #define MCDI_DECLARE_BUF(_name, _len) \ macro 201 MCDI_DECLARE_BUF(_name, 8)
|
D | siena_sriov.c | 199 MCDI_DECLARE_BUF(inbuf, MC_CMD_SRIOV_IN_LEN); in efx_siena_sriov_cmd() 200 MCDI_DECLARE_BUF(outbuf, MC_CMD_SRIOV_OUT_LEN); in efx_siena_sriov_cmd() 245 MCDI_DECLARE_BUF(inbuf, MCDI_CTL_SDU_LEN_MAX_V1); in efx_siena_sriov_memcpy() 686 MCDI_DECLARE_BUF(inbuf, MC_CMD_FLUSH_RX_QUEUES_IN_LENMAX); in efx_vfdi_fini_all_queues()
|
D | siena.c | 642 MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_MCAST_HASH_IN_LEN); in siena_mac_reconfigure()
|