Home
last modified time | relevance | path

Searched refs:usb_bus (Results 1 – 25 of 42) sorted by relevance

12

/openbmc/linux/include/linux/usb/
H A Dhcd.h73 struct usb_bus self; /* hcd is-a bus */
224 static inline struct usb_bus *hcd_to_bus(struct usb_hcd *hcd) in hcd_to_bus()
229 static inline struct usb_hcd *bus_to_hcd(struct usb_bus *bus) in bus_to_hcd()
498 void *hcd_buffer_alloc(struct usb_bus *bus, size_t size,
500 void hcd_buffer_free(struct usb_bus *bus, size_t size,
516 extern void usb_hcd_start_port_resume(struct usb_bus *bus, int portnum);
517 extern void usb_hcd_end_port_resume(struct usb_bus *bus, int portnum);
530 struct usb_bus *, unsigned port);
696 void (*urb_submit)(struct usb_bus *bus, struct urb *urb);
697 void (*urb_submit_error)(struct usb_bus *bus, struct urb *urb, int err);
[all …]
H A Dotg.h22 struct usb_bus *host;
28 int (*set_host)(struct usb_otg *otg, struct usb_bus *host);
84 otg_set_host(struct usb_otg *otg, struct usb_bus *host) in otg_set_host()
114 extern int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num);
/openbmc/linux/drivers/usb/mon/
H A Dmon_main.c22 static void mon_dissolve(struct mon_bus *mbus, struct usb_bus *ubus);
24 static void mon_bus_init(struct usb_bus *ubus);
96 static void mon_submit(struct usb_bus *ubus, struct urb *urb) in mon_submit()
123 static void mon_submit_error(struct usb_bus *ubus, struct urb *urb, int error) in mon_submit_error()
150 static void mon_complete(struct usb_bus *ubus, struct urb *urb, int status) in mon_complete()
167 struct usb_bus *ubus; in mon_stop()
197 static void mon_bus_add(struct usb_bus *ubus) in mon_bus_add()
209 static void mon_bus_remove(struct usb_bus *ubus) in mon_bus_remove()
254 static void mon_dissolve(struct mon_bus *mbus, struct usb_bus *ubus) in mon_dissolve()
283 static void mon_bus_init(struct usb_bus *ubus) in mon_bus_init()
[all …]
H A Dusb_mon.h21 struct usb_bus *u_bus;
58 int /*bool*/ mon_text_add(struct mon_bus *mbus, const struct usb_bus *ubus);
60 int /*bool*/ mon_bin_add(struct mon_bus *mbus, const struct usb_bus *ubus);
/openbmc/linux/drivers/usb/core/
H A Dnotify.c60 void usb_notify_add_bus(struct usb_bus *ubus) in usb_notify_add_bus()
65 void usb_notify_remove_bus(struct usb_bus *ubus) in usb_notify_remove_bus()
H A Dbuffer.c116 struct usb_bus *bus, in hcd_buffer_alloc()
145 struct usb_bus *bus, in hcd_buffer_free()
H A Dusb.h210 extern void usb_notify_add_bus(struct usb_bus *ubus);
211 extern void usb_notify_remove_bus(struct usb_bus *ubus);
H A Dsysfs.c911 struct usb_bus *usb_bus = rh_usb_dev->bus; in authorized_default_show() local
914 hcd = bus_to_hcd(usb_bus); in authorized_default_show()
925 struct usb_bus *usb_bus = rh_usb_dev->bus; in authorized_default_store() local
928 hcd = bus_to_hcd(usb_bus); in authorized_default_store()
H A Ddevices.c392 struct usb_device *usbdev, struct usb_bus *bus, in usb_device_dump()
512 struct usb_bus *bus; in usb_device_read()
H A Dhcd.c869 static void usb_bus_init (struct usb_bus *bus) in usb_bus_init()
896 static int usb_register_bus(struct usb_bus *bus) in usb_register_bus()
930 static void usb_deregister_bus (struct usb_bus *bus) in usb_deregister_bus()
1025 void usb_hcd_start_port_resume(struct usb_bus *bus, int portnum) in usb_hcd_start_port_resume()
1047 void usb_hcd_end_port_resume(struct usb_bus *bus, int portnum) in usb_hcd_end_port_resume()
1259 static int hcd_alloc_coherent(struct usb_bus *bus, in hcd_alloc_coherent()
1294 static void hcd_free_coherent(struct usb_bus *bus, dma_addr_t *dma_handle, in hcd_free_coherent()
2417 int usb_bus_start_enum(struct usb_bus *bus, unsigned port_num) in usb_bus_start_enum()
/openbmc/qemu/hw/ppc/
H A Dsam460ex.c254 USBBus *usb_bus; in sam460ex_init() local
402 usb_bus = USB_BUS(object_resolve_type_unambiguous(TYPE_USB_BUS, in sam460ex_init()
404 usb_create_simple(usb_bus, "usb-kbd"); in sam460ex_init()
405 usb_create_simple(usb_bus, "usb-mouse"); in sam460ex_init()
H A Dmac_newworld.c434 USBBus *usb_bus; in ppc_core99_init() local
436 usb_bus = USB_BUS(object_resolve_type_unambiguous(TYPE_USB_BUS, in ppc_core99_init()
438 usb_create_simple(usb_bus, "usb-kbd"); in ppc_core99_init()
439 usb_create_simple(usb_bus, "usb-mouse"); in ppc_core99_init()
/openbmc/qemu/hw/sh4/
H A Dr2d.c247 USBBus *usb_bus; in r2d_init() local
316 usb_bus = USB_BUS(object_resolve_type_unambiguous(TYPE_USB_BUS, in r2d_init()
318 usb_create_simple(usb_bus, "usb-kbd"); in r2d_init()
/openbmc/qemu/hw/mips/
H A Dloongson3_virt.c471 USBBus *usb_bus; in loongson3_virt_devices_init() local
474 usb_bus = USB_BUS(object_resolve_type_unambiguous(TYPE_USB_BUS, in loongson3_virt_devices_init()
476 usb_create_simple(usb_bus, "usb-kbd"); in loongson3_virt_devices_init()
477 usb_create_simple(usb_bus, "usb-tablet"); in loongson3_virt_devices_init()
/openbmc/qemu/hw/hppa/
H A Dmachine.c400 USBBus *usb_bus; in machine_HP_common_init_tail() local
403 usb_bus = USB_BUS(object_resolve_type_unambiguous(TYPE_USB_BUS, in machine_HP_common_init_tail()
405 usb_create_simple(usb_bus, "usb-kbd"); in machine_HP_common_init_tail()
406 usb_create_simple(usb_bus, "usb-mouse"); in machine_HP_common_init_tail()
/openbmc/linux/drivers/staging/greybus/
H A Dusb.c61 struct usb_bus *bus = hcd_to_bus(hcd); in hcd_start()
/openbmc/linux/drivers/usb/phy/
H A Dphy-ulpi.c199 static int ulpi_set_host(struct usb_otg *otg, struct usb_bus *host) in ulpi_set_host()
H A Dphy-generic.c192 static int nop_set_host(struct usb_otg *otg, struct usb_bus *host) in nop_set_host()
H A Dphy-tahvo.c192 static int tahvo_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in tahvo_usb_set_host()
/openbmc/linux/drivers/phy/ti/
H A Dphy-dm816x-usb.c53 static int dm816x_usb_phy_set_host(struct usb_otg *otg, struct usb_bus *host) in dm816x_usb_phy_set_host()
H A Dphy-omap-usb2.c135 static int omap_usb_set_host(struct usb_otg *otg, struct usb_bus *host) in omap_usb_set_host()
/openbmc/linux/include/linux/
H A Dusb.h451 struct usb_bus { struct
477 struct usb_bus *hs_companion; /* Companion EHCI bus, if any */ argument
668 struct usb_bus *bus;
/openbmc/linux/drivers/usb/host/
H A Dehci-dbg.c335 struct usb_bus *bus;
915 static struct debug_buffer *alloc_buffer(struct usb_bus *bus, in alloc_buffer()
1028 struct usb_bus *bus = &ehci_to_hcd(ehci)->self; in create_debug_files()
/openbmc/qemu/hw/arm/
H A Daspeed_ast2600.c321 g_autofree char *usb_bus = g_strdup_printf("usb-bus.%u", sc->ehcis_num - 1); in aspeed_soc_ast2600_realize() local
567 object_property_set_str(OBJECT(&s->uhci), "masterbus", usb_bus, in aspeed_soc_ast2600_realize()
/openbmc/linux/drivers/clk/meson/
H A Da1-peripherals.c1382 static struct clk_regmap usb_bus = { variable
1958 [CLKID_USB_BUS] = &usb_bus.hw,
2116 &usb_bus,

12