Lines Matching refs:ns_dev

120 static u32 ns_read_sram(ns_dev * card, u32 sram_address);
121 static void ns_write_sram(ns_dev * card, u32 sram_address, u32 * value,
124 static void ns_init_card_error(ns_dev * card, int error);
125 static scq_info *get_scq(ns_dev *card, int size, u32 scd);
126 static void free_scq(ns_dev *card, scq_info * scq, struct atm_vcc *vcc);
127 static void push_rxbufs(ns_dev *, struct sk_buff *);
131 static void fill_tst(ns_dev * card, int n, vc_map * vc);
133 static int push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd,
135 static void process_tsq(ns_dev * card);
136 static void drain_scq(ns_dev * card, scq_info * scq, int pos);
137 static void process_rsq(ns_dev * card);
138 static void dequeue_rx(ns_dev * card, ns_rsqe * rsqe);
139 static void recycle_rx_buf(ns_dev * card, struct sk_buff *skb);
140 static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count);
141 static void recycle_iov_buf(ns_dev * card, struct sk_buff *iovb);
142 static void dequeue_sm_buf(ns_dev * card, struct sk_buff *sb);
143 static void dequeue_lg_buf(ns_dev * card, struct sk_buff *lb);
147 static void which_list(ns_dev * card, struct sk_buff *skb);
156 static struct ns_dev *cards[NS_MAX_CARDS];
199 ns_dev *card = pci_get_drvdata(pcidev); in nicstar_remove_one()
307 static u32 ns_read_sram(ns_dev * card, u32 sram_address) in ns_read_sram()
323 static void ns_write_sram(ns_dev * card, u32 sram_address, u32 * value, in ns_write_sram()
347 struct ns_dev *card = NULL; in ns_init_card()
813 static void ns_init_card_error(ns_dev *card, int error) in ns_init_card_error()
857 static scq_info *get_scq(ns_dev *card, int size, u32 scd) in get_scq()
902 static void free_scq(ns_dev *card, scq_info *scq, struct atm_vcc *vcc) in free_scq()
942 static void push_rxbufs(ns_dev * card, struct sk_buff *skb) in push_rxbufs()
1059 ns_dev *card; in ns_irq_handler()
1063 card = (ns_dev *) dev_id; in ns_irq_handler()
1230 ns_dev *card; in ns_open()
1245 card = (ns_dev *) vcc->dev->dev_data; in ns_open()
1413 ns_dev *card; in ns_close()
1573 static void fill_tst(ns_dev * card, int n, vc_map * vc) in fill_tst()
1625 ns_dev *card; in ns_send()
1717 static int push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd, in push_scqe()
1829 static void process_tsq(ns_dev * card) in process_tsq()
1904 static void drain_scq(ns_dev * card, scq_info * scq, int pos) in drain_scq()
1946 static void process_rsq(ns_dev * card) in process_rsq()
1964 static void dequeue_rx(ns_dev * card, ns_rsqe * rsqe) in dequeue_rx()
2322 static void recycle_rx_buf(ns_dev * card, struct sk_buff *skb) in recycle_rx_buf()
2332 static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count) in recycle_iovec_rx_bufs()
2338 static void recycle_iov_buf(ns_dev * card, struct sk_buff *iovb) in recycle_iov_buf()
2347 static void dequeue_sm_buf(ns_dev * card, struct sk_buff *sb) in dequeue_sm_buf()
2371 static void dequeue_lg_buf(ns_dev * card, struct sk_buff *lb) in dequeue_lg_buf()
2398 ns_dev *card; in ns_proc_read()
2402 card = (ns_dev *) dev->dev_data; in ns_proc_read()
2466 ns_dev *card; in ns_ioctl()
2677 static void which_list(ns_dev * card, struct sk_buff *skb) in which_list()
2686 ns_dev *card; in ns_poll()
2718 ns_dev *card; in ns_phy_put()
2732 ns_dev *card; in ns_phy_get()