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

12

/drivers/usb/host/
H A Dehci-timer.c15 /* This file is part of ehci-hcd.c */
20 static void ehci_set_command_bit(struct ehci_hcd *ehci, u32 bit) argument
22 ehci->command |= bit;
23 ehci_writel(ehci, ehci->command, &ehci->regs->command);
26 ehci_readl(ehci, &ehci->regs->command);
30 static void ehci_clear_command_bit(struct ehci_hcd *ehci, u32 bit) argument
32 ehci
84 ehci_enable_event(struct ehci_hcd *ehci, unsigned event, bool resched) argument
104 ehci_poll_ASS(struct ehci_hcd *ehci) argument
143 ehci_disable_ASE(struct ehci_hcd *ehci) argument
150 ehci_poll_PSS(struct ehci_hcd *ehci) argument
189 ehci_disable_PSE(struct ehci_hcd *ehci) argument
196 ehci_handle_controller_death(struct ehci_hcd *ehci) argument
220 ehci_handle_start_intr_unlinks(struct ehci_hcd *ehci) argument
251 ehci_handle_intr_unlinks(struct ehci_hcd *ehci) argument
284 start_free_itds(struct ehci_hcd *ehci) argument
298 end_free_itds(struct ehci_hcd *ehci) argument
328 ehci_iaa_watchdog(struct ehci_hcd *ehci) argument
368 turn_on_io_watchdog(struct ehci_hcd *ehci) argument
407 struct ehci_hcd *ehci = container_of(t, struct ehci_hcd, hrtimer); local
[all...]
H A Dehci-mem.c19 /* this file is part of ehci-hcd.c */
38 static inline void ehci_qtd_init(struct ehci_hcd *ehci, struct ehci_qtd *qtd, argument
43 qtd->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT);
44 qtd->hw_next = EHCI_LIST_END(ehci);
45 qtd->hw_alt_next = EHCI_LIST_END(ehci);
49 static struct ehci_qtd *ehci_qtd_alloc (struct ehci_hcd *ehci, gfp_t flags) argument
54 qtd = dma_pool_alloc (ehci->qtd_pool, flags, &dma);
56 ehci_qtd_init(ehci, qtd, dma);
61 static inline void ehci_qtd_free (struct ehci_hcd *ehci, struct ehci_qtd *qtd) argument
63 dma_pool_free (ehci
67 qh_destroy(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
80 ehci_qh_alloc(struct ehci_hcd *ehci, gfp_t flags) argument
120 ehci_mem_cleanup(struct ehci_hcd *ehci) argument
160 ehci_mem_init(struct ehci_hcd *ehci, gfp_t flags) argument
[all...]
H A Dehci-hcd.c109 #include "ehci.h"
122 static unsigned ehci_moschip_read_frame_index(struct ehci_hcd *ehci) argument
126 uf = ehci_readl(ehci, &ehci->regs->frame_index);
128 uf = ehci_readl(ehci, &ehci->regs->frame_index);
132 static inline unsigned ehci_read_frame_index(struct ehci_hcd *ehci) argument
134 if (ehci->frame_index_bug)
135 return ehci_moschip_read_frame_index(ehci);
136 return ehci_readl(ehci,
160 ehci_handshake(struct ehci_hcd *ehci, void __iomem *ptr, u32 mask, u32 done, int usec) argument
180 tdi_in_host_mode(struct ehci_hcd *ehci) argument
192 ehci_halt(struct ehci_hcd *ehci) argument
223 tdi_reset(struct ehci_hcd *ehci) argument
242 ehci_reset(struct ehci_hcd *ehci) argument
283 ehci_quiesce(struct ehci_hcd *ehci) argument
328 ehci_turn_off_all_ports(struct ehci_hcd *ehci) argument
341 ehci_silence_controller(struct ehci_hcd *ehci) argument
363 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
382 ehci_work(struct ehci_hcd *ehci) argument
418 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
452 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
568 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
653 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
685 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
850 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
888 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
939 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
1010 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1049 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
1059 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1076 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1110 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-hub.c19 /* this file is part of ehci-hcd.c */
45 static void ehci_handover_companion_ports(struct ehci_hcd *ehci) argument
51 struct usb_hcd *hcd = ehci_to_hcd(ehci);
53 if (!ehci->owned_ports)
67 port = HCS_N_PORTS(ehci->hcs_params);
69 if (test_bit(port, &ehci->owned_ports)) {
70 reg = &ehci->regs->port_status[port];
71 status = ehci_readl(ehci, reg) & ~PORT_RWC_BITS;
74 ehci_writel(ehci, status, reg);
82 spin_lock_irq(&ehci
139 ehci_port_change(struct ehci_hcd *ehci) argument
160 ehci_adjust_port_wakeup_flags(struct ehci_hcd *ehci, bool suspending, bool do_wakeup) argument
228 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
378 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
526 set_owner(struct ehci_hcd *ehci, int portnum, int new_owner) argument
559 check_reset_complete( struct ehci_hcd *ehci, int index, u32 __iomem *status_reg, int port_status ) argument
609 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
686 ehci_hub_descriptor( struct ehci_hcd *ehci, struct usb_hub_descriptor *desc ) argument
795 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
867 struct ehci_hcd *ehci = hcd_to_ehci (hcd); local
1283 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1292 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-pci.c27 #include "ehci.h"
32 static const char hcd_name[] = "ehci-pci";
55 static int ehci_pci_reinit(struct ehci_hcd *ehci, struct pci_dev *pdev) argument
66 ehci_dbg(ehci, "MWI active\n");
74 ehci_writel(ehci, INTEL_QUARK_X1000_EHCI_MAX_THRESHOLD,
75 ehci->regs->intel_quark_x1000_insnreg01);
84 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
89 ehci->caps = hcd->regs;
105 ehci->big_endian_mmio = 1;
107 ehci_warn(ehci,
333 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-sysfs.c19 /* this file is part of ehci-hcd.c */
27 struct ehci_hcd *ehci; local
32 ehci = hcd_to_ehci(bus_to_hcd(dev_get_drvdata(dev)));
33 nports = HCS_N_PORTS(ehci->hcs_params);
36 if (test_bit(index, &ehci->companion_ports)) {
54 struct ehci_hcd *ehci; local
57 ehci = hcd_to_ehci(bus_to_hcd(dev_get_drvdata(dev)));
65 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params))
69 set_bit(portnum, &ehci->companion_ports);
71 clear_bit(portnum, &ehci
85 struct ehci_hcd *ehci; local
98 struct ehci_hcd *ehci; local
162 create_sysfs_files(struct ehci_hcd *ehci) argument
178 remove_sysfs_files(struct ehci_hcd *ehci) argument
[all...]
H A Dehci-dbg.c19 /* this file is part of ehci-hcd.c */
27 static void dbg_hcs_params (struct ehci_hcd *ehci, char *label) argument
29 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params);
31 ehci_dbg (ehci,
50 byte = readb (&ehci->caps->portroute[(i>>1)]);
55 ehci_dbg (ehci, "%s portroute %s\n",
61 static inline void dbg_hcs_params (struct ehci_hcd *ehci, char *label) {} argument
71 static void dbg_hcc_params (struct ehci_hcd *ehci, char *label) argument
73 u32 params = ehci_readl(ehci,
100 dbg_hcc_params(struct ehci_hcd *ehci, char *label) argument
107 dbg_qtd(const char *label, struct ehci_hcd *ehci, struct ehci_qtd *qtd) argument
123 dbg_qh(const char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) argument
133 dbg_itd(const char *label, struct ehci_hcd *ehci, struct ehci_itd *itd) argument
164 dbg_sitd(const char *label, struct ehci_hcd *ehci, struct ehci_sitd *sitd) argument
285 dbg_qh(char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) argument
392 token_mark(struct ehci_hcd *ehci, __hc32 token) argument
406 qh_lines( struct ehci_hcd *ehci, struct ehci_qh *qh, char **nextp, unsigned *sizep ) argument
500 struct ehci_hcd *ehci; local
538 struct ehci_hcd *ehci; local
623 struct ehci_hcd *ehci; local
763 rh_state_string(struct ehci_hcd *ehci) argument
781 struct ehci_hcd *ehci; local
1049 create_debug_files(struct ehci_hcd *ehci) argument
1079 remove_debug_files(struct ehci_hcd *ehci) argument
[all...]
H A Dehci-q.c19 /* this file is part of ehci-hcd.c */
33 * an ongoing challenge. That's in "ehci-sched.c".
46 qtd_fill(struct ehci_hcd *ehci, struct ehci_qtd *qtd, dma_addr_t buf, argument
53 qtd->hw_buf[0] = cpu_to_hc32(ehci, (u32)addr);
54 qtd->hw_buf_hi[0] = cpu_to_hc32(ehci, (u32)(addr >> 32));
65 qtd->hw_buf[i] = cpu_to_hc32(ehci, (u32)addr);
66 qtd->hw_buf_hi[i] = cpu_to_hc32(ehci,
79 qtd->hw_token = cpu_to_hc32(ehci, (count << 16) | token);
88 qh_update (struct ehci_hcd *ehci, struct ehci_qh *qh, struct ehci_qtd *qtd) argument
95 hw->hw_qtd_next = QTD_NEXT(ehci, qt
122 qh_refresh(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
148 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
160 ehci_clear_tt_buffer(struct ehci_hcd *ehci, struct ehci_qh *qh, struct urb *urb, u32 token) argument
192 qtd_copy_status( struct ehci_hcd *ehci, struct urb *urb, size_t length, u32 token ) argument
249 ehci_urb_done(struct ehci_hcd *ehci, struct urb *urb, int status) argument
287 qh_completions(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
553 qtd_list_free( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list ) argument
573 qh_urb_transaction( struct ehci_hcd *ehci, struct urb *urb, struct list_head *head, gfp_t flags ) argument
758 qh_make( struct ehci_hcd *ehci, struct urb *urb, gfp_t flags ) argument
948 enable_async(struct ehci_hcd *ehci) argument
961 disable_async(struct ehci_hcd *ehci) argument
976 qh_link_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
1015 qh_append_tds( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr ) argument
1097 submit_async( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) argument
1168 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
1256 single_unlink_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
1275 start_iaa_cycle(struct ehci_hcd *ehci) argument
1301 end_unlink_async(struct ehci_hcd *ehci) argument
1375 unlink_empty_async(struct ehci_hcd *ehci) argument
1405 unlink_empty_async_suspended(struct ehci_hcd *ehci) argument
1420 start_unlink_async(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
1432 scan_async(struct ehci_hcd *ehci) argument
[all...]
H A Dehci-fsl.c34 #include "ehci-fsl.h"
137 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
140 dev_dbg(&pdev->dev, "hcd=0x%p ehci=0x%p, phy=0x%p\n",
141 hcd, ehci, hcd->usb_phy);
145 &ehci_to_hcd(ehci)->self);
205 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
215 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]);
263 ehci_writel(ehci, portsc, &ehci
271 ehci_fsl_usb_setup(struct ehci_hcd *ehci) argument
332 ehci_fsl_reinit(struct ehci_hcd *ehci) argument
343 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
386 struct ehci_hcd ehci; member in struct:ehci_fsl
400 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
469 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
543 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
572 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
617 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-sched.c20 /* this file is part of ehci-hcd.c */
45 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, argument
48 switch (hc32_to_cpu(ehci, tag)) {
62 shadow_next_periodic(struct ehci_hcd *ehci, union ehci_shadow *periodic, argument
65 switch (hc32_to_cpu(ehci, tag)) {
75 /* caller must hold ehci->lock */
76 static void periodic_unlink (struct ehci_hcd *ehci, unsigned frame, void *ptr) argument
78 union ehci_shadow *prev_p = &ehci->pshadow[frame];
79 __hc32 *hw_p = &ehci->periodic[frame];
84 prev_p = periodic_next_shadow(ehci, prev_
149 struct ehci_hcd *ehci = local
206 bandwidth_dbg(struct ehci_hcd *ehci, int sign, char *type, struct ehci_per_sched *ps) argument
218 reserve_release_intr_bandwidth(struct ehci_hcd *ehci, struct ehci_qh *qh, int sign) argument
331 tt_start_uframe(struct ehci_hcd *ehci, __hc32 mask) argument
378 tt_available( struct ehci_hcd *ehci, struct ehci_per_sched *ps, struct ehci_tt *tt, unsigned frame, unsigned uframe ) argument
438 tt_no_collision( struct ehci_hcd *ehci, unsigned period, struct usb_device *dev, unsigned frame, u32 uf_mask ) argument
515 enable_periodic(struct ehci_hcd *ehci) argument
528 disable_periodic(struct ehci_hcd *ehci) argument
545 qh_link_periodic(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
612 qh_unlink_periodic(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
659 cancel_unlink_wait_intr(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
673 start_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
712 start_unlink_intr_wait(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
728 end_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
766 check_period( struct ehci_hcd *ehci, unsigned frame, unsigned uframe, unsigned uperiod, unsigned usecs ) argument
792 check_intr_schedule( struct ehci_hcd *ehci, unsigned frame, unsigned uframe, struct ehci_qh *qh, unsigned *c_maskp, struct ehci_tt *tt ) argument
860 qh_schedule(struct ehci_hcd *ehci, struct ehci_qh *qh) argument
928 intr_submit( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) argument
992 scan_intr(struct ehci_hcd *ehci) argument
1040 iso_stream_init( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, struct urb *urb ) argument
1154 iso_stream_find(struct ehci_hcd *ehci, struct urb *urb) argument
1208 itd_sched_init( struct ehci_hcd *ehci, struct ehci_iso_sched *iso_sched, struct ehci_iso_stream *stream, struct urb *urb ) argument
1263 itd_urb_transaction( struct ehci_iso_stream *stream, struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags ) argument
1331 reserve_release_iso_bandwidth(struct ehci_hcd *ehci, struct ehci_iso_stream *stream, int sign) argument
1388 itd_slot_ok( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, unsigned uframe ) argument
1408 sitd_slot_ok( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, unsigned uframe, struct ehci_iso_sched *sched, struct ehci_tt *tt ) argument
1495 iso_stream_schedule( struct ehci_hcd *ehci, struct urb *urb, struct ehci_iso_stream *stream ) argument
1689 itd_init(struct ehci_hcd *ehci, struct ehci_iso_stream *stream, struct ehci_itd *itd) argument
1707 itd_patch( struct ehci_hcd *ehci, struct ehci_itd *itd, struct ehci_iso_sched *iso_sched, unsigned index, u16 uframe ) argument
1739 itd_link(struct ehci_hcd *ehci, unsigned frame, struct ehci_itd *itd) argument
1765 itd_link_urb( struct ehci_hcd *ehci, struct urb *urb, unsigned mod, struct ehci_iso_stream *stream ) argument
1845 itd_complete(struct ehci_hcd *ehci, struct ehci_itd *itd) argument
1939 itd_submit(struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags) argument
2008 sitd_sched_init( struct ehci_hcd *ehci, struct ehci_iso_sched *iso_sched, struct ehci_iso_stream *stream, struct urb *urb ) argument
2057 sitd_urb_transaction( struct ehci_iso_stream *stream, struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags ) argument
2126 sitd_patch( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, struct ehci_sitd *sitd, struct ehci_iso_sched *iso_sched, unsigned index ) argument
2155 sitd_link(struct ehci_hcd *ehci, unsigned frame, struct ehci_sitd *sitd) argument
2167 sitd_link_urb( struct ehci_hcd *ehci, struct urb *urb, unsigned mod, struct ehci_iso_stream *stream ) argument
2240 sitd_complete(struct ehci_hcd *ehci, struct ehci_sitd *sitd) argument
2319 sitd_submit(struct ehci_hcd *ehci, struct urb *urb, gfp_t mem_flags) argument
2380 scan_isoc(struct ehci_hcd *ehci) argument
[all...]
H A Dehci.h105 * ehci-timer.c) in parallel with this list.
274 static inline struct usb_hcd *ehci_to_hcd (struct ehci_hcd *ehci) argument
276 return container_of ((void *) ehci, struct usb_hcd, hcd_priv);
285 #define QTD_NEXT(ehci, dma) cpu_to_hc32(ehci, (u32)dma)
314 #define ACTIVE_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_ACTIVE)
315 #define HALT_BIT(ehci) cpu_to_hc32(ehci, QTD_STS_HALT)
316 #define STATUS_BIT(ehci) cpu_to_hc3
655 ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) argument
720 ehci_readl(const struct ehci_hcd *ehci, __u32 __iomem * regs) argument
744 ehci_writel(const struct ehci_hcd *ehci, const unsigned int val, __u32 __iomem *regs) argument
765 set_ohci_hcfs(struct ehci_hcd *ehci, int operational) argument
779 set_ohci_hcfs(struct ehci_hcd *ehci, int operational) argument
796 cpu_to_hc32(const struct ehci_hcd *ehci, const u32 x) argument
804 hc32_to_cpu(const struct ehci_hcd *ehci, const __hc32 x) argument
811 hc32_to_cpup(const struct ehci_hcd *ehci, const __hc32 *x) argument
821 cpu_to_hc32(const struct ehci_hcd *ehci, const u32 x) argument
827 hc32_to_cpu(const struct ehci_hcd *ehci, const __hc32 x) argument
832 hc32_to_cpup(const struct ehci_hcd *ehci, const __hc32 *x) argument
[all...]
H A Dehci-w90x900.c2 * linux/driver/usb/host/ehci-w90x900.c
23 #include "ehci.h"
32 static const char hcd_name[] = "ehci-w90x900 ";
40 struct ehci_hcd *ehci; local
67 ehci = hcd_to_ehci(hcd);
68 ehci->caps = hcd->regs;
69 ehci->regs = hcd->regs +
70 HC_LENGTH(ehci, ehci_readl(ehci, &ehci
[all...]
H A Dehci-ppc-of.c9 * Based on "ehci-ppc-soc.c" by Stefan Roese <sr@denx.de>
97 struct ehci_hcd *ehci = NULL; local
134 ehci = hcd_to_ehci(hcd);
139 ehci->ohci_hcctrl_reg =
145 if (!ehci->ohci_hcctrl_reg) {
148 ehci->has_amcc_usb23 = 1;
153 ehci->big_endian_mmio = 1;
154 ehci->big_endian_desc = 1;
157 ehci->big_endian_mmio = 1;
159 ehci
188 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-grlib.c8 * Based on ehci-ppc-of.c which is:
10 * and in turn based on "ehci-ppc-soc.c" by Stefan Roese <sr@denx.de>
89 struct ehci_hcd *ehci = NULL; local
128 ehci = hcd_to_ehci(hcd);
130 ehci->caps = hcd->regs;
133 hc_capbase = ehci_readl(ehci, &ehci->caps->hc_capbase);
134 if (HC_VERSION(ehci, hc_capbase) != GRUSBHC_HCIVERSION) {
135 ehci->big_endian_mmio = 1;
136 ehci
[all...]
H A Dehci-tegra.c39 #include "ehci.h"
46 #define DRV_NAME "tegra-ehci"
120 struct ehci_hcd *ehci,
130 spin_lock_irqsave(&ehci->lock, flags);
131 saved_usbintr = ehci_readl(ehci, &ehci->regs->intr_enable);
133 ehci_writel(ehci, 0, &ehci->regs->intr_enable);
134 spin_unlock_irqrestore(&ehci->lock, flags);
141 temp = ehci_readl(ehci, portsc_re
119 tegra_ehci_internal_port_reset( struct ehci_hcd *ehci, u32 __iomem *portsc_reg ) argument
193 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
397 struct ehci_hcd *ehci; local
566 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-pmcmsp.c43 static void usb_hcd_tdi_set_mode(struct ehci_hcd *ehci) argument
49 struct ehci_regs *reg_base = ehci->regs;
57 val = ehci_readl(ehci, (u32 *)base);
58 ehci_writel(ehci, (val | USB_CTRL_MODE_STREAM_DISABLE),
62 val = ehci_readl(ehci, (u32 *)statreg);
64 ehci_writel(ehci, val, (u32 *)statreg);
67 ehci_writel(ehci, USB_CTRL_FIFO_THRESH, (u32 *)fiforeg);
76 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
79 ehci->big_endian_mmio = 1;
80 ehci
167 struct ehci_hcd *ehci ; local
[all...]
H A Dehci-sead3.c3 * Based on "ehci-au1xxx.c" by K.Boge <karsten.boge@amd.com>
28 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
30 ehci->caps = hcd->regs + 0x100;
33 ehci->big_endian_mmio = 1;
34 ehci->big_endian_desc = 1;
41 ehci->need_io_watchdog = 0;
44 ehci_writel(ehci, 0x1010, &ehci->regs->reserved1[1]);
181 .name = "sead3-ehci",
187 MODULE_ALIAS("platform:sead3-ehci");
[all...]
H A DMakefile34 obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
35 obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
36 obj-$(CONFIG_USB_EHCI_HCD_PLATFORM) += ehci-platform.o
37 obj-$(CONFIG_USB_EHCI_MXC) += ehci-mxc.o
38 obj-$(CONFIG_USB_EHCI_HCD_OMAP) += ehci-omap.o
39 obj-$(CONFIG_USB_EHCI_HCD_ORION) += ehci-orion.o
40 obj-$(CONFIG_USB_EHCI_HCD_SPEAR) += ehci-spear.o
41 obj-$(CONFIG_USB_EHCI_HCD_STI) += ehci-st.o
42 obj-$(CONFIG_USB_EHCI_EXYNOS) += ehci-exynos.o
43 obj-$(CONFIG_USB_EHCI_HCD_AT91) += ehci
[all...]
H A Dehci-mxc.c31 #include <linux/platform_data/usb-ehci-mxc.h>
32 #include "ehci.h"
36 static const char hcd_name[] = "ehci-mxc";
58 struct ehci_hcd *ehci; local
88 ehci = hcd_to_ehci(hcd);
89 priv = (struct ehci_mxc_priv *) ehci->priv;
126 ehci->caps = hcd->regs + 0x100;
127 ehci->regs = hcd->regs + 0x100 +
128 HC_LENGTH(ehci, ehci_readl(ehci,
180 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
[all...]
H A Dehci-tilegx.c44 * struct ehci_hcd *ehci = hcd_to_ehci(hcd);
45 * ehci->need_io_watchdog = 0;
103 struct ehci_hcd *ehci; local
137 ehci = hcd_to_ehci(hcd);
138 ehci->caps = hcd->regs;
139 ehci->regs =
140 hcd->regs + HC_LENGTH(ehci, readl(&ehci->caps->hc_capbase));
142 ehci->hcs_params = readl(&ehci
[all...]
H A Dehci-xilinx-of.c8 * Based on "ehci-ppc-of.c" by Valentine Barshak <vbarshak@ru.mvista.com>
9 * and "ehci-ppc-soc.c" by Stefan Roese <sr@denx.de>
134 struct ehci_hcd *ehci; local
171 ehci = hcd_to_ehci(hcd);
176 ehci->big_endian_mmio = 1;
177 ehci->big_endian_desc = 1;
183 ehci_dbg(ehci, "USB host controller supports FS devices\n");
186 ehci_dbg(ehci,
193 ehci->caps = hcd->regs + 0x100;
238 .name = "xilinx-of-ehci",
[all...]
H A Dehci-platform.c2 * Generic platform ehci driver
37 #include "ehci.h"
49 static const char hcd_name[] = "ehci-platform";
55 struct ehci_hcd *ehci = hcd_to_ehci(hcd); local
59 ehci->has_synopsys_hc_bug = pdata->has_synopsys_hc_bug;
67 ehci->caps = hcd->regs + pdata->caps_offset;
73 ehci->need_io_watchdog = 0;
145 struct ehci_hcd *ehci; local
181 ehci = hcd_to_ehci(hcd);
185 ehci
[all...]
H A Dehci-octeon.c4 * Loosely based on ehci-au1xxx.c
19 #define OCTEON_EHCI_HCD_NAME "octeon-ehci"
95 struct ehci_hcd *ehci; local
139 ehci = hcd_to_ehci(hcd);
143 ehci->big_endian_mmio = 1;
146 ehci->caps = hcd->regs;
/drivers/usb/early/
H A DMakefile5 obj-$(CONFIG_EARLY_PRINTK_DBGP) += ehci-dbgp.o
/drivers/usb/chipidea/
H A Dhost.c29 #include "../host/ehci.h"
45 struct ehci_hcd *ehci; local
65 ehci = hcd_to_ehci(hcd);
66 ehci->caps = ci->hw_bank.cap;
67 ehci->has_hostpc = ci->hw_bank.lpm;
68 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm;
69 ehci->imx28_write_fix = ci->imx28_write_fix;

Completed in 218 milliseconds

12