/u-boot/include/ |
A D | usb.h | 104 struct usb_device { struct 130 int (*irq_handle)(struct usb_device *dev); argument 145 struct usb_device *parent; argument 146 struct usb_device *children[USB_MAXCHILDREN]; argument 177 int usb_reset_root_port(struct usb_device *dev); 588 struct usb_device *pusb_dev; 631 struct usb_device *udev; 837 struct usb_device *parent); 893 int usb_select_config(struct usb_device *dev); 982 int usb_new_device(struct usb_device *dev); [all …]
|
A D | usb_ether.h | 27 struct usb_device *pusb_dev; /* this usb_device */ 101 int asix_eth_probe(struct usb_device *dev, unsigned int ifnum, 103 int asix_eth_get_info(struct usb_device *dev, struct ueth_data *ss, 107 int ax88179_eth_probe(struct usb_device *dev, unsigned int ifnum, 109 int ax88179_eth_get_info(struct usb_device *dev, struct ueth_data *ss, 113 int mcs7830_eth_probe(struct usb_device *dev, unsigned int ifnum, 115 int mcs7830_eth_get_info(struct usb_device *dev, struct ueth_data *ss, 119 int smsc95xx_eth_probe(struct usb_device *dev, unsigned int ifnum, 121 int smsc95xx_eth_get_info(struct usb_device *dev, struct ueth_data *ss, 125 int r8152_eth_probe(struct usb_device *dev, unsigned int ifnum, [all …]
|
/u-boot/drivers/usb/musb-new/ |
A D | musb_uboot.c | 37 struct usb_device *dev, int endpoint_type, in construct_urb() 94 struct usb_device *dev, unsigned long pipe, in _musb_submit_control_msg() 116 struct usb_device *dev, unsigned long pipe, in _musb_submit_int_msg() 125 struct usb_device *dev, unsigned long pipe, int queuesize, in _musb_create_int_queue() 160 struct usb_device *dev, struct int_queue *queue) in _musb_destroy_int_queue() 174 struct usb_device *dev, struct int_queue *queue) in _musb_poll_int_queue() 188 struct usb_device *dev) in _musb_reset_root_port() 281 struct int_queue *create_int_queue(struct usb_device *dev, in create_int_queue() 299 int usb_reset_root_port(struct usb_device *dev) in usb_reset_root_port() 458 struct usb_device *usb_dev_get_parent(struct usb_device *udev) in usb_dev_get_parent() [all …]
|
A D | usb-compat.h | 34 struct usb_device *dev; /* (in) pointer to associated device */ 77 struct usb_device *usb_dev_get_parent(struct usb_device *udev);
|
/u-boot/common/ |
A D | usb.c | 49 static struct usb_device usb_dev[USB_MAX_DEVICE]; 62 struct usb_device *dev; in usb_init() 73 memset(&usb_dev[i], 0, sizeof(struct usb_device)); in usb_init() 620 static int usb_set_address(struct usb_device *dev) in usb_set_address() 869 struct usb_device *usb_get_dev_index(int index) in usb_get_dev_index() 923 static int usb_hub_port_reset(struct usb_device *dev, struct usb_device *hub) in usb_hub_port_reset() 1032 struct usb_device *parent) in usb_prepare_device() 1080 int usb_select_config(struct usb_device *dev) in usb_select_config() 1164 struct usb_device *parent) in usb_setup_device() 1189 int usb_new_device(struct usb_device *dev) in usb_new_device() [all …]
|
A D | usb_kbd.c | 148 static void usb_kbd_setled(struct usb_device *dev) in usb_kbd_setled() 308 static int usb_kbd_irq_worker(struct usb_device *dev) in usb_kbd_irq_worker() 338 static int usb_kbd_irq(struct usb_device *dev) in usb_kbd_irq() 394 struct usb_device *usb_kbd_dev; 408 usb_kbd_dev = (struct usb_device *)dev->priv; 420 struct usb_device *usb_kbd_dev; 424 usb_kbd_dev = (struct usb_device *)dev->priv; 592 struct usb_device *dev; 618 struct usb_device *usb_kbd_dev; 623 usb_kbd_dev = (struct usb_device *)dev->priv; [all …]
|
A D | usb_hub.c | 53 struct usb_device *dev; /* USB hub device to scan */ 66 static inline bool usb_hub_is_superspeed(struct usb_device *hdev) in usb_hub_is_superspeed() 80 static int usb_set_hub_depth(struct usb_device *dev, int depth) in usb_set_hub_depth() 166 struct usb_device *dev; in usb_hub_power_on() 398 struct usb_device *usb; in usb_hub_port_connect_change() 431 struct usb_device *dev; in usb_scan_port() 613 static int usb_hub_configure(struct usb_device *dev) in usb_hub_configure() 878 static int usb_hub_check(struct usb_device *dev, int ifnum) in usb_hub_check() 918 int usb_hub_probe(struct usb_device *dev, int ifnum) in usb_hub_probe() 932 struct usb_device *udev = dev_get_parent_priv(hub); in usb_hub_scan() [all …]
|
/u-boot/drivers/usb/eth/ |
A D | lan7x.h | 125 int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data); 127 int lan7x_read_reg(struct usb_device *udev, u32 index, u32 *data); 133 static inline int lan7x_wait_for_bit(struct usb_device *udev, in lan7x_wait_for_bit() 169 int lan7x_mdio_read(struct usb_device *udev, int phy_id, int idx); 171 void lan7x_mdio_write(struct usb_device *udev, int phy_id, int idx, 174 static inline int lan7x_mdio_wait_for_bit(struct usb_device *udev, in lan7x_mdio_wait_for_bit() 217 int lan7x_pmt_phy_reset(struct usb_device *udev, 220 int lan7x_update_flowcontrol(struct usb_device *udev, 224 int lan7x_read_eeprom_mac(unsigned char *enetaddr, struct usb_device *udev); 226 int lan7x_basic_reset(struct usb_device *udev,
|
A D | lan75xx.c | 40 static int lan75xx_phy_gig_workaround(struct usb_device *udev, in lan75xx_phy_gig_workaround() 61 static int lan75xx_update_flowcontrol(struct usb_device *udev, in lan75xx_update_flowcontrol() 77 static int lan75xx_set_receive_filter(struct usb_device *udev) in lan75xx_set_receive_filter() 85 static void lan75xx_start_tx_path(struct usb_device *udev) in lan75xx_start_tx_path() 95 static void lan75xx_start_rx_path(struct usb_device *udev) in lan75xx_start_rx_path() 106 static int lan75xx_basic_reset(struct usb_device *udev, in lan75xx_basic_reset() 135 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_write_hwaddr() 167 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_eth_start() 244 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_read_rom_hwaddr() 261 struct usb_device *udev = dev_get_parent_priv(dev); in lan75xx_eth_probe()
|
A D | lan7x.c | 21 int lan7x_write_reg(struct usb_device *udev, u32 index, u32 data) in lan7x_write_reg() 42 int lan7x_read_reg(struct usb_device *udev, u32 index, u32 *data) in lan7x_read_reg() 62 static int lan7x_phy_wait_not_busy(struct usb_device *udev) in lan7x_phy_wait_not_busy() 121 struct usb_device *udev = dev_get_parent_priv(bus->priv); in lan7x_phylib_mdio_read() 129 struct usb_device *udev = dev_get_parent_priv(bus->priv); in lan7x_phylib_mdio_write() 146 static int lan7x_wait_eeprom(struct usb_device *udev) in lan7x_wait_eeprom() 154 static int lan7x_read_eeprom(struct usb_device *udev, in lan7x_read_eeprom() 185 struct usb_device *usbdev = dev_get_parent_priv(udev); in lan7x_phylib_register() 264 int lan7x_update_flowcontrol(struct usb_device *udev, in lan7x_update_flowcontrol() 331 int lan7x_pmt_phy_reset(struct usb_device *udev, in lan7x_pmt_phy_reset() [all …]
|
A D | lan78xx.c | 165 struct usb_device *udev) in lan78xx_read_otp_mac() 186 static int lan78xx_update_flowcontrol(struct usb_device *udev, in lan78xx_update_flowcontrol() 203 struct usb_device *udev, in lan78xx_read_mac() 250 static int lan78xx_set_receive_filter(struct usb_device *udev) in lan78xx_set_receive_filter() 258 static void lan78xx_start_tx_path(struct usb_device *udev) in lan78xx_start_tx_path() 268 static void lan78xx_start_rx_path(struct usb_device *udev) in lan78xx_start_rx_path() 279 static int lan78xx_basic_reset(struct usb_device *udev, in lan78xx_basic_reset() 308 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_write_hwaddr() 340 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_eth_start() 412 struct usb_device *udev = dev_get_parent_priv(dev); in lan78xx_read_rom_hwaddr() [all …]
|
A D | mcs7830.c | 164 static int mcs7830_phy_emit_wait(struct usb_device *udev, in mcs7830_phy_emit_wait() 255 static int mcs7830_write_config(struct usb_device *udev, in mcs7830_write_config() 305 static int mcs7830_set_autoneg(struct usb_device *udev) in mcs7830_set_autoneg() 346 static int mcs7830_get_rev(struct usb_device *udev) in mcs7830_get_rev() 370 static int mcs7830_apply_fixup(struct usb_device *udev) in mcs7830_apply_fixup() 406 static int mcs7830_basic_reset(struct usb_device *udev, in mcs7830_basic_reset() 489 static int mcs7830_init_common(struct usb_device *udev) in mcs7830_init_common() 514 struct usb_device *udev = ueth->pusb_dev; in mcs7830_send_common() 853 struct usb_device *udev = dev_get_parent_priv(dev); in mcs7830_eth_start() 895 struct usb_device *udev = dev_get_parent_priv(dev); in mcs7830_write_hwaddr() [all …]
|
A D | smsc95xx.c | 207 static int smsc95xx_phy_wait_not_busy(struct usb_device *udev) in smsc95xx_phy_wait_not_busy() 283 static int smsc95xx_wait_eeprom(struct usb_device *udev) in smsc95xx_wait_eeprom() 348 static int smsc95xx_phy_initialize(struct usb_device *udev, in smsc95xx_phy_initialize() 368 struct usb_device *udev) in smsc95xx_init_mac_address() 450 static void smsc95xx_start_tx_path(struct usb_device *udev, in smsc95xx_start_tx_path() 466 static void smsc95xx_start_rx_path(struct usb_device *udev, in smsc95xx_start_rx_path() 722 struct usb_device *udev = dev->pusb_dev; in smsc95xx_init() 812 struct usb_device *udev = dev->pusb_dev; in smsc95xx_write_hwaddr() 938 struct usb_device *udev = dev_get_parent_priv(dev); in smsc95xx_eth_start() 1022 struct usb_device *udev = dev_get_parent_priv(dev); in smsc95xx_write_hwaddr() [all …]
|
A D | usb_ether.c | 24 struct usb_device *udev = dev_get_parent_priv(dev); in usb_ether_register() 144 typedef int (*usb_eth_probe)(struct usb_device *dev, unsigned int ifnum, 146 typedef int (*usb_eth_get_info)(struct usb_device *dev, struct ueth_data *ss, 218 static void probe_valid_drivers(struct usb_device *dev) in probe_valid_drivers() 291 struct usb_device *dev; in usb_host_eth_scan() 311 struct usb_device *dev; in usb_host_eth_scan()
|
/u-boot/cmd/ |
A D | usb.c | 152 static void usb_display_desc(struct usb_device *dev) in usb_display_desc() 190 struct usb_device *dev) in usb_display_conf_desc() 205 struct usb_device *dev) in usb_display_if_desc() 274 struct usb_device *udev; in usb_find_device() 306 struct usb_device *udev; in usb_find_device() 413 struct usb_device *udev; 443 static void usb_show_subtree(struct usb_device *dev) 461 struct usb_device *udev; 481 struct usb_device *udev; 607 static void usb_show_info(struct usb_device *udev) [all …]
|
/u-boot/drivers/usb/host/ |
A D | usb-uclass.c | 26 int usb_lock_async(struct usb_device *udev, int lock) in usb_lock_async() 93 struct int_queue *create_int_queue(struct usb_device *udev, in create_int_queue() 129 int usb_alloc_device(struct usb_device *udev) in usb_alloc_device() 141 int usb_reset_root_port(struct usb_device *udev) in usb_reset_root_port() 152 int usb_update_hub_device(struct usb_device *udev) in usb_update_hub_device() 357 struct usb_device *udev; in find_child_devnum() 648 struct usb_device *parent_udev; in usb_scan_device() 650 ALLOC_CACHE_ALIGN_BUFFER(struct usb_device, udev, 1); in usb_scan_device() 743 struct usb_device *udev; in usb_detect_change() 811 struct usb_device *udev = dev_get_parent_priv(dev); in usb_child_pre_probe() [all …]
|
A D | xhci.c | 122 struct xhci_ctrl *xhci_get_ctrl(struct usb_device *udev) in xhci_get_ctrl() 420 static u32 xhci_get_endpoint_mult(struct usb_device *udev, in xhci_get_endpoint_mult() 431 static u32 xhci_get_endpoint_max_burst(struct usb_device *udev, in xhci_get_endpoint_max_burst() 452 static u32 xhci_get_max_esit_payload(struct usb_device *udev, in xhci_get_max_esit_payload() 523 static int xhci_set_configuration(struct usb_device *udev) in xhci_set_configuration() 748 static int _xhci_alloc_device(struct usb_device *udev) in _xhci_alloc_device() 787 int usb_alloc_device(struct usb_device *udev) in usb_alloc_device() 802 int xhci_check_maxpacket(struct usb_device *udev) in xhci_check_maxpacket() 1302 int submit_control_msg(struct usb_device *udev, unsigned long pipe, in submit_control_msg() 1305 struct usb_device *hop = udev; in submit_control_msg() [all …]
|
A D | usb-sandbox.c | 40 struct usb_device *udev, in sandbox_submit_control() 76 static int sandbox_submit_bulk(struct udevice *bus, struct usb_device *udev, in sandbox_submit_bulk() 101 static int sandbox_submit_int(struct udevice *bus, struct usb_device *udev, in sandbox_submit_int() 120 static int sandbox_alloc_device(struct udevice *dev, struct usb_device *udev) in sandbox_alloc_device()
|
A D | r8a66597-hcd.c | 27 static inline struct usb_device *usb_dev_get_parent(struct usb_device *udev) in usb_dev_get_parent() 56 static void get_hub_data(struct usb_device *dev, u16 *hub_devnum, u16 *hubport) in get_hub_data() 58 struct usb_device *parent = usb_dev_get_parent(dev); in get_hub_data() 73 struct usb_device *dev, int port) in set_devadd() 231 struct usb_device *dev, unsigned long pipe) in pipe_buffer_setting() 269 static int send_setup_packet(struct r8a66597 *r8a66597, struct usb_device *dev, in send_setup_packet() 318 static int send_bulk_packet(struct r8a66597 *r8a66597, struct usb_device *dev, in send_bulk_packet() 367 struct usb_device *dev, in receive_bulk_packet() 424 struct usb_device *dev, in receive_control_packet() 734 struct usb_device *dev, in r8a66597_submit_control_msg() [all …]
|
A D | ehci-hcd.c | 117 static struct ehci_ctrl *ehci_get_ctrl(struct usb_device *udev) in ehci_get_ctrl() 289 static void ehci_update_endpt2_dev_n_port(struct usb_device *udev, in ehci_update_endpt2_dev_n_port() 701 static int ehci_submit_root(struct usb_device *dev, unsigned long pipe, in ehci_submit_root() 1427 static void *_ehci_poll_int_queue(struct usb_device *dev, in _ehci_poll_int_queue() 1468 static int _ehci_destroy_int_queue(struct usb_device *dev, in _ehci_destroy_int_queue() 1564 int submit_bulk_msg(struct usb_device *dev, unsigned long pipe, in submit_bulk_msg() 1576 int submit_int_msg(struct usb_device *dev, unsigned long pipe, in submit_int_msg() 1583 struct int_queue *create_int_queue(struct usb_device *dev, in create_int_queue() 1591 void *poll_int_queue(struct usb_device *dev, struct int_queue *queue) in poll_int_queue() 1601 int usb_lock_async(struct usb_device *dev, int lock) in usb_lock_async() [all …]
|
A D | ohci-hcd.c | 213 static void td_submit_job(ohci_t *ohci, struct usb_device *dev, 219 static ed_t *ep_add_ed(ohci_dev_t *ohci_dev, struct usb_device *usb_dev, 520 struct usb_device *dev = urb->dev; in sohci_submit_job() 901 struct usb_device *dev, int index, urb_priv_t *urb_priv) in td_fill() 955 static void td_submit_job(ohci_t *ohci, struct usb_device *dev, in td_submit_job() 1247 static int ohci_submit_rh_msg(ohci_t *ohci, struct usb_device *dev, in ohci_submit_rh_msg() 1518 static int submit_common_msg(ohci_t *ohci, struct usb_device *dev, in submit_common_msg() 1622 struct usb_device *udev, unsigned long pipe, int queuesize, in _ohci_create_int_queue() 1716 struct int_queue *create_int_queue(struct usb_device *dev, in create_int_queue() 2132 int submit_control_msg(struct usb_device *dev, unsigned long pipe, in submit_control_msg() [all …]
|
A D | ohci.h | 68 struct usb_device *usb_dev; 124 struct usb_device *usb_dev; 351 struct usb_device *dev; 404 struct usb_device *dev[32];
|
A D | dwc2.c | 495 struct usb_device *dev, uint8_t dev_addr, uint8_t ep_num, in dwc_otg_hc_init() 536 struct usb_device *dev, void *buffer, in dwc_otg_submit_rh_msg_in_status() 603 static int dwc_otg_submit_rh_msg_in_descriptor(struct usb_device *dev, in dwc_otg_submit_rh_msg_in_descriptor() 686 static int dwc_otg_submit_rh_msg_in_configuration(struct usb_device *dev, in dwc_otg_submit_rh_msg_in_configuration() 711 struct usb_device *dev, void *buffer, in dwc_otg_submit_rh_msg_in() 732 struct usb_device *dev, in dwc_otg_submit_rh_msg_out() 918 int chunk_msg(struct dwc2_priv *priv, struct usb_device *dev, in chunk_msg() 1045 int _submit_bulk_msg(struct dwc2_priv *priv, struct usb_device *dev, in _submit_bulk_msg() 1123 int _submit_int_msg(struct dwc2_priv *priv, struct usb_device *dev, in _submit_int_msg() 1261 int submit_int_msg(struct usb_device *dev, unsigned long pipe, void *buffer, in submit_int_msg() [all …]
|
/u-boot/drivers/usb/musb/ |
A D | musb_hcd.c | 39 static void write_toggle(struct usb_device *dev, u8 ep, u8 dir_out) in write_toggle() 117 static int wait_until_ep0_ready(struct usb_device *dev, u32 bit_mask) in wait_until_ep0_ready() 180 static int wait_until_txep_ready(struct usb_device *dev, u8 ep) in wait_until_txep_ready() 212 static int wait_until_rxep_ready(struct usb_device *dev, u8 ep) in wait_until_rxep_ready() 266 static int ctrlreq_in_data_phase(struct usb_device *dev, u32 len, void *buffer) in ctrlreq_in_data_phase() 347 static int ctrlreq_out_status_phase(struct usb_device *dev) in ctrlreq_out_status_phase() 366 static int ctrlreq_in_status_phase(struct usb_device *dev) in ctrlreq_in_status_phase() 387 static u8 get_dev_speed(struct usb_device *dev) in get_dev_speed() 397 static void config_hub_port(struct usb_device *dev, u8 ep) in config_hub_port() 453 static int musb_submit_rh_msg(struct usb_device *dev, unsigned long pipe, in musb_submit_rh_msg() [all …]
|
/u-boot/drivers/usb/emul/ |
A D | usb-emul-uclass.c | 177 int usb_emul_control(struct udevice *emul, struct usb_device *udev, in usb_emul_control() 232 int usb_emul_bulk(struct udevice *emul, struct usb_device *udev, in usb_emul_bulk() 248 int usb_emul_int(struct udevice *emul, struct usb_device *udev, in usb_emul_int() 302 .per_child_auto = sizeof(struct usb_device),
|