/linux-6.1.9/drivers/net/ethernet/sfc/siena/ |
D | efx_common.c | 124 void efx_siena_queue_reset_work(struct efx_nic *efx) in efx_siena_queue_reset_work() 129 void efx_siena_flush_reset_workqueue(struct efx_nic *efx) in efx_siena_flush_reset_workqueue() 145 void efx_siena_mac_reconfigure(struct efx_nic *efx, bool mtu_only) in efx_siena_mac_reconfigure() 160 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); in efx_mac_work() local 170 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_set_mac_address() local 205 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_set_rx_mode() local 214 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_set_features() local 242 void efx_siena_link_status_changed(struct efx_nic *efx) in efx_siena_link_status_changed() 273 unsigned int efx_siena_xdp_max_mtu(struct efx_nic *efx) in efx_siena_xdp_max_mtu() 288 struct efx_nic *efx = netdev_priv(net_dev); in efx_siena_change_mtu() local [all …]
|
D | efx.c | 112 #define EFX_ASSERT_RESET_SERIALISED(efx) \ argument 128 static int efx_probe_port(struct efx_nic *efx) in efx_probe_port() 148 static int efx_init_port(struct efx_nic *efx) in efx_init_port() 171 static void efx_fini_port(struct efx_nic *efx) in efx_fini_port() 184 static void efx_remove_port(struct efx_nic *efx) in efx_remove_port() 207 static void efx_associate(struct efx_nic *efx) in efx_associate() 252 static void efx_dissociate(struct efx_nic *efx) in efx_dissociate() 268 static int efx_probe_nic(struct efx_nic *efx) in efx_probe_nic() 329 static void efx_remove_nic(struct efx_nic *efx) in efx_remove_nic() 343 static int efx_probe_all(struct efx_nic *efx) in efx_probe_all() [all …]
|
D | siena.c | 37 struct efx_nic *efx = channel->efx; in siena_push_irq_moderation() local 59 void efx_siena_prepare_flush(struct efx_nic *efx) in efx_siena_prepare_flush() 65 void siena_finish_flush(struct efx_nic *efx) in siena_finish_flush() 100 static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in siena_test_chip() 132 static void siena_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in siena_ptp_write_host_time() 138 static int siena_ptp_set_ts_config(struct efx_nic *efx, in siena_ptp_set_ts_config() 213 static void siena_monitor(struct efx_nic *efx) in siena_monitor() 221 static int siena_probe_nvconfig(struct efx_nic *efx) in siena_probe_nvconfig() 238 static int siena_dimension_resources(struct efx_nic *efx) in siena_dimension_resources() 251 static unsigned int siena_mem_bar(struct efx_nic *efx) in siena_mem_bar() [all …]
|
D | efx.h | 47 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_siena_tx_max_skb_descs(efx)) argument 52 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_EF10(efx) ? \ argument 55 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled() 87 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter() 103 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe() 121 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe() 128 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used() 133 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit() 137 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids() 168 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe() [all …]
|
D | mcdi.c | 62 int efx_siena_mcdi_init(struct efx_nic *efx) in efx_siena_mcdi_init() 128 void efx_siena_mcdi_detach(struct efx_nic *efx) in efx_siena_mcdi_detach() 139 void efx_siena_mcdi_fini(struct efx_nic *efx) in efx_siena_mcdi_fini() 151 static void efx_mcdi_send_request(struct efx_nic *efx, unsigned cmd, in efx_mcdi_send_request() 266 static void efx_mcdi_read_response_header(struct efx_nic *efx) in efx_mcdi_read_response_header() 341 static bool efx_mcdi_poll_once(struct efx_nic *efx) in efx_mcdi_poll_once() 356 static int efx_mcdi_poll(struct efx_nic *efx) in efx_mcdi_poll() 405 int efx_siena_mcdi_poll_reboot(struct efx_nic *efx) in efx_siena_mcdi_poll_reboot() 431 static int efx_mcdi_await_completion(struct efx_nic *efx) in efx_mcdi_await_completion() 472 struct efx_nic *efx = mcdi->efx; in efx_mcdi_release() local [all …]
|
D | io.h | 78 static inline u32 efx_reg(struct efx_nic *efx, unsigned int reg) in efx_reg() 84 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq() 89 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq() 95 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed() 100 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd() 106 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo() 129 static inline void efx_sram_writeq(struct efx_nic *efx, void __iomem *membase, in efx_sram_writeq() 150 static inline void efx_writed(struct efx_nic *efx, const efx_dword_t *value, in efx_writed() 162 static inline void efx_reado(struct efx_nic *efx, efx_oword_t *value, in efx_reado() 180 static inline void efx_sram_readq(struct efx_nic *efx, void __iomem *membase, in efx_sram_readq() [all …]
|
D | mcdi_port_common.c | 15 static int efx_mcdi_get_phy_cfg(struct efx_nic *efx, in efx_mcdi_get_phy_cfg() 56 void efx_siena_link_set_advertising(struct efx_nic *efx, in efx_siena_link_set_advertising() 71 static int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities, in efx_mcdi_set_link() 87 static int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes) in efx_mcdi_loopback_modes() 233 static u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags() 282 static void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link() 375 static void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) in efx_mcdi_phy_check_fcntl() 401 bool efx_siena_mcdi_phy_poll(struct efx_nic *efx) in efx_siena_mcdi_phy_poll() 425 int efx_siena_mcdi_phy_probe(struct efx_nic *efx) in efx_siena_mcdi_phy_probe() 531 void efx_siena_mcdi_phy_remove(struct efx_nic *efx) in efx_siena_mcdi_phy_remove() [all …]
|
D | efx_channels.c | 55 static unsigned int count_online_cores(struct efx_nic *efx, bool local_node) in count_online_cores() 83 static unsigned int efx_wanted_parallelism(struct efx_nic *efx) in efx_wanted_parallelism() 125 static int efx_allocate_msix_channels(struct efx_nic *efx, in efx_allocate_msix_channels() 248 int efx_siena_probe_interrupts(struct efx_nic *efx) in efx_siena_probe_interrupts() 362 void efx_siena_set_interrupt_affinity(struct efx_nic *efx) in efx_siena_set_interrupt_affinity() 381 void efx_siena_clear_interrupt_affinity(struct efx_nic *efx) in efx_siena_clear_interrupt_affinity() 400 void efx_siena_remove_interrupts(struct efx_nic *efx) in efx_siena_remove_interrupts() 425 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local 444 struct efx_nic *efx = channel->efx; in efx_init_eventq() local 530 static struct efx_channel *efx_alloc_channel(struct efx_nic *efx, int i) in efx_alloc_channel() [all …]
|
/linux-6.1.9/drivers/net/ethernet/sfc/ |
D | efx_common.c | 125 void efx_queue_reset_work(struct efx_nic *efx) in efx_queue_reset_work() 130 void efx_flush_reset_workqueue(struct efx_nic *efx) in efx_flush_reset_workqueue() 146 void efx_mac_reconfigure(struct efx_nic *efx, bool mtu_only) in efx_mac_reconfigure() 161 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); in efx_mac_work() local 171 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_set_mac_address() local 206 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_set_rx_mode() local 215 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_set_features() local 243 void efx_link_status_changed(struct efx_nic *efx) in efx_link_status_changed() 274 unsigned int efx_xdp_max_mtu(struct efx_nic *efx) in efx_xdp_max_mtu() 289 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_change_mtu() local [all …]
|
D | efx.c | 117 static int efx_probe_port(struct efx_nic *efx) in efx_probe_port() 137 static int efx_init_port(struct efx_nic *efx) in efx_init_port() 160 static void efx_fini_port(struct efx_nic *efx) in efx_fini_port() 173 static void efx_remove_port(struct efx_nic *efx) in efx_remove_port() 196 static void efx_associate(struct efx_nic *efx) in efx_associate() 241 static void efx_dissociate(struct efx_nic *efx) in efx_dissociate() 257 static int efx_probe_nic(struct efx_nic *efx) in efx_probe_nic() 318 static void efx_remove_nic(struct efx_nic *efx) in efx_remove_nic() 332 static int efx_probe_all(struct efx_nic *efx) in efx_probe_all() 391 static void efx_remove_all(struct efx_nic *efx) in efx_remove_all() [all …]
|
D | ef10.c | 45 static int efx_ef10_get_warm_boot_count(struct efx_nic *efx) in efx_ef10_get_warm_boot_count() 58 static unsigned int efx_ef10_pf_mem_bar(struct efx_nic *efx) in efx_ef10_pf_mem_bar() 69 static unsigned int efx_ef10_vf_mem_bar(struct efx_nic *efx) in efx_ef10_vf_mem_bar() 74 static unsigned int efx_ef10_mem_map_size(struct efx_nic *efx) in efx_ef10_mem_map_size() 82 static bool efx_ef10_is_vf(struct efx_nic *efx) in efx_ef10_is_vf() 88 static int efx_ef10_get_vf_index(struct efx_nic *efx) in efx_ef10_get_vf_index() 107 static int efx_ef10_init_datapath_caps(struct efx_nic *efx) in efx_ef10_init_datapath_caps() 183 static void efx_ef10_read_licensed_features(struct efx_nic *efx) in efx_ef10_read_licensed_features() 202 static int efx_ef10_get_sysclk_freq(struct efx_nic *efx) in efx_ef10_get_sysclk_freq() 215 static int efx_ef10_get_timer_workarounds(struct efx_nic *efx) in efx_ef10_get_timer_workarounds() [all …]
|
D | efx.h | 48 static inline bool efx_rx_buf_hash_valid(struct efx_nic *efx, const u8 *prefix) in efx_rx_buf_hash_valid() 65 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_tx_max_skb_descs(efx)) argument 70 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_EF10(efx) ? \ argument 73 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled() 105 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter() 121 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe() 139 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe() 146 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used() 151 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit() 155 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids() [all …]
|
D | ef10_sriov.c | 15 static int efx_ef10_evb_port_assign(struct efx_nic *efx, unsigned int port_id, in efx_ef10_evb_port_assign() 30 static int efx_ef10_vswitch_alloc(struct efx_nic *efx, unsigned int port_id, in efx_ef10_vswitch_alloc() 59 static int efx_ef10_vswitch_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vswitch_free() 69 static int efx_ef10_vport_alloc(struct efx_nic *efx, in efx_ef10_vport_alloc() 103 static int efx_ef10_vport_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vport_free() 113 static void efx_ef10_sriov_free_vf_vports(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vports() 147 static void efx_ef10_sriov_free_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vswitching() 156 static int efx_ef10_sriov_assign_vf_vport(struct efx_nic *efx, in efx_ef10_sriov_assign_vf_vport() 186 static int efx_ef10_sriov_alloc_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_alloc_vf_vswitching() 213 static int efx_ef10_sriov_restore_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_restore_vf_vswitching() [all …]
|
D | tc.c | 24 static struct efx_rep *efx_tc_flower_lookup_efv(struct efx_nic *efx, in efx_tc_flower_lookup_efv() 47 static s64 efx_tc_flower_external_mport(struct efx_nic *efx, struct efx_rep *efv) in efx_tc_flower_external_mport() 66 static void efx_tc_free_action_set(struct efx_nic *efx, in efx_tc_free_action_set() 83 static void efx_tc_free_action_set_list(struct efx_nic *efx, in efx_tc_free_action_set_list() 101 static void efx_tc_delete_rule(struct efx_nic *efx, struct efx_tc_flow_rule *rule) in efx_tc_delete_rule() 113 struct efx_nic *efx = arg; in efx_tc_flow_free() local 127 static int efx_tc_flower_parse_match(struct efx_nic *efx, in efx_tc_flower_parse_match() 171 static int efx_tc_flower_replace(struct efx_nic *efx, in efx_tc_flower_replace() 381 static int efx_tc_flower_destroy(struct efx_nic *efx, in efx_tc_flower_destroy() 413 int efx_tc_flower(struct efx_nic *efx, struct net_device *net_dev, in efx_tc_flower() [all …]
|
D | mcdi.c | 61 int efx_mcdi_init(struct efx_nic *efx) in efx_mcdi_init() 125 void efx_mcdi_detach(struct efx_nic *efx) in efx_mcdi_detach() 136 void efx_mcdi_fini(struct efx_nic *efx) in efx_mcdi_fini() 148 static void efx_mcdi_send_request(struct efx_nic *efx, unsigned cmd, in efx_mcdi_send_request() 263 static void efx_mcdi_read_response_header(struct efx_nic *efx) in efx_mcdi_read_response_header() 338 static bool efx_mcdi_poll_once(struct efx_nic *efx) in efx_mcdi_poll_once() 353 static int efx_mcdi_poll(struct efx_nic *efx) in efx_mcdi_poll() 402 int efx_mcdi_poll_reboot(struct efx_nic *efx) in efx_mcdi_poll_reboot() 428 static int efx_mcdi_await_completion(struct efx_nic *efx) in efx_mcdi_await_completion() 469 struct efx_nic *efx = mcdi->efx; in efx_mcdi_release() local [all …]
|
D | mcdi_port_common.c | 15 int efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg) in efx_mcdi_get_phy_cfg() 55 void efx_link_set_advertising(struct efx_nic *efx, in efx_link_set_advertising() 70 int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities, in efx_mcdi_set_link() 86 int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes) in efx_mcdi_loopback_modes() 232 u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags() 281 void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link() 374 void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) in efx_mcdi_phy_check_fcntl() 400 bool efx_mcdi_phy_poll(struct efx_nic *efx) in efx_mcdi_phy_poll() 424 int efx_mcdi_phy_probe(struct efx_nic *efx) in efx_mcdi_phy_probe() 530 void efx_mcdi_phy_remove(struct efx_nic *efx) in efx_mcdi_phy_remove() [all …]
|
D | io.h | 78 static inline u32 efx_reg(struct efx_nic *efx, unsigned int reg) in efx_reg() 84 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq() 89 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq() 95 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed() 100 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd() 106 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo() 129 static inline void efx_sram_writeq(struct efx_nic *efx, void __iomem *membase, in efx_sram_writeq() 150 static inline void efx_writed(struct efx_nic *efx, const efx_dword_t *value, in efx_writed() 162 static inline void efx_reado(struct efx_nic *efx, efx_oword_t *value, in efx_reado() 180 static inline void efx_sram_readq(struct efx_nic *efx, void __iomem *membase, in efx_sram_readq() [all …]
|
D | efx_channels.c | 55 static unsigned int count_online_cores(struct efx_nic *efx, bool local_node) in count_online_cores() 83 static unsigned int efx_wanted_parallelism(struct efx_nic *efx) in efx_wanted_parallelism() 124 static int efx_allocate_msix_channels(struct efx_nic *efx, in efx_allocate_msix_channels() 247 int efx_probe_interrupts(struct efx_nic *efx) in efx_probe_interrupts() 361 void efx_set_interrupt_affinity(struct efx_nic *efx) in efx_set_interrupt_affinity() 380 void efx_clear_interrupt_affinity(struct efx_nic *efx) in efx_clear_interrupt_affinity() 389 efx_set_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_set_interrupt_affinity() 394 efx_clear_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_clear_interrupt_affinity() 399 void efx_remove_interrupts(struct efx_nic *efx) in efx_remove_interrupts() 424 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local [all …]
|
D | ef100_nic.c | 39 static u8 *ef100_mcdi_buf(struct efx_nic *efx, u8 bufid, dma_addr_t *dma_addr) in ef100_mcdi_buf() 49 static int ef100_get_warm_boot_count(struct efx_nic *efx) in ef100_get_warm_boot_count() 65 static void ef100_mcdi_request(struct efx_nic *efx, in ef100_mcdi_request() 86 static bool ef100_mcdi_poll_response(struct efx_nic *efx) in ef100_mcdi_poll_response() 95 static void ef100_mcdi_read_response(struct efx_nic *efx, in ef100_mcdi_read_response() 104 static int ef100_mcdi_poll_reboot(struct efx_nic *efx) in ef100_mcdi_poll_reboot() 127 static void ef100_mcdi_reboot_detected(struct efx_nic *efx) in ef100_mcdi_reboot_detected() 133 static int ef100_get_mac_address(struct efx_nic *efx, u8 *mac_address) in ef100_get_mac_address() 153 int efx_ef100_init_datapath_caps(struct efx_nic *efx) in efx_ef100_init_datapath_caps() 247 struct efx_nic *efx = channel->efx; in ef100_ev_process() local [all …]
|
D | mcdi_filters.c | 93 efx_mcdi_filter_push_prep_set_match_fields(struct efx_nic *efx, in efx_mcdi_filter_push_prep_set_match_fields() 194 static void efx_mcdi_filter_push_prep(struct efx_nic *efx, in efx_mcdi_filter_push_prep() 246 static int efx_mcdi_filter_push(struct efx_nic *efx, in efx_mcdi_filter_push() 343 static s32 efx_mcdi_filter_insert_locked(struct efx_nic *efx, in efx_mcdi_filter_insert_locked() 556 s32 efx_mcdi_filter_insert(struct efx_nic *efx, struct efx_filter_spec *spec, in efx_mcdi_filter_insert() 576 static int efx_mcdi_filter_remove_internal(struct efx_nic *efx, in efx_mcdi_filter_remove_internal() 652 static void efx_mcdi_filter_remove_old(struct efx_nic *efx) in efx_mcdi_filter_remove_old() 684 int efx_mcdi_filter_remove_safe(struct efx_nic *efx, in efx_mcdi_filter_remove_safe() 702 static void efx_mcdi_filter_remove_unsafe(struct efx_nic *efx, in efx_mcdi_filter_remove_unsafe() 717 int efx_mcdi_filter_get_safe(struct efx_nic *efx, in efx_mcdi_filter_get_safe() [all …]
|
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/ |
D | efx.c | 202 #define EF4_ASSERT_RESET_SERIALISED(efx) \ argument 210 static int ef4_check_disabled(struct ef4_nic *efx) in ef4_check_disabled() 271 static void ef4_update_irq_mod(struct ef4_nic *efx, struct ef4_channel *channel) in ef4_update_irq_mod() 296 struct ef4_nic *efx = channel->efx; in ef4_poll() local 333 struct ef4_nic *efx = channel->efx; in ef4_probe_eventq() local 351 struct ef4_nic *efx = channel->efx; in ef4_init_eventq() local 420 ef4_alloc_channel(struct ef4_nic *efx, int i, struct ef4_channel *old_channel) in ef4_alloc_channel() 527 struct ef4_nic *efx = channel->efx; in ef4_get_channel_name() local 543 static void ef4_set_channel_names(struct ef4_nic *efx) in ef4_set_channel_names() 553 static int ef4_probe_channels(struct ef4_nic *efx) in ef4_probe_channels() [all …]
|
D | io.h | 67 static inline void _ef4_writeq(struct ef4_nic *efx, __le64 value, in _ef4_writeq() 72 static inline __le64 _ef4_readq(struct ef4_nic *efx, unsigned int reg) in _ef4_readq() 78 static inline void _ef4_writed(struct ef4_nic *efx, __le32 value, in _ef4_writed() 83 static inline __le32 _ef4_readd(struct ef4_nic *efx, unsigned int reg) in _ef4_readd() 89 static inline void ef4_writeo(struct ef4_nic *efx, const ef4_oword_t *value, in ef4_writeo() 112 static inline void ef4_sram_writeq(struct ef4_nic *efx, void __iomem *membase, in ef4_sram_writeq() 133 static inline void ef4_writed(struct ef4_nic *efx, const ef4_dword_t *value, in ef4_writed() 145 static inline void ef4_reado(struct ef4_nic *efx, ef4_oword_t *value, in ef4_reado() 163 static inline void ef4_sram_readq(struct ef4_nic *efx, void __iomem *membase, in ef4_sram_readq() 184 static inline void ef4_readd(struct ef4_nic *efx, ef4_dword_t *value, in ef4_readd() [all …]
|
D | falcon.c | 133 #define FALCON_XMAC_STATS_DMA_FLAG(efx) \ argument 328 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_setsda() local 338 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_setscl() local 348 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_getsda() local 357 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_getscl() local 377 struct ef4_nic *efx = channel->efx; in falcon_push_irq_moderation() local 402 static void falcon_prepare_flush(struct ef4_nic *efx) in falcon_prepare_flush() 422 static inline void falcon_irq_ack_a1(struct ef4_nic *efx) in falcon_irq_ack_a1() 433 struct ef4_nic *efx = dev_id; in falcon_legacy_interrupt_a1() local 482 static int dummy_rx_push_rss_config(struct ef4_nic *efx, bool user, in dummy_rx_push_rss_config() [all …]
|
D | efx.h | 71 #define EF4_TXQ_MIN_ENT(efx) (2 * ef4_tx_max_skb_descs(efx)) argument 73 static inline bool ef4_rss_enabled(struct ef4_nic *efx) in ef4_rss_enabled() 107 static inline s32 ef4_filter_insert_filter(struct ef4_nic *efx, in ef4_filter_insert_filter() 123 static inline int ef4_filter_remove_id_safe(struct ef4_nic *efx, in ef4_filter_remove_id_safe() 141 ef4_filter_get_filter_safe(struct ef4_nic *efx, in ef4_filter_get_filter_safe() 148 static inline u32 ef4_filter_count_rx_used(struct ef4_nic *efx, in ef4_filter_count_rx_used() 153 static inline u32 ef4_filter_get_rx_id_limit(struct ef4_nic *efx) in ef4_filter_get_rx_id_limit() 157 static inline s32 ef4_filter_get_rx_ids(struct ef4_nic *efx, in ef4_filter_get_rx_ids() 221 static inline int ef4_mtd_probe(struct ef4_nic *efx) in ef4_mtd_probe() 228 static inline int ef4_mtd_probe(struct ef4_nic *efx) { return 0; } in ef4_mtd_probe() [all …]
|
D | farch.c | 84 static inline void ef4_write_buf_tbl(struct ef4_nic *efx, ef4_qword_t *value, in ef4_write_buf_tbl() 98 int ef4_farch_test_registers(struct ef4_nic *efx, in ef4_farch_test_registers() 168 ef4_init_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) in ef4_init_special_buffer() 194 ef4_fini_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) in ef4_fini_special_buffer() 223 static int ef4_alloc_special_buffer(struct ef4_nic *efx, in ef4_alloc_special_buffer() 249 ef4_free_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) in ef4_free_special_buffer() 365 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_probe() local 375 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_init() local 431 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_flush_tx_queue() local 445 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_fini() local [all …]
|