Lines Matching defs:efx
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()
491 static int falcon_b0_rx_push_rss_config(struct ef4_nic *efx, bool user, in falcon_b0_rx_push_rss_config()
516 static int falcon_spi_poll(struct ef4_nic *efx) in falcon_spi_poll()
524 static int falcon_spi_wait(struct ef4_nic *efx) in falcon_spi_wait()
552 falcon_spi_cmd(struct ef4_nic *efx, const struct falcon_spi_device *spi, in falcon_spi_cmd()
616 falcon_spi_read(struct ef4_nic *efx, const struct falcon_spi_device *spi, in falcon_spi_read()
666 falcon_spi_wait_write(struct ef4_nic *efx, const struct falcon_spi_device *spi) in falcon_spi_wait_write()
691 falcon_spi_write(struct ef4_nic *efx, const struct falcon_spi_device *spi, in falcon_spi_write()
743 struct ef4_nic *efx = part->common.mtd.priv; in falcon_spi_slow_wait() local
767 falcon_spi_unlock(struct ef4_nic *efx, const struct falcon_spi_device *spi) in falcon_spi_unlock()
807 struct ef4_nic *efx = part->common.mtd.priv; in falcon_spi_erase() local
853 struct ef4_nic *efx = part->mtd.priv; in falcon_mtd_rename() local
863 struct ef4_nic *efx = mtd->priv; in falcon_mtd_read() local
879 struct ef4_nic *efx = mtd->priv; in falcon_mtd_erase() local
895 struct ef4_nic *efx = mtd->priv; in falcon_mtd_write() local
911 struct ef4_nic *efx = mtd->priv; in falcon_mtd_sync() local
921 static int falcon_mtd_probe(struct ef4_nic *efx) in falcon_mtd_probe()
981 static void falcon_setup_xaui(struct ef4_nic *efx) in falcon_setup_xaui()
1013 int falcon_reset_xaui(struct ef4_nic *efx) in falcon_reset_xaui()
1041 static void falcon_ack_status_intr(struct ef4_nic *efx) in falcon_ack_status_intr()
1061 static bool falcon_xgxs_link_ok(struct ef4_nic *efx) in falcon_xgxs_link_ok()
1084 static bool falcon_xmac_link_ok(struct ef4_nic *efx) in falcon_xmac_link_ok()
1099 static void falcon_reconfigure_xmac_core(struct ef4_nic *efx) in falcon_reconfigure_xmac_core()
1153 static void falcon_reconfigure_xgxs_core(struct ef4_nic *efx) in falcon_reconfigure_xgxs_core()
1194 static bool falcon_xmac_link_ok_retry(struct ef4_nic *efx, int tries) in falcon_xmac_link_ok_retry()
1219 static bool falcon_xmac_check_fault(struct ef4_nic *efx) in falcon_xmac_check_fault()
1224 static int falcon_reconfigure_xmac(struct ef4_nic *efx) in falcon_reconfigure_xmac()
1241 static void falcon_poll_xmac(struct ef4_nic *efx) in falcon_poll_xmac()
1260 static void falcon_push_multicast_hash(struct ef4_nic *efx) in falcon_push_multicast_hash()
1270 static void falcon_reset_macs(struct ef4_nic *efx) in falcon_reset_macs()
1334 static void falcon_drain_tx_fifo(struct ef4_nic *efx) in falcon_drain_tx_fifo()
1350 static void falcon_deconfigure_mac_wrapper(struct ef4_nic *efx) in falcon_deconfigure_mac_wrapper()
1366 static void falcon_reconfigure_mac_wrapper(struct ef4_nic *efx) in falcon_reconfigure_mac_wrapper()
1413 static void falcon_stats_request(struct ef4_nic *efx) in falcon_stats_request()
1435 static void falcon_stats_complete(struct ef4_nic *efx) in falcon_stats_complete()
1458 struct ef4_nic *efx = nic_data->efx; in falcon_stats_timer_func() local
1469 static bool falcon_loopback_link_poll(struct ef4_nic *efx) in falcon_loopback_link_poll()
1484 static int falcon_reconfigure_port(struct ef4_nic *efx) in falcon_reconfigure_port()
1523 static void falcon_a1_prepare_enable_fc_tx(struct ef4_nic *efx) in falcon_a1_prepare_enable_fc_tx()
1529 static void falcon_b0_prepare_enable_fc_tx(struct ef4_nic *efx) in falcon_b0_prepare_enable_fc_tx()
1546 static int falcon_gmii_wait(struct ef4_nic *efx) in falcon_gmii_wait()
1575 struct ef4_nic *efx = netdev_priv(net_dev); in falcon_mdio_write() local
1628 struct ef4_nic *efx = netdev_priv(net_dev); in falcon_mdio_read() local
1677 static int falcon_probe_port(struct ef4_nic *efx) in falcon_probe_port()
1733 static void falcon_remove_port(struct ef4_nic *efx) in falcon_remove_port()
1743 struct ef4_nic *efx = channel->efx; in falcon_handle_global_event() local
1781 falcon_read_nvram(struct ef4_nic *efx, struct falcon_nvconfig *nvconfig_out) in falcon_read_nvram()
1852 static int falcon_test_nvram(struct ef4_nic *efx) in falcon_test_nvram()
1897 falcon_b0_test_chip(struct ef4_nic *efx, struct ef4_self_tests *tests) in falcon_b0_test_chip()
1977 static int __falcon_reset_hw(struct ef4_nic *efx, enum reset_type method) in __falcon_reset_hw()
2058 static int falcon_reset_hw(struct ef4_nic *efx, enum reset_type method) in falcon_reset_hw()
2070 static void falcon_monitor(struct ef4_nic *efx) in falcon_monitor()
2111 static int falcon_reset_sram(struct ef4_nic *efx) in falcon_reset_sram()
2151 static void falcon_spi_device_init(struct ef4_nic *efx, in falcon_spi_device_init()
2177 static int falcon_probe_nvconfig(struct ef4_nic *efx) in falcon_probe_nvconfig()
2218 static int falcon_dimension_resources(struct ef4_nic *efx) in falcon_dimension_resources()
2226 static void falcon_probe_spi_devices(struct ef4_nic *efx) in falcon_probe_spi_devices()
2269 static unsigned int falcon_a1_mem_map_size(struct ef4_nic *efx) in falcon_a1_mem_map_size()
2274 static unsigned int falcon_b0_mem_map_size(struct ef4_nic *efx) in falcon_b0_mem_map_size()
2283 static int falcon_probe_nic(struct ef4_nic *efx) in falcon_probe_nic()
2425 static void falcon_init_rx_cfg(struct ef4_nic *efx) in falcon_init_rx_cfg()
2476 static int falcon_init_nic(struct ef4_nic *efx) in falcon_init_nic()
2541 static void falcon_remove_nic(struct ef4_nic *efx) in falcon_remove_nic()
2567 static size_t falcon_describe_nic_stats(struct ef4_nic *efx, u8 *names) in falcon_describe_nic_stats()
2573 static size_t falcon_update_nic_stats(struct ef4_nic *efx, u64 *full_stats, in falcon_update_nic_stats()
2631 void falcon_start_nic_stats(struct ef4_nic *efx) in falcon_start_nic_stats()
2644 static void falcon_pull_nic_stats(struct ef4_nic *efx) in falcon_pull_nic_stats()
2649 void falcon_stop_nic_stats(struct ef4_nic *efx) in falcon_stop_nic_stats()
2675 static void falcon_set_id_led(struct ef4_nic *efx, enum ef4_led_mode mode) in falcon_set_id_led()
2687 static void falcon_get_wol(struct ef4_nic *efx, struct ethtool_wolinfo *wol) in falcon_get_wol()
2694 static int falcon_set_wol(struct ef4_nic *efx, u32 type) in falcon_set_wol()