/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A 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 …]
|
H A D | efx.c | 111 #define EFX_ASSERT_RESET_SERIALISED(efx) \ argument 127 static int efx_probe_port(struct efx_nic *efx) in efx_probe_port() 147 static int efx_init_port(struct efx_nic *efx) in efx_init_port() 170 static void efx_fini_port(struct efx_nic *efx) in efx_fini_port() 183 static void efx_remove_port(struct efx_nic *efx) in efx_remove_port() 206 static void efx_associate(struct efx_nic *efx) in efx_associate() 251 static void efx_dissociate(struct efx_nic *efx) in efx_dissociate() 267 static int efx_probe_nic(struct efx_nic *efx) in efx_probe_nic() 328 static void efx_remove_nic(struct efx_nic *efx) in efx_remove_nic() 342 static int efx_probe_all(struct efx_nic *efx) in efx_probe_all() [all …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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() 364 void efx_siena_set_interrupt_affinity(struct efx_nic *efx) in efx_siena_set_interrupt_affinity() 383 void efx_siena_clear_interrupt_affinity(struct efx_nic *efx) in efx_siena_clear_interrupt_affinity() 402 void efx_siena_remove_interrupts(struct efx_nic *efx) in efx_siena_remove_interrupts() 427 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local 446 struct efx_nic *efx = channel->efx; in efx_init_eventq() local 532 static struct efx_channel *efx_alloc_channel(struct efx_nic *efx, int i) in efx_alloc_channel() [all …]
|
H A D | farch.c | 88 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value, in efx_write_buf_tbl() 102 int efx_farch_test_registers(struct efx_nic *efx, in efx_farch_test_registers() 172 efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_init_special_buffer() 198 efx_fini_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_fini_special_buffer() 227 static int efx_alloc_special_buffer(struct efx_nic *efx, in efx_alloc_special_buffer() 260 efx_free_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_free_special_buffer() 373 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_probe() local 386 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_init() local 425 struct efx_nic *efx = tx_queue->efx; in efx_farch_flush_tx_queue() local 439 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_fini() local [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | efx_common.c | 120 void efx_queue_reset_work(struct efx_nic *efx) in efx_queue_reset_work() 125 void efx_flush_reset_workqueue(struct efx_nic *efx) in efx_flush_reset_workqueue() 141 void efx_mac_reconfigure(struct efx_nic *efx, bool mtu_only) in efx_mac_reconfigure() 156 struct efx_nic *efx = container_of(data, struct efx_nic, mac_work); in efx_mac_work() local 166 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_set_mac_address() local 201 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_set_rx_mode() local 210 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_set_features() local 238 void efx_link_status_changed(struct efx_nic *efx) in efx_link_status_changed() 269 unsigned int efx_xdp_max_mtu(struct efx_nic *efx) in efx_xdp_max_mtu() 284 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_change_mtu() local [all …]
|
H A 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 …]
|
H A D | efx.h | 46 static inline bool efx_rx_buf_hash_valid(struct efx_nic *efx, const u8 *prefix) in efx_rx_buf_hash_valid() 63 #define EFX_TXQ_MIN_ENT(efx) (2 * efx_tx_max_skb_descs(efx)) argument 68 #define EFX_TXQ_MAX_ENT(efx) (EFX_WORKAROUND_EF10(efx) ? \ argument 71 static inline bool efx_rss_enabled(struct efx_nic *efx) in efx_rss_enabled() 103 static inline s32 efx_filter_insert_filter(struct efx_nic *efx, in efx_filter_insert_filter() 119 static inline int efx_filter_remove_id_safe(struct efx_nic *efx, in efx_filter_remove_id_safe() 137 efx_filter_get_filter_safe(struct efx_nic *efx, in efx_filter_get_filter_safe() 144 static inline u32 efx_filter_count_rx_used(struct efx_nic *efx, in efx_filter_count_rx_used() 149 static inline u32 efx_filter_get_rx_id_limit(struct efx_nic *efx) in efx_filter_get_rx_id_limit() 153 static inline s32 efx_filter_get_rx_ids(struct efx_nic *efx, in efx_filter_get_rx_ids() [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | mcdi.c | 60 int efx_mcdi_init(struct efx_nic *efx) in efx_mcdi_init() 124 void efx_mcdi_detach(struct efx_nic *efx) in efx_mcdi_detach() 135 void efx_mcdi_fini(struct efx_nic *efx) in efx_mcdi_fini() 147 static void efx_mcdi_send_request(struct efx_nic *efx, unsigned cmd, in efx_mcdi_send_request() 262 static void efx_mcdi_read_response_header(struct efx_nic *efx) in efx_mcdi_read_response_header() 337 static bool efx_mcdi_poll_once(struct efx_nic *efx) in efx_mcdi_poll_once() 352 static int efx_mcdi_poll(struct efx_nic *efx) in efx_mcdi_poll() 401 int efx_mcdi_poll_reboot(struct efx_nic *efx) in efx_mcdi_poll_reboot() 427 static int efx_mcdi_await_completion(struct efx_nic *efx) in efx_mcdi_await_completion() 468 struct efx_nic *efx = mcdi->efx; in efx_mcdi_release() local [all …]
|
H A 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 …]
|
H A D | io.h | 54 static inline u32 efx_reg(struct efx_nic *efx, unsigned int reg) in efx_reg() 60 static inline void _efx_writeq(struct efx_nic *efx, __le64 value, in _efx_writeq() 65 static inline __le64 _efx_readq(struct efx_nic *efx, unsigned int reg) in _efx_readq() 71 static inline void _efx_writed(struct efx_nic *efx, __le32 value, in _efx_writed() 76 static inline __le32 _efx_readd(struct efx_nic *efx, unsigned int reg) in _efx_readd() 82 static inline void efx_writeo(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo() 105 static inline void efx_writed(struct efx_nic *efx, const efx_dword_t *value, in efx_writed() 117 static inline void efx_reado(struct efx_nic *efx, efx_oword_t *value, in efx_reado() 135 static inline void efx_readd(struct efx_nic *efx, efx_dword_t *value, in efx_readd() 146 efx_writeo_table(struct efx_nic *efx, const efx_oword_t *value, in efx_writeo_table() [all …]
|
H A 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() 363 void efx_set_interrupt_affinity(struct efx_nic *efx) in efx_set_interrupt_affinity() 382 void efx_clear_interrupt_affinity(struct efx_nic *efx) in efx_clear_interrupt_affinity() 391 efx_set_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_set_interrupt_affinity() 396 efx_clear_interrupt_affinity(struct efx_nic *efx __attribute__ ((unused))) in efx_clear_interrupt_affinity() 401 void efx_remove_interrupts(struct efx_nic *efx) in efx_remove_interrupts() 426 struct efx_nic *efx = channel->efx; in efx_probe_eventq() local [all …]
|
H A 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 int ef100_get_mac_address(struct efx_nic *efx, u8 *mac_address, in ef100_get_mac_address() 164 int efx_ef100_init_datapath_caps(struct efx_nic *efx) in efx_ef100_init_datapath_caps() 260 struct efx_nic *efx = channel->efx; in ef100_ev_process() local [all …]
|
H A 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 …]
|
H A D | ef100_netdev.c | 30 static void ef100_update_name(struct efx_nic *efx) in ef100_update_name() 35 static int ef100_alloc_vis(struct efx_nic *efx, unsigned int *allocated_vis) in ef100_alloc_vis() 66 static int ef100_remap_bar(struct efx_nic *efx, int max_vis) in ef100_remap_bar() 93 struct efx_nic *efx = efx_netdev_priv(net_dev); in ef100_net_stop() local 119 struct efx_nic *efx = efx_netdev_priv(net_dev); in ef100_net_open() local 242 struct efx_nic *efx = efx_netdev_priv(net_dev); in ef100_hard_start_xmit() local 248 struct efx_nic *efx, in __ef100_hard_start_xmit() 302 struct efx_nic *efx = container_of(this, struct efx_nic, netdev_notifier); in ef100_netdev_event() local 323 struct efx_nic *efx = container_of(this, struct efx_nic, netevent_notifier); in ef100_netevent_event() local 336 static int ef100_register_netdev(struct efx_nic *efx) in ef100_register_netdev() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | efx.c | 201 #define EF4_ASSERT_RESET_SERIALISED(efx) \ argument 209 static int ef4_check_disabled(struct ef4_nic *efx) in ef4_check_disabled() 270 static void ef4_update_irq_mod(struct ef4_nic *efx, struct ef4_channel *channel) in ef4_update_irq_mod() 295 struct ef4_nic *efx = channel->efx; in ef4_poll() local 332 struct ef4_nic *efx = channel->efx; in ef4_probe_eventq() local 350 struct ef4_nic *efx = channel->efx; in ef4_init_eventq() local 419 ef4_alloc_channel(struct ef4_nic *efx, int i, struct ef4_channel *old_channel) in ef4_alloc_channel() 526 struct ef4_nic *efx = channel->efx; in ef4_get_channel_name() local 542 static void ef4_set_channel_names(struct ef4_nic *efx) in ef4_set_channel_names() 552 static int ef4_probe_channels(struct ef4_nic *efx) in ef4_probe_channels() [all …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|