Lines Matching defs:sp
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()
498 static inline void s2io_stop_all_tx_queue(struct s2io_nic *sp) in s2io_stop_all_tx_queue()
509 static inline void s2io_stop_tx_queue(struct s2io_nic *sp, int fifo_no) in s2io_stop_tx_queue()
518 static inline void s2io_start_all_tx_queue(struct s2io_nic *sp) in s2io_start_all_tx_queue()
529 static inline void s2io_wake_all_tx_queue(struct s2io_nic *sp) in s2io_wake_all_tx_queue()
2075 static int verify_pcc_quiescent(struct s2io_nic *sp, int flag) in verify_pcc_quiescent()
2117 static int verify_xena_quiescence(struct s2io_nic *sp) in verify_xena_quiescence()
2184 static void fix_mac_address(struct s2io_nic *sp) in fix_mac_address()
2660 static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk) in free_rxd_blk()
2715 static void free_rx_buffers(struct s2io_nic *sp) in free_rx_buffers()
3089 struct s2io_nic *sp = netdev_priv(dev); in s2io_mdio_write() local
3135 struct s2io_nic *sp = netdev_priv(dev); in s2io_mdio_read() local
3239 struct s2io_nic *sp = netdev_priv(dev); in s2io_updt_xpak_counter() local
3400 static void s2io_reset(struct s2io_nic *sp) in s2io_reset()
3523 static int s2io_set_swapper(struct s2io_nic *sp) in s2io_set_swapper()
3812 struct s2io_nic *sp = dev_id; in s2io_test_intr() local
3821 static int s2io_test_msi(struct s2io_nic *sp) in s2io_test_msi()
3863 static void remove_msix_isr(struct s2io_nic *sp) in remove_msix_isr()
3888 static void remove_inta_isr(struct s2io_nic *sp) in remove_inta_isr()
3911 struct s2io_nic *sp = netdev_priv(dev); in s2io_open() local
3970 struct s2io_nic *sp = netdev_priv(dev); in s2io_close() local
4009 struct s2io_nic *sp = netdev_priv(dev); in s2io_xmit() local
4197 struct s2io_nic *sp = from_timer(sp, t, alarm_timer); in s2io_alarm_handle() local
4207 struct s2io_nic *sp = ring->nic; in s2io_msix_ring_handle() local
4235 struct s2io_nic *sp = fifos->nic; in s2io_msix_fifo_handle() local
4268 static void s2io_txpic_intr_handle(struct s2io_nic *sp) in s2io_txpic_intr_handle()
4363 struct s2io_nic *sp = netdev_priv(dev); in s2io_handle_errors() local
4665 struct s2io_nic *sp = netdev_priv(dev); in s2io_isr() local
4761 static void s2io_updt_stats(struct s2io_nic *sp) in s2io_updt_stats()
4795 struct s2io_nic *sp = netdev_priv(dev); in s2io_get_stats() local
4890 struct s2io_nic *sp = netdev_priv(dev); in s2io_set_multicast() local
5058 static void do_s2io_store_unicast_mc(struct s2io_nic *sp) in do_s2io_store_unicast_mc()
5075 static void do_s2io_restore_unicast_mc(struct s2io_nic *sp) in do_s2io_restore_unicast_mc()
5091 static int do_s2io_add_mc(struct s2io_nic *sp, u8 *addr) in do_s2io_add_mc()
5123 static int do_s2io_add_mac(struct s2io_nic *sp, u64 addr, int off) in do_s2io_add_mac()
5145 static int do_s2io_delete_unicast_mc(struct s2io_nic *sp, u64 addr) in do_s2io_delete_unicast_mc()
5169 static u64 do_s2io_read_unicast_mc(struct s2io_nic *sp, int offset) in do_s2io_read_unicast_mc()
5219 struct s2io_nic *sp = netdev_priv(dev); in do_s2io_prog_unicast() local
5276 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_set_link_ksettings() local
5304 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_get_link_ksettings() local
5342 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_gdrvinfo() local
5368 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_gregs() local
5382 static void s2io_set_led(struct s2io_nic *sp, bool on) in s2io_set_led()
5424 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_set_led() local
5463 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_gringparam() local
5500 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_getpause_data() local
5526 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_setpause_data() local
5558 static int read_eeprom(struct s2io_nic *sp, int off, u64 *data) in read_eeprom()
5625 static int write_eeprom(struct s2io_nic *sp, int off, u64 data, int cnt) in write_eeprom()
5765 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_geeprom() local
5802 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_seeprom() local
5846 static int s2io_register_test(struct s2io_nic *sp, uint64_t *data) in s2io_register_test()
5913 static int s2io_eeprom_test(struct s2io_nic *sp, uint64_t *data) in s2io_eeprom_test()
6015 static int s2io_bist_test(struct s2io_nic *sp, uint64_t *data) in s2io_bist_test()
6051 static int s2io_link_test(struct s2io_nic *sp, uint64_t *data) in s2io_link_test()
6078 static int s2io_rldram_test(struct s2io_nic *sp, uint64_t *data) in s2io_rldram_test()
6179 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_test() local
6234 struct s2io_nic *sp = netdev_priv(dev); in s2io_get_ethtool_stats() local
6519 struct s2io_nic *sp = netdev_priv(dev); in s2io_get_sset_count() local
6542 struct s2io_nic *sp = netdev_priv(dev); in s2io_ethtool_get_strings() local
6565 struct s2io_nic *sp = netdev_priv(dev); in s2io_set_features() local
6636 struct s2io_nic *sp = netdev_priv(dev); in s2io_change_mtu() local
6743 static int set_rxd_buffer_pointer(struct s2io_nic *sp, struct RxD_t *rxdp, in set_rxd_buffer_pointer()
6844 static void set_rxd_buffer_size(struct s2io_nic *sp, struct RxD_t *rxdp, in set_rxd_buffer_size()
6857 static int rxd_owner_bit_reset(struct s2io_nic *sp) in rxd_owner_bit_reset()
6906 static int s2io_add_isr(struct s2io_nic *sp) in s2io_add_isr()
7002 static void s2io_rem_isr(struct s2io_nic *sp) in s2io_rem_isr()
7010 static void do_s2io_card_down(struct s2io_nic *sp, int do_io) in do_s2io_card_down()
7085 static void s2io_card_down(struct s2io_nic *sp) in s2io_card_down()
7090 static int s2io_card_up(struct s2io_nic *sp) in s2io_card_up()
7220 struct s2io_nic *sp = container_of(work, struct s2io_nic, rst_timer_task); in s2io_restart_nic() local
7254 struct s2io_nic *sp = netdev_priv(dev); in s2io_tx_watchdog() local
7280 struct s2io_nic *sp = ring_data->nic; in rx_osm_handler() local
7461 static void s2io_link(struct s2io_nic *sp, int link) in s2io_link()
7501 static void s2io_init_pci(struct s2io_nic *sp) in s2io_init_pci()
7661 struct s2io_nic *sp; in s2io_init_nic() local
8140 struct s2io_nic *sp; in s2io_rem_nic() local
8166 struct s2io_nic *sp) in check_L2_lro_capable()
8246 static void update_L3L4_header(struct s2io_nic *sp, struct lro *lro) in update_L3L4_header()
8357 struct RxD_t *rxdp, struct s2io_nic *sp) in s2io_club_tcp_session()
8463 struct s2io_nic *sp = netdev_priv(dev); in queue_rx_frame() local
8474 static void lro_append_pkt(struct s2io_nic *sp, struct lro *lro, in lro_append_pkt()
8504 struct s2io_nic *sp = netdev_priv(netdev); in s2io_io_error_detected() local
8532 struct s2io_nic *sp = netdev_priv(netdev); in s2io_io_slot_reset() local
8555 struct s2io_nic *sp = netdev_priv(netdev); in s2io_io_resume() local