Lines Matching defs:catc

149 struct catc {  struct
150 struct net_device *netdev;
151 struct usb_device *usbdev;
153 unsigned long flags;
155 unsigned int tx_ptr, tx_idx;
179 void (*callback)(struct catc *catc, struct ctrl_queue *q); argument
193 #define catc_get_mac(catc, mac) catc_ctrl_msg(catc, USB_DIR_IN, GetMac, 0, 0, mac, 6) argument
194 #define catc_reset(catc) catc_ctrl_msg(catc, USB_DIR_OUT, Reset, 0, 0, NULL, 0) argument
195 #define catc_set_reg(catc, reg, val) catc_ctrl_msg(catc, USB_DIR_OUT, SetReg, val, reg, NULL, 0) argument
196 #define catc_get_reg(catc, reg, buf) catc_ctrl_msg(catc, USB_DIR_IN, GetReg, 0, reg, buf, 1) argument
197 #define catc_write_mem(catc, addr, buf, size) catc_ctrl_msg(catc, USB_DIR_OUT, WriteMem, 0, addr, … argument
198 #define catc_read_mem(catc, addr, buf, size) catc_ctrl_msg(catc, USB_DIR_IN, ReadMem, 0, addr, bu… argument
200 #define f5u011_rxmode(catc, rxmode) catc_ctrl_msg(catc, USB_DIR_OUT, SetRxMode, 0, 1, rxmode, 2) argument
201 #define f5u011_rxmode_async(catc, rxmode) catc_ctrl_async(catc, USB_DIR_OUT, SetRxMode, 0, 1, &rxm… argument
202 #define f5u011_mchash_async(catc, hash) catc_ctrl_async(catc, USB_DIR_OUT, SetRxMode, 0, 2, &hash… argument
204 #define catc_set_reg_async(catc, reg, val) catc_ctrl_async(catc, USB_DIR_OUT, SetReg, val, reg, NU… argument
205 #define catc_get_reg_async(catc, reg, cb) catc_ctrl_async(catc, USB_DIR_IN, GetReg, 0, reg, NULL, … argument
206 #define catc_write_mem_async(catc, addr, buf, size) catc_ctrl_async(catc, USB_DIR_OUT, WriteMem, 0,… argument
214 struct catc *catc = urb->context; in catc_rx_done() local
280 struct catc *catc = urb->context; in catc_irq_done() local
350 static int catc_tx_run(struct catc *catc) in catc_tx_run()
374 struct catc *catc = urb->context; in catc_tx_done() local
412 struct catc *catc = netdev_priv(netdev); in catc_start_xmit() local
452 struct catc *catc = netdev_priv(netdev); in catc_tx_timeout() local
462 static int catc_ctrl_msg(struct catc *catc, u8 dir, u8 request, u16 value, u16 index, void *buf, in… in catc_ctrl_msg()
470 static void catc_ctrl_run(struct catc *catc) in catc_ctrl_run()
500 struct catc *catc = urb->context; in catc_ctrl_done() local
533 static int catc_ctrl_async(struct catc *catc, u8 dir, u8 request, u16 value, in catc_ctrl_async()
534 u16 index, void *buf, int len, void (*callback)(struct catc *catc, struct ctrl_queue *q)) in catc_ctrl_async()
572 static void catc_stats_done(struct catc *catc, struct ctrl_queue *q) in catc_stats_done()
605 struct catc *catc = from_timer(catc, t, timer); in catc_stats_timer() local
628 struct catc *catc = netdev_priv(netdev); in catc_set_multicast_list() local
674 struct catc *catc = netdev_priv(dev); in catc_get_drvinfo() local
683 struct catc *catc = netdev_priv(dev); in catc_get_link_ksettings() local
716 struct catc *catc = netdev_priv(netdev); in catc_open() local
736 struct catc *catc = netdev_priv(netdev); in catc_stop() local
771 struct catc *catc; in catc_probe() local
947 struct catc *catc = usb_get_intfdata(intf); in catc_disconnect() local