Lines Matching refs:s2io_nic
123 static inline int is_s2io_card_up(const struct s2io_nic *sp) in is_s2io_card_up()
342 static void do_s2io_copy_mac_addr(struct s2io_nic *sp, int offset, u64 mac_addr) in do_s2io_copy_mac_addr()
499 static inline void s2io_stop_all_tx_queue(struct s2io_nic *sp) in s2io_stop_all_tx_queue()
510 static inline void s2io_stop_tx_queue(struct s2io_nic *sp, int fifo_no) in s2io_stop_tx_queue()
519 static inline void s2io_start_all_tx_queue(struct s2io_nic *sp) in s2io_start_all_tx_queue()
530 static inline void s2io_wake_all_tx_queue(struct s2io_nic *sp) in s2io_wake_all_tx_queue()
564 static int init_shared_mem(struct s2io_nic *nic) in init_shared_mem()
870 static void free_shared_mem(struct s2io_nic *nic) in free_shared_mem()
1008 static int s2io_verify_pci_mode(struct s2io_nic *nic) in s2io_verify_pci_mode()
1042 static int s2io_print_pci_mode(struct s2io_nic *nic) in s2io_print_pci_mode()
1112 static int init_tti(struct s2io_nic *nic, int link, bool may_sleep) in init_tti()
1188 static int init_nic(struct s2io_nic *nic) in init_nic()
1821 static int s2io_link_fault_indication(struct s2io_nic *nic) in s2io_link_fault_indication()
1851 static void en_dis_err_alarms(struct s2io_nic *nic, u16 mask, int flag) in en_dis_err_alarms()
1989 static void en_dis_able_nic_intrs(struct s2io_nic *nic, u16 mask, int flag) in en_dis_able_nic_intrs()
2076 static int verify_pcc_quiescent(struct s2io_nic *sp, int flag) in verify_pcc_quiescent()
2118 static int verify_xena_quiescence(struct s2io_nic *sp) in verify_xena_quiescence()
2185 static void fix_mac_address(struct s2io_nic *sp) in fix_mac_address()
2210 static int start_nic(struct s2io_nic *nic) in start_nic()
2323 struct s2io_nic *nic = fifo_data->nic; in s2io_txdl_getskb()
2367 static void free_tx_buffers(struct s2io_nic *nic) in free_tx_buffers()
2413 static void stop_nic(struct s2io_nic *nic) in stop_nic()
2454 static int fill_rx_buffers(struct s2io_nic *nic, struct ring_info *ring, in fill_rx_buffers()
2661 static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk) in free_rxd_blk()
2716 static void free_rx_buffers(struct s2io_nic *sp) in free_rx_buffers()
2739 static int s2io_chk_rx_buffers(struct s2io_nic *nic, struct ring_info *ring) in s2io_chk_rx_buffers()
2768 struct s2io_nic *nic = netdev_priv(dev); in s2io_poll_msix()
2792 struct s2io_nic *nic = container_of(napi, struct s2io_nic, napi); in s2io_poll_inta()
2833 struct s2io_nic *nic = netdev_priv(dev); in s2io_netpoll()
2999 struct s2io_nic *nic = fifo_data->nic; in tx_intr_handler()
3090 struct s2io_nic *sp = netdev_priv(dev); in s2io_mdio_write()
3136 struct s2io_nic *sp = netdev_priv(dev); in s2io_mdio_read()
3240 struct s2io_nic *sp = netdev_priv(dev); in s2io_updt_xpak_counter()
3401 static void s2io_reset(struct s2io_nic *sp) in s2io_reset()
3524 static int s2io_set_swapper(struct s2io_nic *sp) in s2io_set_swapper()
3656 static int wait_for_msix_trans(struct s2io_nic *nic, int i) in wait_for_msix_trans()
3677 static void restore_xmsi_data(struct s2io_nic *nic) in restore_xmsi_data()
3698 static void store_xmsi_data(struct s2io_nic *nic) in store_xmsi_data()
3726 static int s2io_enable_msi_x(struct s2io_nic *nic) in s2io_enable_msi_x()
3813 struct s2io_nic *sp = dev_id; in s2io_test_intr()
3822 static int s2io_test_msi(struct s2io_nic *sp) in s2io_test_msi()
3864 static void remove_msix_isr(struct s2io_nic *sp) in remove_msix_isr()
3889 static void remove_inta_isr(struct s2io_nic *sp) in remove_inta_isr()
3912 struct s2io_nic *sp = netdev_priv(dev); in s2io_open()
3971 struct s2io_nic *sp = netdev_priv(dev); in s2io_close()
4010 struct s2io_nic *sp = netdev_priv(dev); in s2io_xmit()
4198 struct s2io_nic *sp = from_timer(sp, t, alarm_timer); in s2io_alarm_handle()
4208 struct s2io_nic *sp = ring->nic; in s2io_msix_ring_handle()
4236 struct s2io_nic *sp = fifos->nic; in s2io_msix_fifo_handle()
4269 static void s2io_txpic_intr_handle(struct s2io_nic *sp) in s2io_txpic_intr_handle()
4364 struct s2io_nic *sp = netdev_priv(dev); in s2io_handle_errors()
4666 struct s2io_nic *sp = netdev_priv(dev); in s2io_isr()
4762 static void s2io_updt_stats(struct s2io_nic *sp) in s2io_updt_stats()
4796 struct s2io_nic *sp = netdev_priv(dev); in s2io_get_stats()
4891 struct s2io_nic *sp = netdev_priv(dev); in s2io_set_multicast()
5059 static void do_s2io_store_unicast_mc(struct s2io_nic *sp) in do_s2io_store_unicast_mc()
5076 static void do_s2io_restore_unicast_mc(struct s2io_nic *sp) in do_s2io_restore_unicast_mc()
5092 static int do_s2io_add_mc(struct s2io_nic *sp, u8 *addr) in do_s2io_add_mc()
5124 static int do_s2io_add_mac(struct s2io_nic *sp, u64 addr, int off) in do_s2io_add_mac()
5146 static int do_s2io_delete_unicast_mc(struct s2io_nic *sp, u64 addr) in do_s2io_delete_unicast_mc()
5170 static u64 do_s2io_read_unicast_mc(struct s2io_nic *sp, int offset) in do_s2io_read_unicast_mc()
5220 struct s2io_nic *sp = netdev_priv(dev); in do_s2io_prog_unicast()
5277 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_set_link_ksettings()
5305 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_get_link_ksettings()
5343 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_gdrvinfo()
5369 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_gregs()
5383 static void s2io_set_led(struct s2io_nic *sp, bool on) in s2io_set_led()
5425 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_set_led()
5464 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_gringparam()
5501 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_getpause_data()
5527 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_setpause_data()
5559 static int read_eeprom(struct s2io_nic *sp, int off, u64 *data) in read_eeprom()
5626 static int write_eeprom(struct s2io_nic *sp, int off, u64 data, int cnt) in write_eeprom()
5677 static void s2io_vpd_read(struct s2io_nic *nic) in s2io_vpd_read()
5766 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_geeprom()
5803 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_seeprom()
5847 static int s2io_register_test(struct s2io_nic *sp, uint64_t *data) in s2io_register_test()
5914 static int s2io_eeprom_test(struct s2io_nic *sp, uint64_t *data) in s2io_eeprom_test()
6016 static int s2io_bist_test(struct s2io_nic *sp, uint64_t *data) in s2io_bist_test()
6052 static int s2io_link_test(struct s2io_nic *sp, uint64_t *data) in s2io_link_test()
6079 static int s2io_rldram_test(struct s2io_nic *sp, uint64_t *data) in s2io_rldram_test()
6180 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_test()
6235 struct s2io_nic *sp = netdev_priv(dev); in s2io_get_ethtool_stats()
6520 struct s2io_nic *sp = netdev_priv(dev); in s2io_get_sset_count()
6543 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_get_strings()
6566 struct s2io_nic *sp = netdev_priv(dev); in s2io_set_features()
6637 struct s2io_nic *sp = netdev_priv(dev); in s2io_change_mtu()
6669 struct s2io_nic *nic = container_of(work, struct s2io_nic, in s2io_set_link()
6744 static int set_rxd_buffer_pointer(struct s2io_nic *sp, struct RxD_t *rxdp, in set_rxd_buffer_pointer()
6845 static void set_rxd_buffer_size(struct s2io_nic *sp, struct RxD_t *rxdp, in set_rxd_buffer_size()
6858 static int rxd_owner_bit_reset(struct s2io_nic *sp) in rxd_owner_bit_reset()
6907 static int s2io_add_isr(struct s2io_nic *sp) in s2io_add_isr()
7003 static void s2io_rem_isr(struct s2io_nic *sp) in s2io_rem_isr()
7011 static void do_s2io_card_down(struct s2io_nic *sp, int do_io) in do_s2io_card_down()
7086 static void s2io_card_down(struct s2io_nic *sp) in s2io_card_down()
7091 static int s2io_card_up(struct s2io_nic *sp) in s2io_card_up()
7221 struct s2io_nic *sp = container_of(work, struct s2io_nic, rst_timer_task); in s2io_restart_nic()
7255 struct s2io_nic *sp = netdev_priv(dev); in s2io_tx_watchdog()
7281 struct s2io_nic *sp = ring_data->nic; in rx_osm_handler()
7462 static void s2io_link(struct s2io_nic *sp, int link) in s2io_link()
7502 static void s2io_init_pci(struct s2io_nic *sp) in s2io_init_pci()
7606 static int rts_ds_steer(struct s2io_nic *nic, u8 ds_codepoint, u8 ring) in rts_ds_steer()
7662 struct s2io_nic *sp; in s2io_init_nic()
7700 dev = alloc_etherdev_mq(sizeof(struct s2io_nic), tx_fifo_num); in s2io_init_nic()
7702 dev = alloc_etherdev(sizeof(struct s2io_nic)); in s2io_init_nic()
8141 struct s2io_nic *sp; in s2io_rem_nic()
8167 struct s2io_nic *sp) in check_L2_lro_capable()
8247 static void update_L3L4_header(struct s2io_nic *sp, struct lro *lro) in update_L3L4_header()
8358 struct RxD_t *rxdp, struct s2io_nic *sp) in s2io_club_tcp_session()
8464 struct s2io_nic *sp = netdev_priv(dev); in queue_rx_frame()
8475 static void lro_append_pkt(struct s2io_nic *sp, struct lro *lro, in lro_append_pkt()
8505 struct s2io_nic *sp = netdev_priv(netdev); in s2io_io_error_detected()
8533 struct s2io_nic *sp = netdev_priv(netdev); in s2io_io_slot_reset()
8556 struct s2io_nic *sp = netdev_priv(netdev); in s2io_io_resume()