Searched refs:ehci (Results 1 - 25 of 37) sorted by relevance

12

/linux-master/drivers/usb/host/
H A Dehci-timer.c6 /* This file is part of ehci-hcd.c */
11 static void ehci_set_command_bit(struct ehci_hcd *ehci, u32 bit) argument
13 ehci->command |= bit;
14 ehci_writel(ehci, ehci->command, &ehci->regs->command);
17 ehci_readl(ehci, &ehci->regs->command);
21 static void ehci_clear_command_bit(struct ehci_hcd *ehci, u32 bit) argument
23 ehci
76 ehci_enable_event(struct ehci_hcd *ehci, unsigned event, bool resched) argument
95 ehci_poll_ASS(struct ehci_hcd *ehci) argument
134 ehci_disable_ASE(struct ehci_hcd *ehci) argument
141 ehci_poll_PSS(struct ehci_hcd *ehci) argument
180 ehci_disable_PSE(struct ehci_hcd *ehci) argument
187 ehci_handle_controller_death(struct ehci_hcd *ehci) argument
211 ehci_handle_start_intr_unlinks(struct ehci_hcd *ehci) argument
243 ehci_handle_intr_unlinks(struct ehci_hcd *ehci) argument
276 start_free_itds(struct ehci_hcd *ehci) argument
290 end_free_itds(struct ehci_hcd *ehci) argument
320 ehci_iaa_watchdog(struct ehci_hcd *ehci) argument
360 turn_on_io_watchdog(struct ehci_hcd *ehci) argument
400 struct ehci_hcd *ehci = container_of(t, struct ehci_hcd, hrtimer); local
[all...]
H A Dehci-hcd.c98 #include "ehci.h"
111 static unsigned ehci_moschip_read_frame_index(struct ehci_hcd *ehci) argument
115 uf = ehci_readl(ehci, &ehci->regs->frame_index);
117 uf = ehci_readl(ehci, &ehci->regs->frame_index);
121 static inline unsigned ehci_read_frame_index(struct ehci_hcd *ehci) argument
123 if (ehci->frame_index_bug)
124 return ehci_moschip_read_frame_index(ehci);
125 return ehci_readl(ehci,
149 ehci_handshake(struct ehci_hcd *ehci, void __iomem *ptr, u32 mask, u32 done, int usec) argument
169 tdi_in_host_mode(struct ehci_hcd *ehci) argument
181 ehci_halt(struct ehci_hcd *ehci) argument
212 tdi_reset(struct ehci_hcd *ehci) argument
231 ehci_reset(struct ehci_hcd *ehci) argument
273 ehci_quiesce(struct ehci_hcd *ehci) argument
319 ehci_turn_off_all_ports(struct ehci_hcd *ehci) argument
336 ehci_silence_controller(struct ehci_hcd *ehci) argument
358 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
386 ehci_work(struct ehci_hcd *ehci) argument
422 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
456 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
575 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
681 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
715 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
887 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
925 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
976 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
1050 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1089 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
1099 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1111 ehci_zx_wakeup_clear(struct ehci_hcd *ehci) argument
1136 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1170 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-hub.c6 /* this file is part of ehci-hcd.c */
22 static void unlink_empty_async_suspended(struct ehci_hcd *ehci);
33 static void ehci_handover_companion_ports(struct ehci_hcd *ehci) argument
39 struct usb_hcd *hcd = ehci_to_hcd(ehci);
41 if (!ehci->owned_ports)
55 port = HCS_N_PORTS(ehci->hcs_params);
57 if (test_bit(port, &ehci->owned_ports)) {
58 reg = &ehci->regs->port_status[port];
59 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS;
61 ehci_port_power(ehci, por
125 ehci_port_change(struct ehci_hcd *ehci) argument
146 ehci_adjust_port_wakeup_flags(struct ehci_hcd *ehci, bool suspending, bool do_wakeup) argument
215 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
378 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
519 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
537 set_owner(struct ehci_hcd *ehci, int portnum, int new_owner) argument
570 check_reset_complete( struct ehci_hcd *ehci, int index, u32 __iomem *status_reg, int port_status ) argument
620 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
698 ehci_hub_descriptor( struct ehci_hcd *ehci, struct usb_hub_descriptor *desc ) argument
740 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
1189 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1198 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1207 ehci_port_power(struct ehci_hcd *ehci, int portnum, bool enable) argument
[all...]
H A Dehci-mem.c6 /* this file is part of ehci-hcd.c */
25 static inline void ehci_qtd_init(struct ehci_hcd *ehci, struct ehci_qtd *qtd, argument
30 qtd->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT);
31 qtd->hw_next = EHCI_LIST_END(ehci);
32 qtd->hw_alt_next = EHCI_LIST_END(ehci);
36 static struct ehci_qtd *ehci_qtd_alloc (struct ehci_hcd *ehci, gfp_t flags) argument
41 qtd = dma_pool_alloc (ehci->qtd_pool, flags, &dma);
43 ehci_qtd_init(ehci, qtd, dma);
48 static inline void ehci_qtd_free (struct ehci_hcd *ehci, struct ehci_qtd *qtd) argument
50 dma_pool_free (ehci
54 qh_destroy(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
67 ehci_qh_alloc(struct ehci_hcd *ehci, gfp_t flags) argument
106 ehci_mem_cleanup(struct ehci_hcd *ehci) argument
138 ehci_mem_init(struct ehci_hcd *ehci, gfp_t flags) argument
[all...]
H A Dehci-pci.c14 #include "ehci.h"
19 static const char hcd_name[] = "ehci-pci";
63 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev) argument
74 ehci_dbg(ehci, "MWI active\n");
82 ehci_writel(ehci, INTEL_QUARK_X1000_EHCI_MAX_THRESHOLD,
83 ehci->regs->intel_quark_x1000_insnreg01);
92 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
97 ehci->caps = hcd->regs;
113 ehci->big_endian_mmio = 1;
115 ehci_warn(ehci,
359 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-sysfs.c6 /* this file is part of ehci-hcd.c */
14 struct ehci_hcd *ehci; local
19 ehci = hcd_to_ehci(dev_get_drvdata(dev));
20 nports = HCS_N_PORTS(ehci->hcs_params);
23 if (test_bit(index, &ehci->companion_ports)) {
41 struct ehci_hcd *ehci; local
44 ehci = hcd_to_ehci(dev_get_drvdata(dev));
52 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params))
56 set_bit(portnum, &ehci->companion_ports);
58 clear_bit(portnum, &ehci
72 struct ehci_hcd *ehci; local
85 struct ehci_hcd *ehci; local
149 create_sysfs_files(struct ehci_hcd *ehci) argument
165 remove_sysfs_files(struct ehci_hcd *ehci) argument
[all...]
H A Dehci-dbg.c6 /* this file is part of ehci-hcd.c */
15 static void dbg_hcs_params(struct ehci_hcd *ehci, char *label) argument
17 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params);
19 ehci_dbg(ehci,
37 byte = readb(&ehci->caps->portroute[(i >> 1)]);
42 ehci_dbg(ehci, "%s portroute %s\n", label, buf);
51 static void dbg_hcc_params(struct ehci_hcd *ehci, char *label) argument
53 u32 params = ehci_readl(ehci, &ehci
80 dbg_qtd(const char *label, struct ehci_hcd *ehci, struct ehci_qtd *qtd) argument
96 dbg_qh(const char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) argument
106 dbg_itd(const char *label, struct ehci_hcd *ehci, struct ehci_itd *itd) argument
137 dbg_sitd(const char *label, struct ehci_hcd *ehci, struct ehci_sitd *sitd) argument
261 dbg_status(struct ehci_hcd *ehci, const char *label, u32 status) argument
270 dbg_cmd(struct ehci_hcd *ehci, const char *label, u32 command) argument
279 dbg_port(struct ehci_hcd *ehci, const char *label, int port, u32 status) argument
356 token_mark(struct ehci_hcd *ehci, __hc32 token) argument
370 qh_lines(struct ehci_hcd *ehci, struct ehci_qh *qh, char **nextp, unsigned *sizep) argument
473 struct ehci_hcd *ehci; local
512 struct ehci_hcd *ehci; local
593 output_buf_tds_dir(char *buf, struct ehci_hcd *ehci, struct ehci_qh_hw *hw, struct ehci_qh *qh, unsigned size) argument
624 struct ehci_hcd *ehci; local
740 rh_state_string(struct ehci_hcd *ehci) argument
758 struct ehci_hcd *ehci; local
1026 create_debug_files(struct ehci_hcd *ehci) argument
1042 remove_debug_files(struct ehci_hcd *ehci) argument
1049 dbg_hcs_params(struct ehci_hcd *ehci, char *label) argument
1050 dbg_hcc_params(struct ehci_hcd *ehci, char *label) argument
1052 dbg_qh(const char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) argument
1071 dbg_status(struct ehci_hcd *ehci, const char *label, u32 status) argument
1073 dbg_cmd(struct ehci_hcd *ehci, const char *label, u32 command) argument
1075 dbg_port(struct ehci_hcd *ehci, const char *label, int port, u32 status) argument
[all...]
H A Dehci-q.c6 /* this file is part of ehci-hcd.c */
20 * an ongoing challenge. That's in "ehci-sched.c".
37 qtd_fill(struct ehci_hcd *ehci, struct ehci_qtd *qtd, dma_addr_t buf, argument
45 qtd->hw_buf[0] = cpu_to_hc32(ehci, (u32)addr);
46 qtd->hw_buf_hi[0] = cpu_to_hc32(ehci, (u32)(addr >> 32));
57 qtd->hw_buf[i] = cpu_to_hc32(ehci, (u32)addr);
58 qtd->hw_buf_hi[i] = cpu_to_hc32(ehci,
71 qtd->hw_token = cpu_to_hc32(ehci, (count << 16) | token);
80 qh_update (struct ehci_hcd *ehci, struct ehci_qh *qh, struct ehci_qtd *qtd) argument
87 hw->hw_qtd_next = QTD_NEXT(ehci, qt
114 qh_refresh(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
144 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
156 ehci_clear_tt_buffer(struct ehci_hcd *ehci, struct ehci_qh *qh, struct urb *urb, u32 token) argument
188 qtd_copy_status( struct ehci_hcd *ehci, struct urb *urb, size_t length, u32 token ) argument
252 ehci_urb_done(struct ehci_hcd *ehci, struct urb *urb, int status) argument
290 qh_completions(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
556 qtd_list_free( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list ) argument
576 qh_urb_transaction( struct ehci_hcd *ehci, struct urb *urb, struct list_head *head, gfp_t flags ) argument
761 qh_make( struct ehci_hcd *ehci, struct urb *urb, gfp_t flags ) argument
954 enable_async(struct ehci_hcd *ehci) argument
967 disable_async(struct ehci_hcd *ehci) argument
982 qh_link_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
1021 qh_append_tds( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr ) argument
1103 submit_async( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) argument
1174 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1258 single_unlink_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
1277 start_iaa_cycle(struct ehci_hcd *ehci) argument
1298 end_iaa_cycle(struct ehci_hcd *ehci) argument
1312 end_unlink_async(struct ehci_hcd *ehci) argument
1425 unlink_empty_async(struct ehci_hcd *ehci) argument
1458 unlink_empty_async_suspended(struct ehci_hcd *ehci) argument
1474 start_unlink_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
1486 scan_async(struct ehci_hcd *ehci) argument
[all...]
H A Dehci-fsl.c28 #include "ehci.h"
29 #include "ehci-fsl.h"
32 #define DRV_NAME "fsl-ehci"
147 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
150 dev_dbg(&pdev->dev, "hcd=0x%p ehci=0x%p, phy=0x%p\n",
151 hcd, ehci, hcd->usb_phy);
155 &ehci_to_hcd(ehci)->self);
196 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
206 portsc = ehci_readl(ehci, &ehci
295 ehci_fsl_usb_setup(struct ehci_hcd *ehci) argument
360 ehci_fsl_reinit(struct ehci_hcd *ehci) argument
371 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
414 struct ehci_hcd ehci; member in struct:ehci_fsl
428 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
497 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
571 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
600 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
645 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-sched.c7 /* this file is part of ehci-hcd.c */
32 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, argument
35 switch (hc32_to_cpu(ehci, tag)) {
49 shadow_next_periodic(struct ehci_hcd *ehci, union ehci_shadow *periodic, argument
52 switch (hc32_to_cpu(ehci, tag)) {
62 /* caller must hold ehci->lock */
63 static void periodic_unlink(struct ehci_hcd *ehci, unsigned frame, void *ptr) argument
65 union ehci_shadow *prev_p = &ehci->pshadow[frame];
66 __hc32 *hw_p = &ehci->periodic[frame];
71 prev_p = periodic_next_shadow(ehci, prev_
137 struct ehci_hcd *ehci = local
194 bandwidth_dbg(struct ehci_hcd *ehci, int sign, char *type, struct ehci_per_sched *ps) argument
206 reserve_release_intr_bandwidth(struct ehci_hcd *ehci, struct ehci_qh *qh, int sign) argument
353 tt_available( struct ehci_hcd *ehci, struct ehci_per_sched *ps, struct ehci_tt *tt, unsigned frame, unsigned uframe ) argument
413 tt_no_collision( struct ehci_hcd *ehci, unsigned period, struct usb_device *dev, unsigned frame, u32 uf_mask ) argument
490 enable_periodic(struct ehci_hcd *ehci) argument
504 disable_periodic(struct ehci_hcd *ehci) argument
521 qh_link_periodic(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
588 qh_unlink_periodic(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
635 cancel_unlink_wait_intr(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
649 start_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
688 start_unlink_intr_wait(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
704 end_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
742 check_period( struct ehci_hcd *ehci, unsigned frame, unsigned uframe, unsigned uperiod, unsigned usecs ) argument
768 check_intr_schedule( struct ehci_hcd *ehci, unsigned frame, unsigned uframe, struct ehci_qh *qh, unsigned *c_maskp, struct ehci_tt *tt ) argument
836 qh_schedule(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
904 intr_submit( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) argument
969 scan_intr(struct ehci_hcd *ehci) argument
1017 iso_stream_init( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, struct urb *urb ) argument
1126 iso_stream_find(struct ehci_hcd *ehci, struct urb *urb) argument
1178 itd_sched_init( struct ehci_hcd *ehci, struct ehci_iso_sched *iso_sched, struct ehci_iso_stream *stream, struct urb *urb ) argument
1233 itd_urb_transaction( struct ehci_iso_stream *stream, struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags ) argument
1301 reserve_release_iso_bandwidth(struct ehci_hcd *ehci, struct ehci_iso_stream *stream, int sign) argument
1364 itd_slot_ok( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, unsigned uframe ) argument
1384 sitd_slot_ok( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, unsigned uframe, struct ehci_iso_sched *sched, struct ehci_tt *tt ) argument
1471 iso_stream_schedule( struct ehci_hcd *ehci, struct urb *urb, struct ehci_iso_stream *stream ) argument
1665 itd_init(struct ehci_hcd *ehci, struct ehci_iso_stream *stream, struct ehci_itd *itd) argument
1683 itd_patch( struct ehci_hcd *ehci, struct ehci_itd *itd, struct ehci_iso_sched *iso_sched, unsigned index, u16 uframe ) argument
1715 itd_link(struct ehci_hcd *ehci, unsigned frame, struct ehci_itd *itd) argument
1741 itd_link_urb( struct ehci_hcd *ehci, struct urb *urb, unsigned mod, struct ehci_iso_stream *stream ) argument
1821 itd_complete(struct ehci_hcd *ehci, struct ehci_itd *itd) argument
1914 itd_submit(struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags) argument
1983 sitd_sched_init( struct ehci_hcd *ehci, struct ehci_iso_sched *iso_sched, struct ehci_iso_stream *stream, struct urb *urb ) argument
2032 sitd_urb_transaction( struct ehci_iso_stream *stream, struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags ) argument
2101 sitd_patch( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, struct ehci_sitd *sitd, struct ehci_iso_sched *iso_sched, unsigned index ) argument
2130 sitd_link(struct ehci_hcd *ehci, unsigned frame, struct ehci_sitd *sitd) argument
2142 sitd_link_urb( struct ehci_hcd *ehci, struct urb *urb, unsigned mod, struct ehci_iso_stream *stream ) argument
2215 sitd_complete(struct ehci_hcd *ehci, struct ehci_sitd *sitd) argument
2293 sitd_submit(struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags) argument
2354 scan_isoc(struct ehci_hcd *ehci) argument
[all...]
H A Dehci-brcm.c15 #include "ehci.h"
27 static inline void ehci_brcm_wait_for_sof(struct ehci_hcd *ehci, u32 delay) argument
29 u32 frame_idx = ehci_readl(ehci, &ehci->regs->frame_index);
34 res = readl_relaxed_poll_timeout(&ehci->regs->frame_index, val,
37 ehci_err(ehci, "Error waiting for SOF\n");
60 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
61 int ports = HCS_N_PORTS(ehci->hcs_params);
70 status_reg = &ehci->regs->port_status[temp];
78 ehci
99 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
218 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci.h92 * ehci-timer.c) in parallel with this list.
270 static inline struct usb_hcd *ehci_to_hcd(struct ehci_hcd *ehci) argument
272 return container_of((void *) ehci, struct usb_hcd, hcd_priv);
281 #define QTD_NEXT(ehci, dma) cpu_to_hc32(ehci, (u32)dma)
310 #define ACTIVE_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_ACTIVE)
311 #define HALT_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_HALT)
312 #define STATUS_BIT(ehci) cpu_to_hc3
659 ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) argument
751 ehci_readl(const struct ehci_hcd *ehci, __u32 __iomem *regs) argument
775 ehci_writel(const struct ehci_hcd *ehci, const unsigned int val, __u32 __iomem *regs) argument
796 set_ohci_hcfs(struct ehci_hcd *ehci, int operational) argument
810 set_ohci_hcfs(struct ehci_hcd *ehci, int operational) argument
827 cpu_to_hc32(const struct ehci_hcd *ehci, const u32 x) argument
835 hc32_to_cpu(const struct ehci_hcd *ehci, const __hc32 x) argument
842 hc32_to_cpup(const struct ehci_hcd *ehci, const __hc32 *x) argument
852 cpu_to_hc32(const struct ehci_hcd *ehci, const u32 x) argument
858 hc32_to_cpu(const struct ehci_hcd *ehci, const __hc32 x) argument
863 hc32_to_cpup(const struct ehci_hcd *ehci, const __hc32 *x) argument
[all...]
H A Dehci-ppc-of.c10 * Based on "ehci-ppc-soc.c" by Stefan Roese <sr@denx.de>
98 struct ehci_hcd *ehci = NULL; local
135 ehci = hcd_to_ehci(hcd);
140 ehci->ohci_hcctrl_reg =
146 if (!ehci->ohci_hcctrl_reg) {
149 ehci->has_amcc_usb23 = 1;
155 ehci->big_endian_mmio = 1;
156 ehci->big_endian_desc = 1;
159 ehci->big_endian_mmio = 1;
161 ehci
190 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-grlib.c9 * Based on ehci-ppc-of.c which is:
11 * and in turn based on "ehci-ppc-soc.c" by Stefan Roese <sr@denx.de>
76 struct ehci_hcd *ehci = NULL; local
115 ehci = hcd_to_ehci(hcd);
117 ehci->caps = hcd->regs;
120 hc_capbase = ehci_readl(ehci, &ehci->caps->hc_capbase);
121 if (HC_VERSION(ehci, hc_capbase) != GRUSBHC_HCIVERSION) {
122 ehci->big_endian_mmio = 1;
123 ehci
[all...]
H A Dehci-platform.c3 * Generic platform ehci driver
39 #include "ehci.h"
60 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
63 ehci->has_synopsys_hc_bug = pdata->has_synopsys_hc_bug;
71 ehci->caps = hcd->regs + pdata->caps_offset;
77 ehci->need_io_watchdog = 0;
79 if (of_device_is_compatible(pdev->dev.of_node, "brcm,xgs-iproc-ehci"))
80 ehci_writel(ehci, BCM_USB_FIFO_THRESHOLD,
81 &ehci->regs->brcm_insnreg[1]);
133 * @ehci
142 quirk_poll_check_port_status(struct ehci_hcd *ehci) argument
164 quirk_poll_rebind_companion(struct ehci_hcd *ehci) argument
185 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd, local
202 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd, local
242 struct ehci_hcd *ehci; local
[all...]
H A Dehci-mv.c20 #include "ehci.h"
30 /* Which mode does this ehci running OTG/Host ? */
70 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
75 dev_err(dev, "Can not find private ehci data\n");
86 status = ehci_readl(ehci, &ehci->regs->port_status[0]);
88 ehci_writel(ehci, status, &ehci->regs->port_status[0]);
90 ehci_writel(ehci, status, &ehci
107 struct ehci_hcd *ehci; local
[all...]
H A DMakefile37 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
38 obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
39 obj-$(CONFIG_USB_EHCI_HCD_PLATFORM) += ehci-platform.o
40 obj-$(CONFIG_USB_EHCI_HCD_NPCM7XX) += ehci-npcm7xx.o
41 obj-$(CONFIG_USB_EHCI_HCD_OMAP) += ehci-omap.o
42 obj-$(CONFIG_USB_EHCI_HCD_ORION) += ehci-orion.o
43 obj-$(CONFIG_USB_EHCI_HCD_SPEAR) += ehci-spear.o
44 obj-$(CONFIG_USB_EHCI_HCD_STI) += ehci-st.o
45 obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
46 obj-$(CONFIG_USB_EHCI_HCD_AT91) += ehci
[all...]
H A Dehci-xilinx-of.c9 * Based on "ehci-ppc-of.c" by Valentine Barshak <vbarshak@ru.mvista.com>
10 * and "ehci-ppc-soc.c" by Stefan Roese <sr@denx.de>
122 struct ehci_hcd *ehci; local
159 ehci = hcd_to_ehci(hcd);
164 ehci->big_endian_mmio = 1;
165 ehci->big_endian_desc = 1;
171 ehci_dbg(ehci, "USB host controller supports FS devices\n");
174 ehci_dbg(ehci,
181 ehci->caps = hcd->regs + 0x100;
226 .name = "xilinx-of-ehci",
[all...]
H A Dehci-ps3.c12 static void ps3_ehci_setup_insnreg(struct ehci_hcd *ehci) argument
31 writel_be(0x01000020, (void __iomem *)ehci->regs +
36 writel_be(0x00000001, (void __iomem *)ehci->regs +
43 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
45 ehci->big_endian_mmio = 1;
46 ehci->caps = hcd->regs;
52 ps3_ehci_setup_insnreg(ehci);
248 .core.name = "ps3-ehci-driver",
/linux-master/drivers/usb/early/
H A DMakefile6 obj-$(CONFIG_EARLY_PRINTK_DBGP) += ehci-dbgp.o
/linux-master/drivers/usb/chipidea/
H A Dhost.c18 #include "../host/ehci.h"
39 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
40 struct ehci_ci_priv *priv = (struct ehci_ci_priv *)ehci->priv;
44 int port = HCS_N_PORTS(ehci->hcs_params);
87 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
94 ehci->need_io_watchdog = 0;
122 struct ehci_hcd *ehci; local
148 ehci = hcd_to_ehci(hcd);
149 ehci->caps = ci->hw_bank.cap;
150 ehci
249 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
331 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dci_hdrc_tegra.c22 #include "../host/ehci.h"
77 .compatible = "nvidia,tegra20-ehci",
80 .compatible = "nvidia,tegra30-ehci",
108 dev_err(dev, "can't get ehci reset: %pe\n", rst);
156 struct ehci_hcd *ehci; local
161 ehci = hcd_to_ehci(ci->hcd);
162 ehci->has_tdi_phy_lpm = false;
163 ehci_writel(ehci, usb->soc->txfifothresh << 16,
164 &ehci->regs->txfill_tuning);
172 static int tegra_usb_internal_port_reset(struct ehci_hcd *ehci, argument
240 struct ehci_hcd *ehci = hcd_to_ehci(ci->hcd); local
[all...]
/linux-master/arch/mips/include/asm/mach-loongson2ef/cs5536/
H A Dcs5536_vsm.h29 /* ehci module */
30 DECLARE_CS5536_MODULE(ehci)
/linux-master/include/linux/usb/
H A Dehci_def.h9 #include <linux/usb/ehci-dbgp.h>
22 #define HC_LENGTH(ehci, p) (0x00ff&((p) >> /* bits 7:0 / offset 00h */ \
23 (ehci_big_endian_capbase(ehci) ? 24 : 0)))
24 #define HC_VERSION(ehci, p) (0xffff&((p) >> /* bits 31:16 / offset 02h */ \
25 (ehci_big_endian_capbase(ehci) ? 0 : 16)))
/linux-master/arch/arm/plat-orion/include/plat/
H A Dcommon.h13 #include <linux/platform_data/usb-ehci-orion.h>

Completed in 283 milliseconds

12