| /kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
| D | efx_common.c | 123 void efx_queue_reset_work(struct efx_nic *efx) in efx_queue_reset_work() 128 void efx_flush_reset_workqueue(struct efx_nic *efx) in efx_flush_reset_workqueue() 144 void efx_mac_reconfigure(struct efx_nic *efx, bool mtu_only) in efx_mac_reconfigure() 159 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); in efx_mac_work() local 169 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_mac_address() local 204 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_rx_mode() local 213 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_features() local 241 void efx_link_status_changed(struct efx_nic *efx) in efx_link_status_changed() 272 unsigned int efx_xdp_max_mtu(struct efx_nic *efx) in efx_xdp_max_mtu() 287 struct efx_nic *efx = netdev_priv(net_dev); in efx_change_mtu() local [all …]
|
| D | efx.c | 108 #define EFX_ASSERT_RESET_SERIALISED(efx) \ argument 124 static int efx_probe_port(struct efx_nic *efx) in efx_probe_port() 144 static int efx_init_port(struct efx_nic *efx) in efx_init_port() 167 static void efx_fini_port(struct efx_nic *efx) in efx_fini_port() 180 static void efx_remove_port(struct efx_nic *efx) in efx_remove_port() 203 static void efx_associate(struct efx_nic *efx) in efx_associate() 248 static void efx_dissociate(struct efx_nic *efx) in efx_dissociate() 264 static int efx_probe_nic(struct efx_nic *efx) in efx_probe_nic() 325 static void efx_remove_nic(struct efx_nic *efx) in efx_remove_nic() 339 static int efx_probe_all(struct efx_nic *efx) in efx_probe_all() [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() 148 static void efx_ef10_sriov_free_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vswitching() 157 static int efx_ef10_sriov_assign_vf_vport(struct efx_nic *efx, in efx_ef10_sriov_assign_vf_vport() 187 static int efx_ef10_sriov_alloc_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_alloc_vf_vswitching() 216 static int efx_ef10_sriov_restore_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_restore_vf_vswitching() [all …]
|
| D | siena.c | 36 struct efx_nic *efx = channel->efx; in siena_push_irq_moderation() local 58 void siena_prepare_flush(struct efx_nic *efx) in siena_prepare_flush() 64 void siena_finish_flush(struct efx_nic *efx) in siena_finish_flush() 99 static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in siena_test_chip() 131 static void siena_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in siena_ptp_write_host_time() 137 static int siena_ptp_set_ts_config(struct efx_nic *efx, in siena_ptp_set_ts_config() 211 static void siena_monitor(struct efx_nic *efx) in siena_monitor() 219 static int siena_probe_nvconfig(struct efx_nic *efx) in siena_probe_nvconfig() 235 static int siena_dimension_resources(struct efx_nic *efx) in siena_dimension_resources() 248 static unsigned int siena_mem_bar(struct efx_nic *efx) in siena_mem_bar() [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 | 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 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() 88 int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes) in efx_mcdi_loopback_modes() 219 u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags() 268 void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link() 361 void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) in efx_mcdi_phy_check_fcntl() 387 bool efx_mcdi_phy_poll(struct efx_nic *efx) in efx_mcdi_phy_poll() 411 int efx_mcdi_phy_probe(struct efx_nic *efx) in efx_mcdi_phy_probe() 517 void efx_mcdi_phy_remove(struct efx_nic *efx) in efx_mcdi_phy_remove() [all …]
|
| D | mcdi.c | 61 int efx_mcdi_init(struct efx_nic *efx) in efx_mcdi_init() 127 void efx_mcdi_detach(struct efx_nic *efx) in efx_mcdi_detach() 138 void efx_mcdi_fini(struct efx_nic *efx) in efx_mcdi_fini() 150 static void efx_mcdi_send_request(struct efx_nic *efx, unsigned cmd, in efx_mcdi_send_request() 265 static void efx_mcdi_read_response_header(struct efx_nic *efx) in efx_mcdi_read_response_header() 340 static bool efx_mcdi_poll_once(struct efx_nic *efx) in efx_mcdi_poll_once() 355 static int efx_mcdi_poll(struct efx_nic *efx) in efx_mcdi_poll() 404 int efx_mcdi_poll_reboot(struct efx_nic *efx) in efx_mcdi_poll_reboot() 430 static int efx_mcdi_await_completion(struct efx_nic *efx) in efx_mcdi_await_completion() 471 struct efx_nic *efx = mcdi->efx; in efx_mcdi_release() local [all …]
|
| D | efx_channels.c | 79 static unsigned int efx_wanted_parallelism(struct efx_nic *efx) in efx_wanted_parallelism() 133 static int efx_allocate_msix_channels(struct efx_nic *efx, in efx_allocate_msix_channels() 236 int efx_probe_interrupts(struct efx_nic *efx) in efx_probe_interrupts() 348 void efx_set_interrupt_affinity(struct efx_nic *efx) in efx_set_interrupt_affinity() 360 void efx_clear_interrupt_affinity(struct efx_nic *efx) in efx_clear_interrupt_affinity() 369 efx_set_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_set_interrupt_affinity() 374 efx_clear_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_clear_interrupt_affinity() 379 void efx_remove_interrupts(struct efx_nic *efx) in efx_remove_interrupts() 404 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local 423 struct efx_nic *efx = channel->efx; in efx_init_eventq() local [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/sfc/ |
| D | efx.c | 233 #define EFX_ASSERT_RESET_SERIALISED(efx) \ argument 241 static int efx_check_disabled(struct efx_nic *efx) in efx_check_disabled() 312 static void efx_update_irq_mod(struct efx_nic *efx, struct efx_channel *channel) in efx_update_irq_mod() 337 struct efx_nic *efx = channel->efx; in efx_poll() local 377 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local 395 struct efx_nic *efx = channel->efx; in efx_init_eventq() local 464 efx_alloc_channel(struct efx_nic *efx, int i, struct efx_channel *old_channel) in efx_alloc_channel() 581 struct efx_nic *efx = channel->efx; in efx_get_channel_name() local 597 static void efx_set_channel_names(struct efx_nic *efx) in efx_set_channel_names() 607 static int efx_probe_channels(struct efx_nic *efx) in efx_probe_channels() [all …]
|
| D | siena.c | 36 struct efx_nic *efx = channel->efx; in siena_push_irq_moderation() local 58 void siena_prepare_flush(struct efx_nic *efx) in siena_prepare_flush() 64 void siena_finish_flush(struct efx_nic *efx) in siena_finish_flush() 99 static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) in siena_test_chip() 131 static void siena_ptp_write_host_time(struct efx_nic *efx, u32 host_time) in siena_ptp_write_host_time() 137 static int siena_ptp_set_ts_config(struct efx_nic *efx, in siena_ptp_set_ts_config() 211 static void siena_monitor(struct efx_nic *efx) in siena_monitor() 219 static int siena_probe_nvconfig(struct efx_nic *efx) in siena_probe_nvconfig() 235 static int siena_dimension_resources(struct efx_nic *efx) in siena_dimension_resources() 248 static unsigned int siena_mem_bar(struct efx_nic *efx) in siena_mem_bar() [all …]
|
| D | ef10_sriov.c | 18 static int efx_ef10_evb_port_assign(struct efx_nic *efx, unsigned int port_id, in efx_ef10_evb_port_assign() 33 static int efx_ef10_vswitch_alloc(struct efx_nic *efx, unsigned int port_id, in efx_ef10_vswitch_alloc() 62 static int efx_ef10_vswitch_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vswitch_free() 72 static int efx_ef10_vport_alloc(struct efx_nic *efx, in efx_ef10_vport_alloc() 106 static int efx_ef10_vport_free(struct efx_nic *efx, unsigned int port_id) in efx_ef10_vport_free() 116 static void efx_ef10_sriov_free_vf_vports(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vports() 151 static void efx_ef10_sriov_free_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_free_vf_vswitching() 160 static int efx_ef10_sriov_assign_vf_vport(struct efx_nic *efx, in efx_ef10_sriov_assign_vf_vport() 190 static int efx_ef10_sriov_alloc_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_alloc_vf_vswitching() 219 static int efx_ef10_sriov_restore_vf_vswitching(struct efx_nic *efx) in efx_ef10_sriov_restore_vf_vswitching() [all …]
|
| D | io.h | 82 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq() 87 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq() 93 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed() 98 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd() 104 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo() 128 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() 201 static inline void efx_readd(struct efx_nic *efx, efx_dword_t *value, in efx_readd() [all …]
|
| D | efx.h | 71 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_tx_max_skb_descs(efx)) argument 76 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_EF10(efx) ? \ argument 79 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled() 113 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter() 129 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe() 147 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe() 154 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used() 159 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit() 163 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids() 260 static inline int efx_mtd_probe(struct efx_nic *efx) in efx_mtd_probe() [all …]
|
| D | mcdi.c | 64 int efx_mcdi_init(struct efx_nic *efx) in efx_mcdi_init() 130 void efx_mcdi_detach(struct efx_nic *efx) in efx_mcdi_detach() 141 void efx_mcdi_fini(struct efx_nic *efx) in efx_mcdi_fini() 153 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_mcdi_poll_reboot(struct efx_nic *efx) in efx_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 | ef10.c | 149 static int efx_ef10_get_warm_boot_count(struct efx_nic *efx) in efx_ef10_get_warm_boot_count() 162 static unsigned int efx_ef10_pf_mem_bar(struct efx_nic *efx) in efx_ef10_pf_mem_bar() 173 static unsigned int efx_ef10_vf_mem_bar(struct efx_nic *efx) in efx_ef10_vf_mem_bar() 178 static unsigned int efx_ef10_mem_map_size(struct efx_nic *efx) in efx_ef10_mem_map_size() 186 static bool efx_ef10_is_vf(struct efx_nic *efx) in efx_ef10_is_vf() 191 static int efx_ef10_get_pf_index(struct efx_nic *efx) in efx_ef10_get_pf_index() 210 static int efx_ef10_get_vf_index(struct efx_nic *efx) in efx_ef10_get_vf_index() 229 static int efx_ef10_init_datapath_caps(struct efx_nic *efx) in efx_ef10_init_datapath_caps() 320 static void efx_ef10_read_licensed_features(struct efx_nic *efx) in efx_ef10_read_licensed_features() 339 static int efx_ef10_get_sysclk_freq(struct efx_nic *efx) in efx_ef10_get_sysclk_freq() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
| D | efx.c | 207 #define EF4_ASSERT_RESET_SERIALISED(efx) \ argument 215 static int ef4_check_disabled(struct ef4_nic *efx) in ef4_check_disabled() 276 static void ef4_update_irq_mod(struct ef4_nic *efx, struct ef4_channel *channel) in ef4_update_irq_mod() 301 struct ef4_nic *efx = channel->efx; in ef4_poll() local 338 struct ef4_nic *efx = channel->efx; in ef4_probe_eventq() local 356 struct ef4_nic *efx = channel->efx; in ef4_init_eventq() local 425 ef4_alloc_channel(struct ef4_nic *efx, int i, struct ef4_channel *old_channel) in ef4_alloc_channel() 532 struct ef4_nic *efx = channel->efx; in ef4_get_channel_name() local 548 static void ef4_set_channel_names(struct ef4_nic *efx) in ef4_set_channel_names() 558 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 | 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 | 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 …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/sfc/falcon/ |
| D | efx.c | 210 #define EF4_ASSERT_RESET_SERIALISED(efx) \ argument 218 static int ef4_check_disabled(struct ef4_nic *efx) in ef4_check_disabled() 279 static void ef4_update_irq_mod(struct ef4_nic *efx, struct ef4_channel *channel) in ef4_update_irq_mod() 304 struct ef4_nic *efx = channel->efx; in ef4_poll() local 341 struct ef4_nic *efx = channel->efx; in ef4_probe_eventq() local 359 struct ef4_nic *efx = channel->efx; in ef4_init_eventq() local 428 ef4_alloc_channel(struct ef4_nic *efx, int i, struct ef4_channel *old_channel) in ef4_alloc_channel() 535 struct ef4_nic *efx = channel->efx; in ef4_get_channel_name() local 551 static void ef4_set_channel_names(struct ef4_nic *efx) in ef4_set_channel_names() 561 static int ef4_probe_channels(struct ef4_nic *efx) in ef4_probe_channels() [all …]
|
| D | io.h | 70 static inline void _ef4_writeq(struct ef4_nic *efx, __le64 value, in _ef4_writeq() 75 static inline __le64 _ef4_readq(struct ef4_nic *efx, unsigned int reg) in _ef4_readq() 81 static inline void _ef4_writed(struct ef4_nic *efx, __le32 value, in _ef4_writed() 86 static inline __le32 _ef4_readd(struct ef4_nic *efx, unsigned int reg) in _ef4_readd() 92 static inline void ef4_writeo(struct ef4_nic *efx, const ef4_oword_t *value, in ef4_writeo() 116 static inline void ef4_sram_writeq(struct ef4_nic *efx, void __iomem *membase, in ef4_sram_writeq() 138 static inline void ef4_writed(struct ef4_nic *efx, const ef4_dword_t *value, in ef4_writed() 150 static inline void ef4_reado(struct ef4_nic *efx, ef4_oword_t *value, in ef4_reado() 168 static inline void ef4_sram_readq(struct ef4_nic *efx, void __iomem *membase, in ef4_sram_readq() 189 static inline void ef4_readd(struct ef4_nic *efx, ef4_dword_t *value, in ef4_readd() [all …]
|
| D | efx.h | 74 #define EF4_TXQ_MIN_ENT(efx) (2 * ef4_tx_max_skb_descs(efx)) argument 76 static inline bool ef4_rss_enabled(struct ef4_nic *efx) in ef4_rss_enabled() 110 static inline s32 ef4_filter_insert_filter(struct ef4_nic *efx, in ef4_filter_insert_filter() 126 static inline int ef4_filter_remove_id_safe(struct ef4_nic *efx, in ef4_filter_remove_id_safe() 144 ef4_filter_get_filter_safe(struct ef4_nic *efx, in ef4_filter_get_filter_safe() 151 static inline u32 ef4_filter_count_rx_used(struct ef4_nic *efx, in ef4_filter_count_rx_used() 156 static inline u32 ef4_filter_get_rx_id_limit(struct ef4_nic *efx) in ef4_filter_get_rx_id_limit() 160 static inline s32 ef4_filter_get_rx_ids(struct ef4_nic *efx, in ef4_filter_get_rx_ids() 224 static inline int ef4_mtd_probe(struct ef4_nic *efx) in ef4_mtd_probe() 231 static inline int ef4_mtd_probe(struct ef4_nic *efx) { return 0; } in ef4_mtd_probe() [all …]
|
| D | falcon.c | 136 #define FALCON_XMAC_STATS_DMA_FLAG(efx) \ argument 331 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_setsda() local 341 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_setscl() local 351 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_getsda() local 360 struct ef4_nic *efx = (struct ef4_nic *)data; in falcon_getscl() local 380 struct ef4_nic *efx = channel->efx; in falcon_push_irq_moderation() local 405 static void falcon_prepare_flush(struct ef4_nic *efx) in falcon_prepare_flush() 425 static inline void falcon_irq_ack_a1(struct ef4_nic *efx) in falcon_irq_ack_a1() 436 struct ef4_nic *efx = dev_id; in falcon_legacy_interrupt_a1() local 485 static int dummy_rx_push_rss_config(struct ef4_nic *efx, bool user, in dummy_rx_push_rss_config() [all …]
|