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);
134 static int push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd,
136 static void process_tsq(ns_dev * card);
137 static void drain_scq(ns_dev * card, scq_info * scq, int pos);
138 static void process_rsq(ns_dev * card);
139 static void dequeue_rx(ns_dev * card, ns_rsqe * rsqe);
140 static void recycle_rx_buf(ns_dev * card, struct sk_buff *skb);
141 static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count);
142 static void recycle_iov_buf(ns_dev * card, struct sk_buff *iovb);
143 static void dequeue_sm_buf(ns_dev * card, struct sk_buff *sb);
144 static void dequeue_lg_buf(ns_dev * card, struct sk_buff *lb);
148 static void which_list(ns_dev * card, struct sk_buff *skb);
157 static struct ns_dev *cards[NS_MAX_CARDS];
202 ns_dev *card = pci_get_drvdata(pcidev); in nicstar_remove_one()
310 static u32 ns_read_sram(ns_dev * card, u32 sram_address) in ns_read_sram()
326 static void ns_write_sram(ns_dev * card, u32 sram_address, u32 * value, in ns_write_sram()
350 struct ns_dev *card = NULL; in ns_init_card()
816 static void ns_init_card_error(ns_dev *card, int error) in ns_init_card_error()
862 static scq_info *get_scq(ns_dev *card, int size, u32 scd) in get_scq()
901 static void free_scq(ns_dev *card, scq_info *scq, struct atm_vcc *vcc) in free_scq()
941 static void push_rxbufs(ns_dev * card, struct sk_buff *skb) in push_rxbufs()
1058 ns_dev *card; in ns_irq_handler()
1062 card = (ns_dev *) dev_id; in ns_irq_handler()
1229 ns_dev *card; in ns_open()
1244 card = (ns_dev *) vcc->dev->dev_data; in ns_open()
1412 ns_dev *card; in ns_close()
1572 static void fill_tst(ns_dev * card, int n, vc_map * vc) in fill_tst()
1624 ns_dev *card; in _ns_send()
1728 static int push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd, in push_scqe()
1840 static void process_tsq(ns_dev * card) in process_tsq()
1915 static void drain_scq(ns_dev * card, scq_info * scq, int pos) in drain_scq()
1957 static void process_rsq(ns_dev * card) in process_rsq()
1975 static void dequeue_rx(ns_dev * card, ns_rsqe * rsqe) in dequeue_rx()
2333 static void recycle_rx_buf(ns_dev * card, struct sk_buff *skb) in recycle_rx_buf()
2343 static void recycle_iovec_rx_bufs(ns_dev * card, struct iovec *iov, int count) in recycle_iovec_rx_bufs()
2349 static void recycle_iov_buf(ns_dev * card, struct sk_buff *iovb) in recycle_iov_buf()
2358 static void dequeue_sm_buf(ns_dev * card, struct sk_buff *sb) in dequeue_sm_buf()
2382 static void dequeue_lg_buf(ns_dev * card, struct sk_buff *lb) in dequeue_lg_buf()
2409 ns_dev *card; in ns_proc_read()
2413 card = (ns_dev *) dev->dev_data; in ns_proc_read()
2477 ns_dev *card; in ns_ioctl()
2688 static void which_list(ns_dev * card, struct sk_buff *skb) in which_list()
2697 ns_dev *card; in ns_poll()
2729 ns_dev *card; in ns_phy_put()
2743 ns_dev *card; in ns_phy_get()