Lines Matching refs:s2io_nic
125 static inline int is_s2io_card_up(const struct s2io_nic *sp)
350 static void do_s2io_copy_mac_addr(struct s2io_nic *sp, int offset, u64 mac_addr)
365 struct s2io_nic *nic = netdev_priv(dev);
389 struct s2io_nic *nic = netdev_priv(dev);
559 static inline void s2io_stop_all_tx_queue(struct s2io_nic *sp)
570 static inline void s2io_stop_tx_queue(struct s2io_nic *sp, int fifo_no)
579 static inline void s2io_start_all_tx_queue(struct s2io_nic *sp)
590 static inline void s2io_start_tx_queue(struct s2io_nic *sp, int fifo_no)
599 static inline void s2io_wake_all_tx_queue(struct s2io_nic *sp)
633 static int init_shared_mem(struct s2io_nic *nic)
939 static void free_shared_mem(struct s2io_nic *nic)
1078 static int s2io_verify_pci_mode(struct s2io_nic *nic)
1112 static int s2io_print_pci_mode(struct s2io_nic *nic)
1180 static int init_tti(struct s2io_nic *nic, int link)
1256 static int init_nic(struct s2io_nic *nic)
1889 static int s2io_link_fault_indication(struct s2io_nic *nic)
1919 static void en_dis_err_alarms(struct s2io_nic *nic, u16 mask, int flag)
2057 static void en_dis_able_nic_intrs(struct s2io_nic *nic, u16 mask, int flag)
2141 static int verify_pcc_quiescent(struct s2io_nic *sp, int flag)
2181 static int verify_xena_quiescence(struct s2io_nic *sp)
2248 static void fix_mac_address(struct s2io_nic *sp)
2274 static int start_nic(struct s2io_nic *nic)
2384 struct s2io_nic *nic = fifo_data->nic;
2427 static void free_tx_buffers(struct s2io_nic *nic)
2473 static void stop_nic(struct s2io_nic *nic)
2513 static int fill_rx_buffers(struct s2io_nic *nic, struct ring_info *ring,
2728 static void free_rxd_blk(struct s2io_nic *sp, int ring_no, int blk)
2788 static void free_rx_buffers(struct s2io_nic *sp)
2811 static int s2io_chk_rx_buffers(struct s2io_nic *nic, struct ring_info *ring)
2840 struct s2io_nic *nic = netdev_priv(dev);
2864 struct s2io_nic *nic = container_of(napi, struct s2io_nic, napi);
2905 struct s2io_nic *nic = netdev_priv(dev);
3069 struct s2io_nic *nic = fifo_data->nic;
3162 struct s2io_nic *sp = netdev_priv(dev);
3208 struct s2io_nic *sp = netdev_priv(dev);
3310 struct s2io_nic *sp = netdev_priv(dev);
3397 * s2io_nic structure.
3468 static void s2io_reset(struct s2io_nic *sp)
3584 * pointer to the s2io_nic structure.
3591 static int s2io_set_swapper(struct s2io_nic *sp)
3719 static int wait_for_msix_trans(struct s2io_nic *nic, int i)
3740 static void restore_xmsi_data(struct s2io_nic *nic)
3763 static void store_xmsi_data(struct s2io_nic *nic)
3791 static int s2io_enable_msi_x(struct s2io_nic *nic)
3877 struct s2io_nic *sp = dev_id;
3886 static int s2io_test_msi(struct s2io_nic *sp)
3928 static void remove_msix_isr(struct s2io_nic *sp)
3953 static void remove_inta_isr(struct s2io_nic *sp)
3978 struct s2io_nic *sp = netdev_priv(dev);
4037 struct s2io_nic *sp = netdev_priv(dev);
4076 struct s2io_nic *sp = netdev_priv(dev);
4306 struct s2io_nic *sp = (struct s2io_nic *)data;
4316 struct s2io_nic *sp = ring->nic;
4344 struct s2io_nic *sp = fifos->nic;
4377 static void s2io_txpic_intr_handle(struct s2io_nic *sp)
4472 struct s2io_nic *sp = netdev_priv(dev);
4774 struct s2io_nic *sp = netdev_priv(dev);
4870 static void s2io_updt_stats(struct s2io_nic *sp)
4897 * This function updates the device statistics structure in the s2io_nic
4904 struct s2io_nic *sp = netdev_priv(dev);
4998 struct s2io_nic *sp = netdev_priv(dev);
5162 static void do_s2io_store_unicast_mc(struct s2io_nic *sp)
5179 static void do_s2io_restore_unicast_mc(struct s2io_nic *sp)
5195 static int do_s2io_add_mc(struct s2io_nic *sp, u8 *addr)
5230 static int do_s2io_add_mac(struct s2io_nic *sp, u64 addr, int off)
5252 static int do_s2io_delete_unicast_mc(struct s2io_nic *sp, u64 addr)
5276 static u64 do_s2io_read_unicast_mc(struct s2io_nic *sp, int offset)
5326 struct s2io_nic *sp = netdev_priv(dev);
5373 * @sp : private member of the device structure, which is a pointer to the * s2io_nic structure.
5386 struct s2io_nic *sp = netdev_priv(dev);
5402 * s2io_nic structure.
5413 struct s2io_nic *sp = netdev_priv(dev);
5436 * s2io_nic structure.
5448 struct s2io_nic *sp = netdev_priv(dev);
5461 * s2io_nic structure.
5478 struct s2io_nic *sp = netdev_priv(dev);
5492 * is a pointer to the s2io_nic structure, provided as an u32.
5500 struct s2io_nic *sp = (struct s2io_nic *)data;
5523 * s2io_nic structure.
5538 struct s2io_nic *sp = netdev_priv(dev);
5574 struct s2io_nic *sp = netdev_priv(dev);
5606 * s2io_nic structure.
5617 struct s2io_nic *sp = netdev_priv(dev);
5631 * s2io_nic structure.
5644 struct s2io_nic *sp = netdev_priv(dev);
5663 * s2io_nic structure.
5677 static int read_eeprom(struct s2io_nic *sp, int off, u64 *data)
5732 * s2io_nic structure.
5744 static int write_eeprom(struct s2io_nic *sp, int off, u64 data, int cnt)
5795 static void s2io_vpd_read(struct s2io_nic *nic)
5868 * @sp : private member of the device structure, which is a pointer to the * s2io_nic structure.
5884 struct s2io_nic *sp = netdev_priv(dev);
5905 * s2io_nic structure.
5922 struct s2io_nic *sp = netdev_priv(dev);
5956 * s2io_nic structure.
5966 static int s2io_register_test(struct s2io_nic *sp, uint64_t *data)
6023 * s2io_nic structure.
6033 static int s2io_eeprom_test(struct s2io_nic *sp, uint64_t *data)
6124 * s2io_nic structure.
6135 static int s2io_bist_test(struct s2io_nic *sp, uint64_t *data)
6161 * s2io_nic structure.
6171 static int s2io_link_test(struct s2io_nic *sp, uint64_t *data)
6188 * s2io_nic structure.
6198 static int s2io_rldram_test(struct s2io_nic *sp, uint64_t *data)
6284 * s2io_nic structure.
6300 struct s2io_nic *sp = netdev_priv(dev);
6355 struct s2io_nic *sp = netdev_priv(dev);
6635 struct s2io_nic *sp = netdev_priv(dev);
6642 struct s2io_nic *sp = netdev_priv(dev);
6659 struct s2io_nic *sp = netdev_priv(dev);
6682 struct s2io_nic *sp = netdev_priv(dev);
6730 struct s2io_nic *sp = netdev_priv(dev);
6823 struct s2io_nic *sp = netdev_priv(dev);
6860 struct s2io_nic *nic = container_of(work, struct s2io_nic,
6935 static int set_rxd_buffer_pointer(struct s2io_nic *sp, struct RxD_t *rxdp,
7039 static void set_rxd_buffer_size(struct s2io_nic *sp, struct RxD_t *rxdp,
7052 static int rxd_owner_bit_reset(struct s2io_nic *sp)
7101 static int s2io_add_isr(struct s2io_nic *sp)
7116 * the struct s2io_nic structure
7193 static void s2io_rem_isr(struct s2io_nic *sp)
7201 static void do_s2io_card_down(struct s2io_nic *sp, int do_io)
7276 static void s2io_card_down(struct s2io_nic *sp)
7281 static int s2io_card_up(struct s2io_nic *sp)
7399 struct s2io_nic *sp = container_of(work, struct s2io_nic, rst_timer_task);
7432 struct s2io_nic *sp = netdev_priv(dev);
7444 * @sp: private member of the device structure,pointer to s2io_nic structure.
7461 struct s2io_nic *sp = ring_data->nic;
7633 * s2io_nic structure.
7643 static void s2io_link(struct s2io_nic *sp, int link)
7675 * s2io_nic structure.
7683 static void s2io_init_pci(struct s2io_nic *sp)
7775 static int rts_ds_steer(struct s2io_nic *nic, u8 ds_codepoint, u8 ring)
7832 struct s2io_nic *sp;
7881 dev = alloc_etherdev_mq(sizeof(struct s2io_nic), tx_fifo_num);
7883 dev = alloc_etherdev(sizeof(struct s2io_nic));
8161 /* store mac addresses from CAM to s2io_nic structure */
8169 /* Store the values of the MSIX table in the s2io_nic structure */
8339 struct s2io_nic *sp;
8387 struct s2io_nic *sp)
8467 static void update_L3L4_header(struct s2io_nic *sp, struct lro *lro)
8581 struct RxD_t *rxdp, struct s2io_nic *sp)
8687 struct s2io_nic *sp = netdev_priv(dev);
8704 static void lro_append_pkt(struct s2io_nic *sp, struct lro *lro,
8734 struct s2io_nic *sp = netdev_priv(netdev);
8762 struct s2io_nic *sp = netdev_priv(netdev);
8785 struct s2io_nic *sp = netdev_priv(netdev);