s2io_nic 123 drivers/net/ethernet/neterion/s2io.c static inline int is_s2io_card_up(const struct s2io_nic *sp) s2io_nic 342 drivers/net/ethernet/neterion/s2io.c static void do_s2io_copy_mac_addr(struct s2io_nic *sp, int offset, u64 mac_addr) s2io_nic 498 drivers/net/ethernet/neterion/s2io.c static inline void s2io_stop_all_tx_queue(struct s2io_nic *sp) s2io_nic 509 drivers/net/ethernet/neterion/s2io.c static inline void s2io_stop_tx_queue(struct s2io_nic *sp, int fifo_no) s2io_nic 518 drivers/net/ethernet/neterion/s2io.c static inline void s2io_start_all_tx_queue(struct s2io_nic *sp) s2io_nic 529 drivers/net/ethernet/neterion/s2io.c static inline void s2io_wake_all_tx_queue(struct s2io_nic *sp) s2io_nic 563 drivers/net/ethernet/neterion/s2io.c static int init_shared_mem(struct s2io_nic *nic) s2io_nic 868 drivers/net/ethernet/neterion/s2io.c static void free_shared_mem(struct s2io_nic *nic) s2io_nic 1007 drivers/net/ethernet/neterion/s2io.c static int s2io_verify_pci_mode(struct s2io_nic *nic) s2io_nic 1041 drivers/net/ethernet/neterion/s2io.c static int s2io_print_pci_mode(struct s2io_nic *nic) s2io_nic 1109 drivers/net/ethernet/neterion/s2io.c static int init_tti(struct s2io_nic *nic, int link) s2io_nic 1185 drivers/net/ethernet/neterion/s2io.c static int init_nic(struct s2io_nic *nic) s2io_nic 1818 drivers/net/ethernet/neterion/s2io.c static int s2io_link_fault_indication(struct s2io_nic *nic) s2io_nic 1848 drivers/net/ethernet/neterion/s2io.c static void en_dis_err_alarms(struct s2io_nic *nic, u16 mask, int flag) s2io_nic 1986 drivers/net/ethernet/neterion/s2io.c static void en_dis_able_nic_intrs(struct s2io_nic *nic, u16 mask, int flag) s2io_nic 2070 drivers/net/ethernet/neterion/s2io.c static int verify_pcc_quiescent(struct s2io_nic *sp, int flag) s2io_nic 2110 drivers/net/ethernet/neterion/s2io.c static int verify_xena_quiescence(struct s2io_nic *sp) s2io_nic 2177 drivers/net/ethernet/neterion/s2io.c static void fix_mac_address(struct s2io_nic *sp) s2io_nic 2202 drivers/net/ethernet/neterion/s2io.c static int start_nic(struct s2io_nic *nic) s2io_nic 2312 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *nic = fifo_data->nic; s2io_nic 2355 drivers/net/ethernet/neterion/s2io.c static void free_tx_buffers(struct s2io_nic *nic) s2io_nic 2401 drivers/net/ethernet/neterion/s2io.c static void stop_nic(struct s2io_nic *nic) s2io_nic 2441 drivers/net/ethernet/neterion/s2io.c static int fill_rx_buffers(struct s2io_nic *nic, struct ring_info *ring, s2io_nic 2651 drivers/net/ethernet/neterion/s2io.c static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk) s2io_nic 2709 drivers/net/ethernet/neterion/s2io.c static void free_rx_buffers(struct s2io_nic *sp) s2io_nic 2732 drivers/net/ethernet/neterion/s2io.c static int s2io_chk_rx_buffers(struct s2io_nic *nic, struct ring_info *ring) s2io_nic 2761 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *nic = netdev_priv(dev); s2io_nic 2785 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *nic = container_of(napi, struct s2io_nic, napi); s2io_nic 2826 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *nic = netdev_priv(dev); s2io_nic 2994 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *nic = fifo_data->nic; s2io_nic 3085 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 3131 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 3233 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 3391 drivers/net/ethernet/neterion/s2io.c static void s2io_reset(struct s2io_nic *sp) s2io_nic 3514 drivers/net/ethernet/neterion/s2io.c static int s2io_set_swapper(struct s2io_nic *sp) s2io_nic 3646 drivers/net/ethernet/neterion/s2io.c static int wait_for_msix_trans(struct s2io_nic *nic, int i) s2io_nic 3667 drivers/net/ethernet/neterion/s2io.c static void restore_xmsi_data(struct s2io_nic *nic) s2io_nic 3688 drivers/net/ethernet/neterion/s2io.c static void store_xmsi_data(struct s2io_nic *nic) s2io_nic 3716 drivers/net/ethernet/neterion/s2io.c static int s2io_enable_msi_x(struct s2io_nic *nic) s2io_nic 3803 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = dev_id; s2io_nic 3812 drivers/net/ethernet/neterion/s2io.c static int s2io_test_msi(struct s2io_nic *sp) s2io_nic 3854 drivers/net/ethernet/neterion/s2io.c static void remove_msix_isr(struct s2io_nic *sp) s2io_nic 3879 drivers/net/ethernet/neterion/s2io.c static void remove_inta_isr(struct s2io_nic *sp) s2io_nic 3902 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 3961 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 4000 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 4188 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = from_timer(sp, t, alarm_timer); s2io_nic 4198 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = ring->nic; s2io_nic 4226 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = fifos->nic; s2io_nic 4259 drivers/net/ethernet/neterion/s2io.c static void s2io_txpic_intr_handle(struct s2io_nic *sp) s2io_nic 4354 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 4656 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 4752 drivers/net/ethernet/neterion/s2io.c static void s2io_updt_stats(struct s2io_nic *sp) s2io_nic 4786 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 4880 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5042 drivers/net/ethernet/neterion/s2io.c static void do_s2io_store_unicast_mc(struct s2io_nic *sp) s2io_nic 5059 drivers/net/ethernet/neterion/s2io.c static void do_s2io_restore_unicast_mc(struct s2io_nic *sp) s2io_nic 5075 drivers/net/ethernet/neterion/s2io.c static int do_s2io_add_mc(struct s2io_nic *sp, u8 *addr) s2io_nic 5110 drivers/net/ethernet/neterion/s2io.c static int do_s2io_add_mac(struct s2io_nic *sp, u64 addr, int off) s2io_nic 5132 drivers/net/ethernet/neterion/s2io.c static int do_s2io_delete_unicast_mc(struct s2io_nic *sp, u64 addr) s2io_nic 5156 drivers/net/ethernet/neterion/s2io.c static u64 do_s2io_read_unicast_mc(struct s2io_nic *sp, int offset) s2io_nic 5206 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5268 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5297 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5336 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5363 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5377 drivers/net/ethernet/neterion/s2io.c static void s2io_set_led(struct s2io_nic *sp, bool on) s2io_nic 5419 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5455 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5493 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5520 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5553 drivers/net/ethernet/neterion/s2io.c static int read_eeprom(struct s2io_nic *sp, int off, u64 *data) s2io_nic 5620 drivers/net/ethernet/neterion/s2io.c static int write_eeprom(struct s2io_nic *sp, int off, u64 data, int cnt) s2io_nic 5671 drivers/net/ethernet/neterion/s2io.c static void s2io_vpd_read(struct s2io_nic *nic) s2io_nic 5761 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5799 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 5843 drivers/net/ethernet/neterion/s2io.c static int s2io_register_test(struct s2io_nic *sp, uint64_t *data) s2io_nic 5910 drivers/net/ethernet/neterion/s2io.c static int s2io_eeprom_test(struct s2io_nic *sp, uint64_t *data) s2io_nic 6012 drivers/net/ethernet/neterion/s2io.c static int s2io_bist_test(struct s2io_nic *sp, uint64_t *data) s2io_nic 6048 drivers/net/ethernet/neterion/s2io.c static int s2io_link_test(struct s2io_nic *sp, uint64_t *data) s2io_nic 6075 drivers/net/ethernet/neterion/s2io.c static int s2io_rldram_test(struct s2io_nic *sp, uint64_t *data) s2io_nic 6177 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 6232 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 6517 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 6540 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 6563 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 6634 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 6666 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *nic = container_of(work, struct s2io_nic, s2io_nic 6741 drivers/net/ethernet/neterion/s2io.c static int set_rxd_buffer_pointer(struct s2io_nic *sp, struct RxD_t *rxdp, s2io_nic 6845 drivers/net/ethernet/neterion/s2io.c static void set_rxd_buffer_size(struct s2io_nic *sp, struct RxD_t *rxdp, s2io_nic 6858 drivers/net/ethernet/neterion/s2io.c static int rxd_owner_bit_reset(struct s2io_nic *sp) s2io_nic 6907 drivers/net/ethernet/neterion/s2io.c static int s2io_add_isr(struct s2io_nic *sp) s2io_nic 7003 drivers/net/ethernet/neterion/s2io.c static void s2io_rem_isr(struct s2io_nic *sp) s2io_nic 7011 drivers/net/ethernet/neterion/s2io.c static void do_s2io_card_down(struct s2io_nic *sp, int do_io) s2io_nic 7086 drivers/net/ethernet/neterion/s2io.c static void s2io_card_down(struct s2io_nic *sp) s2io_nic 7091 drivers/net/ethernet/neterion/s2io.c static int s2io_card_up(struct s2io_nic *sp) s2io_nic 7210 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = container_of(work, struct s2io_nic, rst_timer_task); s2io_nic 7243 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 7272 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = ring_data->nic; s2io_nic 7454 drivers/net/ethernet/neterion/s2io.c static void s2io_link(struct s2io_nic *sp, int link) s2io_nic 7494 drivers/net/ethernet/neterion/s2io.c static void s2io_init_pci(struct s2io_nic *sp) s2io_nic 7597 drivers/net/ethernet/neterion/s2io.c static int rts_ds_steer(struct s2io_nic *nic, u8 ds_codepoint, u8 ring) s2io_nic 7653 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp; s2io_nic 7702 drivers/net/ethernet/neterion/s2io.c dev = alloc_etherdev_mq(sizeof(struct s2io_nic), tx_fifo_num); s2io_nic 7704 drivers/net/ethernet/neterion/s2io.c dev = alloc_etherdev(sizeof(struct s2io_nic)); s2io_nic 8145 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp; s2io_nic 8171 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp) s2io_nic 8251 drivers/net/ethernet/neterion/s2io.c static void update_L3L4_header(struct s2io_nic *sp, struct lro *lro) s2io_nic 8362 drivers/net/ethernet/neterion/s2io.c struct RxD_t *rxdp, struct s2io_nic *sp) s2io_nic 8468 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(dev); s2io_nic 8479 drivers/net/ethernet/neterion/s2io.c static void lro_append_pkt(struct s2io_nic *sp, struct lro *lro, s2io_nic 8509 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(netdev); s2io_nic 8537 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(netdev); s2io_nic 8560 drivers/net/ethernet/neterion/s2io.c struct s2io_nic *sp = netdev_priv(netdev); s2io_nic 710 drivers/net/ethernet/neterion/s2io.h struct s2io_nic *nic; s2io_nic 788 drivers/net/ethernet/neterion/s2io.h struct s2io_nic *nic; s2io_nic 1060 drivers/net/ethernet/neterion/s2io.h static int init_shared_mem(struct s2io_nic *sp); s2io_nic 1061 drivers/net/ethernet/neterion/s2io.h static void free_shared_mem(struct s2io_nic *sp); s2io_nic 1062 drivers/net/ethernet/neterion/s2io.h static int init_nic(struct s2io_nic *nic); s2io_nic 1064 drivers/net/ethernet/neterion/s2io.h static void s2io_txpic_intr_handle(struct s2io_nic *sp); s2io_nic 1071 drivers/net/ethernet/neterion/s2io.h static void s2io_link(struct s2io_nic * sp, int link); s2io_nic 1072 drivers/net/ethernet/neterion/s2io.h static void s2io_reset(struct s2io_nic * sp); s2io_nic 1075 drivers/net/ethernet/neterion/s2io.h static void s2io_init_pci(struct s2io_nic * sp); s2io_nic 1083 drivers/net/ethernet/neterion/s2io.h static int verify_xena_quiescence(struct s2io_nic *sp); s2io_nic 1086 drivers/net/ethernet/neterion/s2io.h static int s2io_set_swapper(struct s2io_nic * sp); s2io_nic 1087 drivers/net/ethernet/neterion/s2io.h static void s2io_card_down(struct s2io_nic *nic); s2io_nic 1088 drivers/net/ethernet/neterion/s2io.h static int s2io_card_up(struct s2io_nic *nic); s2io_nic 1091 drivers/net/ethernet/neterion/s2io.h static int s2io_add_isr(struct s2io_nic * sp); s2io_nic 1092 drivers/net/ethernet/neterion/s2io.h static void s2io_rem_isr(struct s2io_nic * sp); s2io_nic 1094 drivers/net/ethernet/neterion/s2io.h static void restore_xmsi_data(struct s2io_nic *nic); s2io_nic 1095 drivers/net/ethernet/neterion/s2io.h static void do_s2io_store_unicast_mc(struct s2io_nic *sp); s2io_nic 1096 drivers/net/ethernet/neterion/s2io.h static void do_s2io_restore_unicast_mc(struct s2io_nic *sp); s2io_nic 1097 drivers/net/ethernet/neterion/s2io.h static u64 do_s2io_read_unicast_mc(struct s2io_nic *sp, int offset); s2io_nic 1098 drivers/net/ethernet/neterion/s2io.h static int do_s2io_add_mc(struct s2io_nic *sp, u8 *addr); s2io_nic 1099 drivers/net/ethernet/neterion/s2io.h static int do_s2io_add_mac(struct s2io_nic *sp, u64 addr, int offset); s2io_nic 1100 drivers/net/ethernet/neterion/s2io.h static int do_s2io_delete_unicast_mc(struct s2io_nic *sp, u64 addr); s2io_nic 1104 drivers/net/ethernet/neterion/s2io.h struct s2io_nic *sp); s2io_nic 1107 drivers/net/ethernet/neterion/s2io.h static void update_L3L4_header(struct s2io_nic *sp, struct lro *lro); s2io_nic 1108 drivers/net/ethernet/neterion/s2io.h static void lro_append_pkt(struct s2io_nic *sp, struct lro *lro, s2io_nic 1110 drivers/net/ethernet/neterion/s2io.h static int rts_ds_steer(struct s2io_nic *nic, u8 ds_codepoint, u8 ring);