Lines Matching defs:catc

160 struct catc {  struct
161 struct net_device *netdev;
162 struct usb_device *usbdev;
164 unsigned long flags;
166 unsigned int tx_ptr, tx_idx;
190 void (*callback)(struct catc *catc, struct ctrl_queue *q); argument
204 #define catc_get_mac(catc, mac) catc_ctrl_msg(catc, USB_DIR_IN, GetMac, 0, 0, mac, 6) argument
205 #define catc_reset(catc) catc_ctrl_msg(catc, USB_DIR_OUT, Reset, 0, 0, NULL, 0) argument
206 #define catc_set_reg(catc, reg, val) catc_ctrl_msg(catc, USB_DIR_OUT, SetReg, val, reg, NULL, 0) argument
207 #define catc_get_reg(catc, reg, buf) catc_ctrl_msg(catc, USB_DIR_IN, GetReg, 0, reg, buf, 1) argument
208 #define catc_write_mem(catc, addr, buf, size) catc_ctrl_msg(catc, USB_DIR_OUT, WriteMem, 0, addr, … argument
209 #define catc_read_mem(catc, addr, buf, size) catc_ctrl_msg(catc, USB_DIR_IN, ReadMem, 0, addr, bu… argument
211 #define f5u011_rxmode(catc, rxmode) catc_ctrl_msg(catc, USB_DIR_OUT, SetRxMode, 0, 1, rxmode, 2) argument
212 #define f5u011_rxmode_async(catc, rxmode) catc_ctrl_async(catc, USB_DIR_OUT, SetRxMode, 0, 1, &rxm… argument
213 #define f5u011_mchash_async(catc, hash) catc_ctrl_async(catc, USB_DIR_OUT, SetRxMode, 0, 2, &hash… argument
215 #define catc_set_reg_async(catc, reg, val) catc_ctrl_async(catc, USB_DIR_OUT, SetReg, val, reg, NU… argument
216 #define catc_get_reg_async(catc, reg, cb) catc_ctrl_async(catc, USB_DIR_IN, GetReg, 0, reg, NULL, … argument
217 #define catc_write_mem_async(catc, addr, buf, size) catc_ctrl_async(catc, USB_DIR_OUT, WriteMem, 0,… argument
225 struct catc *catc = urb->context; in catc_rx_done() local
291 struct catc *catc = urb->context; in catc_irq_done() local
361 static int catc_tx_run(struct catc *catc) in catc_tx_run()
385 struct catc *catc = urb->context; in catc_tx_done() local
423 struct catc *catc = netdev_priv(netdev); in catc_start_xmit() local
463 struct catc *catc = netdev_priv(netdev); in catc_tx_timeout() local
473 static int catc_ctrl_msg(struct catc *catc, u8 dir, u8 request, u16 value, u16 index, void *buf, in… in catc_ctrl_msg()
481 static void catc_ctrl_run(struct catc *catc) in catc_ctrl_run()
511 struct catc *catc = urb->context; in catc_ctrl_done() local
544 static int catc_ctrl_async(struct catc *catc, u8 dir, u8 request, u16 value, in catc_ctrl_async()
545 u16 index, void *buf, int len, void (*callback)(struct catc *catc, struct ctrl_queue *q)) in catc_ctrl_async()
583 static void catc_stats_done(struct catc *catc, struct ctrl_queue *q) in catc_stats_done()
616 struct catc *catc = (void *) data; in catc_stats_timer() local
639 struct catc *catc = netdev_priv(netdev); in catc_set_multicast_list() local
685 struct catc *catc = netdev_priv(dev); in catc_get_drvinfo() local
693 struct catc *catc = netdev_priv(dev); in catc_get_settings() local
722 struct catc *catc = netdev_priv(netdev); in catc_open() local
742 struct catc *catc = netdev_priv(netdev); in catc_stop() local
778 struct catc *catc; in catc_probe() local
931 struct catc *catc = usb_get_intfdata(intf); in catc_disconnect() local