/Linux-v4.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() 580 struct efx_nic *efx = channel->efx; in efx_get_channel_name() local 596 static void efx_set_channel_names(struct efx_nic *efx) in efx_set_channel_names() 606 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 …]
|
D | mcdi_port.c | 36 efx_mcdi_get_phy_cfg(struct efx_nic *efx, struct efx_mcdi_phy_data *cfg) in efx_mcdi_get_phy_cfg() 76 static int efx_mcdi_set_link(struct efx_nic *efx, u32 capabilities, in efx_mcdi_set_link() 95 static int efx_mcdi_loopback_modes(struct efx_nic *efx, u64 *loopback_modes) in efx_mcdi_loopback_modes() 124 struct efx_nic *efx = netdev_priv(net_dev); in efx_mcdi_mdio_read() local 150 struct efx_nic *efx = netdev_priv(net_dev); in efx_mcdi_mdio_write() local 279 static u32 efx_get_mcdi_phy_flags(struct efx_nic *efx) in efx_get_mcdi_phy_flags() 328 static void efx_mcdi_phy_decode_link(struct efx_nic *efx, in efx_mcdi_phy_decode_link() 413 static int efx_mcdi_phy_probe(struct efx_nic *efx) in efx_mcdi_phy_probe() 519 int efx_mcdi_port_reconfigure(struct efx_nic *efx) in efx_mcdi_port_reconfigure() 535 static void efx_mcdi_phy_check_fcntl(struct efx_nic *efx, u32 lpa) in efx_mcdi_phy_check_fcntl() [all …]
|
D | farch.c | 89 static inline void efx_write_buf_tbl(struct efx_nic *efx, efx_qword_t *value, in efx_write_buf_tbl() 103 int efx_farch_test_registers(struct efx_nic *efx, in efx_farch_test_registers() 173 efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_init_special_buffer() 199 efx_fini_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_fini_special_buffer() 228 static int efx_alloc_special_buffer(struct efx_nic *efx, in efx_alloc_special_buffer() 261 efx_free_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) in efx_free_special_buffer() 374 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_probe() local 385 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_init() local 422 struct efx_nic *efx = tx_queue->efx; in efx_farch_flush_tx_queue() local 436 struct efx_nic *efx = tx_queue->efx; in efx_farch_tx_fini() local [all …]
|
D | ethtool.c | 106 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_phys_id() local 132 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_link_ksettings() local 162 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_link_ksettings() local 182 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_drvinfo() local 199 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_regs() local 207 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_msglevel() local 213 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_msglevel() local 272 static int efx_fill_loopback_test(struct efx_nic *efx, in efx_fill_loopback_test() 317 static int efx_ethtool_fill_self_tests(struct efx_nic *efx, in efx_ethtool_fill_self_tests() 377 static size_t efx_describe_per_queue_stats(struct efx_nic *efx, u8 *strings) in efx_describe_per_queue_stats() [all …]
|
D | workarounds.h | 18 #define EFX_WORKAROUND_SIENA(efx) (efx_nic_rev(efx) == EFX_REV_SIENA_A0) argument 19 #define EFX_WORKAROUND_EF10(efx) (efx_nic_rev(efx) >= EFX_REV_HUNT_A0) argument 20 #define EFX_WORKAROUND_10G(efx) 1 argument 28 #define EFX_EF10_WORKAROUND_35388(efx) \ argument 30 #define EFX_WORKAROUND_35388(efx) \ argument 34 #define EFX_EF10_WORKAROUND_61265(efx) \ argument
|
D | selftest.c | 67 #define INT_MODE(efx) \ argument 99 static int efx_test_phy_alive(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_phy_alive() 111 static int efx_test_nvram(struct efx_nic *efx, struct efx_self_tests *tests) in efx_test_nvram() 133 static int efx_test_interrupts(struct efx_nic *efx, in efx_test_interrupts() 175 static int efx_test_eventq_irq(struct efx_nic *efx, in efx_test_eventq_irq() 256 static int efx_test_phy(struct efx_nic *efx, struct efx_self_tests *tests, in efx_test_phy() 286 void efx_loopback_rx_packet(struct efx_nic *efx, in efx_loopback_rx_packet() 378 static void efx_iterate_state(struct efx_nic *efx) in efx_iterate_state() 415 struct efx_nic *efx = tx_queue->efx; in efx_begin_loopback() local 462 static int efx_poll_loopback(struct efx_nic *efx) in efx_poll_loopback() [all …]
|
D | siena_sriov.c | 88 struct efx_nic *efx; member 198 static int efx_siena_sriov_cmd(struct efx_nic *efx, bool enable, in efx_siena_sriov_cmd() 231 static void efx_siena_sriov_usrev(struct efx_nic *efx, bool enabled) in efx_siena_sriov_usrev() 242 static int efx_siena_sriov_memcpy(struct efx_nic *efx, in efx_siena_sriov_memcpy() 305 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_tx_filter() local 349 struct efx_nic *efx = vf->efx; in efx_siena_sriov_reset_rx_filter() local 388 struct efx_nic *efx = vf->efx; in __efx_siena_sriov_update_vf_addr() local 403 struct efx_nic *efx = vf->efx; in __efx_siena_sriov_push_vf_status() local 479 static void efx_siena_sriov_bufs(struct efx_nic *efx, unsigned offset, in efx_siena_sriov_bufs() 496 static bool bad_vf_index(struct efx_nic *efx, unsigned index) in bad_vf_index() [all …]
|
D | ptp.c | 283 struct efx_nic *efx; member 356 bool efx_ptp_use_mac_tx_timestamps(struct efx_nic *efx) in efx_ptp_use_mac_tx_timestamps() 399 size_t efx_ptp_describe_stats(struct efx_nic *efx, u8 *strings) in efx_ptp_describe_stats() 408 size_t efx_ptp_update_stats(struct efx_nic *efx, u64 *stats) in efx_ptp_update_stats() 542 struct efx_channel *efx_ptp_channel(struct efx_nic *efx) in efx_ptp_channel() 547 static u32 last_sync_timestamp_major(struct efx_nic *efx) in last_sync_timestamp_major() 561 efx_ptp_mac_nic_to_ktime_correction(struct efx_nic *efx, in efx_ptp_mac_nic_to_ktime_correction() 582 struct efx_nic *efx = tx_queue->efx; in efx_ptp_nic_to_kernel_time() local 600 static int efx_ptp_get_attributes(struct efx_nic *efx) in efx_ptp_get_attributes() 699 static int efx_ptp_get_timestamp_corrections(struct efx_nic *efx) in efx_ptp_get_timestamp_corrections() [all …]
|
/Linux-v4.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 …]
|
D | qt202x_phy.c | 76 static int qt2025c_wait_heartbeat(struct ef4_nic *efx) in qt2025c_wait_heartbeat() 108 static int qt2025c_wait_fw_status_good(struct ef4_nic *efx) in qt2025c_wait_fw_status_good() 130 static void qt2025c_restart_firmware(struct ef4_nic *efx) in qt2025c_restart_firmware() 138 static int qt2025c_wait_reset(struct ef4_nic *efx) in qt2025c_wait_reset() 163 static void qt2025c_firmware_id(struct ef4_nic *efx) in qt2025c_firmware_id() 183 static void qt2025c_bug17190_workaround(struct ef4_nic *efx) in qt2025c_bug17190_workaround() 216 static int qt2025c_select_phy_mode(struct ef4_nic *efx) in qt2025c_select_phy_mode() 309 static int qt202x_reset_phy(struct ef4_nic *efx) in qt202x_reset_phy() 342 static int qt202x_phy_probe(struct ef4_nic *efx) in qt202x_phy_probe() 360 static int qt202x_phy_init(struct ef4_nic *efx) in qt202x_phy_init() [all …]
|
D | farch.c | 87 static inline void ef4_write_buf_tbl(struct ef4_nic *efx, ef4_qword_t *value, in ef4_write_buf_tbl() 101 int ef4_farch_test_registers(struct ef4_nic *efx, in ef4_farch_test_registers() 171 ef4_init_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) in ef4_init_special_buffer() 197 ef4_fini_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) in ef4_fini_special_buffer() 226 static int ef4_alloc_special_buffer(struct ef4_nic *efx, in ef4_alloc_special_buffer() 252 ef4_free_special_buffer(struct ef4_nic *efx, struct ef4_special_buffer *buffer) in ef4_free_special_buffer() 368 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_probe() local 378 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_init() local 434 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_flush_tx_queue() local 448 struct ef4_nic *efx = tx_queue->efx; in ef4_farch_tx_fini() local [all …]
|
D | ethtool.c | 96 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_phys_id() local 122 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_link_ksettings() local 146 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_set_link_ksettings() local 166 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_drvinfo() local 181 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_regs() local 189 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_msglevel() local 195 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_set_msglevel() local 254 static int ef4_fill_loopback_test(struct ef4_nic *efx, in ef4_fill_loopback_test() 299 static int ef4_ethtool_fill_self_tests(struct ef4_nic *efx, in ef4_ethtool_fill_self_tests() 359 static size_t ef4_describe_per_queue_stats(struct ef4_nic *efx, u8 *strings) in ef4_describe_per_queue_stats() [all …]
|
D | txc43128_phy.c | 174 void falcon_txc_set_gpio_val(struct ef4_nic *efx, int pin, int on) in falcon_txc_set_gpio_val() 180 void falcon_txc_set_gpio_dir(struct ef4_nic *efx, int pin, int dir) in falcon_txc_set_gpio_dir() 187 static int txc_reset_phy(struct ef4_nic *efx) in txc_reset_phy() 208 static int txc_bist_one(struct ef4_nic *efx, int mmd, int test) in txc_bist_one() 273 static int txc_bist(struct ef4_nic *efx) in txc_bist() 280 static void txc_apply_defaults(struct ef4_nic *efx) in txc_apply_defaults() 324 static int txc43128_phy_probe(struct ef4_nic *efx) in txc43128_phy_probe() 344 static int txc43128_phy_init(struct ef4_nic *efx) in txc43128_phy_init() 362 static void txc_glrgs_lane_power(struct ef4_nic *efx, int mmd) in txc_glrgs_lane_power() 376 static void txc_analog_lane_power(struct ef4_nic *efx, int mmd) in txc_analog_lane_power() [all …]
|
D | mdio_10g.c | 54 static int ef4_mdio_check_mmd(struct ef4_nic *efx, int mmd) in ef4_mdio_check_mmd() 75 int ef4_mdio_wait_reset_mmds(struct ef4_nic *efx, unsigned int mmd_mask) in ef4_mdio_wait_reset_mmds() 116 int ef4_mdio_check_mmds(struct ef4_nic *efx, unsigned int mmd_mask) in ef4_mdio_check_mmds() 155 bool ef4_mdio_links_ok(struct ef4_nic *efx, unsigned int mmd_mask) in ef4_mdio_links_ok() 181 void ef4_mdio_transmit_disable(struct ef4_nic *efx) in ef4_mdio_transmit_disable() 188 void ef4_mdio_phy_reconfigure(struct ef4_nic *efx) in ef4_mdio_phy_reconfigure() 201 static void ef4_mdio_set_mmd_lpower(struct ef4_nic *efx, in ef4_mdio_set_mmd_lpower() 215 void ef4_mdio_set_mmds_lpower(struct ef4_nic *efx, in ef4_mdio_set_mmds_lpower() 233 int ef4_mdio_set_link_ksettings(struct ef4_nic *efx, in ef4_mdio_set_link_ksettings() 276 void ef4_mdio_an_reconfigure(struct ef4_nic *efx) in ef4_mdio_an_reconfigure() [all …]
|
D | falcon_boards.c | 90 static int ef4_init_lm87(struct ef4_nic *efx, const struct i2c_board_info *info, in ef4_init_lm87() 119 static void ef4_fini_lm87(struct ef4_nic *efx) in ef4_fini_lm87() 124 static int ef4_check_lm87(struct ef4_nic *efx, unsigned mask) in ef4_check_lm87() 182 ef4_init_lm87(struct ef4_nic *efx, const struct i2c_board_info *info, in ef4_init_lm87() 187 static inline void ef4_fini_lm87(struct ef4_nic *efx) in ef4_fini_lm87() 190 static inline int ef4_check_lm87(struct ef4_nic *efx, unsigned mask) in ef4_check_lm87() 258 static void sfe4001_poweroff(struct ef4_nic *efx) in sfe4001_poweroff() 272 static int sfe4001_poweron(struct ef4_nic *efx) in sfe4001_poweron() 363 struct ef4_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in show_phy_flash_cfg() local 371 struct ef4_nic *efx = pci_get_drvdata(to_pci_dev(dev)); in set_phy_flash_cfg() local [all …]
|
D | selftest.c | 67 #define INT_MODE(efx) \ argument 99 static int ef4_test_phy_alive(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_phy_alive() 111 static int ef4_test_nvram(struct ef4_nic *efx, struct ef4_self_tests *tests) in ef4_test_nvram() 133 static int ef4_test_interrupts(struct ef4_nic *efx, in ef4_test_interrupts() 175 static int ef4_test_eventq_irq(struct ef4_nic *efx, in ef4_test_eventq_irq() 256 static int ef4_test_phy(struct ef4_nic *efx, struct ef4_self_tests *tests, in ef4_test_phy() 286 void ef4_loopback_rx_packet(struct ef4_nic *efx, in ef4_loopback_rx_packet() 378 static void ef4_iterate_state(struct ef4_nic *efx) in ef4_iterate_state() 415 struct ef4_nic *efx = tx_queue->efx; in ef4_begin_loopback() local 462 static int ef4_poll_loopback(struct ef4_nic *efx) in ef4_poll_loopback() [all …]
|