Lines Matching defs:dev

156 static inline int is_cdc(struct eth_dev *dev)  in is_cdc()
168 static inline int rndis_active(struct eth_dev *dev) in rndis_active()
177 #define subset_active(dev) (!is_cdc(dev) && !rndis_active(dev)) argument
178 #define cdc_active(dev) (is_cdc(dev) && !rndis_active(dev)) argument
927 set_ether_config(struct eth_dev *dev, gfp_t gfp_flags) in set_ether_config()
1004 static void eth_reset_config(struct eth_dev *dev) in eth_reset_config()
1044 static int eth_set_config(struct eth_dev *dev, unsigned number, in eth_set_config()
1126 struct eth_dev *dev = ep->driver_data; in eth_status_complete() local
1159 static void issue_start_status(struct eth_dev *dev) in issue_start_status()
1222 struct eth_dev *dev = ep->driver_data; in rndis_command_complete() local
1245 struct eth_dev *dev = get_gadget_data(gadget); in eth_setup() local
1507 static int rx_submit(struct eth_dev *dev, struct usb_request *req, in rx_submit()
1556 struct eth_dev *dev = ep->driver_data; in rx_complete() local
1601 static int alloc_requests(struct eth_dev *dev, unsigned n, gfp_t gfp_flags) in alloc_requests()
1625 struct eth_dev *dev = ep->driver_data; in tx_complete() local
1644 static inline int eth_is_promisc(struct eth_dev *dev) in eth_is_promisc()
1767 struct eth_dev *dev = get_gadget_data(gadget); in eth_unbind() local
1833 struct eth_dev *dev = ep->driver_data; in rndis_control_ack_complete() local
1863 struct eth_dev *dev = &priv->ethdev; in rndis_control_ack() local
1907 static void eth_start(struct eth_dev *dev, gfp_t gfp_flags) in eth_start()
1917 static int eth_stop(struct eth_dev *dev) in eth_stop()
2004 struct eth_dev *dev = &l_priv->ethdev; in eth_bind() local
2340 struct eth_dev *dev = &priv->ethdev; in _usb_eth_init() local
2419 struct eth_dev *dev = &priv->ethdev; in _usb_eth_send() local
2493 struct eth_dev *dev = &priv->ethdev; in _usb_eth_halt() local
2542 struct eth_dev *dev = &priv->ethdev; in usb_eth_recv() local
2589 static int usb_eth_start(struct udevice *dev) in usb_eth_start()
2596 static int usb_eth_send(struct udevice *dev, void *packet, int length) in usb_eth_send()
2603 static int usb_eth_recv(struct udevice *dev, int flags, uchar **packetp) in usb_eth_recv()
2628 static int usb_eth_free_pkt(struct udevice *dev, uchar *packet, in usb_eth_free_pkt()
2639 static void usb_eth_stop(struct udevice *dev) in usb_eth_stop()
2646 static int usb_eth_probe(struct udevice *dev) in usb_eth_probe()
2670 struct udevice *dev; in usb_ether_init() local