Home
last modified time | relevance | path

Searched refs:uhci (Results 1 – 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/usb/host/
Duhci-hcd.c92 static void suspend_rh(struct uhci_hcd *uhci, enum uhci_rh_state new_state);
93 static void wakeup_rh(struct uhci_hcd *uhci);
94 static void uhci_get_current_frame_number(struct uhci_hcd *uhci);
99 static __hc32 uhci_frame_skel_link(struct uhci_hcd *uhci, int frame) in uhci_frame_skel_link() argument
121 return LINK_TO_QH(uhci, uhci->skelqh[skelnum]); in uhci_frame_skel_link()
131 static void finish_reset(struct uhci_hcd *uhci) in finish_reset() argument
139 for (port = 0; port < uhci->rh_numports; ++port) in finish_reset()
140 uhci_writew(uhci, 0, USBPORTSC1 + (port * 2)); in finish_reset()
142 uhci->port_c_suspend = uhci->resuming_ports = 0; in finish_reset()
143 uhci->rh_state = UHCI_RH_RESET; in finish_reset()
[all …]
Duhci-hub.c44 static int any_ports_active(struct uhci_hcd *uhci) in any_ports_active() argument
48 for (port = 0; port < uhci->rh_numports; ++port) { in any_ports_active()
49 if ((uhci_readw(uhci, USBPORTSC1 + port * 2) & in any_ports_active()
51 test_bit(port, &uhci->port_c_suspend)) in any_ports_active()
57 static inline int get_hub_status_data(struct uhci_hcd *uhci, char *buf) in get_hub_status_data() argument
72 for (port = 0; port < uhci->rh_numports; ++port) { in get_hub_status_data()
73 if ((uhci_readw(uhci, USBPORTSC1 + port * 2) & mask) || in get_hub_status_data()
74 test_bit(port, &uhci->port_c_suspend)) in get_hub_status_data()
81 status = uhci_readw(uhci, port_addr); \
85 uhci_writew(uhci, status, port_addr)
[all …]
Duhci-hcd.h85 #define UHCI_PTR_BITS(uhci) cpu_to_hc32((uhci), 0x000F) argument
86 #define UHCI_PTR_TERM(uhci) cpu_to_hc32((uhci), 0x0001) argument
87 #define UHCI_PTR_QH(uhci) cpu_to_hc32((uhci), 0x0002) argument
88 #define UHCI_PTR_DEPTH(uhci) cpu_to_hc32((uhci), 0x0004) argument
89 #define UHCI_PTR_BREADTH(uhci) cpu_to_hc32((uhci), 0x0000) argument
193 #define LINK_TO_QH(uhci, qh) (UHCI_PTR_QH((uhci)) | \ argument
194 cpu_to_hc32((uhci), (qh)->dma_handle))
227 #define td_token(uhci, td) hc32_to_cpu((uhci), (td)->token) argument
278 #define td_status(uhci, td) hc32_to_cpu((uhci), \ argument
281 #define LINK_TO_TD(uhci, td) (cpu_to_hc32((uhci), (td)->dma_handle)) argument
[all …]
Duhci-q.c29 static void uhci_set_next_interrupt(struct uhci_hcd *uhci) in uhci_set_next_interrupt() argument
31 if (uhci->is_stopped) in uhci_set_next_interrupt()
32 mod_timer(&uhci_to_hcd(uhci)->rh_timer, jiffies); in uhci_set_next_interrupt()
33 uhci->term_td->status |= cpu_to_hc32(uhci, TD_CTRL_IOC); in uhci_set_next_interrupt()
36 static inline void uhci_clear_next_interrupt(struct uhci_hcd *uhci) in uhci_clear_next_interrupt() argument
38 uhci->term_td->status &= ~cpu_to_hc32(uhci, TD_CTRL_IOC); in uhci_clear_next_interrupt()
47 static void uhci_fsbr_on(struct uhci_hcd *uhci) in uhci_fsbr_on() argument
54 uhci->fsbr_is_on = 1; in uhci_fsbr_on()
55 lqh = list_entry(uhci->skel_async_qh->node.prev, in uhci_fsbr_on()
57 lqh->link = LINK_TO_QH(uhci, uhci->skel_term_qh); in uhci_fsbr_on()
[all …]
Duhci-pci.c27 static void uhci_pci_reset_hc(struct uhci_hcd *uhci) in uhci_pci_reset_hc() argument
29 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc()
38 static int uhci_pci_check_and_reset_hc(struct uhci_hcd *uhci) in uhci_pci_check_and_reset_hc() argument
40 return uhci_check_and_reset_hc(to_pci_dev(uhci_dev(uhci)), in uhci_pci_check_and_reset_hc()
41 uhci->io_addr); in uhci_pci_check_and_reset_hc()
48 static void uhci_pci_configure_hc(struct uhci_hcd *uhci) in uhci_pci_configure_hc() argument
50 struct pci_dev *pdev = to_pci_dev(uhci_dev(uhci)); in uhci_pci_configure_hc()
60 static int uhci_pci_resume_detect_interrupts_are_broken(struct uhci_hcd *uhci) in uhci_pci_resume_detect_interrupts_are_broken() argument
64 switch (to_pci_dev(uhci_dev(uhci))->vendor) { in uhci_pci_resume_detect_interrupts_are_broken()
82 for (port = 0; port < uhci->rh_numports; ++port) { in uhci_pci_resume_detect_interrupts_are_broken()
[all …]
Duhci-debug.c43 static int uhci_show_td(struct uhci_hcd *uhci, struct uhci_td *td, char *buf, in uhci_show_td() argument
50 status = td_status(uhci, td); in uhci_show_td()
52 hc32_to_cpu(uhci, td->link)); in uhci_show_td()
69 token = td_token(uhci, td); in uhci_show_td()
92 out += sprintf(out, "(buf=%08x)\n", hc32_to_cpu(uhci, td->buffer)); in uhci_show_td()
100 static int uhci_show_urbp(struct uhci_hcd *uhci, struct urb_priv *urbp, in uhci_show_urbp() argument
143 out += uhci_show_td(uhci, td, out, in uhci_show_urbp()
148 if (td_status(uhci, td) & TD_CTRL_ACTIVE) in uhci_show_urbp()
165 static int uhci_show_qh(struct uhci_hcd *uhci, in uhci_show_qh() argument
183 hc32_to_cpu(uhci, qh->link), in uhci_show_qh()
[all …]
Duhci-platform.c17 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_platform_init() local
20 if (!uhci->rh_numports) in uhci_platform_init()
21 uhci->rh_numports = uhci_count_ports(hcd); in uhci_platform_init()
24 uhci->reset_hc = uhci_generic_reset_hc; in uhci_platform_init()
25 uhci->check_and_reset_hc = uhci_generic_check_and_reset_hc; in uhci_platform_init()
28 uhci->configure_hc = NULL; in uhci_platform_init()
29 uhci->resume_detect_interrupts_are_broken = NULL; in uhci_platform_init()
30 uhci->global_suspend_mode_is_broken = NULL; in uhci_platform_init()
33 check_and_reset_hc(uhci); in uhci_platform_init()
71 struct uhci_hcd *uhci; in uhci_hcd_platform_probe() local
[all …]
Duhci-grlib.c28 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_grlib_init() local
39 if (!(uhci_readw(uhci, USBPORTSC1) & 0x80)) { in uhci_grlib_init()
40 uhci->big_endian_mmio = 1; in uhci_grlib_init()
41 uhci->big_endian_desc = 1; in uhci_grlib_init()
44 uhci->rh_numports = uhci_count_ports(hcd); in uhci_grlib_init()
47 uhci->reset_hc = uhci_generic_reset_hc; in uhci_grlib_init()
48 uhci->check_and_reset_hc = uhci_generic_check_and_reset_hc; in uhci_grlib_init()
50 uhci->configure_hc = NULL; in uhci_grlib_init()
51 uhci->resume_detect_interrupts_are_broken = NULL; in uhci_grlib_init()
52 uhci->global_suspend_mode_is_broken = NULL; in uhci_grlib_init()
[all …]
DMakefile71 obj-$(CONFIG_USB_UHCI_HCD) += uhci-hcd.o
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dusb-uhci.txt5 - compatible : "generic-uhci" (deprecated: "platform-uhci")
14 uhci@d8007b00 {
15 compatible = "generic-uhci";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dwm8850.dtsi247 uhci@d8007b00 {
248 compatible = "platform-uhci";
253 uhci@d8008d00 {
254 compatible = "platform-uhci";
Dwm8750.dtsi260 uhci@d8007b00 {
261 compatible = "platform-uhci";
266 uhci@d8008d00 {
267 compatible = "platform-uhci";
Dvt8500.dtsi118 uhci@d8007b00 {
119 compatible = "platform-uhci";
Dwm8650.dtsi188 uhci@d8007b00 {
189 compatible = "platform-uhci";
Dwm8505.dtsi216 uhci@d8007300 {
217 compatible = "platform-uhci";
Daspeed-ast2500-evb.dts124 &uhci {
Daspeed-g6.dtsi270 uhci: usb@1e6b0000 { label
271 compatible = "aspeed,ast2600-uhci", "generic-uhci";
Daspeed-bmc-facebook-wedge400.dts410 &uhci {
Daspeed-g4.dtsi149 uhci: usb@1e6b0000 { label
150 compatible = "aspeed,ast2400-uhci", "generic-uhci";
Daspeed-g5.dtsi181 uhci: usb@1e6b0000 { label
182 compatible = "aspeed,ast2500-uhci", "generic-uhci";
Daspeed-bmc-lenovo-hr630.dts315 &uhci {
Daspeed-bmc-lenovo-hr855xg2.dts319 &uhci {
/kernel/linux/linux-5.10/Documentation/usb/
Dacm.rst62 uhci-hcd.ko ohci-hcd.ko or ehci-hcd.ko
Dusb-serial.rst299 This driver works under SMP with the usb-uhci driver. It does not
300 work under SMP with the uhci driver.
Dehci.rst106 "ohci-hcd" or "uhci-hcd". In case of any trouble with the EHCI driver,

12