hcd                97 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c static void init_handler_common_data(struct amdgpu_dm_irq_handler_data *hcd,
hcd               102 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	hcd->handler = ih;
hcd               103 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	hcd->handler_arg = args;
hcd               104 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 	hcd->dm = dm;
hcd                38 drivers/staging/greybus/usb.c static inline struct gb_usb_device *to_gb_usb_device(struct usb_hcd *hcd)
hcd                40 drivers/staging/greybus/usb.c 	return (struct gb_usb_device *)hcd->hcd_priv;
hcd                48 drivers/staging/greybus/usb.c static void hcd_stop(struct usb_hcd *hcd)
hcd                50 drivers/staging/greybus/usb.c 	struct gb_usb_device *dev = to_gb_usb_device(hcd);
hcd                59 drivers/staging/greybus/usb.c static int hcd_start(struct usb_hcd *hcd)
hcd                61 drivers/staging/greybus/usb.c 	struct usb_bus *bus = hcd_to_bus(hcd);
hcd                62 drivers/staging/greybus/usb.c 	struct gb_usb_device *dev = to_gb_usb_device(hcd);
hcd                72 drivers/staging/greybus/usb.c 	hcd->state = HC_STATE_RUNNING;
hcd                74 drivers/staging/greybus/usb.c 		usb_hcd_resume_root_hub(hcd);
hcd                78 drivers/staging/greybus/usb.c static int urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags)
hcd                83 drivers/staging/greybus/usb.c static int urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd                88 drivers/staging/greybus/usb.c static int get_frame_number(struct usb_hcd *hcd)
hcd                93 drivers/staging/greybus/usb.c static int hub_status_data(struct usb_hcd *hcd, char *buf)
hcd                98 drivers/staging/greybus/usb.c static int hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
hcd               101 drivers/staging/greybus/usb.c 	struct gb_usb_device *dev = to_gb_usb_device(hcd);
hcd               164 drivers/staging/greybus/usb.c 	struct usb_hcd *hcd;
hcd               167 drivers/staging/greybus/usb.c 	hcd = usb_create_hcd(&usb_gb_hc_driver, dev, dev_name(dev));
hcd               168 drivers/staging/greybus/usb.c 	if (!hcd)
hcd               179 drivers/staging/greybus/usb.c 	gb_usb_dev = to_gb_usb_device(hcd);
hcd               185 drivers/staging/greybus/usb.c 	hcd->has_tt = 1;
hcd               203 drivers/staging/greybus/usb.c 	retval = usb_add_hcd(hcd, 0, 0);
hcd               214 drivers/staging/greybus/usb.c 	usb_put_hcd(hcd);
hcd               223 drivers/staging/greybus/usb.c 	struct usb_hcd *hcd = gb_usb_device_to_hcd(gb_usb_dev);
hcd               225 drivers/staging/greybus/usb.c 	usb_remove_hcd(hcd);
hcd               228 drivers/staging/greybus/usb.c 	usb_put_hcd(hcd);
hcd               485 drivers/staging/octeon-usb/octeon-hcd.c static int octeon_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
hcd               494 drivers/staging/octeon-usb/octeon-hcd.c 	ret = usb_hcd_map_urb_for_dma(hcd, urb, mem_flags);
hcd               506 drivers/staging/octeon-usb/octeon-hcd.c static void octeon_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb)
hcd               508 drivers/staging/octeon-usb/octeon-hcd.c 	usb_hcd_unmap_urb_for_dma(hcd, urb);
hcd              1351 drivers/staging/octeon-usb/octeon-hcd.c 	struct usb_hcd *hcd = octeon_to_hcd(usb);
hcd              1352 drivers/staging/octeon-usb/octeon-hcd.c 	struct device *dev = hcd->self.controller;
hcd              1964 drivers/staging/octeon-usb/octeon-hcd.c 	struct usb_hcd *hcd = octeon_to_hcd(usb);
hcd              1965 drivers/staging/octeon-usb/octeon-hcd.c 	struct device *dev = hcd->self.controller;
hcd              2596 drivers/staging/octeon-usb/octeon-hcd.c 	struct usb_hcd *hcd = octeon_to_hcd(usb);
hcd              2597 drivers/staging/octeon-usb/octeon-hcd.c 	struct device *dev = hcd->self.controller;
hcd              3031 drivers/staging/octeon-usb/octeon-hcd.c static inline struct octeon_hcd *hcd_to_octeon(struct usb_hcd *hcd)
hcd              3033 drivers/staging/octeon-usb/octeon-hcd.c 	return (struct octeon_hcd *)(hcd->hcd_priv);
hcd              3036 drivers/staging/octeon-usb/octeon-hcd.c static irqreturn_t octeon_usb_irq(struct usb_hcd *hcd)
hcd              3038 drivers/staging/octeon-usb/octeon-hcd.c 	struct octeon_hcd *usb = hcd_to_octeon(hcd);
hcd              3047 drivers/staging/octeon-usb/octeon-hcd.c static int octeon_usb_start(struct usb_hcd *hcd)
hcd              3049 drivers/staging/octeon-usb/octeon-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              3053 drivers/staging/octeon-usb/octeon-hcd.c static void octeon_usb_stop(struct usb_hcd *hcd)
hcd              3055 drivers/staging/octeon-usb/octeon-hcd.c 	hcd->state = HC_STATE_HALT;
hcd              3058 drivers/staging/octeon-usb/octeon-hcd.c static int octeon_usb_get_frame_number(struct usb_hcd *hcd)
hcd              3060 drivers/staging/octeon-usb/octeon-hcd.c 	struct octeon_hcd *usb = hcd_to_octeon(hcd);
hcd              3065 drivers/staging/octeon-usb/octeon-hcd.c static int octeon_usb_urb_enqueue(struct usb_hcd *hcd,
hcd              3069 drivers/staging/octeon-usb/octeon-hcd.c 	struct octeon_hcd *usb = hcd_to_octeon(hcd);
hcd              3070 drivers/staging/octeon-usb/octeon-hcd.c 	struct device *dev = hcd->self.controller;
hcd              3081 drivers/staging/octeon-usb/octeon-hcd.c 	rc = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              3162 drivers/staging/octeon-usb/octeon-hcd.c 			usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              3232 drivers/staging/octeon-usb/octeon-hcd.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              3242 drivers/staging/octeon-usb/octeon-hcd.c static int octeon_usb_urb_dequeue(struct usb_hcd *hcd,
hcd              3246 drivers/staging/octeon-usb/octeon-hcd.c 	struct octeon_hcd *usb = hcd_to_octeon(hcd);
hcd              3255 drivers/staging/octeon-usb/octeon-hcd.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              3268 drivers/staging/octeon-usb/octeon-hcd.c static void octeon_usb_endpoint_disable(struct usb_hcd *hcd,
hcd              3271 drivers/staging/octeon-usb/octeon-hcd.c 	struct device *dev = hcd->self.controller;
hcd              3274 drivers/staging/octeon-usb/octeon-hcd.c 		struct octeon_hcd *usb = hcd_to_octeon(hcd);
hcd              3287 drivers/staging/octeon-usb/octeon-hcd.c static int octeon_usb_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              3289 drivers/staging/octeon-usb/octeon-hcd.c 	struct octeon_hcd *usb = hcd_to_octeon(hcd);
hcd              3301 drivers/staging/octeon-usb/octeon-hcd.c static int octeon_usb_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd              3304 drivers/staging/octeon-usb/octeon-hcd.c 	struct octeon_hcd *usb = hcd_to_octeon(hcd);
hcd              3305 drivers/staging/octeon-usb/octeon-hcd.c 	struct device *dev = hcd->self.controller;
hcd              3538 drivers/staging/octeon-usb/octeon-hcd.c 	struct usb_hcd *hcd;
hcd              3631 drivers/staging/octeon-usb/octeon-hcd.c 	hcd = usb_create_hcd(&octeon_hc_driver, dev, dev_name(dev));
hcd              3632 drivers/staging/octeon-usb/octeon-hcd.c 	if (!hcd) {
hcd              3636 drivers/staging/octeon-usb/octeon-hcd.c 	hcd->uses_new_polling = 1;
hcd              3637 drivers/staging/octeon-usb/octeon-hcd.c 	usb = (struct octeon_hcd *)hcd->hcd_priv;
hcd              3664 drivers/staging/octeon-usb/octeon-hcd.c 		usb_put_hcd(hcd);
hcd              3668 drivers/staging/octeon-usb/octeon-hcd.c 	status = usb_add_hcd(hcd, irq, 0);
hcd              3671 drivers/staging/octeon-usb/octeon-hcd.c 		usb_put_hcd(hcd);
hcd              3674 drivers/staging/octeon-usb/octeon-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              3685 drivers/staging/octeon-usb/octeon-hcd.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd              3686 drivers/staging/octeon-usb/octeon-hcd.c 	struct octeon_hcd *usb = hcd_to_octeon(hcd);
hcd              3689 drivers/staging/octeon-usb/octeon-hcd.c 	usb_remove_hcd(hcd);
hcd              3696 drivers/staging/octeon-usb/octeon-hcd.c 	usb_put_hcd(hcd);
hcd                20 drivers/staging/wusbcore/host/whci/int.c irqreturn_t whc_int_handler(struct usb_hcd *hcd)
hcd                22 drivers/staging/wusbcore/host/whci/int.c 	struct wusbhc *wusbhc = usb_hcd_to_wusbhc(hcd);
hcd               154 drivers/staging/wusbcore/host/whci/whcd.h irqreturn_t whc_int_handler(struct usb_hcd *hcd);
hcd                47 drivers/usb/c67x00/c67x00-hcd.c static int c67x00_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd                49 drivers/usb/c67x00/c67x00-hcd.c 	struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
hcd                66 drivers/usb/c67x00/c67x00-hcd.c static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd                69 drivers/usb/c67x00/c67x00-hcd.c 	struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
hcd               239 drivers/usb/c67x00/c67x00-hcd.c 	struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00);
hcd               250 drivers/usb/c67x00/c67x00-hcd.c 	if (unlikely(hcd->state == HC_STATE_HALT))
hcd               253 drivers/usb/c67x00/c67x00-hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd               266 drivers/usb/c67x00/c67x00-hcd.c static int c67x00_hcd_start(struct usb_hcd *hcd)
hcd               268 drivers/usb/c67x00/c67x00-hcd.c 	hcd->uses_new_polling = 1;
hcd               269 drivers/usb/c67x00/c67x00-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd               270 drivers/usb/c67x00/c67x00-hcd.c 	set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               278 drivers/usb/c67x00/c67x00-hcd.c static void c67x00_hcd_stop(struct usb_hcd *hcd)
hcd               283 drivers/usb/c67x00/c67x00-hcd.c static int c67x00_hcd_get_frame(struct usb_hcd *hcd)
hcd               285 drivers/usb/c67x00/c67x00-hcd.c 	struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
hcd               332 drivers/usb/c67x00/c67x00-hcd.c 	struct usb_hcd *hcd;
hcd               339 drivers/usb/c67x00/c67x00-hcd.c 	hcd = usb_create_hcd(&c67x00_hc_driver, sie_dev(sie), "c67x00_sie");
hcd               340 drivers/usb/c67x00/c67x00-hcd.c 	if (!hcd) {
hcd               344 drivers/usb/c67x00/c67x00-hcd.c 	c67x00 = hcd_to_c67x00_hcd(hcd);
hcd               366 drivers/usb/c67x00/c67x00-hcd.c 	retval = usb_add_hcd(hcd, 0, 0);
hcd               373 drivers/usb/c67x00/c67x00-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd               385 drivers/usb/c67x00/c67x00-hcd.c 	usb_put_hcd(hcd);
hcd               394 drivers/usb/c67x00/c67x00-hcd.c 	struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00);
hcd               397 drivers/usb/c67x00/c67x00-hcd.c 	usb_remove_hcd(hcd);
hcd               398 drivers/usb/c67x00/c67x00-hcd.c 	usb_put_hcd(hcd);
hcd                87 drivers/usb/c67x00/c67x00-hcd.h static inline struct c67x00_hcd *hcd_to_c67x00_hcd(struct usb_hcd *hcd)
hcd                89 drivers/usb/c67x00/c67x00-hcd.h 	return (struct c67x00_hcd *)(hcd->hcd_priv);
hcd               107 drivers/usb/c67x00/c67x00-hcd.h int c67x00_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags);
hcd               108 drivers/usb/c67x00/c67x00-hcd.h int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
hcd               109 drivers/usb/c67x00/c67x00-hcd.h void c67x00_endpoint_disable(struct usb_hcd *hcd,
hcd               305 drivers/usb/c67x00/c67x00-sched.c void c67x00_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep)
hcd               307 drivers/usb/c67x00/c67x00-sched.c 	struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
hcd               342 drivers/usb/c67x00/c67x00-sched.c int c67x00_urb_enqueue(struct usb_hcd *hcd,
hcd               348 drivers/usb/c67x00/c67x00-sched.c 	struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
hcd               361 drivers/usb/c67x00/c67x00-sched.c 	if (!HC_IS_RUNNING(hcd->state)) {
hcd               366 drivers/usb/c67x00/c67x00-sched.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd               432 drivers/usb/c67x00/c67x00-sched.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               441 drivers/usb/c67x00/c67x00-sched.c int c67x00_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd               443 drivers/usb/c67x00/c67x00-sched.c 	struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd);
hcd               448 drivers/usb/c67x00/c67x00-sched.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd               453 drivers/usb/c67x00/c67x00-sched.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               456 drivers/usb/c67x00/c67x00-sched.c 	usb_hcd_giveback_urb(hcd, urb, status);
hcd               250 drivers/usb/chipidea/ci.h 	struct usb_hcd			*hcd;
hcd                25 drivers/usb/chipidea/host.c static int (*orig_bus_suspend)(struct usb_hcd *hcd);
hcd                32 drivers/usb/chipidea/host.c static int ehci_ci_portpower(struct usb_hcd *hcd, int portnum, bool enable)
hcd                34 drivers/usb/chipidea/host.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd                36 drivers/usb/chipidea/host.c 	struct device *dev = hcd->self.controller;
hcd                71 drivers/usb/chipidea/host.c static int ehci_ci_reset(struct usb_hcd *hcd)
hcd                73 drivers/usb/chipidea/host.c 	struct device *dev = hcd->self.controller;
hcd                75 drivers/usb/chipidea/host.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd                78 drivers/usb/chipidea/host.c 	ret = ehci_setup(hcd);
hcd               104 drivers/usb/chipidea/host.c 	return usb_hcd_irq(ci->irq, ci->hcd);
hcd               109 drivers/usb/chipidea/host.c 	struct usb_hcd *hcd;
hcd               117 drivers/usb/chipidea/host.c 	hcd = __usb_create_hcd(&ci_ehci_hc_driver, ci->dev->parent,
hcd               119 drivers/usb/chipidea/host.c 	if (!hcd)
hcd               123 drivers/usb/chipidea/host.c 	hcd->rsrc_start = ci->hw_bank.phys;
hcd               124 drivers/usb/chipidea/host.c 	hcd->rsrc_len = ci->hw_bank.size;
hcd               125 drivers/usb/chipidea/host.c 	hcd->regs = ci->hw_bank.abs;
hcd               126 drivers/usb/chipidea/host.c 	hcd->has_tt = 1;
hcd               128 drivers/usb/chipidea/host.c 	hcd->power_budget = ci->platdata->power_budget;
hcd               129 drivers/usb/chipidea/host.c 	hcd->tpl_support = ci->platdata->tpl_support;
hcd               131 drivers/usb/chipidea/host.c 		hcd->skip_phy_initialization = 1;
hcd               133 drivers/usb/chipidea/host.c 			hcd->usb_phy = ci->usb_phy;
hcd               136 drivers/usb/chipidea/host.c 	ehci = hcd_to_ehci(hcd);
hcd               163 drivers/usb/chipidea/host.c 	ret = usb_add_hcd(hcd, 0, 0);
hcd               169 drivers/usb/chipidea/host.c 		ci->hcd = hcd;
hcd               172 drivers/usb/chipidea/host.c 			otg->host = &hcd->self;
hcd               173 drivers/usb/chipidea/host.c 			hcd->self.otg_port = 1;
hcd               189 drivers/usb/chipidea/host.c 	usb_put_hcd(hcd);
hcd               196 drivers/usb/chipidea/host.c 	struct usb_hcd *hcd = ci->hcd;
hcd               198 drivers/usb/chipidea/host.c 	if (hcd) {
hcd               202 drivers/usb/chipidea/host.c 		usb_remove_hcd(hcd);
hcd               205 drivers/usb/chipidea/host.c 		usb_put_hcd(hcd);
hcd               210 drivers/usb/chipidea/host.c 	ci->hcd = NULL;
hcd               221 drivers/usb/chipidea/host.c 	if (ci->role == CI_ROLE_HOST && ci->hcd)
hcd               227 drivers/usb/chipidea/host.c 	struct usb_hcd	*hcd,
hcd               235 drivers/usb/chipidea/host.c 	struct ehci_hcd	*ehci = hcd_to_ehci(hcd);
hcd               240 drivers/usb/chipidea/host.c 	struct device *dev = hcd->self.controller;
hcd               294 drivers/usb/chipidea/host.c 	return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength);
hcd               299 drivers/usb/chipidea/host.c static int ci_ehci_bus_suspend(struct usb_hcd *hcd)
hcd               301 drivers/usb/chipidea/host.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               302 drivers/usb/chipidea/host.c 	struct device *dev = hcd->self.controller;
hcd               307 drivers/usb/chipidea/host.c 	int ret = orig_bus_suspend(hcd);
hcd                64 drivers/usb/core/buffer.c int hcd_buffer_create(struct usb_hcd *hcd)
hcd                69 drivers/usb/core/buffer.c 	if (hcd->localmem_pool || !hcd_uses_dma(hcd))
hcd                77 drivers/usb/core/buffer.c 		hcd->pool[i] = dma_pool_create(name, hcd->self.sysdev,
hcd                79 drivers/usb/core/buffer.c 		if (!hcd->pool[i]) {
hcd                80 drivers/usb/core/buffer.c 			hcd_buffer_destroy(hcd);
hcd                95 drivers/usb/core/buffer.c void hcd_buffer_destroy(struct usb_hcd *hcd)
hcd               103 drivers/usb/core/buffer.c 		dma_pool_destroy(hcd->pool[i]);
hcd               104 drivers/usb/core/buffer.c 		hcd->pool[i] = NULL;
hcd               120 drivers/usb/core/buffer.c 	struct usb_hcd		*hcd = bus_to_hcd(bus);
hcd               126 drivers/usb/core/buffer.c 	if (hcd->localmem_pool)
hcd               127 drivers/usb/core/buffer.c 		return gen_pool_dma_alloc(hcd->localmem_pool, size, dma);
hcd               130 drivers/usb/core/buffer.c 	if (!hcd_uses_dma(hcd)) {
hcd               137 drivers/usb/core/buffer.c 			return dma_pool_alloc(hcd->pool[i], mem_flags, dma);
hcd               139 drivers/usb/core/buffer.c 	return dma_alloc_coherent(hcd->self.sysdev, size, dma, mem_flags);
hcd               149 drivers/usb/core/buffer.c 	struct usb_hcd		*hcd = bus_to_hcd(bus);
hcd               155 drivers/usb/core/buffer.c 	if (hcd->localmem_pool) {
hcd               156 drivers/usb/core/buffer.c 		gen_pool_free(hcd->localmem_pool, (unsigned long)addr, size);
hcd               160 drivers/usb/core/buffer.c 	if (!hcd_uses_dma(hcd)) {
hcd               167 drivers/usb/core/buffer.c 			dma_pool_free(hcd->pool[i], addr, dma);
hcd               171 drivers/usb/core/buffer.c 	dma_free_coherent(hcd->self.sysdev, size, addr, dma);
hcd               220 drivers/usb/core/devio.c 	struct usb_hcd *hcd = bus_to_hcd(ps->dev->bus);
hcd               254 drivers/usb/core/devio.c 	if (hcd->localmem_pool || !hcd_uses_dma(hcd)) {
hcd               262 drivers/usb/core/devio.c 		if (dma_mmap_coherent(hcd->self.sysdev, vma, mem, dma_handle,
hcd              1890 drivers/usb/core/driver.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              1893 drivers/usb/core/driver.c 	if (hcd->driver->set_usb2_hw_lpm) {
hcd              1894 drivers/usb/core/driver.c 		ret = hcd->driver->set_usb2_hw_lpm(hcd, udev, enable);
hcd                42 drivers/usb/core/hcd-pci.c typedef void (*companion_fn)(struct pci_dev *pdev, struct usb_hcd *hcd,
hcd                46 drivers/usb/core/hcd-pci.c static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd,
hcd                75 drivers/usb/core/hcd-pci.c 		fn(pdev, hcd, companion, companion_hcd);
hcd                85 drivers/usb/core/hcd-pci.c static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd,
hcd               102 drivers/usb/core/hcd-pci.c static void ehci_post_add(struct pci_dev *pdev, struct usb_hcd *hcd,
hcd               111 drivers/usb/core/hcd-pci.c 			companion_hcd->self.hs_companion = &hcd->self;
hcd               123 drivers/usb/core/hcd-pci.c static void non_ehci_add(struct pci_dev *pdev, struct usb_hcd *hcd,
hcd               129 drivers/usb/core/hcd-pci.c 		hcd->self.hs_companion = &companion_hcd->self;
hcd               134 drivers/usb/core/hcd-pci.c static void ehci_remove(struct pci_dev *pdev, struct usb_hcd *hcd,
hcd               144 drivers/usb/core/hcd-pci.c static void ehci_wait_for_companions(struct pci_dev *pdev, struct usb_hcd *hcd,
hcd               175 drivers/usb/core/hcd-pci.c 	struct usb_hcd		*hcd;
hcd               206 drivers/usb/core/hcd-pci.c 	hcd = usb_create_hcd(driver, &dev->dev, pci_name(dev));
hcd               207 drivers/usb/core/hcd-pci.c 	if (!hcd) {
hcd               212 drivers/usb/core/hcd-pci.c 	hcd->amd_resume_bug = (usb_hcd_amd_remote_wakeup_quirk(dev) &&
hcd               217 drivers/usb/core/hcd-pci.c 		hcd->rsrc_start = pci_resource_start(dev, 0);
hcd               218 drivers/usb/core/hcd-pci.c 		hcd->rsrc_len = pci_resource_len(dev, 0);
hcd               219 drivers/usb/core/hcd-pci.c 		if (!devm_request_mem_region(&dev->dev, hcd->rsrc_start,
hcd               220 drivers/usb/core/hcd-pci.c 				hcd->rsrc_len, driver->description)) {
hcd               225 drivers/usb/core/hcd-pci.c 		hcd->regs = devm_ioremap_nocache(&dev->dev, hcd->rsrc_start,
hcd               226 drivers/usb/core/hcd-pci.c 				hcd->rsrc_len);
hcd               227 drivers/usb/core/hcd-pci.c 		if (hcd->regs == NULL) {
hcd               242 drivers/usb/core/hcd-pci.c 			hcd->rsrc_start = pci_resource_start(dev, region);
hcd               243 drivers/usb/core/hcd-pci.c 			hcd->rsrc_len = pci_resource_len(dev, region);
hcd               244 drivers/usb/core/hcd-pci.c 			if (devm_request_region(&dev->dev, hcd->rsrc_start,
hcd               245 drivers/usb/core/hcd-pci.c 					hcd->rsrc_len, driver->description))
hcd               260 drivers/usb/core/hcd-pci.c 		dev_set_drvdata(&dev->dev, hcd);
hcd               261 drivers/usb/core/hcd-pci.c 		for_each_companion(dev, hcd, ehci_pre_add);
hcd               262 drivers/usb/core/hcd-pci.c 		retval = usb_add_hcd(hcd, hcd_irq, IRQF_SHARED);
hcd               265 drivers/usb/core/hcd-pci.c 		for_each_companion(dev, hcd, ehci_post_add);
hcd               269 drivers/usb/core/hcd-pci.c 		dev_set_drvdata(&dev->dev, hcd);
hcd               270 drivers/usb/core/hcd-pci.c 		retval = usb_add_hcd(hcd, hcd_irq, IRQF_SHARED);
hcd               274 drivers/usb/core/hcd-pci.c 			for_each_companion(dev, hcd, non_ehci_add);
hcd               280 drivers/usb/core/hcd-pci.c 	device_wakeup_enable(hcd->self.controller);
hcd               287 drivers/usb/core/hcd-pci.c 	usb_put_hcd(hcd);
hcd               312 drivers/usb/core/hcd-pci.c 	struct usb_hcd		*hcd;
hcd               314 drivers/usb/core/hcd-pci.c 	hcd = pci_get_drvdata(dev);
hcd               315 drivers/usb/core/hcd-pci.c 	if (!hcd)
hcd               326 drivers/usb/core/hcd-pci.c 	usb_hcd_irq(0, hcd);
hcd               332 drivers/usb/core/hcd-pci.c 		for_each_companion(dev, hcd, ehci_remove);
hcd               333 drivers/usb/core/hcd-pci.c 		usb_remove_hcd(hcd);
hcd               339 drivers/usb/core/hcd-pci.c 		hcd->self.hs_companion = NULL;
hcd               340 drivers/usb/core/hcd-pci.c 		usb_remove_hcd(hcd);
hcd               344 drivers/usb/core/hcd-pci.c 	usb_put_hcd(hcd);
hcd               355 drivers/usb/core/hcd-pci.c 	struct usb_hcd		*hcd;
hcd               357 drivers/usb/core/hcd-pci.c 	hcd = pci_get_drvdata(dev);
hcd               358 drivers/usb/core/hcd-pci.c 	if (!hcd)
hcd               361 drivers/usb/core/hcd-pci.c 	if (test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags) &&
hcd               362 drivers/usb/core/hcd-pci.c 			hcd->driver->shutdown) {
hcd               363 drivers/usb/core/hcd-pci.c 		hcd->driver->shutdown(hcd);
hcd               364 drivers/usb/core/hcd-pci.c 		if (usb_hcd_is_primary_hcd(hcd) && hcd->irq > 0)
hcd               365 drivers/usb/core/hcd-pci.c 			free_irq(hcd->irq, hcd);
hcd               396 drivers/usb/core/hcd-pci.c 	struct usb_hcd		*hcd = dev_get_drvdata(dev);
hcd               398 drivers/usb/core/hcd-pci.c 	if (HCD_RH_RUNNING(hcd)) {
hcd               402 drivers/usb/core/hcd-pci.c 	if (hcd->shared_hcd) {
hcd               403 drivers/usb/core/hcd-pci.c 		hcd = hcd->shared_hcd;
hcd               404 drivers/usb/core/hcd-pci.c 		if (HCD_RH_RUNNING(hcd)) {
hcd               415 drivers/usb/core/hcd-pci.c 	struct usb_hcd		*hcd = pci_get_drvdata(pci_dev);
hcd               427 drivers/usb/core/hcd-pci.c 	if (hcd->driver->pci_suspend && !HCD_DEAD(hcd)) {
hcd               431 drivers/usb/core/hcd-pci.c 		if (do_wakeup && HCD_WAKEUP_PENDING(hcd))
hcd               433 drivers/usb/core/hcd-pci.c 		if (do_wakeup && hcd->shared_hcd &&
hcd               434 drivers/usb/core/hcd-pci.c 				HCD_WAKEUP_PENDING(hcd->shared_hcd))
hcd               436 drivers/usb/core/hcd-pci.c 		retval = hcd->driver->pci_suspend(hcd, do_wakeup);
hcd               437 drivers/usb/core/hcd-pci.c 		suspend_report_result(hcd->driver->pci_suspend, retval);
hcd               440 drivers/usb/core/hcd-pci.c 		if ((retval == 0 && do_wakeup && HCD_WAKEUP_PENDING(hcd)) ||
hcd               441 drivers/usb/core/hcd-pci.c 				(retval == 0 && do_wakeup && hcd->shared_hcd &&
hcd               442 drivers/usb/core/hcd-pci.c 				 HCD_WAKEUP_PENDING(hcd->shared_hcd))) {
hcd               443 drivers/usb/core/hcd-pci.c 			if (hcd->driver->pci_resume)
hcd               444 drivers/usb/core/hcd-pci.c 				hcd->driver->pci_resume(hcd, false);
hcd               455 drivers/usb/core/hcd-pci.c 	if (!hcd->msix_enabled)
hcd               470 drivers/usb/core/hcd-pci.c 	struct usb_hcd		*hcd = pci_get_drvdata(pci_dev);
hcd               473 drivers/usb/core/hcd-pci.c 	if (HCD_RH_RUNNING(hcd) ||
hcd               474 drivers/usb/core/hcd-pci.c 			(hcd->shared_hcd &&
hcd               475 drivers/usb/core/hcd-pci.c 			 HCD_RH_RUNNING(hcd->shared_hcd))) {
hcd               488 drivers/usb/core/hcd-pci.c 	if (hcd->driver->pci_resume && !HCD_DEAD(hcd)) {
hcd               496 drivers/usb/core/hcd-pci.c 			for_each_companion(pci_dev, hcd,
hcd               499 drivers/usb/core/hcd-pci.c 		retval = hcd->driver->pci_resume(hcd,
hcd               503 drivers/usb/core/hcd-pci.c 			usb_hc_died(hcd);
hcd               519 drivers/usb/core/hcd-pci.c 	struct usb_hcd		*hcd = pci_get_drvdata(pci_dev);
hcd               532 drivers/usb/core/hcd-pci.c 	if (HCD_DEAD(hcd))
hcd               438 drivers/usb/core/hcd.c rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len)
hcd               455 drivers/usb/core/hcd.c 		s = hcd->self.bus_name;
hcd               459 drivers/usb/core/hcd.c 		s = hcd->product_desc;
hcd               464 drivers/usb/core/hcd.c 			init_utsname()->release, hcd->driver->description);
hcd               477 drivers/usb/core/hcd.c static int rh_call_control (struct usb_hcd *hcd, struct urb *urb)
hcd               493 drivers/usb/core/hcd.c 	status = usb_hcd_link_urb_to_ep(hcd, urb);
hcd               497 drivers/usb/core/hcd.c 	urb->hcpriv = hcd;	/* Indicate it's queued */
hcd               544 drivers/usb/core/hcd.c 		tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev)
hcd               552 drivers/usb/core/hcd.c 			device_set_wakeup_enable(&hcd->self.root_hub->dev, 0);
hcd               557 drivers/usb/core/hcd.c 		if (device_can_wakeup(&hcd->self.root_hub->dev)
hcd               559 drivers/usb/core/hcd.c 			device_set_wakeup_enable(&hcd->self.root_hub->dev, 1);
hcd               572 drivers/usb/core/hcd.c 			switch (hcd->speed) {
hcd               593 drivers/usb/core/hcd.c 			if (hcd->has_tt)
hcd               597 drivers/usb/core/hcd.c 			switch (hcd->speed) {
hcd               616 drivers/usb/core/hcd.c 			if (device_can_wakeup(&hcd->self.root_hub->dev))
hcd               622 drivers/usb/core/hcd.c 						hcd, ubuf, wLength);
hcd               640 drivers/usb/core/hcd.c 		dev_dbg (hcd->self.controller, "root hub device address %d\n",
hcd               656 drivers/usb/core/hcd.c 		dev_dbg (hcd->self.controller, "no endpoint features yet\n");
hcd               682 drivers/usb/core/hcd.c 		status = hcd->driver->hub_control (hcd,
hcd               687 drivers/usb/core/hcd.c 			usb_hub_adjust_deviceremovable(hcd->self.root_hub,
hcd               698 drivers/usb/core/hcd.c 			dev_dbg (hcd->self.controller,
hcd               736 drivers/usb/core/hcd.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               737 drivers/usb/core/hcd.c 	usb_hcd_giveback_urb(hcd, urb, status);
hcd               752 drivers/usb/core/hcd.c void usb_hcd_poll_rh_status(struct usb_hcd *hcd)
hcd               759 drivers/usb/core/hcd.c 	if (unlikely(!hcd->rh_pollable))
hcd               761 drivers/usb/core/hcd.c 	if (!hcd->uses_new_polling && !hcd->status_urb)
hcd               764 drivers/usb/core/hcd.c 	length = hcd->driver->hub_status_data(hcd, buffer);
hcd               769 drivers/usb/core/hcd.c 		urb = hcd->status_urb;
hcd               771 drivers/usb/core/hcd.c 			clear_bit(HCD_FLAG_POLL_PENDING, &hcd->flags);
hcd               772 drivers/usb/core/hcd.c 			hcd->status_urb = NULL;
hcd               776 drivers/usb/core/hcd.c 			usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               777 drivers/usb/core/hcd.c 			usb_hcd_giveback_urb(hcd, urb, 0);
hcd               780 drivers/usb/core/hcd.c 			set_bit(HCD_FLAG_POLL_PENDING, &hcd->flags);
hcd               789 drivers/usb/core/hcd.c 	if (hcd->uses_new_polling ? HCD_POLL_RH(hcd) :
hcd               790 drivers/usb/core/hcd.c 			(length == 0 && hcd->status_urb != NULL))
hcd               791 drivers/usb/core/hcd.c 		mod_timer (&hcd->rh_timer, (jiffies/(HZ/4) + 1) * (HZ/4));
hcd               805 drivers/usb/core/hcd.c static int rh_queue_status (struct usb_hcd *hcd, struct urb *urb)
hcd               812 drivers/usb/core/hcd.c 	if (hcd->status_urb || urb->transfer_buffer_length < len) {
hcd               813 drivers/usb/core/hcd.c 		dev_dbg (hcd->self.controller, "not queuing rh status urb\n");
hcd               818 drivers/usb/core/hcd.c 	retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd               822 drivers/usb/core/hcd.c 	hcd->status_urb = urb;
hcd               823 drivers/usb/core/hcd.c 	urb->hcpriv = hcd;	/* indicate it's queued */
hcd               824 drivers/usb/core/hcd.c 	if (!hcd->uses_new_polling)
hcd               825 drivers/usb/core/hcd.c 		mod_timer(&hcd->rh_timer, (jiffies/(HZ/4) + 1) * (HZ/4));
hcd               828 drivers/usb/core/hcd.c 	else if (HCD_POLL_PENDING(hcd))
hcd               829 drivers/usb/core/hcd.c 		mod_timer(&hcd->rh_timer, jiffies);
hcd               836 drivers/usb/core/hcd.c static int rh_urb_enqueue (struct usb_hcd *hcd, struct urb *urb)
hcd               839 drivers/usb/core/hcd.c 		return rh_queue_status (hcd, urb);
hcd               841 drivers/usb/core/hcd.c 		return rh_call_control (hcd, urb);
hcd               850 drivers/usb/core/hcd.c static int usb_rh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd               856 drivers/usb/core/hcd.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd               864 drivers/usb/core/hcd.c 		if (!hcd->uses_new_polling)
hcd               865 drivers/usb/core/hcd.c 			del_timer (&hcd->rh_timer);
hcd               866 drivers/usb/core/hcd.c 		if (urb == hcd->status_urb) {
hcd               867 drivers/usb/core/hcd.c 			hcd->status_urb = NULL;
hcd               868 drivers/usb/core/hcd.c 			usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               869 drivers/usb/core/hcd.c 			usb_hcd_giveback_urb(hcd, urb, status);
hcd               973 drivers/usb/core/hcd.c static int register_root_hub(struct usb_hcd *hcd)
hcd               975 drivers/usb/core/hcd.c 	struct device *parent_dev = hcd->self.controller;
hcd               976 drivers/usb/core/hcd.c 	struct usb_device *usb_dev = hcd->self.root_hub;
hcd              1014 drivers/usb/core/hcd.c 		hcd->rh_registered = 1;
hcd              1018 drivers/usb/core/hcd.c 		if (HCD_DEAD(hcd))
hcd              1019 drivers/usb/core/hcd.c 			usb_hc_died (hcd);	/* This time clean up */
hcd              1144 drivers/usb/core/hcd.c int usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb)
hcd              1170 drivers/usb/core/hcd.c 	if (HCD_RH_RUNNING(hcd)) {
hcd              1202 drivers/usb/core/hcd.c int usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb,
hcd              1235 drivers/usb/core/hcd.c void usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb)
hcd              1322 drivers/usb/core/hcd.c void usb_hcd_unmap_urb_setup_for_dma(struct usb_hcd *hcd, struct urb *urb)
hcd              1326 drivers/usb/core/hcd.c 		dma_unmap_single(hcd->self.sysdev,
hcd              1342 drivers/usb/core/hcd.c static void unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb)
hcd              1344 drivers/usb/core/hcd.c 	if (hcd->driver->unmap_urb_for_dma)
hcd              1345 drivers/usb/core/hcd.c 		hcd->driver->unmap_urb_for_dma(hcd, urb);
hcd              1347 drivers/usb/core/hcd.c 		usb_hcd_unmap_urb_for_dma(hcd, urb);
hcd              1350 drivers/usb/core/hcd.c void usb_hcd_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb)
hcd              1354 drivers/usb/core/hcd.c 	usb_hcd_unmap_urb_setup_for_dma(hcd, urb);
hcd              1359 drivers/usb/core/hcd.c 		dma_unmap_sg(hcd->self.sysdev,
hcd              1365 drivers/usb/core/hcd.c 		dma_unmap_page(hcd->self.sysdev,
hcd              1371 drivers/usb/core/hcd.c 		dma_unmap_single(hcd->self.sysdev,
hcd              1388 drivers/usb/core/hcd.c static int map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
hcd              1391 drivers/usb/core/hcd.c 	if (hcd->driver->map_urb_for_dma)
hcd              1392 drivers/usb/core/hcd.c 		return hcd->driver->map_urb_for_dma(hcd, urb, mem_flags);
hcd              1394 drivers/usb/core/hcd.c 		return usb_hcd_map_urb_for_dma(hcd, urb, mem_flags);
hcd              1397 drivers/usb/core/hcd.c int usb_hcd_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
hcd              1410 drivers/usb/core/hcd.c 		if (hcd->self.uses_pio_for_control)
hcd              1412 drivers/usb/core/hcd.c 		if (hcd->localmem_pool) {
hcd              1422 drivers/usb/core/hcd.c 		} else if (hcd_uses_dma(hcd)) {
hcd              1432 drivers/usb/core/hcd.c 					hcd->self.sysdev,
hcd              1436 drivers/usb/core/hcd.c 			if (dma_mapping_error(hcd->self.sysdev,
hcd              1446 drivers/usb/core/hcd.c 		if (hcd->localmem_pool) {
hcd              1455 drivers/usb/core/hcd.c 		} else if (hcd_uses_dma(hcd)) {
hcd              1466 drivers/usb/core/hcd.c 						hcd->self.sysdev,
hcd              1481 drivers/usb/core/hcd.c 						hcd->self.sysdev,
hcd              1486 drivers/usb/core/hcd.c 				if (dma_mapping_error(hcd->self.sysdev,
hcd              1499 drivers/usb/core/hcd.c 						hcd->self.sysdev,
hcd              1503 drivers/usb/core/hcd.c 				if (dma_mapping_error(hcd->self.sysdev,
hcd              1512 drivers/usb/core/hcd.c 			usb_hcd_unmap_urb_for_dma(hcd, urb);
hcd              1528 drivers/usb/core/hcd.c 	struct usb_hcd		*hcd = bus_to_hcd(urb->dev->bus);
hcd              1537 drivers/usb/core/hcd.c 	usbmon_urb_submit(&hcd->self, urb);
hcd              1548 drivers/usb/core/hcd.c 		status = rh_urb_enqueue(hcd, urb);
hcd              1550 drivers/usb/core/hcd.c 		status = map_urb_for_dma(hcd, urb, mem_flags);
hcd              1552 drivers/usb/core/hcd.c 			status = hcd->driver->urb_enqueue(hcd, urb, mem_flags);
hcd              1554 drivers/usb/core/hcd.c 				unmap_urb_for_dma(hcd, urb);
hcd              1559 drivers/usb/core/hcd.c 		usbmon_urb_submit_error(&hcd->self, urb, status);
hcd              1578 drivers/usb/core/hcd.c static int unlink1(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              1583 drivers/usb/core/hcd.c 		value = usb_rh_urb_dequeue(hcd, urb, status);
hcd              1589 drivers/usb/core/hcd.c 		value = hcd->driver->urb_dequeue(hcd, urb, status);
hcd              1602 drivers/usb/core/hcd.c 	struct usb_hcd		*hcd;
hcd              1619 drivers/usb/core/hcd.c 		hcd = bus_to_hcd(urb->dev->bus);
hcd              1620 drivers/usb/core/hcd.c 		retval = unlink1(hcd, urb, status);
hcd              1635 drivers/usb/core/hcd.c 	struct usb_hcd *hcd = bus_to_hcd(urb->dev->bus);
hcd              1645 drivers/usb/core/hcd.c 	unmap_urb_for_dma(hcd, urb);
hcd              1646 drivers/usb/core/hcd.c 	usbmon_urb_complete(&hcd->self, urb, status);
hcd              1709 drivers/usb/core/hcd.c void usb_hcd_giveback_urb(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              1718 drivers/usb/core/hcd.c 	if (!hcd_giveback_urb_in_bh(hcd) && !is_root_hub(urb->dev)) {
hcd              1724 drivers/usb/core/hcd.c 		bh = &hcd->high_prio_bh;
hcd              1727 drivers/usb/core/hcd.c 		bh = &hcd->low_prio_bh;
hcd              1754 drivers/usb/core/hcd.c 	struct usb_hcd		*hcd;
hcd              1760 drivers/usb/core/hcd.c 	hcd = bus_to_hcd(udev->bus);
hcd              1775 drivers/usb/core/hcd.c 		unlink1(hcd, urb, -ESHUTDOWN);
hcd              1776 drivers/usb/core/hcd.c 		dev_dbg (hcd->self.controller,
hcd              1838 drivers/usb/core/hcd.c 	struct usb_hcd *hcd;
hcd              1841 drivers/usb/core/hcd.c 	hcd = bus_to_hcd(udev->bus);
hcd              1842 drivers/usb/core/hcd.c 	if (!hcd->driver->check_bandwidth)
hcd              1850 drivers/usb/core/hcd.c 				hcd->driver->drop_endpoint(hcd, udev, ep);
hcd              1853 drivers/usb/core/hcd.c 				hcd->driver->drop_endpoint(hcd, udev, ep);
hcd              1855 drivers/usb/core/hcd.c 		hcd->driver->check_bandwidth(hcd, udev);
hcd              1871 drivers/usb/core/hcd.c 				ret = hcd->driver->drop_endpoint(hcd, udev, ep);
hcd              1877 drivers/usb/core/hcd.c 				ret = hcd->driver->drop_endpoint(hcd, udev, ep);
hcd              1895 drivers/usb/core/hcd.c 				ret = hcd->driver->add_endpoint(hcd, udev, &alt->endpoint[j]);
hcd              1924 drivers/usb/core/hcd.c 			ret = hcd->driver->drop_endpoint(hcd, udev,
hcd              1931 drivers/usb/core/hcd.c 			ret = hcd->driver->add_endpoint(hcd, udev,
hcd              1937 drivers/usb/core/hcd.c 	ret = hcd->driver->check_bandwidth(hcd, udev);
hcd              1940 drivers/usb/core/hcd.c 		hcd->driver->reset_bandwidth(hcd, udev);
hcd              1955 drivers/usb/core/hcd.c 	struct usb_hcd		*hcd;
hcd              1958 drivers/usb/core/hcd.c 	hcd = bus_to_hcd(udev->bus);
hcd              1959 drivers/usb/core/hcd.c 	if (hcd->driver->endpoint_disable)
hcd              1960 drivers/usb/core/hcd.c 		hcd->driver->endpoint_disable(hcd, ep);
hcd              1974 drivers/usb/core/hcd.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              1976 drivers/usb/core/hcd.c 	if (hcd->driver->endpoint_reset)
hcd              1977 drivers/usb/core/hcd.c 		hcd->driver->endpoint_reset(hcd, ep);
hcd              2008 drivers/usb/core/hcd.c 	struct usb_hcd *hcd;
hcd              2013 drivers/usb/core/hcd.c 	hcd = bus_to_hcd(dev->bus);
hcd              2014 drivers/usb/core/hcd.c 	if (!hcd->driver->alloc_streams || !hcd->driver->free_streams)
hcd              2030 drivers/usb/core/hcd.c 	ret = hcd->driver->alloc_streams(hcd, dev, eps, num_eps,
hcd              2058 drivers/usb/core/hcd.c 	struct usb_hcd *hcd;
hcd              2063 drivers/usb/core/hcd.c 	hcd = bus_to_hcd(dev->bus);
hcd              2072 drivers/usb/core/hcd.c 	ret = hcd->driver->free_streams(hcd, dev, eps, num_eps, mem_flags);
hcd              2099 drivers/usb/core/hcd.c 	struct usb_hcd	*hcd = bus_to_hcd(udev->bus);
hcd              2101 drivers/usb/core/hcd.c 	if (!HCD_RH_RUNNING(hcd))
hcd              2103 drivers/usb/core/hcd.c 	return hcd->driver->get_frame_number (hcd);
hcd              2112 drivers/usb/core/hcd.c 	struct usb_hcd	*hcd = bus_to_hcd(rhdev->bus);
hcd              2114 drivers/usb/core/hcd.c 	int		old_state = hcd->state;
hcd              2119 drivers/usb/core/hcd.c 	if (HCD_DEAD(hcd)) {
hcd              2124 drivers/usb/core/hcd.c 	if (!hcd->driver->bus_suspend) {
hcd              2127 drivers/usb/core/hcd.c 		clear_bit(HCD_FLAG_RH_RUNNING, &hcd->flags);
hcd              2128 drivers/usb/core/hcd.c 		hcd->state = HC_STATE_QUIESCING;
hcd              2129 drivers/usb/core/hcd.c 		status = hcd->driver->bus_suspend(hcd);
hcd              2133 drivers/usb/core/hcd.c 		hcd->state = HC_STATE_SUSPENDED;
hcd              2136 drivers/usb/core/hcd.c 			usb_phy_roothub_suspend(hcd->self.sysdev,
hcd              2137 drivers/usb/core/hcd.c 						hcd->phy_roothub);
hcd              2143 drivers/usb/core/hcd.c 			status = hcd->driver->hub_status_data(hcd, buffer);
hcd              2152 drivers/usb/core/hcd.c 		if (!HCD_DEAD(hcd)) {
hcd              2153 drivers/usb/core/hcd.c 			set_bit(HCD_FLAG_RH_RUNNING, &hcd->flags);
hcd              2154 drivers/usb/core/hcd.c 			hcd->state = old_state;
hcd              2165 drivers/usb/core/hcd.c 	struct usb_hcd	*hcd = bus_to_hcd(rhdev->bus);
hcd              2167 drivers/usb/core/hcd.c 	int		old_state = hcd->state;
hcd              2171 drivers/usb/core/hcd.c 	if (HCD_DEAD(hcd)) {
hcd              2177 drivers/usb/core/hcd.c 		status = usb_phy_roothub_resume(hcd->self.sysdev,
hcd              2178 drivers/usb/core/hcd.c 						hcd->phy_roothub);
hcd              2183 drivers/usb/core/hcd.c 	if (!hcd->driver->bus_resume)
hcd              2185 drivers/usb/core/hcd.c 	if (HCD_RH_RUNNING(hcd))
hcd              2188 drivers/usb/core/hcd.c 	hcd->state = HC_STATE_RESUMING;
hcd              2189 drivers/usb/core/hcd.c 	status = hcd->driver->bus_resume(hcd);
hcd              2190 drivers/usb/core/hcd.c 	clear_bit(HCD_FLAG_WAKEUP_PENDING, &hcd->flags);
hcd              2192 drivers/usb/core/hcd.c 		status = usb_phy_roothub_calibrate(hcd->phy_roothub);
hcd              2199 drivers/usb/core/hcd.c 		if (!HCD_DEAD(hcd)) {
hcd              2203 drivers/usb/core/hcd.c 			set_bit(HCD_FLAG_RH_RUNNING, &hcd->flags);
hcd              2204 drivers/usb/core/hcd.c 			hcd->state = HC_STATE_RUNNING;
hcd              2222 drivers/usb/core/hcd.c 		hcd->state = old_state;
hcd              2223 drivers/usb/core/hcd.c 		usb_phy_roothub_suspend(hcd->self.sysdev, hcd->phy_roothub);
hcd              2227 drivers/usb/core/hcd.c 			usb_hc_died(hcd);
hcd              2235 drivers/usb/core/hcd.c 	struct usb_hcd *hcd = container_of(work, struct usb_hcd, wakeup_work);
hcd              2236 drivers/usb/core/hcd.c 	struct usb_device *udev = hcd->self.root_hub;
hcd              2250 drivers/usb/core/hcd.c void usb_hcd_resume_root_hub (struct usb_hcd *hcd)
hcd              2255 drivers/usb/core/hcd.c 	if (hcd->rh_registered) {
hcd              2256 drivers/usb/core/hcd.c 		pm_wakeup_event(&hcd->self.root_hub->dev, 0);
hcd              2257 drivers/usb/core/hcd.c 		set_bit(HCD_FLAG_WAKEUP_PENDING, &hcd->flags);
hcd              2258 drivers/usb/core/hcd.c 		queue_work(pm_wq, &hcd->wakeup_work);
hcd              2285 drivers/usb/core/hcd.c 	struct usb_hcd		*hcd;
hcd              2292 drivers/usb/core/hcd.c 	hcd = bus_to_hcd(bus);
hcd              2293 drivers/usb/core/hcd.c 	if (port_num && hcd->driver->start_port_reset)
hcd              2294 drivers/usb/core/hcd.c 		status = hcd->driver->start_port_reset(hcd, port_num);
hcd              2300 drivers/usb/core/hcd.c 		mod_timer(&hcd->rh_timer, jiffies + msecs_to_jiffies(10));
hcd              2321 drivers/usb/core/hcd.c 	struct usb_hcd		*hcd = __hcd;
hcd              2324 drivers/usb/core/hcd.c 	if (unlikely(HCD_DEAD(hcd) || !HCD_HW_ACCESSIBLE(hcd)))
hcd              2326 drivers/usb/core/hcd.c 	else if (hcd->driver->irq(hcd) == IRQ_NONE)
hcd              2340 drivers/usb/core/hcd.c 	struct usb_hcd *hcd = container_of(work, struct usb_hcd, died_work);
hcd              2347 drivers/usb/core/hcd.c 	kobject_uevent_env(&hcd->self.root_hub->dev.kobj, KOBJ_OFFLINE, env);
hcd              2360 drivers/usb/core/hcd.c void usb_hc_died (struct usb_hcd *hcd)
hcd              2364 drivers/usb/core/hcd.c 	dev_err (hcd->self.controller, "HC died; cleaning up\n");
hcd              2367 drivers/usb/core/hcd.c 	clear_bit(HCD_FLAG_RH_RUNNING, &hcd->flags);
hcd              2368 drivers/usb/core/hcd.c 	set_bit(HCD_FLAG_DEAD, &hcd->flags);
hcd              2369 drivers/usb/core/hcd.c 	if (hcd->rh_registered) {
hcd              2370 drivers/usb/core/hcd.c 		clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              2373 drivers/usb/core/hcd.c 		usb_set_device_state (hcd->self.root_hub,
hcd              2375 drivers/usb/core/hcd.c 		usb_kick_hub_wq(hcd->self.root_hub);
hcd              2377 drivers/usb/core/hcd.c 	if (usb_hcd_is_primary_hcd(hcd) && hcd->shared_hcd) {
hcd              2378 drivers/usb/core/hcd.c 		hcd = hcd->shared_hcd;
hcd              2379 drivers/usb/core/hcd.c 		clear_bit(HCD_FLAG_RH_RUNNING, &hcd->flags);
hcd              2380 drivers/usb/core/hcd.c 		set_bit(HCD_FLAG_DEAD, &hcd->flags);
hcd              2381 drivers/usb/core/hcd.c 		if (hcd->rh_registered) {
hcd              2382 drivers/usb/core/hcd.c 			clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              2385 drivers/usb/core/hcd.c 			usb_set_device_state(hcd->self.root_hub,
hcd              2387 drivers/usb/core/hcd.c 			usb_kick_hub_wq(hcd->self.root_hub);
hcd              2392 drivers/usb/core/hcd.c 	if (usb_hcd_is_primary_hcd(hcd))
hcd              2393 drivers/usb/core/hcd.c 		schedule_work(&hcd->died_work);
hcd              2395 drivers/usb/core/hcd.c 		schedule_work(&hcd->primary_hcd->died_work);
hcd              2416 drivers/usb/core/hcd.c 	struct usb_hcd *hcd;
hcd              2418 drivers/usb/core/hcd.c 	hcd = kzalloc(sizeof(*hcd) + driver->hcd_priv_size, GFP_KERNEL);
hcd              2419 drivers/usb/core/hcd.c 	if (!hcd)
hcd              2422 drivers/usb/core/hcd.c 		hcd->address0_mutex = kmalloc(sizeof(*hcd->address0_mutex),
hcd              2424 drivers/usb/core/hcd.c 		if (!hcd->address0_mutex) {
hcd              2425 drivers/usb/core/hcd.c 			kfree(hcd);
hcd              2429 drivers/usb/core/hcd.c 		mutex_init(hcd->address0_mutex);
hcd              2430 drivers/usb/core/hcd.c 		hcd->bandwidth_mutex = kmalloc(sizeof(*hcd->bandwidth_mutex),
hcd              2432 drivers/usb/core/hcd.c 		if (!hcd->bandwidth_mutex) {
hcd              2433 drivers/usb/core/hcd.c 			kfree(hcd->address0_mutex);
hcd              2434 drivers/usb/core/hcd.c 			kfree(hcd);
hcd              2438 drivers/usb/core/hcd.c 		mutex_init(hcd->bandwidth_mutex);
hcd              2439 drivers/usb/core/hcd.c 		dev_set_drvdata(dev, hcd);
hcd              2442 drivers/usb/core/hcd.c 		hcd->address0_mutex = primary_hcd->address0_mutex;
hcd              2443 drivers/usb/core/hcd.c 		hcd->bandwidth_mutex = primary_hcd->bandwidth_mutex;
hcd              2444 drivers/usb/core/hcd.c 		hcd->primary_hcd = primary_hcd;
hcd              2446 drivers/usb/core/hcd.c 		hcd->shared_hcd = primary_hcd;
hcd              2447 drivers/usb/core/hcd.c 		primary_hcd->shared_hcd = hcd;
hcd              2451 drivers/usb/core/hcd.c 	kref_init(&hcd->kref);
hcd              2453 drivers/usb/core/hcd.c 	usb_bus_init(&hcd->self);
hcd              2454 drivers/usb/core/hcd.c 	hcd->self.controller = dev;
hcd              2455 drivers/usb/core/hcd.c 	hcd->self.sysdev = sysdev;
hcd              2456 drivers/usb/core/hcd.c 	hcd->self.bus_name = bus_name;
hcd              2458 drivers/usb/core/hcd.c 	timer_setup(&hcd->rh_timer, rh_timer_func, 0);
hcd              2460 drivers/usb/core/hcd.c 	INIT_WORK(&hcd->wakeup_work, hcd_resume_work);
hcd              2463 drivers/usb/core/hcd.c 	INIT_WORK(&hcd->died_work, hcd_died_work);
hcd              2465 drivers/usb/core/hcd.c 	hcd->driver = driver;
hcd              2466 drivers/usb/core/hcd.c 	hcd->speed = driver->flags & HCD_MASK;
hcd              2467 drivers/usb/core/hcd.c 	hcd->product_desc = (driver->product_desc) ? driver->product_desc :
hcd              2469 drivers/usb/core/hcd.c 	return hcd;
hcd              2529 drivers/usb/core/hcd.c 	struct usb_hcd *hcd = container_of (kref, struct usb_hcd, kref);
hcd              2532 drivers/usb/core/hcd.c 	if (hcd->shared_hcd) {
hcd              2533 drivers/usb/core/hcd.c 		struct usb_hcd *peer = hcd->shared_hcd;
hcd              2538 drivers/usb/core/hcd.c 		kfree(hcd->address0_mutex);
hcd              2539 drivers/usb/core/hcd.c 		kfree(hcd->bandwidth_mutex);
hcd              2542 drivers/usb/core/hcd.c 	kfree(hcd);
hcd              2545 drivers/usb/core/hcd.c struct usb_hcd *usb_get_hcd (struct usb_hcd *hcd)
hcd              2547 drivers/usb/core/hcd.c 	if (hcd)
hcd              2548 drivers/usb/core/hcd.c 		kref_get (&hcd->kref);
hcd              2549 drivers/usb/core/hcd.c 	return hcd;
hcd              2553 drivers/usb/core/hcd.c void usb_put_hcd (struct usb_hcd *hcd)
hcd              2555 drivers/usb/core/hcd.c 	if (hcd)
hcd              2556 drivers/usb/core/hcd.c 		kref_put (&hcd->kref, hcd_release);
hcd              2560 drivers/usb/core/hcd.c int usb_hcd_is_primary_hcd(struct usb_hcd *hcd)
hcd              2562 drivers/usb/core/hcd.c 	if (!hcd->primary_hcd)
hcd              2564 drivers/usb/core/hcd.c 	return hcd == hcd->primary_hcd;
hcd              2568 drivers/usb/core/hcd.c int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1)
hcd              2570 drivers/usb/core/hcd.c 	if (!hcd->driver->find_raw_port_number)
hcd              2573 drivers/usb/core/hcd.c 	return hcd->driver->find_raw_port_number(hcd, port1);
hcd              2576 drivers/usb/core/hcd.c static int usb_hcd_request_irqs(struct usb_hcd *hcd,
hcd              2581 drivers/usb/core/hcd.c 	if (hcd->driver->irq) {
hcd              2583 drivers/usb/core/hcd.c 		snprintf(hcd->irq_descr, sizeof(hcd->irq_descr), "%s:usb%d",
hcd              2584 drivers/usb/core/hcd.c 				hcd->driver->description, hcd->self.busnum);
hcd              2586 drivers/usb/core/hcd.c 				hcd->irq_descr, hcd);
hcd              2588 drivers/usb/core/hcd.c 			dev_err(hcd->self.controller,
hcd              2593 drivers/usb/core/hcd.c 		hcd->irq = irqnum;
hcd              2594 drivers/usb/core/hcd.c 		dev_info(hcd->self.controller, "irq %d, %s 0x%08llx\n", irqnum,
hcd              2595 drivers/usb/core/hcd.c 				(hcd->driver->flags & HCD_MEMORY) ?
hcd              2597 drivers/usb/core/hcd.c 					(unsigned long long)hcd->rsrc_start);
hcd              2599 drivers/usb/core/hcd.c 		hcd->irq = 0;
hcd              2600 drivers/usb/core/hcd.c 		if (hcd->rsrc_start)
hcd              2601 drivers/usb/core/hcd.c 			dev_info(hcd->self.controller, "%s 0x%08llx\n",
hcd              2602 drivers/usb/core/hcd.c 					(hcd->driver->flags & HCD_MEMORY) ?
hcd              2604 drivers/usb/core/hcd.c 					(unsigned long long)hcd->rsrc_start);
hcd              2613 drivers/usb/core/hcd.c static void usb_put_invalidate_rhdev(struct usb_hcd *hcd)
hcd              2618 drivers/usb/core/hcd.c 	rhdev = hcd->self.root_hub;
hcd              2619 drivers/usb/core/hcd.c 	hcd->self.root_hub = NULL;
hcd              2634 drivers/usb/core/hcd.c int usb_add_hcd(struct usb_hcd *hcd,
hcd              2640 drivers/usb/core/hcd.c 	if (!hcd->skip_phy_initialization && usb_hcd_is_primary_hcd(hcd)) {
hcd              2641 drivers/usb/core/hcd.c 		hcd->phy_roothub = usb_phy_roothub_alloc(hcd->self.sysdev);
hcd              2642 drivers/usb/core/hcd.c 		if (IS_ERR(hcd->phy_roothub))
hcd              2643 drivers/usb/core/hcd.c 			return PTR_ERR(hcd->phy_roothub);
hcd              2645 drivers/usb/core/hcd.c 		retval = usb_phy_roothub_init(hcd->phy_roothub);
hcd              2649 drivers/usb/core/hcd.c 		retval = usb_phy_roothub_set_mode(hcd->phy_roothub,
hcd              2652 drivers/usb/core/hcd.c 			retval = usb_phy_roothub_set_mode(hcd->phy_roothub,
hcd              2657 drivers/usb/core/hcd.c 		retval = usb_phy_roothub_power_on(hcd->phy_roothub);
hcd              2662 drivers/usb/core/hcd.c 	dev_info(hcd->self.controller, "%s\n", hcd->product_desc);
hcd              2666 drivers/usb/core/hcd.c 		hcd->dev_policy = USB_DEVICE_AUTHORIZE_NONE;
hcd              2670 drivers/usb/core/hcd.c 		hcd->dev_policy = USB_DEVICE_AUTHORIZE_ALL;
hcd              2674 drivers/usb/core/hcd.c 		hcd->dev_policy = USB_DEVICE_AUTHORIZE_INTERNAL;
hcd              2679 drivers/usb/core/hcd.c 		hcd->dev_policy = hcd->wireless ?
hcd              2684 drivers/usb/core/hcd.c 	set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              2687 drivers/usb/core/hcd.c 	set_bit(HCD_FLAG_INTF_AUTHORIZED, &hcd->flags);
hcd              2693 drivers/usb/core/hcd.c 	retval = hcd_buffer_create(hcd);
hcd              2695 drivers/usb/core/hcd.c 		dev_dbg(hcd->self.sysdev, "pool alloc failed\n");
hcd              2699 drivers/usb/core/hcd.c 	retval = usb_register_bus(&hcd->self);
hcd              2703 drivers/usb/core/hcd.c 	rhdev = usb_alloc_dev(NULL, &hcd->self, 0);
hcd              2705 drivers/usb/core/hcd.c 		dev_err(hcd->self.sysdev, "unable to allocate root hub\n");
hcd              2710 drivers/usb/core/hcd.c 	hcd->self.root_hub = rhdev;
hcd              2716 drivers/usb/core/hcd.c 	switch (hcd->speed) {
hcd              2751 drivers/usb/core/hcd.c 	set_bit(HCD_FLAG_RH_RUNNING, &hcd->flags);
hcd              2756 drivers/usb/core/hcd.c 	if (hcd->driver->reset) {
hcd              2757 drivers/usb/core/hcd.c 		retval = hcd->driver->reset(hcd);
hcd              2759 drivers/usb/core/hcd.c 			dev_err(hcd->self.controller, "can't setup: %d\n",
hcd              2764 drivers/usb/core/hcd.c 	hcd->rh_pollable = 1;
hcd              2766 drivers/usb/core/hcd.c 	retval = usb_phy_roothub_calibrate(hcd->phy_roothub);
hcd              2771 drivers/usb/core/hcd.c 	if (device_can_wakeup(hcd->self.controller)
hcd              2772 drivers/usb/core/hcd.c 			&& device_can_wakeup(&hcd->self.root_hub->dev))
hcd              2773 drivers/usb/core/hcd.c 		dev_dbg(hcd->self.controller, "supports USB remote wakeup\n");
hcd              2776 drivers/usb/core/hcd.c 	init_giveback_urb_bh(&hcd->high_prio_bh);
hcd              2777 drivers/usb/core/hcd.c 	init_giveback_urb_bh(&hcd->low_prio_bh);
hcd              2782 drivers/usb/core/hcd.c 	if (usb_hcd_is_primary_hcd(hcd) && irqnum) {
hcd              2783 drivers/usb/core/hcd.c 		retval = usb_hcd_request_irqs(hcd, irqnum, irqflags);
hcd              2788 drivers/usb/core/hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              2789 drivers/usb/core/hcd.c 	retval = hcd->driver->start(hcd);
hcd              2791 drivers/usb/core/hcd.c 		dev_err(hcd->self.controller, "startup error %d\n", retval);
hcd              2796 drivers/usb/core/hcd.c 	retval = register_root_hub(hcd);
hcd              2800 drivers/usb/core/hcd.c 	if (hcd->uses_new_polling && HCD_POLL_RH(hcd))
hcd              2801 drivers/usb/core/hcd.c 		usb_hcd_poll_rh_status(hcd);
hcd              2806 drivers/usb/core/hcd.c 	hcd->rh_pollable = 0;
hcd              2807 drivers/usb/core/hcd.c 	clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              2808 drivers/usb/core/hcd.c 	del_timer_sync(&hcd->rh_timer);
hcd              2809 drivers/usb/core/hcd.c 	hcd->driver->stop(hcd);
hcd              2810 drivers/usb/core/hcd.c 	hcd->state = HC_STATE_HALT;
hcd              2811 drivers/usb/core/hcd.c 	clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              2812 drivers/usb/core/hcd.c 	del_timer_sync(&hcd->rh_timer);
hcd              2814 drivers/usb/core/hcd.c 	if (usb_hcd_is_primary_hcd(hcd) && hcd->irq > 0)
hcd              2815 drivers/usb/core/hcd.c 		free_irq(irqnum, hcd);
hcd              2819 drivers/usb/core/hcd.c 	usb_put_invalidate_rhdev(hcd);
hcd              2821 drivers/usb/core/hcd.c 	usb_deregister_bus(&hcd->self);
hcd              2823 drivers/usb/core/hcd.c 	hcd_buffer_destroy(hcd);
hcd              2825 drivers/usb/core/hcd.c 	usb_phy_roothub_power_off(hcd->phy_roothub);
hcd              2827 drivers/usb/core/hcd.c 	usb_phy_roothub_exit(hcd->phy_roothub);
hcd              2841 drivers/usb/core/hcd.c void usb_remove_hcd(struct usb_hcd *hcd)
hcd              2843 drivers/usb/core/hcd.c 	struct usb_device *rhdev = hcd->self.root_hub;
hcd              2845 drivers/usb/core/hcd.c 	dev_info(hcd->self.controller, "remove, state %x\n", hcd->state);
hcd              2848 drivers/usb/core/hcd.c 	clear_bit(HCD_FLAG_RH_RUNNING, &hcd->flags);
hcd              2849 drivers/usb/core/hcd.c 	if (HC_IS_RUNNING (hcd->state))
hcd              2850 drivers/usb/core/hcd.c 		hcd->state = HC_STATE_QUIESCING;
hcd              2852 drivers/usb/core/hcd.c 	dev_dbg(hcd->self.controller, "roothub graceful disconnect\n");
hcd              2854 drivers/usb/core/hcd.c 	hcd->rh_registered = 0;
hcd              2858 drivers/usb/core/hcd.c 	cancel_work_sync(&hcd->wakeup_work);
hcd              2860 drivers/usb/core/hcd.c 	cancel_work_sync(&hcd->died_work);
hcd              2881 drivers/usb/core/hcd.c 	hcd->rh_pollable = 0;
hcd              2882 drivers/usb/core/hcd.c 	clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              2883 drivers/usb/core/hcd.c 	del_timer_sync(&hcd->rh_timer);
hcd              2885 drivers/usb/core/hcd.c 	hcd->driver->stop(hcd);
hcd              2886 drivers/usb/core/hcd.c 	hcd->state = HC_STATE_HALT;
hcd              2889 drivers/usb/core/hcd.c 	clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              2890 drivers/usb/core/hcd.c 	del_timer_sync(&hcd->rh_timer);
hcd              2892 drivers/usb/core/hcd.c 	if (usb_hcd_is_primary_hcd(hcd)) {
hcd              2893 drivers/usb/core/hcd.c 		if (hcd->irq > 0)
hcd              2894 drivers/usb/core/hcd.c 			free_irq(hcd->irq, hcd);
hcd              2897 drivers/usb/core/hcd.c 	usb_deregister_bus(&hcd->self);
hcd              2898 drivers/usb/core/hcd.c 	hcd_buffer_destroy(hcd);
hcd              2900 drivers/usb/core/hcd.c 	usb_phy_roothub_power_off(hcd->phy_roothub);
hcd              2901 drivers/usb/core/hcd.c 	usb_phy_roothub_exit(hcd->phy_roothub);
hcd              2903 drivers/usb/core/hcd.c 	usb_put_invalidate_rhdev(hcd);
hcd              2904 drivers/usb/core/hcd.c 	hcd->flags = 0;
hcd              2911 drivers/usb/core/hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd              2916 drivers/usb/core/hcd.c 	if (hcd->driver->shutdown)
hcd              2917 drivers/usb/core/hcd.c 		hcd->driver->shutdown(hcd);
hcd              2921 drivers/usb/core/hcd.c int usb_hcd_setup_local_mem(struct usb_hcd *hcd, phys_addr_t phys_addr,
hcd              2927 drivers/usb/core/hcd.c 	hcd->localmem_pool = devm_gen_pool_create(hcd->self.sysdev, 4,
hcd              2928 drivers/usb/core/hcd.c 						  dev_to_node(hcd->self.sysdev),
hcd              2929 drivers/usb/core/hcd.c 						  dev_name(hcd->self.sysdev));
hcd              2930 drivers/usb/core/hcd.c 	if (IS_ERR(hcd->localmem_pool))
hcd              2931 drivers/usb/core/hcd.c 		return PTR_ERR(hcd->localmem_pool);
hcd              2933 drivers/usb/core/hcd.c 	local_mem = devm_memremap(hcd->self.sysdev, phys_addr,
hcd              2943 drivers/usb/core/hcd.c 	err = gen_pool_add_virt(hcd->localmem_pool, (unsigned long)local_mem,
hcd              2944 drivers/usb/core/hcd.c 				dma, size, dev_to_node(hcd->self.sysdev));
hcd              2946 drivers/usb/core/hcd.c 		dev_err(hcd->self.sysdev, "gen_pool_add_virt failed with %d\n",
hcd               801 drivers/usb/core/hub.c 		drv = clear->hcd->driver;
hcd               803 drivers/usb/core/hub.c 			(drv->clear_tt_buffer_complete)(clear->hcd, clear->ep);
hcd               887 drivers/usb/core/hub.c 	clear->hcd = bus_to_hcd(udev->bus);
hcd              1019 drivers/usb/core/hub.c 	struct usb_hcd *hcd;
hcd              1090 drivers/usb/core/hub.c 			hcd = bus_to_hcd(hdev->bus);
hcd              1091 drivers/usb/core/hub.c 			if (hcd->driver->update_hub_device) {
hcd              1092 drivers/usb/core/hub.c 				ret = hcd->driver->update_hub_device(hcd, hdev,
hcd              1365 drivers/usb/core/hub.c 	struct usb_hcd *hcd;
hcd              1569 drivers/usb/core/hub.c 	hcd = bus_to_hcd(hdev->bus);
hcd              1571 drivers/usb/core/hub.c 		if (hcd->power_budget > 0)
hcd              1572 drivers/usb/core/hub.c 			hdev->bus_mA = hcd->power_budget;
hcd              1668 drivers/usb/core/hub.c 	if (hcd->driver->update_hub_device) {
hcd              1669 drivers/usb/core/hub.c 		ret = hcd->driver->update_hub_device(hcd, hdev,
hcd              2151 drivers/usb/core/hub.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              2154 drivers/usb/core/hub.c 	if (hcd->driver->free_dev && udev->parent)
hcd              2155 drivers/usb/core/hub.c 		hcd->driver->free_dev(hcd, udev);
hcd              2383 drivers/usb/core/hub.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              2405 drivers/usb/core/hub.c 	if (IS_ENABLED(CONFIG_USB_OTG_WHITELIST) && hcd->tpl_support &&
hcd              2699 drivers/usb/core/hub.c 	struct usb_hcd *hcd;
hcd              2702 drivers/usb/core/hub.c 	hcd = bus_to_hcd(hub->hdev->bus);
hcd              2703 drivers/usb/core/hub.c 	return hcd->wireless;
hcd              2970 drivers/usb/core/hub.c 			struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              2976 drivers/usb/core/hub.c 			if (hcd->driver->reset_device)
hcd              2977 drivers/usb/core/hub.c 				hcd->driver->reset_device(hcd, udev);
hcd              3110 drivers/usb/core/hub.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              3113 drivers/usb/core/hub.c 	if (!usb_device_supports_ltm(hcd->self.root_hub) ||
hcd              3132 drivers/usb/core/hub.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              3135 drivers/usb/core/hub.c 	if (!usb_device_supports_ltm(hcd->self.root_hub) ||
hcd              3755 drivers/usb/core/hub.c 	struct usb_hcd		*hcd;
hcd              3762 drivers/usb/core/hub.c 	hcd = bus_to_hcd(hdev->bus);
hcd              3763 drivers/usb/core/hub.c 	if (hcd->driver->get_resuming_ports) {
hcd              3773 drivers/usb/core/hub.c 		resuming_ports = hcd->driver->get_resuming_ports(hcd);
hcd              4038 drivers/usb/core/hub.c static void usb_enable_link_state(struct usb_hcd *hcd, struct usb_device *udev,
hcd              4069 drivers/usb/core/hub.c 	timeout = hcd->driver->enable_usb3_lpm_timeout(hcd, udev, state);
hcd              4087 drivers/usb/core/hub.c 		hcd->driver->disable_usb3_lpm_timeout(hcd, udev, state);
hcd              4105 drivers/usb/core/hub.c 		hcd->driver->disable_usb3_lpm_timeout(hcd, udev, state);
hcd              4124 drivers/usb/core/hub.c static int usb_disable_link_state(struct usb_hcd *hcd, struct usb_device *udev,
hcd              4142 drivers/usb/core/hub.c 	if (hcd->driver->disable_usb3_lpm_timeout(hcd, udev, state))
hcd              4170 drivers/usb/core/hub.c 	struct usb_hcd *hcd;
hcd              4178 drivers/usb/core/hub.c 	hcd = bus_to_hcd(udev->bus);
hcd              4179 drivers/usb/core/hub.c 	if (!hcd || !hcd->driver->disable_usb3_lpm_timeout)
hcd              4187 drivers/usb/core/hub.c 	if (usb_disable_link_state(hcd, udev, USB3_LPM_U1))
hcd              4189 drivers/usb/core/hub.c 	if (usb_disable_link_state(hcd, udev, USB3_LPM_U2))
hcd              4203 drivers/usb/core/hub.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              4206 drivers/usb/core/hub.c 	if (!hcd)
hcd              4209 drivers/usb/core/hub.c 	mutex_lock(hcd->bandwidth_mutex);
hcd              4211 drivers/usb/core/hub.c 	mutex_unlock(hcd->bandwidth_mutex);
hcd              4227 drivers/usb/core/hub.c 	struct usb_hcd *hcd;
hcd              4238 drivers/usb/core/hub.c 	hcd = bus_to_hcd(udev->bus);
hcd              4242 drivers/usb/core/hub.c 	if (!hcd || !hcd->driver->enable_usb3_lpm_timeout ||
hcd              4243 drivers/usb/core/hub.c 			!hcd->driver->disable_usb3_lpm_timeout)
hcd              4256 drivers/usb/core/hub.c 		usb_enable_link_state(hcd, udev, USB3_LPM_U1);
hcd              4259 drivers/usb/core/hub.c 		usb_enable_link_state(hcd, udev, USB3_LPM_U2);
hcd              4266 drivers/usb/core/hub.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              4268 drivers/usb/core/hub.c 	if (!hcd)
hcd              4271 drivers/usb/core/hub.c 	mutex_lock(hcd->bandwidth_mutex);
hcd              4273 drivers/usb/core/hub.c 	mutex_unlock(hcd->bandwidth_mutex);
hcd              4456 drivers/usb/core/hub.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              4462 drivers/usb/core/hub.c 	if (!hcd->driver->address_device && devnum <= 1)
hcd              4468 drivers/usb/core/hub.c 	if (hcd->driver->address_device)
hcd              4469 drivers/usb/core/hub.c 		retval = hcd->driver->address_device(hcd, udev);
hcd              4512 drivers/usb/core/hub.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd              4514 drivers/usb/core/hub.c 	if (!hcd->driver->enable_device)
hcd              4521 drivers/usb/core/hub.c 	return hcd->driver->enable_device(hcd, udev);
hcd              4539 drivers/usb/core/hub.c 	struct usb_hcd		*hcd = bus_to_hcd(hdev->bus);
hcd              4562 drivers/usb/core/hub.c 	mutex_lock(hcd->address0_mutex);
hcd              4870 drivers/usb/core/hub.c 	if (hcd->driver->update_device)
hcd              4871 drivers/usb/core/hub.c 		hcd->driver->update_device(hcd, udev);
hcd              4878 drivers/usb/core/hub.c 	mutex_unlock(hcd->address0_mutex);
hcd              4964 drivers/usb/core/hub.c 	struct usb_hcd *hcd = bus_to_hcd(hdev->bus);
hcd              4971 drivers/usb/core/hub.c 		if (hcd->usb_phy && !hdev->parent)
hcd              4972 drivers/usb/core/hub.c 			usb_phy_notify_disconnect(hcd->usb_phy, udev->speed);
hcd              5130 drivers/usb/core/hub.c 				if (hcd->usb_phy && !hdev->parent)
hcd              5131 drivers/usb/core/hub.c 					usb_phy_notify_connect(hcd->usb_phy,
hcd              5165 drivers/usb/core/hub.c 			!hcd->driver->port_handed_over ||
hcd              5166 drivers/usb/core/hub.c 			!(hcd->driver->port_handed_over)(hcd, port1)) {
hcd              5174 drivers/usb/core/hub.c 	if (hcd->driver->relinquish_port && !hub->hdev->parent) {
hcd              5176 drivers/usb/core/hub.c 			hcd->driver->relinquish_port(hcd, port1);
hcd              5706 drivers/usb/core/hub.c 	struct usb_hcd			*hcd = bus_to_hcd(udev->bus);
hcd              5766 drivers/usb/core/hub.c 	mutex_lock(hcd->bandwidth_mutex);
hcd              5772 drivers/usb/core/hub.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              5783 drivers/usb/core/hub.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              5786 drivers/usb/core/hub.c 	mutex_unlock(hcd->bandwidth_mutex);
hcd              1220 drivers/usb/core/message.c 	struct usb_hcd *hcd = bus_to_hcd(dev->bus);
hcd              1266 drivers/usb/core/message.c 	if (hcd->driver->check_bandwidth) {
hcd              1273 drivers/usb/core/message.c 		mutex_lock(hcd->bandwidth_mutex);
hcd              1275 drivers/usb/core/message.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              1369 drivers/usb/core/message.c 	struct usb_hcd *hcd = bus_to_hcd(dev->bus);
hcd              1402 drivers/usb/core/message.c 	mutex_lock(hcd->bandwidth_mutex);
hcd              1408 drivers/usb/core/message.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              1420 drivers/usb/core/message.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              1443 drivers/usb/core/message.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              1446 drivers/usb/core/message.c 	mutex_unlock(hcd->bandwidth_mutex);
hcd              1529 drivers/usb/core/message.c 	struct usb_hcd *hcd = bus_to_hcd(dev->bus);
hcd              1546 drivers/usb/core/message.c 	mutex_lock(hcd->bandwidth_mutex);
hcd              1552 drivers/usb/core/message.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              1584 drivers/usb/core/message.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              1593 drivers/usb/core/message.c 	mutex_unlock(hcd->bandwidth_mutex);
hcd              1817 drivers/usb/core/message.c 	struct usb_hcd *hcd = bus_to_hcd(dev->bus);
hcd              1893 drivers/usb/core/message.c 	mutex_lock(hcd->bandwidth_mutex);
hcd              1900 drivers/usb/core/message.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              1908 drivers/usb/core/message.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd              1927 drivers/usb/core/message.c 		intf->authorized = !!HCD_INTF_AUTHORIZED(hcd);
hcd              1989 drivers/usb/core/message.c 	mutex_unlock(hcd->bandwidth_mutex);
hcd               111 drivers/usb/core/port.c 	struct usb_hcd *hcd;
hcd               135 drivers/usb/core/port.c 		hcd = bus_to_hcd(udev->bus);
hcd               136 drivers/usb/core/port.c 		if (!hcd)
hcd               139 drivers/usb/core/port.c 		mutex_lock(hcd->bandwidth_mutex);
hcd               142 drivers/usb/core/port.c 		mutex_unlock(hcd->bandwidth_mutex);
hcd               448 drivers/usb/core/port.c 	struct usb_hcd *hcd, *peer_hcd;
hcd               456 drivers/usb/core/port.c 	hcd = bus_to_hcd(hdev->bus);
hcd               459 drivers/usb/core/port.c 	if (peer_hcd != hcd->shared_hcd)
hcd               496 drivers/usb/core/port.c 		struct usb_hcd *hcd = bus_to_hcd(hdev->bus);
hcd               497 drivers/usb/core/port.c 		struct usb_hcd *peer_hcd = hcd->shared_hcd;
hcd               556 drivers/usb/core/quirks.c 	struct usb_hcd *hcd;
hcd               558 drivers/usb/core/quirks.c 	hcd = bus_to_hcd(udev->bus);
hcd               560 drivers/usb/core/quirks.c 	if (udev->level == 1 && hcd->amd_resume_bug == 1)
hcd               934 drivers/usb/core/sysfs.c 	struct usb_hcd *hcd;
hcd               936 drivers/usb/core/sysfs.c 	hcd = bus_to_hcd(usb_bus);
hcd               937 drivers/usb/core/sysfs.c 	return snprintf(buf, PAGE_SIZE, "%u\n", hcd->dev_policy);
hcd               948 drivers/usb/core/sysfs.c 	struct usb_hcd *hcd;
hcd               950 drivers/usb/core/sysfs.c 	hcd = bus_to_hcd(usb_bus);
hcd               953 drivers/usb/core/sysfs.c 		hcd->dev_policy = val <= USB_DEVICE_AUTHORIZE_INTERNAL ?
hcd               974 drivers/usb/core/sysfs.c 	struct usb_hcd *hcd = bus_to_hcd(usb_dev->bus);
hcd               976 drivers/usb/core/sysfs.c 	return sprintf(buf, "%u\n", !!HCD_INTF_AUTHORIZED(hcd));
hcd               990 drivers/usb/core/sysfs.c 	struct usb_hcd *hcd = bus_to_hcd(usb_dev->bus);
hcd               998 drivers/usb/core/sysfs.c 		set_bit(HCD_FLAG_INTF_AUTHORIZED, &hcd->flags);
hcd              1000 drivers/usb/core/sysfs.c 		clear_bit(HCD_FLAG_INTF_AUTHORIZED, &hcd->flags);
hcd               413 drivers/usb/core/usb.c 	struct usb_hcd *hcd;
hcd               416 drivers/usb/core/usb.c 	hcd = bus_to_hcd(udev->bus);
hcd               421 drivers/usb/core/usb.c 	usb_put_hcd(hcd);
hcd               534 drivers/usb/core/usb.c 	struct usb_hcd *hcd = bus_to_hcd(bus);
hcd               535 drivers/usb/core/usb.c 	return hcd->wireless;
hcd               538 drivers/usb/core/usb.c static bool usb_dev_authorized(struct usb_device *dev, struct usb_hcd *hcd)
hcd               545 drivers/usb/core/usb.c 	switch (hcd->dev_policy) {
hcd              1313 drivers/usb/dwc2/core.h void dwc2_enable_global_interrupts(struct dwc2_hsotg *hcd);
hcd              1314 drivers/usb/dwc2/core.h void dwc2_disable_global_interrupts(struct dwc2_hsotg *hcd);
hcd               495 drivers/usb/dwc2/hcd.c static int _dwc2_hcd_start(struct usb_hcd *hcd);
hcd               499 drivers/usb/dwc2/hcd.c 	struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg);
hcd               501 drivers/usb/dwc2/hcd.c 	hcd->self.is_b_host = dwc2_hcd_is_b_host(hsotg);
hcd               502 drivers/usb/dwc2/hcd.c 	_dwc2_hcd_start(hcd);
hcd               507 drivers/usb/dwc2/hcd.c 	struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg);
hcd               509 drivers/usb/dwc2/hcd.c 	hcd->self.is_b_host = 0;
hcd              2543 drivers/usb/dwc2/hcd.c static int dwc2_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
hcd              2556 drivers/usb/dwc2/hcd.c 	ret = usb_hcd_map_urb_for_dma(hcd, urb, mem_flags);
hcd              2563 drivers/usb/dwc2/hcd.c static void dwc2_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb)
hcd              2565 drivers/usb/dwc2/hcd.c 	usb_hcd_unmap_urb_for_dma(hcd, urb);
hcd              3274 drivers/usb/dwc2/hcd.c 	struct usb_hcd *hcd = dwc2_hsotg_to_hcd(hsotg);
hcd              3276 drivers/usb/dwc2/hcd.c 	return hcd->self.b_hnp_enable;
hcd              3964 drivers/usb/dwc2/hcd.c static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd)
hcd              3968 drivers/usb/dwc2/hcd.c 	p = (struct wrapper_priv_data *)&hcd->hcd_priv;
hcd              4062 drivers/usb/dwc2/hcd.c static void dwc2_allocate_bus_bandwidth(struct usb_hcd *hcd, u16 bw,
hcd              4065 drivers/usb/dwc2/hcd.c 	struct usb_bus *bus = hcd_to_bus(hcd);
hcd              4075 drivers/usb/dwc2/hcd.c static void dwc2_free_bus_bandwidth(struct usb_hcd *hcd, u16 bw,
hcd              4078 drivers/usb/dwc2/hcd.c 	struct usb_bus *bus = hcd_to_bus(hcd);
hcd              4224 drivers/usb/dwc2/hcd.c static int _dwc2_hcd_start(struct usb_hcd *hcd)
hcd              4226 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4227 drivers/usb/dwc2/hcd.c 	struct usb_bus *bus = hcd_to_bus(hcd);
hcd              4236 drivers/usb/dwc2/hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              4237 drivers/usb/dwc2/hcd.c 	set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              4261 drivers/usb/dwc2/hcd.c 		usb_hcd_resume_root_hub(hcd);
hcd              4273 drivers/usb/dwc2/hcd.c static void _dwc2_hcd_stop(struct usb_hcd *hcd)
hcd              4275 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4283 drivers/usb/dwc2/hcd.c 	synchronize_irq(hcd->irq);
hcd              4291 drivers/usb/dwc2/hcd.c 	hcd->state = HC_STATE_HALT;
hcd              4292 drivers/usb/dwc2/hcd.c 	clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              4302 drivers/usb/dwc2/hcd.c static int _dwc2_hcd_suspend(struct usb_hcd *hcd)
hcd              4304 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4318 drivers/usb/dwc2/hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd              4361 drivers/usb/dwc2/hcd.c 		clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              4379 drivers/usb/dwc2/hcd.c static int _dwc2_hcd_resume(struct usb_hcd *hcd)
hcd              4381 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4415 drivers/usb/dwc2/hcd.c 		set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              4463 drivers/usb/dwc2/hcd.c static int _dwc2_hcd_get_frame_number(struct usb_hcd *hcd)
hcd              4465 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4470 drivers/usb/dwc2/hcd.c static void dwc2_dump_urb_info(struct usb_hcd *hcd, struct urb *urb,
hcd              4474 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4550 drivers/usb/dwc2/hcd.c static int _dwc2_hcd_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
hcd              4553 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4569 drivers/usb/dwc2/hcd.c 		dwc2_dump_urb_info(hcd, urb, "urb_enqueue");
hcd              4611 drivers/usb/dwc2/hcd.c 	if (hcd_uses_dma(hcd)) {
hcd              4661 drivers/usb/dwc2/hcd.c 	retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              4670 drivers/usb/dwc2/hcd.c 		dwc2_allocate_bus_bandwidth(hcd,
hcd              4681 drivers/usb/dwc2/hcd.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              4709 drivers/usb/dwc2/hcd.c static int _dwc2_hcd_urb_dequeue(struct usb_hcd *hcd, struct urb *urb,
hcd              4712 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4717 drivers/usb/dwc2/hcd.c 	dwc2_dump_urb_info(hcd, urb, "urb_dequeue");
hcd              4721 drivers/usb/dwc2/hcd.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              4732 drivers/usb/dwc2/hcd.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              4739 drivers/usb/dwc2/hcd.c 	usb_hcd_giveback_urb(hcd, urb, status);
hcd              4755 drivers/usb/dwc2/hcd.c static void _dwc2_hcd_endpoint_disable(struct usb_hcd *hcd,
hcd              4758 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4771 drivers/usb/dwc2/hcd.c static void _dwc2_hcd_endpoint_reset(struct usb_hcd *hcd,
hcd              4774 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4793 drivers/usb/dwc2/hcd.c static irqreturn_t _dwc2_hcd_irq(struct usb_hcd *hcd)
hcd              4795 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4806 drivers/usb/dwc2/hcd.c static int _dwc2_hcd_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              4808 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4815 drivers/usb/dwc2/hcd.c static int _dwc2_hcd_hub_control(struct usb_hcd *hcd, u16 typereq, u16 wvalue,
hcd              4818 drivers/usb/dwc2/hcd.c 	int retval = dwc2_hcd_hub_control(dwc2_hcd_to_hsotg(hcd), typereq,
hcd              4824 drivers/usb/dwc2/hcd.c static void _dwc2_hcd_clear_tt_buffer_complete(struct usb_hcd *hcd,
hcd              4827 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4848 drivers/usb/dwc2/hcd.c static void dwc2_change_bus_speed(struct usb_hcd *hcd, int speed)
hcd              4850 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4859 drivers/usb/dwc2/hcd.c static void dwc2_free_dev(struct usb_hcd *hcd, struct usb_device *udev)
hcd              4861 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4872 drivers/usb/dwc2/hcd.c 		dwc2_change_bus_speed(hcd, HPRT0_SPD_HIGH_SPEED);
hcd              4876 drivers/usb/dwc2/hcd.c static int dwc2_reset_device(struct usb_hcd *hcd, struct usb_device *udev)
hcd              4878 drivers/usb/dwc2/hcd.c 	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
hcd              4885 drivers/usb/dwc2/hcd.c 		dwc2_change_bus_speed(hcd, HPRT0_SPD_HIGH_SPEED);
hcd              4893 drivers/usb/dwc2/hcd.c 		dwc2_change_bus_speed(hcd, HPRT0_SPD_FULL_SPEED);
hcd              5013 drivers/usb/dwc2/hcd.c 	struct usb_hcd *hcd;
hcd              5068 drivers/usb/dwc2/hcd.c 	hcd = usb_create_hcd(&dwc2_hc_driver, hsotg->dev, dev_name(hsotg->dev));
hcd              5069 drivers/usb/dwc2/hcd.c 	if (!hcd)
hcd              5072 drivers/usb/dwc2/hcd.c 	hcd->has_tt = 1;
hcd              5075 drivers/usb/dwc2/hcd.c 	hcd->rsrc_start = res->start;
hcd              5076 drivers/usb/dwc2/hcd.c 	hcd->rsrc_len = resource_size(res);
hcd              5078 drivers/usb/dwc2/hcd.c 	((struct wrapper_priv_data *)&hcd->hcd_priv)->hsotg = hsotg;
hcd              5079 drivers/usb/dwc2/hcd.c 	hsotg->priv = hcd;
hcd              5217 drivers/usb/dwc2/hcd.c 	hcd->self.otg_port = hsotg->otg_port;
hcd              5220 drivers/usb/dwc2/hcd.c 	hcd->self.sg_tablesize = 0;
hcd              5223 drivers/usb/dwc2/hcd.c 		otg_set_host(hsotg->uphy->otg, &hcd->self);
hcd              5230 drivers/usb/dwc2/hcd.c 	retval = usb_add_hcd(hcd, hsotg->irq, IRQF_SHARED);
hcd              5234 drivers/usb/dwc2/hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              5249 drivers/usb/dwc2/hcd.c 	usb_put_hcd(hcd);
hcd              5267 drivers/usb/dwc2/hcd.c 	struct usb_hcd *hcd;
hcd              5271 drivers/usb/dwc2/hcd.c 	hcd = dwc2_hsotg_to_hcd(hsotg);
hcd              5272 drivers/usb/dwc2/hcd.c 	dev_dbg(hsotg->dev, "hsotg->hcd = %p\n", hcd);
hcd              5274 drivers/usb/dwc2/hcd.c 	if (!hcd) {
hcd              5283 drivers/usb/dwc2/hcd.c 	usb_remove_hcd(hcd);
hcd              5291 drivers/usb/dwc2/hcd.c 	usb_put_hcd(hcd);
hcd               973 drivers/usb/early/ehci-dbgp.c int dbgp_reset_prep(struct usb_hcd *hcd)
hcd               975 drivers/usb/early/ehci-dbgp.c 	int ret = xen_dbgp_reset_prep(hcd);
hcd              1001 drivers/usb/early/ehci-dbgp.c int dbgp_external_startup(struct usb_hcd *hcd)
hcd              1003 drivers/usb/early/ehci-dbgp.c 	return xen_dbgp_external_startup(hcd) ?: _dbgp_external_startup();
hcd               285 drivers/usb/gadget/udc/dummy_hcd.c static inline struct dummy_hcd *hcd_to_dummy_hcd(struct usb_hcd *hcd)
hcd               287 drivers/usb/gadget/udc/dummy_hcd.c 	return (struct dummy_hcd *) (hcd->hcd_priv);
hcd              1241 drivers/usb/gadget/udc/dummy_hcd.c 	struct usb_hcd			*hcd,
hcd              1256 drivers/usb/gadget/udc/dummy_hcd.c 	dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              1265 drivers/usb/gadget/udc/dummy_hcd.c 	rc = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              1293 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              1301 drivers/usb/gadget/udc/dummy_hcd.c 	dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              1304 drivers/usb/gadget/udc/dummy_hcd.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              1992 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_hub_status(struct usb_hcd *hcd, char *buf)
hcd              1998 drivers/usb/gadget/udc/dummy_hcd.c 	dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              2001 drivers/usb/gadget/udc/dummy_hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd              2016 drivers/usb/gadget/udc/dummy_hcd.c 			usb_hcd_resume_root_hub(hcd);
hcd              2072 drivers/usb/gadget/udc/dummy_hcd.c 	struct usb_hcd	*hcd,
hcd              2083 drivers/usb/gadget/udc/dummy_hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd              2086 drivers/usb/gadget/udc/dummy_hcd.c 	dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              2095 drivers/usb/gadget/udc/dummy_hcd.c 			if (hcd->speed == HCD_USB3) {
hcd              2110 drivers/usb/gadget/udc/dummy_hcd.c 			if (hcd->speed == HCD_USB3)
hcd              2122 drivers/usb/gadget/udc/dummy_hcd.c 		if (hcd->speed == HCD_USB3 &&
hcd              2130 drivers/usb/gadget/udc/dummy_hcd.c 		if (hcd->speed == HCD_USB3)
hcd              2137 drivers/usb/gadget/udc/dummy_hcd.c 		if (hcd->speed != HCD_USB3)
hcd              2169 drivers/usb/gadget/udc/dummy_hcd.c 				if (hcd->speed < HCD_USB3) {
hcd              2197 drivers/usb/gadget/udc/dummy_hcd.c 			if (hcd->speed != HCD_USB3) {
hcd              2211 drivers/usb/gadget/udc/dummy_hcd.c 			if (hcd->speed != HCD_USB3) {
hcd              2220 drivers/usb/gadget/udc/dummy_hcd.c 			if (hcd->speed == HCD_USB3) {
hcd              2240 drivers/usb/gadget/udc/dummy_hcd.c 			if (hcd->speed == HCD_USB3)
hcd              2248 drivers/usb/gadget/udc/dummy_hcd.c 			if (hcd->speed != HCD_USB3) {
hcd              2257 drivers/usb/gadget/udc/dummy_hcd.c 			if (hcd->speed == HCD_USB3) {
hcd              2280 drivers/usb/gadget/udc/dummy_hcd.c 			if (hcd->speed == HCD_USB3) {
hcd              2294 drivers/usb/gadget/udc/dummy_hcd.c 		if (hcd->speed != HCD_USB3) {
hcd              2304 drivers/usb/gadget/udc/dummy_hcd.c 		if (hcd->speed != HCD_USB3) {
hcd              2322 drivers/usb/gadget/udc/dummy_hcd.c 		usb_hcd_poll_rh_status(hcd);
hcd              2326 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_bus_suspend(struct usb_hcd *hcd)
hcd              2328 drivers/usb/gadget/udc/dummy_hcd.c 	struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              2330 drivers/usb/gadget/udc/dummy_hcd.c 	dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__);
hcd              2335 drivers/usb/gadget/udc/dummy_hcd.c 	hcd->state = HC_STATE_SUSPENDED;
hcd              2340 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_bus_resume(struct usb_hcd *hcd)
hcd              2342 drivers/usb/gadget/udc/dummy_hcd.c 	struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              2345 drivers/usb/gadget/udc/dummy_hcd.c 	dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__);
hcd              2348 drivers/usb/gadget/udc/dummy_hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd)) {
hcd              2355 drivers/usb/gadget/udc/dummy_hcd.c 		hcd->state = HC_STATE_RUNNING;
hcd              2410 drivers/usb/gadget/udc/dummy_hcd.c 	struct usb_hcd		*hcd = dev_get_drvdata(dev);
hcd              2411 drivers/usb/gadget/udc/dummy_hcd.c 	struct dummy_hcd	*dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              2448 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_start(struct usb_hcd *hcd)
hcd              2450 drivers/usb/gadget/udc/dummy_hcd.c 	struct dummy_hcd	*dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              2457 drivers/usb/gadget/udc/dummy_hcd.c 	if (!usb_hcd_is_primary_hcd(hcd))
hcd              2466 drivers/usb/gadget/udc/dummy_hcd.c 	hcd->power_budget = POWER_BUDGET;
hcd              2467 drivers/usb/gadget/udc/dummy_hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              2468 drivers/usb/gadget/udc/dummy_hcd.c 	hcd->uses_new_polling = 1;
hcd              2471 drivers/usb/gadget/udc/dummy_hcd.c 	hcd->self.otg_port = 1;
hcd              2478 drivers/usb/gadget/udc/dummy_hcd.c static void dummy_stop(struct usb_hcd *hcd)
hcd              2480 drivers/usb/gadget/udc/dummy_hcd.c 	device_remove_file(dummy_dev(hcd_to_dummy_hcd(hcd)), &dev_attr_urbs);
hcd              2481 drivers/usb/gadget/udc/dummy_hcd.c 	dev_info(dummy_dev(hcd_to_dummy_hcd(hcd)), "stopped\n");
hcd              2486 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_h_get_frame(struct usb_hcd *hcd)
hcd              2491 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_setup(struct usb_hcd *hcd)
hcd              2495 drivers/usb/gadget/udc/dummy_hcd.c 	dum = *((void **)dev_get_platdata(hcd->self.controller));
hcd              2496 drivers/usb/gadget/udc/dummy_hcd.c 	hcd->self.sg_tablesize = ~0;
hcd              2497 drivers/usb/gadget/udc/dummy_hcd.c 	if (usb_hcd_is_primary_hcd(hcd)) {
hcd              2498 drivers/usb/gadget/udc/dummy_hcd.c 		dum->hs_hcd = hcd_to_dummy_hcd(hcd);
hcd              2505 drivers/usb/gadget/udc/dummy_hcd.c 		hcd->speed = HCD_USB2;
hcd              2506 drivers/usb/gadget/udc/dummy_hcd.c 		hcd->self.root_hub->speed = USB_SPEED_HIGH;
hcd              2508 drivers/usb/gadget/udc/dummy_hcd.c 		dum->ss_hcd = hcd_to_dummy_hcd(hcd);
hcd              2510 drivers/usb/gadget/udc/dummy_hcd.c 		hcd->speed = HCD_USB3;
hcd              2511 drivers/usb/gadget/udc/dummy_hcd.c 		hcd->self.root_hub->speed = USB_SPEED_SUPER;
hcd              2517 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev,
hcd              2521 drivers/usb/gadget/udc/dummy_hcd.c 	struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              2564 drivers/usb/gadget/udc/dummy_hcd.c static int dummy_free_streams(struct usb_hcd *hcd, struct usb_device *udev,
hcd              2568 drivers/usb/gadget/udc/dummy_hcd.c 	struct dummy_hcd *dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              2689 drivers/usb/gadget/udc/dummy_hcd.c 	struct usb_hcd		*hcd;
hcd              2695 drivers/usb/gadget/udc/dummy_hcd.c 	hcd = platform_get_drvdata(pdev);
hcd              2696 drivers/usb/gadget/udc/dummy_hcd.c 	dum_hcd = hcd_to_dummy_hcd(hcd);
hcd              2701 drivers/usb/gadget/udc/dummy_hcd.c 		clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              2707 drivers/usb/gadget/udc/dummy_hcd.c 	struct usb_hcd		*hcd;
hcd              2711 drivers/usb/gadget/udc/dummy_hcd.c 	hcd = platform_get_drvdata(pdev);
hcd              2712 drivers/usb/gadget/udc/dummy_hcd.c 	set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              2713 drivers/usb/gadget/udc/dummy_hcd.c 	usb_hcd_poll_rh_status(hcd);
hcd                68 drivers/usb/host/ehci-atmel.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd                69 drivers/usb/host/ehci-atmel.c 	struct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd);
hcd                77 drivers/usb/host/ehci-atmel.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd                78 drivers/usb/host/ehci-atmel.c 	struct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd);
hcd                88 drivers/usb/host/ehci-atmel.c 	struct usb_hcd *hcd;
hcd               115 drivers/usb/host/ehci-atmel.c 	hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
hcd               116 drivers/usb/host/ehci-atmel.c 	if (!hcd) {
hcd               120 drivers/usb/host/ehci-atmel.c 	atmel_ehci = hcd_to_atmel_ehci_priv(hcd);
hcd               123 drivers/usb/host/ehci-atmel.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd               124 drivers/usb/host/ehci-atmel.c 	if (IS_ERR(hcd->regs)) {
hcd               125 drivers/usb/host/ehci-atmel.c 		retval = PTR_ERR(hcd->regs);
hcd               129 drivers/usb/host/ehci-atmel.c 	hcd->rsrc_start = res->start;
hcd               130 drivers/usb/host/ehci-atmel.c 	hcd->rsrc_len = resource_size(res);
hcd               146 drivers/usb/host/ehci-atmel.c 	ehci = hcd_to_ehci(hcd);
hcd               148 drivers/usb/host/ehci-atmel.c 	ehci->caps = hcd->regs;
hcd               152 drivers/usb/host/ehci-atmel.c 	retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               155 drivers/usb/host/ehci-atmel.c 	device_wakeup_enable(hcd->self.controller);
hcd               162 drivers/usb/host/ehci-atmel.c 	usb_put_hcd(hcd);
hcd               172 drivers/usb/host/ehci-atmel.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               174 drivers/usb/host/ehci-atmel.c 	usb_remove_hcd(hcd);
hcd               175 drivers/usb/host/ehci-atmel.c 	usb_put_hcd(hcd);
hcd               184 drivers/usb/host/ehci-atmel.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               185 drivers/usb/host/ehci-atmel.c 	struct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd);
hcd               188 drivers/usb/host/ehci-atmel.c 	ret = ehci_suspend(hcd, false);
hcd               198 drivers/usb/host/ehci-atmel.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               199 drivers/usb/host/ehci-atmel.c 	struct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd);
hcd               202 drivers/usb/host/ehci-atmel.c 	ehci_resume(hcd, false);
hcd               472 drivers/usb/host/ehci-dbg.c 	struct usb_hcd		*hcd;
hcd               479 drivers/usb/host/ehci-dbg.c 	hcd = bus_to_hcd(buf->bus);
hcd               480 drivers/usb/host/ehci-dbg.c 	ehci = hcd_to_ehci(hcd);
hcd               623 drivers/usb/host/ehci-dbg.c 	struct usb_hcd		*hcd;
hcd               637 drivers/usb/host/ehci-dbg.c 	hcd = bus_to_hcd(buf->bus);
hcd               638 drivers/usb/host/ehci-dbg.c 	ehci = hcd_to_ehci(hcd);
hcd               757 drivers/usb/host/ehci-dbg.c 	struct usb_hcd		*hcd;
hcd               765 drivers/usb/host/ehci-dbg.c 	hcd = bus_to_hcd(buf->bus);
hcd               766 drivers/usb/host/ehci-dbg.c 	ehci = hcd_to_ehci(hcd);
hcd               772 drivers/usb/host/ehci-dbg.c 	if (!HCD_HW_ACCESSIBLE(hcd)) {
hcd               777 drivers/usb/host/ehci-dbg.c 			hcd->self.controller->bus->name,
hcd               778 drivers/usb/host/ehci-dbg.c 			dev_name(hcd->self.controller),
hcd               779 drivers/usb/host/ehci-dbg.c 			hcd->product_desc);
hcd               789 drivers/usb/host/ehci-dbg.c 		hcd->self.controller->bus->name,
hcd               790 drivers/usb/host/ehci-dbg.c 		dev_name(hcd->self.controller),
hcd               791 drivers/usb/host/ehci-dbg.c 		hcd->product_desc,
hcd               798 drivers/usb/host/ehci-dbg.c 	if (dev_is_pci(hcd->self.controller)) {
hcd                47 drivers/usb/host/ehci-exynos.c #define to_exynos_ehci(hcd) (struct exynos_ehci_hcd *)(hcd_to_ehci(hcd)->priv)
hcd               106 drivers/usb/host/ehci-exynos.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               107 drivers/usb/host/ehci-exynos.c 	struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
hcd               124 drivers/usb/host/ehci-exynos.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               125 drivers/usb/host/ehci-exynos.c 	struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
hcd               154 drivers/usb/host/ehci-exynos.c 	struct usb_hcd *hcd;
hcd               171 drivers/usb/host/ehci-exynos.c 	hcd = usb_create_hcd(&exynos_ehci_hc_driver,
hcd               173 drivers/usb/host/ehci-exynos.c 	if (!hcd) {
hcd               177 drivers/usb/host/ehci-exynos.c 	exynos_ehci = to_exynos_ehci(hcd);
hcd               196 drivers/usb/host/ehci-exynos.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd               197 drivers/usb/host/ehci-exynos.c 	if (IS_ERR(hcd->regs)) {
hcd               198 drivers/usb/host/ehci-exynos.c 		err = PTR_ERR(hcd->regs);
hcd               202 drivers/usb/host/ehci-exynos.c 	hcd->rsrc_start = res->start;
hcd               203 drivers/usb/host/ehci-exynos.c 	hcd->rsrc_len = resource_size(res);
hcd               218 drivers/usb/host/ehci-exynos.c 	ehci = hcd_to_ehci(hcd);
hcd               219 drivers/usb/host/ehci-exynos.c 	ehci->caps = hcd->regs;
hcd               230 drivers/usb/host/ehci-exynos.c 	writel(EHCI_INSNREG00_ENABLE_DMA_BURST, EHCI_INSNREG00(hcd->regs));
hcd               232 drivers/usb/host/ehci-exynos.c 	err = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               237 drivers/usb/host/ehci-exynos.c 	device_wakeup_enable(hcd->self.controller);
hcd               239 drivers/usb/host/ehci-exynos.c 	platform_set_drvdata(pdev, hcd);
hcd               249 drivers/usb/host/ehci-exynos.c 	usb_put_hcd(hcd);
hcd               255 drivers/usb/host/ehci-exynos.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               256 drivers/usb/host/ehci-exynos.c 	struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
hcd               260 drivers/usb/host/ehci-exynos.c 	usb_remove_hcd(hcd);
hcd               266 drivers/usb/host/ehci-exynos.c 	usb_put_hcd(hcd);
hcd               274 drivers/usb/host/ehci-exynos.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               275 drivers/usb/host/ehci-exynos.c 	struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
hcd               280 drivers/usb/host/ehci-exynos.c 	rc = ehci_suspend(hcd, do_wakeup);
hcd               293 drivers/usb/host/ehci-exynos.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               294 drivers/usb/host/ehci-exynos.c 	struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
hcd               309 drivers/usb/host/ehci-exynos.c 	writel(EHCI_INSNREG00_ENABLE_DMA_BURST, EHCI_INSNREG00(hcd->regs));
hcd               311 drivers/usb/host/ehci-exynos.c 	ehci_resume(hcd, false);
hcd                50 drivers/usb/host/ehci-fsl.c 	struct usb_hcd *hcd;
hcd                88 drivers/usb/host/ehci-fsl.c 	hcd = __usb_create_hcd(&fsl_ehci_hc_driver, pdev->dev.parent,
hcd                90 drivers/usb/host/ehci-fsl.c 	if (!hcd) {
hcd                96 drivers/usb/host/ehci-fsl.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd                97 drivers/usb/host/ehci-fsl.c 	if (IS_ERR(hcd->regs)) {
hcd                98 drivers/usb/host/ehci-fsl.c 		retval = PTR_ERR(hcd->regs);
hcd               102 drivers/usb/host/ehci-fsl.c 	hcd->rsrc_start = res->start;
hcd               103 drivers/usb/host/ehci-fsl.c 	hcd->rsrc_len = resource_size(res);
hcd               105 drivers/usb/host/ehci-fsl.c 	pdata->regs = hcd->regs;
hcd               108 drivers/usb/host/ehci-fsl.c 		hcd->power_budget = pdata->power_budget;
hcd               120 drivers/usb/host/ehci-fsl.c 		tmp = ioread32be(hcd->regs + FSL_SOC_USB_CTRL);
hcd               123 drivers/usb/host/ehci-fsl.c 		iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL);
hcd               129 drivers/usb/host/ehci-fsl.c 		iowrite32be(USB_CTRL_USB_EN, hcd->regs + FSL_SOC_USB_CTRL);
hcd               136 drivers/usb/host/ehci-fsl.c 		tmp = ioread32be(hcd->regs + FSL_SOC_USB_CTRL);
hcd               139 drivers/usb/host/ehci-fsl.c 		iowrite32be(tmp, hcd->regs + FSL_SOC_USB_CTRL);
hcd               141 drivers/usb/host/ehci-fsl.c 		writel(PORT_PTS_UTMI, hcd->regs + FSL_SOC_USB_PORTSC1);
hcd               146 drivers/usb/host/ehci-fsl.c 	retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               149 drivers/usb/host/ehci-fsl.c 	device_wakeup_enable(hcd->self.controller);
hcd               153 drivers/usb/host/ehci-fsl.c 		struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               155 drivers/usb/host/ehci-fsl.c 		hcd->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2);
hcd               157 drivers/usb/host/ehci-fsl.c 			hcd, ehci, hcd->usb_phy);
hcd               159 drivers/usb/host/ehci-fsl.c 		if (!IS_ERR_OR_NULL(hcd->usb_phy)) {
hcd               160 drivers/usb/host/ehci-fsl.c 			retval = otg_set_host(hcd->usb_phy->otg,
hcd               163 drivers/usb/host/ehci-fsl.c 				usb_put_phy(hcd->usb_phy);
hcd               172 drivers/usb/host/ehci-fsl.c 		hcd->skip_phy_initialization = 1;
hcd               178 drivers/usb/host/ehci-fsl.c 	usb_put_hcd(hcd);
hcd               186 drivers/usb/host/ehci-fsl.c static bool usb_phy_clk_valid(struct usb_hcd *hcd)
hcd               188 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
hcd               197 drivers/usb/host/ehci-fsl.c static int ehci_fsl_setup_phy(struct usb_hcd *hcd,
hcd               202 drivers/usb/host/ehci-fsl.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               203 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
hcd               204 drivers/usb/host/ehci-fsl.c 	struct device *dev = hcd->self.controller;
hcd               208 drivers/usb/host/ehci-fsl.c 		dev_warn(hcd->self.controller, "Could not get controller version\n");
hcd               254 drivers/usb/host/ehci-fsl.c 		    pdata->have_sysif_regs && !usb_phy_clk_valid(hcd)) {
hcd               284 drivers/usb/host/ehci-fsl.c 	    !usb_phy_clk_valid(hcd)) {
hcd               285 drivers/usb/host/ehci-fsl.c 		dev_warn(hcd->self.controller, "USB PHY clock invalid\n");
hcd               303 drivers/usb/host/ehci-fsl.c 	struct usb_hcd *hcd = ehci_to_hcd(ehci);
hcd               305 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
hcd               307 drivers/usb/host/ehci-fsl.c 	pdata = dev_get_platdata(hcd->self.controller);
hcd               333 drivers/usb/host/ehci-fsl.c 		if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 0))
hcd               343 drivers/usb/host/ehci-fsl.c 			if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 0))
hcd               347 drivers/usb/host/ehci-fsl.c 			if (ehci_fsl_setup_phy(hcd, pdata->phy_mode, 1))
hcd               375 drivers/usb/host/ehci-fsl.c static int ehci_fsl_setup(struct usb_hcd *hcd)
hcd               377 drivers/usb/host/ehci-fsl.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               382 drivers/usb/host/ehci-fsl.c 	dev = hcd->self.controller;
hcd               383 drivers/usb/host/ehci-fsl.c 	pdata = dev_get_platdata(hcd->self.controller);
hcd               388 drivers/usb/host/ehci-fsl.c 	ehci->caps = hcd->regs + 0x100;
hcd               399 drivers/usb/host/ehci-fsl.c 	hcd->has_tt = 1;
hcd               401 drivers/usb/host/ehci-fsl.c 	retval = ehci_setup(hcd);
hcd               412 drivers/usb/host/ehci-fsl.c 			    hcd->regs + FSL_SOC_USB_SBUSCFG);
hcd               433 drivers/usb/host/ehci-fsl.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               434 drivers/usb/host/ehci-fsl.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               439 drivers/usb/host/ehci-fsl.c 	u32 mode = ehci_readl(ehci, hcd->regs + FSL_SOC_USB_USBMODE);
hcd               441 drivers/usb/host/ehci-fsl.c 	tmp = ehci_readl(ehci, hcd->regs + 0x140);	/* usbcmd */
hcd               465 drivers/usb/host/ehci-fsl.c 	clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd               485 drivers/usb/host/ehci-fsl.c 					  hcd->regs + FSL_SOC_USB_USBGENCTRL);
hcd               502 drivers/usb/host/ehci-fsl.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               503 drivers/usb/host/ehci-fsl.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               531 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, tmp, hcd->regs + FSL_SOC_USB_USBMODE);
hcd               534 drivers/usb/host/ehci-fsl.c 		    hcd->regs + FSL_SOC_USB_USBGENCTRL);
hcd               536 drivers/usb/host/ehci-fsl.c 		    hcd->regs + FSL_SOC_USB_ISIPHYCTRL);
hcd               538 drivers/usb/host/ehci-fsl.c 	ehci_writel(ehci, SBUSCFG_INCR8, hcd->regs + FSL_SOC_USB_SBUSCFG);
hcd               551 drivers/usb/host/ehci-fsl.c 	set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd               559 drivers/usb/host/ehci-fsl.c 	usb_hcd_resume_root_hub(hcd);
hcd               575 drivers/usb/host/ehci-fsl.c static struct ehci_fsl *hcd_to_ehci_fsl(struct usb_hcd *hcd)
hcd               577 drivers/usb/host/ehci-fsl.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               584 drivers/usb/host/ehci-fsl.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               585 drivers/usb/host/ehci-fsl.c 	struct ehci_fsl *ehci_fsl = hcd_to_ehci_fsl(hcd);
hcd               586 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
hcd               593 drivers/usb/host/ehci-fsl.c 	ehci_prepare_ports_for_controller_suspend(hcd_to_ehci(hcd),
hcd               604 drivers/usb/host/ehci-fsl.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               605 drivers/usb/host/ehci-fsl.c 	struct ehci_fsl *ehci_fsl = hcd_to_ehci_fsl(hcd);
hcd               606 drivers/usb/host/ehci-fsl.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               607 drivers/usb/host/ehci-fsl.c 	void __iomem *non_ehci = hcd->regs;
hcd               618 drivers/usb/host/ehci-fsl.c 	usb_root_hub_lost_power(hcd->self.root_hub);
hcd               631 drivers/usb/host/ehci-fsl.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               633 drivers/usb/host/ehci-fsl.c 	usb_root_hub_lost_power(hcd->self.root_hub);
hcd               649 drivers/usb/host/ehci-fsl.c static int ehci_start_port_reset(struct usb_hcd *hcd, unsigned port)
hcd               651 drivers/usb/host/ehci-fsl.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               696 drivers/usb/host/ehci-fsl.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               698 drivers/usb/host/ehci-fsl.c 	if (!IS_ERR_OR_NULL(hcd->usb_phy)) {
hcd               699 drivers/usb/host/ehci-fsl.c 		otg_set_host(hcd->usb_phy->otg, NULL);
hcd               700 drivers/usb/host/ehci-fsl.c 		usb_put_phy(hcd->usb_phy);
hcd               703 drivers/usb/host/ehci-fsl.c 	usb_remove_hcd(hcd);
hcd               711 drivers/usb/host/ehci-fsl.c 	usb_put_hcd(hcd);
hcd                75 drivers/usb/host/ehci-grlib.c 	struct usb_hcd *hcd;
hcd                93 drivers/usb/host/ehci-grlib.c 	hcd = usb_create_hcd(&ehci_grlib_hc_driver, &op->dev,
hcd                95 drivers/usb/host/ehci-grlib.c 	if (!hcd)
hcd                98 drivers/usb/host/ehci-grlib.c 	hcd->rsrc_start = res.start;
hcd                99 drivers/usb/host/ehci-grlib.c 	hcd->rsrc_len = resource_size(&res);
hcd               109 drivers/usb/host/ehci-grlib.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
hcd               110 drivers/usb/host/ehci-grlib.c 	if (IS_ERR(hcd->regs)) {
hcd               111 drivers/usb/host/ehci-grlib.c 		rv = PTR_ERR(hcd->regs);
hcd               115 drivers/usb/host/ehci-grlib.c 	ehci = hcd_to_ehci(hcd);
hcd               117 drivers/usb/host/ehci-grlib.c 	ehci->caps = hcd->regs;
hcd               127 drivers/usb/host/ehci-grlib.c 	rv = usb_add_hcd(hcd, irq, 0);
hcd               131 drivers/usb/host/ehci-grlib.c 	device_wakeup_enable(hcd->self.controller);
hcd               137 drivers/usb/host/ehci-grlib.c 	usb_put_hcd(hcd);
hcd               145 drivers/usb/host/ehci-grlib.c 	struct usb_hcd *hcd = platform_get_drvdata(op);
hcd               149 drivers/usb/host/ehci-grlib.c 	usb_remove_hcd(hcd);
hcd               151 drivers/usb/host/ehci-grlib.c 	irq_dispose_mapping(hcd->irq);
hcd               153 drivers/usb/host/ehci-grlib.c 	usb_put_hcd(hcd);
hcd               354 drivers/usb/host/ehci-hcd.c static void ehci_shutdown(struct usb_hcd *hcd)
hcd               356 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd	*ehci = hcd_to_ehci(hcd);
hcd               418 drivers/usb/host/ehci-hcd.c static void ehci_stop (struct usb_hcd *hcd)
hcd               420 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
hcd               452 drivers/usb/host/ehci-hcd.c static int ehci_init(struct usb_hcd *hcd)
hcd               454 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd               562 drivers/usb/host/ehci-hcd.c 	if (!hcd->localmem_pool)
hcd               563 drivers/usb/host/ehci-hcd.c 		hcd->self.sg_tablesize = ~0;
hcd               571 drivers/usb/host/ehci-hcd.c static int ehci_run (struct usb_hcd *hcd)
hcd               573 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
hcd               577 drivers/usb/host/ehci-hcd.c 	hcd->uses_new_polling = 1;
hcd               601 drivers/usb/host/ehci-hcd.c 		if (!dma_set_mask(hcd->self.controller, DMA_BIT_MASK(64)))
hcd               656 drivers/usb/host/ehci-hcd.c int ehci_setup(struct usb_hcd *hcd)
hcd               658 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               672 drivers/usb/host/ehci-hcd.c 	retval = ehci_init(hcd);
hcd               690 drivers/usb/host/ehci-hcd.c static irqreturn_t ehci_irq (struct usb_hcd *hcd)
hcd               692 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
hcd               773 drivers/usb/host/ehci-hcd.c 			usb_hcd_resume_root_hub(hcd);
hcd               805 drivers/usb/host/ehci-hcd.c 			usb_hcd_start_port_resume(&hcd->self, i);
hcd               806 drivers/usb/host/ehci-hcd.c 			mod_timer(&hcd->rh_timer, ehci->reset_done[i]);
hcd               816 drivers/usb/host/ehci-hcd.c 		usb_hc_died(hcd);
hcd               834 drivers/usb/host/ehci-hcd.c 		usb_hcd_poll_rh_status(hcd);
hcd               853 drivers/usb/host/ehci-hcd.c 	struct usb_hcd	*hcd,
hcd               857 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
hcd               893 drivers/usb/host/ehci-hcd.c static int ehci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd               895 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
hcd               901 drivers/usb/host/ehci-hcd.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd               944 drivers/usb/host/ehci-hcd.c ehci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep)
hcd               946 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
hcd              1018 drivers/usb/host/ehci-hcd.c ehci_endpoint_reset(struct usb_hcd *hcd, struct usb_host_endpoint *ep)
hcd              1020 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd              1057 drivers/usb/host/ehci-hcd.c static int ehci_get_frame (struct usb_hcd *hcd)
hcd              1059 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
hcd              1067 drivers/usb/host/ehci-hcd.c static void ehci_remove_device(struct usb_hcd *hcd, struct usb_device *udev)
hcd              1069 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd              1084 drivers/usb/host/ehci-hcd.c int ehci_suspend(struct usb_hcd *hcd, bool do_wakeup)
hcd              1086 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd              1102 drivers/usb/host/ehci-hcd.c 	clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              1105 drivers/usb/host/ehci-hcd.c 	synchronize_irq(hcd->irq);
hcd              1108 drivers/usb/host/ehci-hcd.c 	if (do_wakeup && HCD_WAKEUP_PENDING(hcd)) {
hcd              1109 drivers/usb/host/ehci-hcd.c 		ehci_resume(hcd, false);
hcd              1118 drivers/usb/host/ehci-hcd.c int ehci_resume(struct usb_hcd *hcd, bool force_reset)
hcd              1120 drivers/usb/host/ehci-hcd.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd              1126 drivers/usb/host/ehci-hcd.c 	set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              1146 drivers/usb/host/ehci-hcd.c 		if (!hcd->self.root_hub->do_remote_wakeup)
hcd              1159 drivers/usb/host/ehci-hcd.c 	usb_root_hub_lost_power(hcd->self.root_hub);
hcd                40 drivers/usb/host/ehci-hub.c 	struct usb_hcd	*hcd = ehci_to_hcd(ehci);
hcd                83 drivers/usb/host/ehci-hub.c 				ehci_hub_control(hcd, SetPortFeature,
hcd               101 drivers/usb/host/ehci-hub.c 			ehci_hub_control(hcd, GetPortStatus,
hcd               214 drivers/usb/host/ehci-hub.c static int ehci_bus_suspend (struct usb_hcd *hcd)
hcd               216 drivers/usb/host/ehci-hub.c 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
hcd               239 drivers/usb/host/ehci-hub.c 	if (hcd->self.root_hub->do_remote_wakeup) {
hcd               271 drivers/usb/host/ehci-hub.c 		if (hcd->self.root_hub->do_remote_wakeup) {
hcd               357 drivers/usb/host/ehci-hub.c 	if (!hcd->self.root_hub->do_remote_wakeup)
hcd               374 drivers/usb/host/ehci-hub.c static int ehci_bus_resume (struct usb_hcd *hcd)
hcd               376 drivers/usb/host/ehci-hub.c 	struct ehci_hcd		*ehci = hcd_to_ehci (hcd);
hcd               385 drivers/usb/host/ehci-hub.c 	if (!HCD_HW_ACCESSIBLE(hcd) || ehci->shutdown)
hcd               389 drivers/usb/host/ehci-hub.c 		if (!dbgp_reset_prep(hcd))
hcd               392 drivers/usb/host/ehci-hub.c 			dbgp_external_startup(hcd);
hcd               515 drivers/usb/host/ehci-hub.c static unsigned long ehci_get_resuming_ports(struct usb_hcd *hcd)
hcd               517 drivers/usb/host/ehci-hub.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd               616 drivers/usb/host/ehci-hub.c ehci_hub_status_data (struct usb_hcd *hcd, char *buf)
hcd               618 drivers/usb/host/ehci-hub.c 	struct ehci_hcd	*ehci = hcd_to_ehci (hcd);
hcd               686 drivers/usb/host/ehci-hub.c 		mod_timer(&hcd->rh_timer, jiffies + msecs_to_jiffies(25));
hcd               739 drivers/usb/host/ehci-hub.c 	struct usb_hcd	*hcd,
hcd               757 drivers/usb/host/ehci-hub.c 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd               785 drivers/usb/host/ehci-hub.c 			hcd->self.sysdev,
hcd               790 drivers/usb/host/ehci-hub.c 			hcd->self.sysdev,
hcd               798 drivers/usb/host/ehci-hub.c static int ehset_single_step_set_feature(struct usb_hcd *hcd, int port)
hcd               804 drivers/usb/host/ehci-hub.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               809 drivers/usb/host/ehci-hub.c 	udev = usb_hub_find_child(hcd->self.root_hub, port);
hcd               835 drivers/usb/host/ehci-hub.c 	retval = submit_single_step_set_feature(hcd, urb, 1);
hcd               851 drivers/usb/host/ehci-hub.c 	retval = submit_single_step_set_feature(hcd, urb, 0);
hcd               869 drivers/usb/host/ehci-hub.c 	struct usb_hcd	*hcd,
hcd               876 drivers/usb/host/ehci-hub.c 	struct ehci_hcd	*ehci = hcd_to_ehci (hcd);
hcd               940 drivers/usb/host/ehci-hub.c 			if ((hcd->self.otg_port == (wIndex + 1))
hcd               941 drivers/usb/host/ehci-hub.c 			    && hcd->self.b_hnp_enable) {
hcd               942 drivers/usb/host/ehci-hub.c 				otg_start_hnp(hcd->usb_phy->otg);
hcd               966 drivers/usb/host/ehci-hub.c 			usb_hcd_start_port_resume(&hcd->self, wIndex);
hcd              1041 drivers/usb/host/ehci-hub.c 				usb_hcd_start_port_resume(&hcd->self, wIndex);
hcd              1057 drivers/usb/host/ehci-hub.c 			usb_hcd_end_port_resume(&hcd->self, wIndex);
hcd              1133 drivers/usb/host/ehci-hub.c 			usb_hcd_end_port_resume(&hcd->self, wIndex);
hcd              1266 drivers/usb/host/ehci-hub.c 				retval = ehset_single_step_set_feature(hcd,
hcd              1315 drivers/usb/host/ehci-hub.c static void ehci_relinquish_port(struct usb_hcd *hcd, int portnum)
hcd              1317 drivers/usb/host/ehci-hub.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd              1324 drivers/usb/host/ehci-hub.c static int ehci_port_handed_over(struct usb_hcd *hcd, int portnum)
hcd              1326 drivers/usb/host/ehci-hub.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd              1337 drivers/usb/host/ehci-hub.c 	struct usb_hcd *hcd = ehci_to_hcd(ehci);
hcd              1346 drivers/usb/host/ehci-hub.c 	if (hcd->driver->port_power)
hcd              1347 drivers/usb/host/ehci-hub.c 		hcd->driver->port_power(hcd, portnum, enable);
hcd                66 drivers/usb/host/ehci-mv.c static int mv_ehci_reset(struct usb_hcd *hcd)
hcd                68 drivers/usb/host/ehci-mv.c 	struct device *dev = hcd->self.controller;
hcd                69 drivers/usb/host/ehci-mv.c 	struct ehci_hcd_mv *ehci_mv = hcd_to_ehci_hcd_mv(hcd);
hcd                77 drivers/usb/host/ehci-mv.c 	hcd->has_tt = 1;
hcd                79 drivers/usb/host/ehci-mv.c 	retval = ehci_setup(hcd);
hcd                96 drivers/usb/host/ehci-mv.c 	struct usb_hcd *hcd;
hcd               106 drivers/usb/host/ehci-mv.c 	hcd = usb_create_hcd(&ehci_platform_hc_driver, &pdev->dev, "mv ehci");
hcd               107 drivers/usb/host/ehci-mv.c 	if (!hcd)
hcd               110 drivers/usb/host/ehci-mv.c 	platform_set_drvdata(pdev, hcd);
hcd               111 drivers/usb/host/ehci-mv.c 	ehci_mv = hcd_to_ehci_hcd_mv(hcd);
hcd               155 drivers/usb/host/ehci-mv.c 	hcd->rsrc_start = r->start;
hcd               156 drivers/usb/host/ehci-mv.c 	hcd->rsrc_len = resource_size(r);
hcd               157 drivers/usb/host/ehci-mv.c 	hcd->regs = ehci_mv->op_regs;
hcd               159 drivers/usb/host/ehci-mv.c 	hcd->irq = platform_get_irq(pdev, 0);
hcd               160 drivers/usb/host/ehci-mv.c 	if (!hcd->irq) {
hcd               166 drivers/usb/host/ehci-mv.c 	ehci = hcd_to_ehci(hcd);
hcd               183 drivers/usb/host/ehci-mv.c 		retval = otg_set_host(ehci_mv->otg->otg, &hcd->self);
hcd               196 drivers/usb/host/ehci-mv.c 		retval = usb_add_hcd(hcd, hcd->irq, IRQF_SHARED);
hcd               202 drivers/usb/host/ehci-mv.c 		device_wakeup_enable(hcd->self.controller);
hcd               207 drivers/usb/host/ehci-mv.c 		 " working in %s mode\n", hcd->regs, hcd->irq,
hcd               218 drivers/usb/host/ehci-mv.c 	usb_put_hcd(hcd);
hcd               225 drivers/usb/host/ehci-mv.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               226 drivers/usb/host/ehci-mv.c 	struct ehci_hcd_mv *ehci_mv = hcd_to_ehci_hcd_mv(hcd);
hcd               228 drivers/usb/host/ehci-mv.c 	if (hcd->rh_registered)
hcd               229 drivers/usb/host/ehci-mv.c 		usb_remove_hcd(hcd);
hcd               241 drivers/usb/host/ehci-mv.c 	usb_put_hcd(hcd);
hcd               258 drivers/usb/host/ehci-mv.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               260 drivers/usb/host/ehci-mv.c 	if (!hcd->rh_registered)
hcd               263 drivers/usb/host/ehci-mv.c 	if (hcd->driver->shutdown)
hcd               264 drivers/usb/host/ehci-mv.c 		hcd->driver->shutdown(hcd);
hcd                40 drivers/usb/host/ehci-mxc.c 	struct usb_hcd *hcd;
hcd                54 drivers/usb/host/ehci-mxc.c 	hcd = usb_create_hcd(&ehci_mxc_hc_driver, dev, dev_name(dev));
hcd                55 drivers/usb/host/ehci-mxc.c 	if (!hcd)
hcd                59 drivers/usb/host/ehci-mxc.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd                60 drivers/usb/host/ehci-mxc.c 	if (IS_ERR(hcd->regs)) {
hcd                61 drivers/usb/host/ehci-mxc.c 		ret = PTR_ERR(hcd->regs);
hcd                64 drivers/usb/host/ehci-mxc.c 	hcd->rsrc_start = res->start;
hcd                65 drivers/usb/host/ehci-mxc.c 	hcd->rsrc_len = resource_size(res);
hcd                67 drivers/usb/host/ehci-mxc.c 	hcd->has_tt = 1;
hcd                68 drivers/usb/host/ehci-mxc.c 	ehci = hcd_to_ehci(hcd);
hcd               106 drivers/usb/host/ehci-mxc.c 	ehci->caps = hcd->regs + 0x100;
hcd               107 drivers/usb/host/ehci-mxc.c 	ehci->regs = hcd->regs + 0x100 +
hcd               118 drivers/usb/host/ehci-mxc.c 		pdata->otg->io_priv = hcd->regs + ULPI_VIEWPORT_OFFSET;
hcd               132 drivers/usb/host/ehci-mxc.c 	platform_set_drvdata(pdev, hcd);
hcd               134 drivers/usb/host/ehci-mxc.c 	ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               138 drivers/usb/host/ehci-mxc.c 	device_wakeup_enable(hcd->self.controller);
hcd               152 drivers/usb/host/ehci-mxc.c 	usb_put_hcd(hcd);
hcd               159 drivers/usb/host/ehci-mxc.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               160 drivers/usb/host/ehci-mxc.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               163 drivers/usb/host/ehci-mxc.c 	usb_remove_hcd(hcd);
hcd               177 drivers/usb/host/ehci-mxc.c 	usb_put_hcd(hcd);
hcd                43 drivers/usb/host/ehci-npcm7xx.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd                46 drivers/usb/host/ehci-npcm7xx.c 	return ehci_suspend(hcd, do_wakeup);
hcd                51 drivers/usb/host/ehci-npcm7xx.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd                53 drivers/usb/host/ehci-npcm7xx.c 	ehci_resume(hcd, false);
hcd                63 drivers/usb/host/ehci-npcm7xx.c 	struct usb_hcd *hcd;
hcd               129 drivers/usb/host/ehci-npcm7xx.c 	hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
hcd               130 drivers/usb/host/ehci-npcm7xx.c 	if (!hcd) {
hcd               136 drivers/usb/host/ehci-npcm7xx.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd               137 drivers/usb/host/ehci-npcm7xx.c 	if (IS_ERR(hcd->regs)) {
hcd               138 drivers/usb/host/ehci-npcm7xx.c 		retval = PTR_ERR(hcd->regs);
hcd               141 drivers/usb/host/ehci-npcm7xx.c 	hcd->rsrc_start = res->start;
hcd               142 drivers/usb/host/ehci-npcm7xx.c 	hcd->rsrc_len = resource_size(res);
hcd               145 drivers/usb/host/ehci-npcm7xx.c 	hcd_to_ehci(hcd)->caps = hcd->regs;
hcd               147 drivers/usb/host/ehci-npcm7xx.c 	retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               151 drivers/usb/host/ehci-npcm7xx.c 	device_wakeup_enable(hcd->self.controller);
hcd               155 drivers/usb/host/ehci-npcm7xx.c 	usb_put_hcd(hcd);
hcd               164 drivers/usb/host/ehci-npcm7xx.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               166 drivers/usb/host/ehci-npcm7xx.c 	usb_remove_hcd(hcd);
hcd               168 drivers/usb/host/ehci-npcm7xx.c 	usb_put_hcd(hcd);
hcd                91 drivers/usb/host/ehci-omap.c 	struct usb_hcd	*hcd;
hcd               136 drivers/usb/host/ehci-omap.c 	hcd = usb_create_hcd(&ehci_omap_hc_driver, dev,
hcd               138 drivers/usb/host/ehci-omap.c 	if (!hcd) {
hcd               143 drivers/usb/host/ehci-omap.c 	hcd->rsrc_start = res->start;
hcd               144 drivers/usb/host/ehci-omap.c 	hcd->rsrc_len = resource_size(res);
hcd               145 drivers/usb/host/ehci-omap.c 	hcd->regs = regs;
hcd               146 drivers/usb/host/ehci-omap.c 	hcd_to_ehci(hcd)->caps = regs;
hcd               148 drivers/usb/host/ehci-omap.c 	omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv;
hcd               151 drivers/usb/host/ehci-omap.c 	platform_set_drvdata(pdev, hcd);
hcd               196 drivers/usb/host/ehci-omap.c 	ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               201 drivers/usb/host/ehci-omap.c 	device_wakeup_enable(hcd->self.controller);
hcd               230 drivers/usb/host/ehci-omap.c 	usb_put_hcd(hcd);
hcd               247 drivers/usb/host/ehci-omap.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               248 drivers/usb/host/ehci-omap.c 	struct omap_hcd *omap = (struct omap_hcd *)hcd_to_ehci(hcd)->priv;
hcd               251 drivers/usb/host/ehci-omap.c 	usb_remove_hcd(hcd);
hcd               258 drivers/usb/host/ehci-omap.c 	usb_put_hcd(hcd);
hcd                25 drivers/usb/host/ehci-orion.c #define rdl(off)	readl_relaxed(hcd->regs + (off))
hcd                26 drivers/usb/host/ehci-orion.c #define wrl(off, val)	writel_relaxed((val), hcd->regs + (off))
hcd                75 drivers/usb/host/ehci-orion.c static void orion_usb_phy_v1_setup(struct usb_hcd *hcd)
hcd               143 drivers/usb/host/ehci-orion.c ehci_orion_conf_mbus_windows(struct usb_hcd *hcd,
hcd               163 drivers/usb/host/ehci-orion.c static int ehci_orion_drv_reset(struct usb_hcd *hcd)
hcd               165 drivers/usb/host/ehci-orion.c 	struct device *dev = hcd->self.controller;
hcd               168 drivers/usb/host/ehci-orion.c 	ret = ehci_setup(hcd);
hcd               187 drivers/usb/host/ehci-orion.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               189 drivers/usb/host/ehci-orion.c 	return ehci_suspend(hcd, device_may_wakeup(dev));
hcd               194 drivers/usb/host/ehci-orion.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               196 drivers/usb/host/ehci-orion.c 	return ehci_resume(hcd, false);
hcd               212 drivers/usb/host/ehci-orion.c 	struct usb_hcd *hcd;
hcd               246 drivers/usb/host/ehci-orion.c 	hcd = usb_create_hcd(&ehci_orion_hc_driver,
hcd               248 drivers/usb/host/ehci-orion.c 	if (!hcd) {
hcd               253 drivers/usb/host/ehci-orion.c 	hcd->rsrc_start = res->start;
hcd               254 drivers/usb/host/ehci-orion.c 	hcd->rsrc_len = resource_size(res);
hcd               255 drivers/usb/host/ehci-orion.c 	hcd->regs = regs;
hcd               257 drivers/usb/host/ehci-orion.c 	ehci = hcd_to_ehci(hcd);
hcd               258 drivers/usb/host/ehci-orion.c 	ehci->caps = hcd->regs + 0x100;
hcd               259 drivers/usb/host/ehci-orion.c 	hcd->has_tt = 1;
hcd               261 drivers/usb/host/ehci-orion.c 	priv = hcd_to_orion_priv(hcd);
hcd               282 drivers/usb/host/ehci-orion.c 		ehci_orion_conf_mbus_windows(hcd, dram);
hcd               296 drivers/usb/host/ehci-orion.c 		orion_usb_phy_v1_setup(hcd);
hcd               304 drivers/usb/host/ehci-orion.c 	err = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               308 drivers/usb/host/ehci-orion.c 	device_wakeup_enable(hcd->self.controller);
hcd               314 drivers/usb/host/ehci-orion.c 	usb_put_hcd(hcd);
hcd               324 drivers/usb/host/ehci-orion.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               325 drivers/usb/host/ehci-orion.c 	struct orion_ehci_hcd *priv = hcd_to_orion_priv(hcd);
hcd               327 drivers/usb/host/ehci-orion.c 	usb_remove_hcd(hcd);
hcd               332 drivers/usb/host/ehci-orion.c 	usb_put_hcd(hcd);
hcd                87 drivers/usb/host/ehci-pci.c static int ehci_pci_setup(struct usb_hcd *hcd)
hcd                89 drivers/usb/host/ehci-pci.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd                90 drivers/usb/host/ehci-pci.c 	struct pci_dev		*pdev = to_pci_dev(hcd->self.controller);
hcd                94 drivers/usb/host/ehci-pci.c 	ehci->caps = hcd->regs;
hcd               144 drivers/usb/host/ehci-pci.c 			hcd->has_tt = 1;
hcd               148 drivers/usb/host/ehci-pci.c 			hcd->has_tt = 1;
hcd               231 drivers/usb/host/ehci-pci.c 			ehci->debug = hcd->regs + temp;
hcd               241 drivers/usb/host/ehci-pci.c 	retval = ehci_setup(hcd);
hcd               335 drivers/usb/host/ehci-pci.c static int ehci_pci_resume(struct usb_hcd *hcd, bool hibernated)
hcd               337 drivers/usb/host/ehci-pci.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd               338 drivers/usb/host/ehci-pci.c 	struct pci_dev		*pdev = to_pci_dev(hcd->self.controller);
hcd               340 drivers/usb/host/ehci-pci.c 	if (ehci_resume(hcd, hibernated) != 0)
hcd                51 drivers/usb/host/ehci-platform.c static int ehci_platform_reset(struct usb_hcd *hcd)
hcd                53 drivers/usb/host/ehci-platform.c 	struct platform_device *pdev = to_platform_device(hcd->self.controller);
hcd                55 drivers/usb/host/ehci-platform.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd                61 drivers/usb/host/ehci-platform.c 		retval = pdata->pre_setup(hcd);
hcd                66 drivers/usb/host/ehci-platform.c 	ehci->caps = hcd->regs + pdata->caps_offset;
hcd                67 drivers/usb/host/ehci-platform.c 	retval = ehci_setup(hcd);
hcd                78 drivers/usb/host/ehci-platform.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd                79 drivers/usb/host/ehci-platform.c 	struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
hcd                99 drivers/usb/host/ehci-platform.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               100 drivers/usb/host/ehci-platform.c 	struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
hcd               123 drivers/usb/host/ehci-platform.c 	struct usb_hcd *hcd;
hcd               151 drivers/usb/host/ehci-platform.c 	hcd = usb_create_hcd(&ehci_platform_hc_driver, &dev->dev,
hcd               153 drivers/usb/host/ehci-platform.c 	if (!hcd)
hcd               156 drivers/usb/host/ehci-platform.c 	platform_set_drvdata(dev, hcd);
hcd               158 drivers/usb/host/ehci-platform.c 	priv = hcd_to_ehci_priv(hcd);
hcd               159 drivers/usb/host/ehci-platform.c 	ehci = hcd_to_ehci(hcd);
hcd               177 drivers/usb/host/ehci-platform.c 			hcd->has_tt = 1;
hcd               206 drivers/usb/host/ehci-platform.c 		hcd->has_tt = 1;
hcd               234 drivers/usb/host/ehci-platform.c 	hcd->regs = devm_ioremap_resource(&dev->dev, res_mem);
hcd               235 drivers/usb/host/ehci-platform.c 	if (IS_ERR(hcd->regs)) {
hcd               236 drivers/usb/host/ehci-platform.c 		err = PTR_ERR(hcd->regs);
hcd               239 drivers/usb/host/ehci-platform.c 	hcd->rsrc_start = res_mem->start;
hcd               240 drivers/usb/host/ehci-platform.c 	hcd->rsrc_len = resource_size(res_mem);
hcd               242 drivers/usb/host/ehci-platform.c 	err = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               246 drivers/usb/host/ehci-platform.c 	device_wakeup_enable(hcd->self.controller);
hcd               247 drivers/usb/host/ehci-platform.c 	device_enable_async_suspend(hcd->self.controller);
hcd               248 drivers/usb/host/ehci-platform.c 	platform_set_drvdata(dev, hcd);
hcd               264 drivers/usb/host/ehci-platform.c 	usb_put_hcd(hcd);
hcd               271 drivers/usb/host/ehci-platform.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               273 drivers/usb/host/ehci-platform.c 	struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
hcd               276 drivers/usb/host/ehci-platform.c 	usb_remove_hcd(hcd);
hcd               286 drivers/usb/host/ehci-platform.c 	usb_put_hcd(hcd);
hcd               297 drivers/usb/host/ehci-platform.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               303 drivers/usb/host/ehci-platform.c 	ret = ehci_suspend(hcd, do_wakeup);
hcd               315 drivers/usb/host/ehci-platform.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               318 drivers/usb/host/ehci-platform.c 	struct ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
hcd               327 drivers/usb/host/ehci-platform.c 	companion_dev = usb_of_get_companion_dev(hcd->self.controller);
hcd               329 drivers/usb/host/ehci-platform.c 		device_pm_wait_for_dev(hcd->self.controller, companion_dev);
hcd               333 drivers/usb/host/ehci-platform.c 	ehci_resume(hcd, priv->reset_on_resume);
hcd                70 drivers/usb/host/ehci-pmcmsp.c static int ehci_msp_setup(struct usb_hcd *hcd)
hcd                72 drivers/usb/host/ehci-pmcmsp.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd                78 drivers/usb/host/ehci-pmcmsp.c 	ehci->caps = hcd->regs;
hcd                79 drivers/usb/host/ehci-pmcmsp.c 	hcd->has_tt = 1;
hcd                81 drivers/usb/host/ehci-pmcmsp.c 	retval = ehci_setup(hcd);
hcd               161 drivers/usb/host/ehci-pmcmsp.c 	struct usb_hcd *hcd;
hcd               165 drivers/usb/host/ehci-pmcmsp.c 	hcd = usb_create_hcd(driver, &dev->dev, "pmcmsp");
hcd               166 drivers/usb/host/ehci-pmcmsp.c 	if (!hcd)
hcd               175 drivers/usb/host/ehci-pmcmsp.c 	hcd->rsrc_start = res->start;
hcd               176 drivers/usb/host/ehci-pmcmsp.c 	hcd->rsrc_len = resource_size(res);
hcd               177 drivers/usb/host/ehci-pmcmsp.c 	if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, dev->name)) {
hcd               181 drivers/usb/host/ehci-pmcmsp.c 	hcd->regs = ioremap_nocache(hcd->rsrc_start, hcd->rsrc_len);
hcd               182 drivers/usb/host/ehci-pmcmsp.c 	if (!hcd->regs) {
hcd               200 drivers/usb/host/ehci-pmcmsp.c 	ehci = hcd_to_ehci(hcd);
hcd               205 drivers/usb/host/ehci-pmcmsp.c 	retval = usb_add_hcd(hcd, res->start, IRQF_SHARED);
hcd               207 drivers/usb/host/ehci-pmcmsp.c 		device_wakeup_enable(hcd->self.controller);
hcd               211 drivers/usb/host/ehci-pmcmsp.c 	usb_remove_hcd(hcd);
hcd               213 drivers/usb/host/ehci-pmcmsp.c 	iounmap(hcd->regs);
hcd               215 drivers/usb/host/ehci-pmcmsp.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               217 drivers/usb/host/ehci-pmcmsp.c 	usb_put_hcd(hcd);
hcd               236 drivers/usb/host/ehci-pmcmsp.c void usb_hcd_msp_remove(struct usb_hcd *hcd, struct platform_device *dev)
hcd               238 drivers/usb/host/ehci-pmcmsp.c 	usb_remove_hcd(hcd);
hcd               239 drivers/usb/host/ehci-pmcmsp.c 	iounmap(hcd->regs);
hcd               240 drivers/usb/host/ehci-pmcmsp.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               241 drivers/usb/host/ehci-pmcmsp.c 	usb_put_hcd(hcd);
hcd               307 drivers/usb/host/ehci-pmcmsp.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               309 drivers/usb/host/ehci-pmcmsp.c 	usb_hcd_msp_remove(hcd, pdev);
hcd                97 drivers/usb/host/ehci-ppc-of.c 	struct usb_hcd *hcd;
hcd               114 drivers/usb/host/ehci-ppc-of.c 	hcd = usb_create_hcd(&ehci_ppc_of_hc_driver, &op->dev, "PPC-OF USB");
hcd               115 drivers/usb/host/ehci-ppc-of.c 	if (!hcd)
hcd               118 drivers/usb/host/ehci-ppc-of.c 	hcd->rsrc_start = res.start;
hcd               119 drivers/usb/host/ehci-ppc-of.c 	hcd->rsrc_len = resource_size(&res);
hcd               129 drivers/usb/host/ehci-ppc-of.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
hcd               130 drivers/usb/host/ehci-ppc-of.c 	if (IS_ERR(hcd->regs)) {
hcd               131 drivers/usb/host/ehci-ppc-of.c 		rv = PTR_ERR(hcd->regs);
hcd               135 drivers/usb/host/ehci-ppc-of.c 	ehci = hcd_to_ehci(hcd);
hcd               162 drivers/usb/host/ehci-ppc-of.c 	ehci->caps = hcd->regs;
hcd               170 drivers/usb/host/ehci-ppc-of.c 	rv = usb_add_hcd(hcd, irq, 0);
hcd               174 drivers/usb/host/ehci-ppc-of.c 	device_wakeup_enable(hcd->self.controller);
hcd               180 drivers/usb/host/ehci-ppc-of.c 	usb_put_hcd(hcd);
hcd               188 drivers/usb/host/ehci-ppc-of.c 	struct usb_hcd *hcd = platform_get_drvdata(op);
hcd               189 drivers/usb/host/ehci-ppc-of.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               196 drivers/usb/host/ehci-ppc-of.c 	usb_remove_hcd(hcd);
hcd               198 drivers/usb/host/ehci-ppc-of.c 	irq_dispose_mapping(hcd->irq);
hcd               217 drivers/usb/host/ehci-ppc-of.c 	usb_put_hcd(hcd);
hcd                40 drivers/usb/host/ehci-ps3.c static int ps3_ehci_hc_reset(struct usb_hcd *hcd)
hcd                43 drivers/usb/host/ehci-ps3.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd                46 drivers/usb/host/ehci-ps3.c 	ehci->caps = hcd->regs;
hcd                48 drivers/usb/host/ehci-ps3.c 	result = ehci_setup(hcd);
hcd                87 drivers/usb/host/ehci-ps3.c 	struct usb_hcd *hcd;
hcd               138 drivers/usb/host/ehci-ps3.c 	hcd = usb_create_hcd(&ps3_ehci_hc_driver, &dev->core, dev_name(&dev->core));
hcd               140 drivers/usb/host/ehci-ps3.c 	if (!hcd) {
hcd               147 drivers/usb/host/ehci-ps3.c 	hcd->rsrc_start = dev->m_region->lpar_addr;
hcd               148 drivers/usb/host/ehci-ps3.c 	hcd->rsrc_len = dev->m_region->len;
hcd               150 drivers/usb/host/ehci-ps3.c 	if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name))
hcd               154 drivers/usb/host/ehci-ps3.c 	hcd->regs = ioremap(dev->m_region->lpar_addr, dev->m_region->len);
hcd               156 drivers/usb/host/ehci-ps3.c 	if (!hcd->regs) {
hcd               164 drivers/usb/host/ehci-ps3.c 		(unsigned long)hcd->rsrc_start);
hcd               166 drivers/usb/host/ehci-ps3.c 		(unsigned long)hcd->rsrc_len);
hcd               168 drivers/usb/host/ehci-ps3.c 		(unsigned long)hcd->regs);
hcd               172 drivers/usb/host/ehci-ps3.c 	ps3_system_bus_set_drvdata(dev, hcd);
hcd               174 drivers/usb/host/ehci-ps3.c 	result = usb_add_hcd(hcd, virq, 0);
hcd               182 drivers/usb/host/ehci-ps3.c 	device_wakeup_enable(hcd->self.controller);
hcd               186 drivers/usb/host/ehci-ps3.c 	iounmap(hcd->regs);
hcd               188 drivers/usb/host/ehci-ps3.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               189 drivers/usb/host/ehci-ps3.c 	usb_put_hcd(hcd);
hcd               206 drivers/usb/host/ehci-ps3.c 	struct usb_hcd *hcd = ps3_system_bus_get_drvdata(dev);
hcd               208 drivers/usb/host/ehci-ps3.c 	BUG_ON(!hcd);
hcd               210 drivers/usb/host/ehci-ps3.c 	dev_dbg(&dev->core, "%s:%d: regs %p\n", __func__, __LINE__, hcd->regs);
hcd               211 drivers/usb/host/ehci-ps3.c 	dev_dbg(&dev->core, "%s:%d: irq %u\n", __func__, __LINE__, hcd->irq);
hcd               213 drivers/usb/host/ehci-ps3.c 	tmp = hcd->irq;
hcd               215 drivers/usb/host/ehci-ps3.c 	usb_remove_hcd(hcd);
hcd               219 drivers/usb/host/ehci-ps3.c 	BUG_ON(!hcd->regs);
hcd               220 drivers/usb/host/ehci-ps3.c 	iounmap(hcd->regs);
hcd               222 drivers/usb/host/ehci-ps3.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               223 drivers/usb/host/ehci-ps3.c 	usb_put_hcd(hcd);
hcd               140 drivers/usb/host/ehci-q.c static void ehci_clear_tt_buffer_complete(struct usb_hcd *hcd,
hcd               143 drivers/usb/host/ehci-q.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd              1169 drivers/usb/host/ehci-q.c 	struct usb_hcd  *hcd,
hcd              1173 drivers/usb/host/ehci-q.c 	struct ehci_hcd		*ehci = hcd_to_ehci(hcd);
hcd                24 drivers/usb/host/ehci-sched.c static int ehci_get_frame(struct usb_hcd *hcd);
hcd                15 drivers/usb/host/ehci-sh.c 	struct usb_hcd *hcd;
hcd                18 drivers/usb/host/ehci-sh.c static int ehci_sh_reset(struct usb_hcd *hcd)
hcd                20 drivers/usb/host/ehci-sh.c 	struct ehci_hcd	*ehci = hcd_to_ehci(hcd);
hcd                22 drivers/usb/host/ehci-sh.c 	ehci->caps = hcd->regs;
hcd                24 drivers/usb/host/ehci-sh.c 	return ehci_setup(hcd);
hcd                80 drivers/usb/host/ehci-sh.c 	struct usb_hcd *hcd;
hcd                95 drivers/usb/host/ehci-sh.c 	hcd = usb_create_hcd(&ehci_sh_hc_driver, &pdev->dev,
hcd                97 drivers/usb/host/ehci-sh.c 	if (!hcd) {
hcd               103 drivers/usb/host/ehci-sh.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd               104 drivers/usb/host/ehci-sh.c 	if (IS_ERR(hcd->regs)) {
hcd               105 drivers/usb/host/ehci-sh.c 		ret = PTR_ERR(hcd->regs);
hcd               108 drivers/usb/host/ehci-sh.c 	hcd->rsrc_start = res->start;
hcd               109 drivers/usb/host/ehci-sh.c 	hcd->rsrc_len = resource_size(res);
hcd               133 drivers/usb/host/ehci-sh.c 	ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               138 drivers/usb/host/ehci-sh.c 	device_wakeup_enable(hcd->self.controller);
hcd               140 drivers/usb/host/ehci-sh.c 	priv->hcd = hcd;
hcd               150 drivers/usb/host/ehci-sh.c 	usb_put_hcd(hcd);
hcd               160 drivers/usb/host/ehci-sh.c 	struct usb_hcd *hcd = priv->hcd;
hcd               162 drivers/usb/host/ehci-sh.c 	usb_remove_hcd(hcd);
hcd               163 drivers/usb/host/ehci-sh.c 	usb_put_hcd(hcd);
hcd               174 drivers/usb/host/ehci-sh.c 	struct usb_hcd *hcd = priv->hcd;
hcd               176 drivers/usb/host/ehci-sh.c 	if (hcd->driver->shutdown)
hcd               177 drivers/usb/host/ehci-sh.c 		hcd->driver->shutdown(hcd);
hcd                33 drivers/usb/host/ehci-spear.c #define to_spear_ehci(hcd)	(struct spear_ehci *)(hcd_to_ehci(hcd)->priv)
hcd                40 drivers/usb/host/ehci-spear.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd                43 drivers/usb/host/ehci-spear.c 	return ehci_suspend(hcd, do_wakeup);
hcd                48 drivers/usb/host/ehci-spear.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd                50 drivers/usb/host/ehci-spear.c 	ehci_resume(hcd, false);
hcd                60 drivers/usb/host/ehci-spear.c 	struct usb_hcd *hcd ;
hcd                92 drivers/usb/host/ehci-spear.c 	hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
hcd                93 drivers/usb/host/ehci-spear.c 	if (!hcd) {
hcd                99 drivers/usb/host/ehci-spear.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd               100 drivers/usb/host/ehci-spear.c 	if (IS_ERR(hcd->regs)) {
hcd               101 drivers/usb/host/ehci-spear.c 		retval = PTR_ERR(hcd->regs);
hcd               104 drivers/usb/host/ehci-spear.c 	hcd->rsrc_start = res->start;
hcd               105 drivers/usb/host/ehci-spear.c 	hcd->rsrc_len = resource_size(res);
hcd               107 drivers/usb/host/ehci-spear.c 	sehci = to_spear_ehci(hcd);
hcd               111 drivers/usb/host/ehci-spear.c 	hcd_to_ehci(hcd)->caps = hcd->regs;
hcd               114 drivers/usb/host/ehci-spear.c 	retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               118 drivers/usb/host/ehci-spear.c 	device_wakeup_enable(hcd->self.controller);
hcd               124 drivers/usb/host/ehci-spear.c 	usb_put_hcd(hcd);
hcd               133 drivers/usb/host/ehci-spear.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               134 drivers/usb/host/ehci-spear.c 	struct spear_ehci *sehci = to_spear_ehci(hcd);
hcd               136 drivers/usb/host/ehci-spear.c 	usb_remove_hcd(hcd);
hcd               140 drivers/usb/host/ehci-spear.c 	usb_put_hcd(hcd);
hcd                50 drivers/usb/host/ehci-st.c static int st_ehci_platform_reset(struct usb_hcd *hcd)
hcd                52 drivers/usb/host/ehci-st.c 	struct platform_device *pdev = to_platform_device(hcd->self.controller);
hcd                54 drivers/usb/host/ehci-st.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd                59 drivers/usb/host/ehci-st.c 	writel(threshold, hcd->regs + AHB2STBUS_INSREG01);
hcd                61 drivers/usb/host/ehci-st.c 	ehci->caps = hcd->regs + pdata->caps_offset;
hcd                62 drivers/usb/host/ehci-st.c 	return ehci_setup(hcd);
hcd                67 drivers/usb/host/ehci-st.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd                68 drivers/usb/host/ehci-st.c 	struct st_ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
hcd               118 drivers/usb/host/ehci-st.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               119 drivers/usb/host/ehci-st.c 	struct st_ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
hcd               151 drivers/usb/host/ehci-st.c 	struct usb_hcd *hcd;
hcd               169 drivers/usb/host/ehci-st.c 	hcd = usb_create_hcd(&ehci_platform_hc_driver, &dev->dev,
hcd               171 drivers/usb/host/ehci-st.c 	if (!hcd)
hcd               174 drivers/usb/host/ehci-st.c 	platform_set_drvdata(dev, hcd);
hcd               176 drivers/usb/host/ehci-st.c 	priv = hcd_to_ehci_priv(hcd);
hcd               227 drivers/usb/host/ehci-st.c 	hcd->rsrc_start = res_mem->start;
hcd               228 drivers/usb/host/ehci-st.c 	hcd->rsrc_len = resource_size(res_mem);
hcd               230 drivers/usb/host/ehci-st.c 	hcd->regs = devm_ioremap_resource(&dev->dev, res_mem);
hcd               231 drivers/usb/host/ehci-st.c 	if (IS_ERR(hcd->regs)) {
hcd               232 drivers/usb/host/ehci-st.c 		err = PTR_ERR(hcd->regs);
hcd               236 drivers/usb/host/ehci-st.c 	err = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               240 drivers/usb/host/ehci-st.c 	device_wakeup_enable(hcd->self.controller);
hcd               241 drivers/usb/host/ehci-st.c 	platform_set_drvdata(dev, hcd);
hcd               252 drivers/usb/host/ehci-st.c 	usb_put_hcd(hcd);
hcd               259 drivers/usb/host/ehci-st.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               261 drivers/usb/host/ehci-st.c 	struct st_ehci_platform_priv *priv = hcd_to_ehci_priv(hcd);
hcd               264 drivers/usb/host/ehci-st.c 	usb_remove_hcd(hcd);
hcd               272 drivers/usb/host/ehci-st.c 	usb_put_hcd(hcd);
hcd               284 drivers/usb/host/ehci-st.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               290 drivers/usb/host/ehci-st.c 	ret = ehci_suspend(hcd, do_wakeup);
hcd               304 drivers/usb/host/ehci-st.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               317 drivers/usb/host/ehci-st.c 	ehci_resume(hcd, false);
hcd                56 drivers/usb/host/ehci-tegra.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd                58 drivers/usb/host/ehci-tegra.c 		(struct tegra_ehci_hcd *)hcd_to_ehci(hcd)->priv;
hcd               171 drivers/usb/host/ehci-tegra.c 	struct usb_hcd	*hcd,
hcd               179 drivers/usb/host/ehci-tegra.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               195 drivers/usb/host/ehci-tegra.c 			tegra_usb_phy_postresume(hcd->usb_phy);
hcd               248 drivers/usb/host/ehci-tegra.c 		tegra_usb_phy_preresume(hcd->usb_phy);
hcd               277 drivers/usb/host/ehci-tegra.c 	return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength);
hcd               347 drivers/usb/host/ehci-tegra.c static int tegra_ehci_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
hcd               356 drivers/usb/host/ehci-tegra.c 	ret = usb_hcd_map_urb_for_dma(hcd, urb, mem_flags);
hcd               363 drivers/usb/host/ehci-tegra.c static void tegra_ehci_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb)
hcd               365 drivers/usb/host/ehci-tegra.c 	usb_hcd_unmap_urb_for_dma(hcd, urb);
hcd               388 drivers/usb/host/ehci-tegra.c 	struct usb_hcd *hcd;
hcd               410 drivers/usb/host/ehci-tegra.c 	hcd = usb_create_hcd(&tegra_ehci_hc_driver, &pdev->dev,
hcd               412 drivers/usb/host/ehci-tegra.c 	if (!hcd) {
hcd               416 drivers/usb/host/ehci-tegra.c 	platform_set_drvdata(pdev, hcd);
hcd               417 drivers/usb/host/ehci-tegra.c 	ehci = hcd_to_ehci(hcd);
hcd               420 drivers/usb/host/ehci-tegra.c 	hcd->has_tt = 1;
hcd               451 drivers/usb/host/ehci-tegra.c 	hcd->usb_phy = u_phy;
hcd               452 drivers/usb/host/ehci-tegra.c 	hcd->skip_phy_initialization = 1;
hcd               458 drivers/usb/host/ehci-tegra.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd               459 drivers/usb/host/ehci-tegra.c 	if (IS_ERR(hcd->regs)) {
hcd               460 drivers/usb/host/ehci-tegra.c 		err = PTR_ERR(hcd->regs);
hcd               463 drivers/usb/host/ehci-tegra.c 	hcd->rsrc_start = res->start;
hcd               464 drivers/usb/host/ehci-tegra.c 	hcd->rsrc_len = resource_size(res);
hcd               466 drivers/usb/host/ehci-tegra.c 	ehci->caps = hcd->regs + 0x100;
hcd               469 drivers/usb/host/ehci-tegra.c 	err = usb_phy_init(hcd->usb_phy);
hcd               481 drivers/usb/host/ehci-tegra.c 	u_phy->otg->host = hcd_to_bus(hcd);
hcd               483 drivers/usb/host/ehci-tegra.c 	err = usb_phy_set_suspend(hcd->usb_phy, 0);
hcd               496 drivers/usb/host/ehci-tegra.c 	otg_set_host(u_phy->otg, &hcd->self);
hcd               498 drivers/usb/host/ehci-tegra.c 	err = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               503 drivers/usb/host/ehci-tegra.c 	device_wakeup_enable(hcd->self.controller);
hcd               510 drivers/usb/host/ehci-tegra.c 	usb_phy_shutdown(hcd->usb_phy);
hcd               514 drivers/usb/host/ehci-tegra.c 	usb_put_hcd(hcd);
hcd               520 drivers/usb/host/ehci-tegra.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               522 drivers/usb/host/ehci-tegra.c 		(struct tegra_ehci_hcd *)hcd_to_ehci(hcd)->priv;
hcd               524 drivers/usb/host/ehci-tegra.c 	otg_set_host(hcd->usb_phy->otg, NULL);
hcd               526 drivers/usb/host/ehci-tegra.c 	usb_phy_shutdown(hcd->usb_phy);
hcd               527 drivers/usb/host/ehci-tegra.c 	usb_remove_hcd(hcd);
hcd               534 drivers/usb/host/ehci-tegra.c 	usb_put_hcd(hcd);
hcd               541 drivers/usb/host/ehci-tegra.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               543 drivers/usb/host/ehci-tegra.c 	if (hcd->driver->shutdown)
hcd               544 drivers/usb/host/ehci-tegra.c 		hcd->driver->shutdown(hcd);
hcd               557 drivers/usb/host/ehci-tegra.c static int tegra_ehci_reset(struct usb_hcd *hcd)
hcd               559 drivers/usb/host/ehci-tegra.c 	struct ehci_hcd *ehci = hcd_to_ehci(hcd);
hcd               563 drivers/usb/host/ehci-tegra.c 	retval = ehci_setup(hcd);
hcd                36 drivers/usb/host/ehci-xilinx-of.c static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum)
hcd                38 drivers/usb/host/ehci-xilinx-of.c 	dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum);
hcd                39 drivers/usb/host/ehci-xilinx-of.c 	if (hcd->has_tt) {
hcd                40 drivers/usb/host/ehci-xilinx-of.c 		dev_warn(hcd->self.controller,
hcd                43 drivers/usb/host/ehci-xilinx-of.c 		dev_warn(hcd->self.controller,
hcd                46 drivers/usb/host/ehci-xilinx-of.c 		dev_warn(hcd->self.controller,
hcd                48 drivers/usb/host/ehci-xilinx-of.c 		dev_warn(hcd->self.controller,
hcd                51 drivers/usb/host/ehci-xilinx-of.c 		dev_warn(hcd->self.controller,
hcd               119 drivers/usb/host/ehci-xilinx-of.c 	struct usb_hcd *hcd;
hcd               135 drivers/usb/host/ehci-xilinx-of.c 	hcd = usb_create_hcd(&ehci_xilinx_of_hc_driver, &op->dev,
hcd               137 drivers/usb/host/ehci-xilinx-of.c 	if (!hcd)
hcd               140 drivers/usb/host/ehci-xilinx-of.c 	hcd->rsrc_start = res.start;
hcd               141 drivers/usb/host/ehci-xilinx-of.c 	hcd->rsrc_len = resource_size(&res);
hcd               151 drivers/usb/host/ehci-xilinx-of.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
hcd               152 drivers/usb/host/ehci-xilinx-of.c 	if (IS_ERR(hcd->regs)) {
hcd               153 drivers/usb/host/ehci-xilinx-of.c 		rv = PTR_ERR(hcd->regs);
hcd               157 drivers/usb/host/ehci-xilinx-of.c 	ehci = hcd_to_ehci(hcd);
hcd               170 drivers/usb/host/ehci-xilinx-of.c 		hcd->has_tt = 1;
hcd               174 drivers/usb/host/ehci-xilinx-of.c 		hcd->has_tt = 0;
hcd               179 drivers/usb/host/ehci-xilinx-of.c 	ehci->caps = hcd->regs + 0x100;
hcd               181 drivers/usb/host/ehci-xilinx-of.c 	rv = usb_add_hcd(hcd, irq, 0);
hcd               183 drivers/usb/host/ehci-xilinx-of.c 		device_wakeup_enable(hcd->self.controller);
hcd               188 drivers/usb/host/ehci-xilinx-of.c 	usb_put_hcd(hcd);
hcd               202 drivers/usb/host/ehci-xilinx-of.c 	struct usb_hcd *hcd = platform_get_drvdata(op);
hcd               206 drivers/usb/host/ehci-xilinx-of.c 	usb_remove_hcd(hcd);
hcd               208 drivers/usb/host/ehci-xilinx-of.c 	usb_put_hcd(hcd);
hcd               262 drivers/usb/host/ehci.h static inline struct ehci_hcd *hcd_to_ehci(struct usb_hcd *hcd)
hcd               264 drivers/usb/host/ehci.h 	return (struct ehci_hcd *) (hcd->hcd_priv);
hcd               874 drivers/usb/host/ehci.h 	int		(*reset)(struct usb_hcd *hcd);
hcd               875 drivers/usb/host/ehci.h 	int		(*port_power)(struct usb_hcd *hcd,
hcd               881 drivers/usb/host/ehci.h extern int	ehci_setup(struct usb_hcd *hcd);
hcd               886 drivers/usb/host/ehci.h extern int	ehci_suspend(struct usb_hcd *hcd, bool do_wakeup);
hcd               887 drivers/usb/host/ehci.h extern int	ehci_resume(struct usb_hcd *hcd, bool force_reset);
hcd               891 drivers/usb/host/ehci.h extern int	ehci_hub_control(struct usb_hcd	*hcd, u16 typeReq, u16 wValue,
hcd               321 drivers/usb/host/fhci-hcd.c static int fhci_start(struct usb_hcd *hcd)
hcd               324 drivers/usb/host/fhci-hcd.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               354 drivers/usb/host/fhci-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd               372 drivers/usb/host/fhci-hcd.c static void fhci_stop(struct usb_hcd *hcd)
hcd               374 drivers/usb/host/fhci-hcd.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               384 drivers/usb/host/fhci-hcd.c static int fhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
hcd               387 drivers/usb/host/fhci-hcd.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               441 drivers/usb/host/fhci-hcd.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd               464 drivers/usb/host/fhci-hcd.c static int fhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd               466 drivers/usb/host/fhci-hcd.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               476 drivers/usb/host/fhci-hcd.c 	ret = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd               506 drivers/usb/host/fhci-hcd.c static void fhci_endpoint_disable(struct usb_hcd *hcd,
hcd               513 drivers/usb/host/fhci-hcd.c 	fhci = hcd_to_fhci(hcd);
hcd               527 drivers/usb/host/fhci-hcd.c static int fhci_get_frame_number(struct usb_hcd *hcd)
hcd               529 drivers/usb/host/fhci-hcd.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               564 drivers/usb/host/fhci-hcd.c 	struct usb_hcd *hcd;
hcd               583 drivers/usb/host/fhci-hcd.c 	hcd = usb_create_hcd(&fhci_driver, dev, dev_name(dev));
hcd               584 drivers/usb/host/fhci-hcd.c 	if (!hcd) {
hcd               589 drivers/usb/host/fhci-hcd.c 	fhci = hcd_to_fhci(hcd);
hcd               590 drivers/usb/host/fhci-hcd.c 	hcd->self.controller = dev;
hcd               591 drivers/usb/host/fhci-hcd.c 	dev_set_drvdata(dev, hcd);
hcd               595 drivers/usb/host/fhci-hcd.c 		hcd->power_budget = *iprop;
hcd               604 drivers/usb/host/fhci-hcd.c 	hcd->regs = ioremap(usb_regs.start, resource_size(&usb_regs));
hcd               605 drivers/usb/host/fhci-hcd.c 	if (!hcd->regs) {
hcd               610 drivers/usb/host/fhci-hcd.c 	fhci->regs = hcd->regs;
hcd               688 drivers/usb/host/fhci-hcd.c 			  0, "qe timer (usb)", hcd);
hcd               730 drivers/usb/host/fhci-hcd.c 	dev_info(dev, "at 0x%p, irq %d\n", hcd->regs, usb_irq);
hcd               747 drivers/usb/host/fhci-hcd.c 	ret = usb_add_hcd(hcd, usb_irq, 0);
hcd               751 drivers/usb/host/fhci-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd               761 drivers/usb/host/fhci-hcd.c 	free_irq(fhci->timer->irq, hcd);
hcd               775 drivers/usb/host/fhci-hcd.c 	iounmap(hcd->regs);
hcd               777 drivers/usb/host/fhci-hcd.c 	usb_put_hcd(hcd);
hcd               783 drivers/usb/host/fhci-hcd.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               784 drivers/usb/host/fhci-hcd.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               788 drivers/usb/host/fhci-hcd.c 	usb_remove_hcd(hcd);
hcd               789 drivers/usb/host/fhci-hcd.c 	free_irq(fhci->timer->irq, hcd);
hcd               800 drivers/usb/host/fhci-hcd.c 	usb_put_hcd(hcd);
hcd               177 drivers/usb/host/fhci-hub.c int fhci_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd               179 drivers/usb/host/fhci-hub.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               202 drivers/usb/host/fhci-hub.c int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd               205 drivers/usb/host/fhci-hub.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               506 drivers/usb/host/fhci-sched.c 	struct usb_hcd *hcd = _hcd;
hcd               507 drivers/usb/host/fhci-sched.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               542 drivers/usb/host/fhci-sched.c irqreturn_t fhci_irq(struct usb_hcd *hcd)
hcd               544 drivers/usb/host/fhci-sched.c 	struct fhci_hcd *fhci = hcd_to_fhci(hcd);
hcd               462 drivers/usb/host/fhci.h static inline struct fhci_hcd *hcd_to_fhci(struct usb_hcd *hcd)
hcd               464 drivers/usb/host/fhci.h 	return (struct fhci_hcd *)hcd->hcd_priv;
hcd               530 drivers/usb/host/fhci.h int fhci_hub_status_data(struct usb_hcd *hcd, char *buf);
hcd               531 drivers/usb/host/fhci.h int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd               560 drivers/usb/host/fhci.h irqreturn_t fhci_irq(struct usb_hcd *hcd);
hcd               449 drivers/usb/host/fotg210-hcd.c 	struct usb_hcd *hcd;
hcd               456 drivers/usb/host/fotg210-hcd.c 	hcd = bus_to_hcd(buf->bus);
hcd               457 drivers/usb/host/fotg210-hcd.c 	fotg210 = hcd_to_fotg210(hcd);
hcd               516 drivers/usb/host/fotg210-hcd.c 	struct usb_hcd *hcd;
hcd               531 drivers/usb/host/fotg210-hcd.c 	hcd = bus_to_hcd(buf->bus);
hcd               532 drivers/usb/host/fotg210-hcd.c 	fotg210 = hcd_to_fotg210(hcd);
hcd               641 drivers/usb/host/fotg210-hcd.c 	struct usb_hcd *hcd;
hcd               649 drivers/usb/host/fotg210-hcd.c 	hcd = bus_to_hcd(buf->bus);
hcd               650 drivers/usb/host/fotg210-hcd.c 	fotg210 = hcd_to_fotg210(hcd);
hcd               656 drivers/usb/host/fotg210-hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd)) {
hcd               661 drivers/usb/host/fotg210-hcd.c 				hcd->self.controller->bus->name,
hcd               662 drivers/usb/host/fotg210-hcd.c 				dev_name(hcd->self.controller),
hcd               663 drivers/usb/host/fotg210-hcd.c 				hcd->product_desc);
hcd               674 drivers/usb/host/fotg210-hcd.c 			hcd->self.controller->bus->name,
hcd               675 drivers/usb/host/fotg210-hcd.c 			dev_name(hcd->self.controller),
hcd               676 drivers/usb/host/fotg210-hcd.c 			hcd->product_desc,
hcd              1394 drivers/usb/host/fotg210-hcd.c static int fotg210_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              1396 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              1461 drivers/usb/host/fotg210-hcd.c static int fotg210_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd              1464 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              1786 drivers/usb/host/fotg210-hcd.c static void __maybe_unused fotg210_relinquish_port(struct usb_hcd *hcd,
hcd              1792 drivers/usb/host/fotg210-hcd.c static int __maybe_unused fotg210_port_handed_over(struct usb_hcd *hcd,
hcd              2096 drivers/usb/host/fotg210-hcd.c static void fotg210_clear_tt_buffer_complete(struct usb_hcd *hcd,
hcd              2099 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              3275 drivers/usb/host/fotg210-hcd.c static int fotg210_get_frame(struct usb_hcd *hcd);
hcd              4812 drivers/usb/host/fotg210-hcd.c static void fotg210_shutdown(struct usb_hcd *hcd)
hcd              4814 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              4863 drivers/usb/host/fotg210-hcd.c static void fotg210_stop(struct usb_hcd *hcd)
hcd              4865 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              4902 drivers/usb/host/fotg210-hcd.c static int hcd_fotg210_init(struct usb_hcd *hcd)
hcd              4904 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5003 drivers/usb/host/fotg210-hcd.c 	if (!hcd->localmem_pool)
hcd              5004 drivers/usb/host/fotg210-hcd.c 		hcd->self.sg_tablesize = ~0;
hcd              5009 drivers/usb/host/fotg210-hcd.c static int fotg210_run(struct usb_hcd *hcd)
hcd              5011 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5015 drivers/usb/host/fotg210-hcd.c 	hcd->uses_new_polling = 1;
hcd              5089 drivers/usb/host/fotg210-hcd.c static int fotg210_setup(struct usb_hcd *hcd)
hcd              5091 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5107 drivers/usb/host/fotg210-hcd.c 	retval = hcd_fotg210_init(hcd);
hcd              5120 drivers/usb/host/fotg210-hcd.c static irqreturn_t fotg210_irq(struct usb_hcd *hcd)
hcd              5122 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5205 drivers/usb/host/fotg210-hcd.c 			usb_hcd_resume_root_hub(hcd);
hcd              5223 drivers/usb/host/fotg210-hcd.c 			mod_timer(&hcd->rh_timer, fotg210->reset_done[0]);
hcd              5233 drivers/usb/host/fotg210-hcd.c 		usb_hc_died(hcd);
hcd              5252 drivers/usb/host/fotg210-hcd.c 		usb_hcd_poll_rh_status(hcd);
hcd              5267 drivers/usb/host/fotg210-hcd.c static int fotg210_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
hcd              5270 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5303 drivers/usb/host/fotg210-hcd.c static int fotg210_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              5305 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5311 drivers/usb/host/fotg210-hcd.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              5371 drivers/usb/host/fotg210-hcd.c static void fotg210_endpoint_disable(struct usb_hcd *hcd,
hcd              5374 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5444 drivers/usb/host/fotg210-hcd.c static void fotg210_endpoint_reset(struct usb_hcd *hcd,
hcd              5447 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5485 drivers/usb/host/fotg210-hcd.c static int fotg210_get_frame(struct usb_hcd *hcd)
hcd              5487 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5571 drivers/usb/host/fotg210-hcd.c 	struct usb_hcd *hcd;
hcd              5591 drivers/usb/host/fotg210-hcd.c 	hcd = usb_create_hcd(&fotg210_fotg210_hc_driver, dev,
hcd              5593 drivers/usb/host/fotg210-hcd.c 	if (!hcd) {
hcd              5599 drivers/usb/host/fotg210-hcd.c 	hcd->has_tt = 1;
hcd              5602 drivers/usb/host/fotg210-hcd.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd              5603 drivers/usb/host/fotg210-hcd.c 	if (IS_ERR(hcd->regs)) {
hcd              5604 drivers/usb/host/fotg210-hcd.c 		retval = PTR_ERR(hcd->regs);
hcd              5608 drivers/usb/host/fotg210-hcd.c 	hcd->rsrc_start = res->start;
hcd              5609 drivers/usb/host/fotg210-hcd.c 	hcd->rsrc_len = resource_size(res);
hcd              5611 drivers/usb/host/fotg210-hcd.c 	fotg210 = hcd_to_fotg210(hcd);
hcd              5613 drivers/usb/host/fotg210-hcd.c 	fotg210->caps = hcd->regs;
hcd              5632 drivers/usb/host/fotg210-hcd.c 	retval = fotg210_setup(hcd);
hcd              5638 drivers/usb/host/fotg210-hcd.c 	retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd              5643 drivers/usb/host/fotg210-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              5644 drivers/usb/host/fotg210-hcd.c 	platform_set_drvdata(pdev, hcd);
hcd              5652 drivers/usb/host/fotg210-hcd.c 	usb_put_hcd(hcd);
hcd              5665 drivers/usb/host/fotg210-hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd              5666 drivers/usb/host/fotg210-hcd.c 	struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
hcd              5671 drivers/usb/host/fotg210-hcd.c 	usb_remove_hcd(hcd);
hcd              5672 drivers/usb/host/fotg210-hcd.c 	usb_put_hcd(hcd);
hcd               193 drivers/usb/host/fotg210.h static inline struct fotg210_hcd *hcd_to_fotg210(struct usb_hcd *hcd)
hcd               195 drivers/usb/host/fotg210.h 	return (struct fotg210_hcd *)(hcd->hcd_priv);
hcd                65 drivers/usb/host/imx21-hcd.c static inline struct imx21 *hcd_to_imx21(struct usb_hcd *hcd)
hcd                67 drivers/usb/host/imx21-hcd.c 	return (struct imx21 *)hcd->hcd_priv;
hcd               125 drivers/usb/host/imx21-hcd.c static int imx21_hc_get_frame(struct usb_hcd *hcd)
hcd               127 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd               507 drivers/usb/host/imx21-hcd.c static void urb_done(struct usb_hcd *hcd, struct urb *urb, int status)
hcd               511 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd               521 drivers/usb/host/imx21-hcd.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               523 drivers/usb/host/imx21-hcd.c 	usb_hcd_giveback_urb(hcd, urb, status);
hcd               534 drivers/usb/host/imx21-hcd.c 	urb_done(imx21->hcd, etd->urb, status);
hcd               551 drivers/usb/host/imx21-hcd.c static void schedule_isoc_etds(struct usb_hcd *hcd,
hcd               554 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd               581 drivers/usb/host/imx21-hcd.c 		cur_frame = imx21_hc_get_frame(hcd);
hcd               590 drivers/usb/host/imx21-hcd.c 				urb_done(hcd, td->urb, urb_priv->isoc_status);
hcd               618 drivers/usb/host/imx21-hcd.c static void isoc_etd_done(struct usb_hcd *hcd, int etd_num)
hcd               620 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd               648 drivers/usb/host/imx21-hcd.c 		imx21_hc_get_frame(hcd), td, cc, bytes_xfrd);
hcd               654 drivers/usb/host/imx21-hcd.c 			cc,  imx21_hc_get_frame(hcd), td->frame,
hcd               675 drivers/usb/host/imx21-hcd.c 		urb_done(hcd, urb, urb_priv->isoc_status);
hcd               677 drivers/usb/host/imx21-hcd.c 	schedule_isoc_etds(hcd, ep);
hcd               726 drivers/usb/host/imx21-hcd.c static int imx21_hc_urb_enqueue_isoc(struct usb_hcd *hcd,
hcd               730 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd               767 drivers/usb/host/imx21-hcd.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd               802 drivers/usb/host/imx21-hcd.c 	cur_frame = imx21_hc_get_frame(hcd);
hcd               848 drivers/usb/host/imx21-hcd.c 	schedule_isoc_etds(hcd, ep);
hcd               854 drivers/usb/host/imx21-hcd.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               931 drivers/usb/host/imx21-hcd.c 				usb_hcd_unmap_urb_setup_for_dma(imx21->hcd,
hcd               948 drivers/usb/host/imx21-hcd.c 			usb_hcd_unmap_urb_for_dma(imx21->hcd, urb);
hcd              1030 drivers/usb/host/imx21-hcd.c static void nonisoc_etd_done(struct usb_hcd *hcd, int etd_num)
hcd              1032 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1151 drivers/usb/host/imx21-hcd.c static int imx21_hc_urb_enqueue(struct usb_hcd *hcd,
hcd              1154 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1171 drivers/usb/host/imx21-hcd.c 		return imx21_hc_urb_enqueue_isoc(hcd, ep, urb, mem_flags);
hcd              1190 drivers/usb/host/imx21-hcd.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              1247 drivers/usb/host/imx21-hcd.c static int imx21_hc_urb_dequeue(struct usb_hcd *hcd, struct urb *urb,
hcd              1250 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1262 drivers/usb/host/imx21-hcd.c 	ret = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              1272 drivers/usb/host/imx21-hcd.c 		schedule_isoc_etds(hcd, ep);
hcd              1286 drivers/usb/host/imx21-hcd.c 	urb_done(hcd, urb, status);
hcd              1300 drivers/usb/host/imx21-hcd.c static void process_etds(struct usb_hcd *hcd, struct imx21 *imx21, int sof)
hcd              1382 drivers/usb/host/imx21-hcd.c 			isoc_etd_done(hcd, etd_num);
hcd              1384 drivers/usb/host/imx21-hcd.c 			nonisoc_etd_done(hcd, etd_num);
hcd              1397 drivers/usb/host/imx21-hcd.c static irqreturn_t imx21_irq(struct usb_hcd *hcd)
hcd              1399 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1409 drivers/usb/host/imx21-hcd.c 		process_etds(hcd, imx21, ints & USBH_SYSISR_SOFINT);
hcd              1415 drivers/usb/host/imx21-hcd.c static void imx21_hc_endpoint_disable(struct usb_hcd *hcd,
hcd              1418 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1460 drivers/usb/host/imx21-hcd.c static int get_hub_descriptor(struct usb_hcd *hcd,
hcd              1463 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1480 drivers/usb/host/imx21-hcd.c static int imx21_hc_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              1482 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1514 drivers/usb/host/imx21-hcd.c static int imx21_hc_hub_control(struct usb_hcd *hcd,
hcd              1518 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1584 drivers/usb/host/imx21-hcd.c 		rc = get_hub_descriptor(hcd, (void *)buf);
hcd              1654 drivers/usb/host/imx21-hcd.c static int imx21_hc_reset(struct usb_hcd *hcd)
hcd              1656 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1683 drivers/usb/host/imx21-hcd.c static int imx21_hc_start(struct usb_hcd *hcd)
hcd              1685 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1738 drivers/usb/host/imx21-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              1751 drivers/usb/host/imx21-hcd.c static void imx21_hc_stop(struct usb_hcd *hcd)
hcd              1753 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1806 drivers/usb/host/imx21-hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd              1807 drivers/usb/host/imx21-hcd.c 	struct imx21 *imx21 = hcd_to_imx21(hcd);
hcd              1811 drivers/usb/host/imx21-hcd.c 	usb_remove_hcd(hcd);
hcd              1820 drivers/usb/host/imx21-hcd.c 	kfree(hcd);
hcd              1827 drivers/usb/host/imx21-hcd.c 	struct usb_hcd *hcd;
hcd              1842 drivers/usb/host/imx21-hcd.c 	hcd = usb_create_hcd(&imx21_hc_driver,
hcd              1844 drivers/usb/host/imx21-hcd.c 	if (hcd == NULL) {
hcd              1850 drivers/usb/host/imx21-hcd.c 	imx21 = hcd_to_imx21(hcd);
hcd              1851 drivers/usb/host/imx21-hcd.c 	imx21->hcd = hcd;
hcd              1894 drivers/usb/host/imx21-hcd.c 	ret = usb_add_hcd(hcd, irq, 0);
hcd              1899 drivers/usb/host/imx21-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              1914 drivers/usb/host/imx21-hcd.c 	usb_put_hcd(hcd);
hcd               409 drivers/usb/host/imx21-hcd.h 	struct usb_hcd *hcd;
hcd               591 drivers/usb/host/isp116x-hcd.c static irqreturn_t isp116x_irq(struct usb_hcd *hcd)
hcd               593 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd               614 drivers/usb/host/isp116x-hcd.c 			hcd->state = HC_STATE_HALT;
hcd               615 drivers/usb/host/isp116x-hcd.c 			usb_hc_died(hcd);
hcd               623 drivers/usb/host/isp116x-hcd.c 			mod_timer(&hcd->rh_timer, jiffies
hcd               627 drivers/usb/host/isp116x-hcd.c 			usb_hcd_resume_root_hub(hcd);
hcd               681 drivers/usb/host/isp116x-hcd.c static int isp116x_urb_enqueue(struct usb_hcd *hcd,
hcd               685 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd               712 drivers/usb/host/isp116x-hcd.c 	if (!HC_IS_RUNNING(hcd->state)) {
hcd               717 drivers/usb/host/isp116x-hcd.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd               812 drivers/usb/host/isp116x-hcd.c 		hcd->self.bandwidth_allocated += ep->load / ep->period;
hcd               828 drivers/usb/host/isp116x-hcd.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               837 drivers/usb/host/isp116x-hcd.c static int isp116x_urb_dequeue(struct usb_hcd *hcd, struct urb *urb,
hcd               840 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd               847 drivers/usb/host/isp116x-hcd.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd               874 drivers/usb/host/isp116x-hcd.c static void isp116x_endpoint_disable(struct usb_hcd *hcd,
hcd               893 drivers/usb/host/isp116x-hcd.c static int isp116x_get_frame(struct usb_hcd *hcd)
hcd               895 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd               908 drivers/usb/host/isp116x-hcd.c static int isp116x_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd               910 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd               914 drivers/usb/host/isp116x-hcd.c 	if (!HC_IS_RUNNING(hcd->state))
hcd               919 drivers/usb/host/isp116x-hcd.c 	if (timer_pending(&hcd->rh_timer))
hcd              1003 drivers/usb/host/isp116x-hcd.c static int isp116x_hub_control(struct usb_hcd *hcd,
hcd              1007 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd              1248 drivers/usb/host/isp116x-hcd.c static int isp116x_reset(struct usb_hcd *hcd)
hcd              1250 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd              1278 drivers/usb/host/isp116x-hcd.c static void isp116x_stop(struct usb_hcd *hcd)
hcd              1280 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd              1301 drivers/usb/host/isp116x-hcd.c static int isp116x_start(struct usb_hcd *hcd)
hcd              1303 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd              1322 drivers/usb/host/isp116x-hcd.c 	hcd->uses_new_polling = 1;
hcd              1359 drivers/usb/host/isp116x-hcd.c 		if (!device_can_wakeup(hcd->self.controller))
hcd              1360 drivers/usb/host/isp116x-hcd.c 			device_init_wakeup(hcd->self.controller, 1);
hcd              1368 drivers/usb/host/isp116x-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              1395 drivers/usb/host/isp116x-hcd.c static int isp116x_bus_suspend(struct usb_hcd *hcd)
hcd              1397 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd              1410 drivers/usb/host/isp116x-hcd.c 		if (hcd->self.root_hub->do_remote_wakeup)
hcd              1436 drivers/usb/host/isp116x-hcd.c static int isp116x_bus_resume(struct usb_hcd *hcd)
hcd              1438 drivers/usb/host/isp116x-hcd.c 	struct isp116x *isp116x = hcd_to_isp116x(hcd);
hcd              1460 drivers/usb/host/isp116x-hcd.c 		isp116x_reset(hcd);
hcd              1461 drivers/usb/host/isp116x-hcd.c 		isp116x_start(hcd);
hcd              1462 drivers/usb/host/isp116x-hcd.c 		isp116x_hub_control(hcd, SetPortFeature,
hcd              1465 drivers/usb/host/isp116x-hcd.c 			isp116x_hub_control(hcd, SetPortFeature,
hcd              1483 drivers/usb/host/isp116x-hcd.c 	hcd->state = HC_STATE_RESUMING;
hcd              1492 drivers/usb/host/isp116x-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              1532 drivers/usb/host/isp116x-hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd              1536 drivers/usb/host/isp116x-hcd.c 	if (!hcd)
hcd              1538 drivers/usb/host/isp116x-hcd.c 	isp116x = hcd_to_isp116x(hcd);
hcd              1540 drivers/usb/host/isp116x-hcd.c 	usb_remove_hcd(hcd);
hcd              1549 drivers/usb/host/isp116x-hcd.c 	usb_put_hcd(hcd);
hcd              1555 drivers/usb/host/isp116x-hcd.c 	struct usb_hcd *hcd;
hcd              1604 drivers/usb/host/isp116x-hcd.c 	hcd = usb_create_hcd(&isp116x_hc_driver, &pdev->dev, dev_name(&pdev->dev));
hcd              1605 drivers/usb/host/isp116x-hcd.c 	if (!hcd) {
hcd              1610 drivers/usb/host/isp116x-hcd.c 	hcd->rsrc_start = addr->start;
hcd              1611 drivers/usb/host/isp116x-hcd.c 	isp116x = hcd_to_isp116x(hcd);
hcd              1631 drivers/usb/host/isp116x-hcd.c 	ret = usb_add_hcd(hcd, irq, irqflags);
hcd              1635 drivers/usb/host/isp116x-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              1642 drivers/usb/host/isp116x-hcd.c 	usb_put_hcd(hcd);
hcd               292 drivers/usb/host/isp116x.h static inline struct isp116x *hcd_to_isp116x(struct usb_hcd *hcd)
hcd               294 drivers/usb/host/isp116x.h 	return (struct isp116x *)(hcd->hcd_priv);
hcd               107 drivers/usb/host/isp1362-hcd.c static void isp1362_hc_stop(struct usb_hcd *hcd);
hcd               108 drivers/usb/host/isp1362-hcd.c static int isp1362_hc_start(struct usb_hcd *hcd);
hcd              1007 drivers/usb/host/isp1362-hcd.c static irqreturn_t isp1362_irq(struct usb_hcd *hcd)
hcd              1010 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              1148 drivers/usb/host/isp1362-hcd.c 			usb_hcd_resume_root_hub(hcd);
hcd              1216 drivers/usb/host/isp1362-hcd.c static int isp1362_urb_enqueue(struct usb_hcd *hcd,
hcd              1220 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              1261 drivers/usb/host/isp1362-hcd.c 	    !HC_IS_RUNNING(hcd->state)) {
hcd              1267 drivers/usb/host/isp1362-hcd.c 	retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              1387 drivers/usb/host/isp1362-hcd.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              1397 drivers/usb/host/isp1362-hcd.c static int isp1362_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              1399 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              1408 drivers/usb/host/isp1362-hcd.c 	retval = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              1449 drivers/usb/host/isp1362-hcd.c static void isp1362_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep)
hcd              1452 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              1479 drivers/usb/host/isp1362-hcd.c static int isp1362_get_frame(struct usb_hcd *hcd)
hcd              1481 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              1495 drivers/usb/host/isp1362-hcd.c static int isp1362_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              1497 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              1501 drivers/usb/host/isp1362-hcd.c 	if (!HC_IS_RUNNING(hcd->state))
hcd              1506 drivers/usb/host/isp1362-hcd.c 	if (timer_pending(&hcd->rh_timer))
hcd              1563 drivers/usb/host/isp1362-hcd.c static int isp1362_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd              1566 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              1733 drivers/usb/host/isp1362-hcd.c static int isp1362_bus_suspend(struct usb_hcd *hcd)
hcd              1736 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              1763 drivers/usb/host/isp1362-hcd.c 	hcd->state = HC_STATE_QUIESCING;
hcd              1823 drivers/usb/host/isp1362-hcd.c 		hcd->state = HC_STATE_SUSPENDED;
hcd              1831 drivers/usb/host/isp1362-hcd.c static int isp1362_bus_resume(struct usb_hcd *hcd)
hcd              1833 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              1844 drivers/usb/host/isp1362-hcd.c 	if (hcd->state == HC_STATE_RESUMING) {
hcd              1862 drivers/usb/host/isp1362-hcd.c 			hcd->self.root_hub->dev.power.power_state = PMSG_ON;
hcd              1871 drivers/usb/host/isp1362-hcd.c 		isp1362_hc_stop(hcd);
hcd              1872 drivers/usb/host/isp1362-hcd.c 		return isp1362_hc_start(hcd);
hcd              1892 drivers/usb/host/isp1362-hcd.c 	hcd->state = HC_STATE_RESUMING;
hcd              1906 drivers/usb/host/isp1362-hcd.c 	hcd->self.root_hub->dev.power.power_state = PMSG_ON;
hcd              1907 drivers/usb/host/isp1362-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              2204 drivers/usb/host/isp1362-hcd.c static int isp1362_mem_config(struct usb_hcd *hcd)
hcd              2206 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              2228 drivers/usb/host/isp1362-hcd.c 	dev_info(hcd->self.controller, "ISP1362 Memory usage:\n");
hcd              2229 drivers/usb/host/isp1362-hcd.c 	dev_info(hcd->self.controller, "  ISTL:    2 * %4d:     %4d @ $%04x:$%04x\n",
hcd              2231 drivers/usb/host/isp1362-hcd.c 	dev_info(hcd->self.controller, "  INTL: %4d * (%3zu+8):  %4d @ $%04x\n",
hcd              2234 drivers/usb/host/isp1362-hcd.c 	dev_info(hcd->self.controller, "  ATL : %4d * (%3zu+8):  %4d @ $%04x\n",
hcd              2237 drivers/usb/host/isp1362-hcd.c 	dev_info(hcd->self.controller, "  USED/FREE:   %4d      %4d\n", total,
hcd              2241 drivers/usb/host/isp1362-hcd.c 		dev_err(hcd->self.controller, "%s: Memory requested: %d, available %d\n",
hcd              2314 drivers/usb/host/isp1362-hcd.c static int isp1362_hc_reset(struct usb_hcd *hcd)
hcd              2317 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              2326 drivers/usb/host/isp1362-hcd.c 		isp1362_hcd->board->reset(hcd->self.controller, 1);
hcd              2329 drivers/usb/host/isp1362-hcd.c 			isp1362_hcd->board->clock(hcd->self.controller, 1);
hcd              2330 drivers/usb/host/isp1362-hcd.c 		isp1362_hcd->board->reset(hcd->self.controller, 0);
hcd              2354 drivers/usb/host/isp1362-hcd.c static void isp1362_hc_stop(struct usb_hcd *hcd)
hcd              2356 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              2362 drivers/usb/host/isp1362-hcd.c 	del_timer_sync(&hcd->rh_timer);
hcd              2376 drivers/usb/host/isp1362-hcd.c 		isp1362_hcd->board->reset(hcd->self.controller, 1);
hcd              2381 drivers/usb/host/isp1362-hcd.c 		isp1362_hcd->board->clock(hcd->self.controller, 0);
hcd              2479 drivers/usb/host/isp1362-hcd.c static int isp1362_hc_start(struct usb_hcd *hcd)
hcd              2482 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              2531 drivers/usb/host/isp1362-hcd.c 	ret = isp1362_mem_config(hcd);
hcd              2563 drivers/usb/host/isp1362-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              2613 drivers/usb/host/isp1362-hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd              2614 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              2618 drivers/usb/host/isp1362-hcd.c 	usb_remove_hcd(hcd);
hcd              2620 drivers/usb/host/isp1362-hcd.c 	usb_put_hcd(hcd);
hcd              2628 drivers/usb/host/isp1362-hcd.c 	struct usb_hcd *hcd;
hcd              2665 drivers/usb/host/isp1362-hcd.c 	hcd = usb_create_hcd(&isp1362_hc_driver, &pdev->dev, dev_name(&pdev->dev));
hcd              2666 drivers/usb/host/isp1362-hcd.c 	if (!hcd)
hcd              2669 drivers/usb/host/isp1362-hcd.c 	hcd->rsrc_start = data->start;
hcd              2670 drivers/usb/host/isp1362-hcd.c 	isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              2683 drivers/usb/host/isp1362-hcd.c 		dev_err(hcd->self.controller, "No platform delay function given\n");
hcd              2698 drivers/usb/host/isp1362-hcd.c 	retval = usb_add_hcd(hcd, irq, irq_flags | IRQF_SHARED);
hcd              2701 drivers/usb/host/isp1362-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              2703 drivers/usb/host/isp1362-hcd.c 	dev_info(&pdev->dev, "%s, irq %d\n", hcd->product_desc, irq);
hcd              2710 drivers/usb/host/isp1362-hcd.c 	usb_put_hcd(hcd);
hcd              2718 drivers/usb/host/isp1362-hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd              2719 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd              2727 drivers/usb/host/isp1362-hcd.c 		retval = isp1362_bus_suspend(hcd);
hcd              2741 drivers/usb/host/isp1362-hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd              2742 drivers/usb/host/isp1362-hcd.c 	struct isp1362_hcd *isp1362_hcd = hcd_to_isp1362_hcd(hcd);
hcd               524 drivers/usb/host/isp1362.h static inline struct isp1362_hcd *hcd_to_isp1362_hcd(struct usb_hcd *hcd)
hcd               526 drivers/usb/host/isp1362.h 	return (struct isp1362_hcd *) (hcd->hcd_priv);
hcd               341 drivers/usb/host/max3421-hcd.c hcd_to_max3421(struct usb_hcd *hcd)
hcd               343 drivers/usb/host/max3421-hcd.c 	return (struct max3421_hcd *) hcd->hcd_priv;
hcd               353 drivers/usb/host/max3421-hcd.c spi_rd8(struct usb_hcd *hcd, unsigned int reg)
hcd               355 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               356 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd               379 drivers/usb/host/max3421-hcd.c spi_wr8(struct usb_hcd *hcd, unsigned int reg, u8 val)
hcd               381 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd               382 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               403 drivers/usb/host/max3421-hcd.c spi_rd_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len)
hcd               405 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd               406 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               429 drivers/usb/host/max3421-hcd.c spi_wr_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len)
hcd               431 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd               432 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               469 drivers/usb/host/max3421-hcd.c max3421_set_speed(struct usb_hcd *hcd, struct usb_device *dev)
hcd               471 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               486 drivers/usb/host/max3421-hcd.c 		spi_wr8(hcd, MAX3421_REG_MODE, max3421_hcd->mode);
hcd               495 drivers/usb/host/max3421-hcd.c max3421_set_address(struct usb_hcd *hcd, struct usb_device *dev, int epnum,
hcd               498 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               512 drivers/usb/host/max3421-hcd.c 		u8 hrsl = spi_rd8(hcd, MAX3421_REG_HRSL);
hcd               528 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_HCTL, hctl);
hcd               536 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_PERADDR, dev->devnum);
hcd               540 drivers/usb/host/max3421-hcd.c max3421_ctrl_setup(struct usb_hcd *hcd, struct urb *urb)
hcd               542 drivers/usb/host/max3421-hcd.c 	spi_wr_buf(hcd, MAX3421_REG_SUDFIFO, urb->setup_packet, 8);
hcd               547 drivers/usb/host/max3421-hcd.c max3421_transfer_in(struct usb_hcd *hcd, struct urb *urb)
hcd               549 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               558 drivers/usb/host/max3421-hcd.c max3421_transfer_out(struct usb_hcd *hcd, struct urb *urb, int fast_retransmit)
hcd               560 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd               561 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               571 drivers/usb/host/max3421-hcd.c 			spi_wr8(hcd, MAX3421_REG_SNDBC, 0);
hcd               572 drivers/usb/host/max3421-hcd.c 			spi_wr8(hcd, MAX3421_REG_SNDFIFO, ((u8 *) src)[0]);
hcd               573 drivers/usb/host/max3421-hcd.c 			spi_wr8(hcd, MAX3421_REG_SNDBC, max3421_hcd->curr_len);
hcd               594 drivers/usb/host/max3421-hcd.c 	spi_wr_buf(hcd, MAX3421_REG_SNDFIFO, src, max3421_hcd->curr_len);
hcd               595 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_SNDBC, max3421_hcd->curr_len);
hcd               604 drivers/usb/host/max3421-hcd.c max3421_next_transfer(struct usb_hcd *hcd, int fast_retransmit)
hcd               606 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               618 drivers/usb/host/max3421-hcd.c 		cmd = max3421_ctrl_setup(hcd, urb);
hcd               623 drivers/usb/host/max3421-hcd.c 			cmd = max3421_transfer_in(hcd, urb);
hcd               625 drivers/usb/host/max3421-hcd.c 			cmd = max3421_transfer_out(hcd, urb, fast_retransmit);
hcd               645 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_HXFR, cmd);
hcd               664 drivers/usb/host/max3421-hcd.c max3421_select_and_start_urb(struct usb_hcd *hcd)
hcd               666 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd               667 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               788 drivers/usb/host/max3421-hcd.c 	max3421_set_address(hcd, urb->dev, epnum, force_toggles);
hcd               789 drivers/usb/host/max3421-hcd.c 	max3421_set_speed(hcd, urb->dev);
hcd               790 drivers/usb/host/max3421-hcd.c 	max3421_next_transfer(hcd, 0);
hcd               800 drivers/usb/host/max3421-hcd.c max3421_check_unlink(struct usb_hcd *hcd)
hcd               802 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd               803 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               818 drivers/usb/host/max3421-hcd.c 				usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               821 drivers/usb/host/max3421-hcd.c 				usb_hcd_giveback_urb(hcd, urb, 0);
hcd               834 drivers/usb/host/max3421-hcd.c max3421_slow_retransmit(struct usb_hcd *hcd)
hcd               836 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               849 drivers/usb/host/max3421-hcd.c max3421_recv_data_available(struct usb_hcd *hcd)
hcd               851 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               856 drivers/usb/host/max3421-hcd.c 	rcvbc = spi_rd8(hcd, MAX3421_REG_RCVBC);
hcd               870 drivers/usb/host/max3421-hcd.c 		spi_rd_buf(hcd, MAX3421_REG_RCVFIFO, dst, transfer_size);
hcd               876 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_HIRQ, BIT(MAX3421_HI_RCVDAV_BIT));
hcd               880 drivers/usb/host/max3421-hcd.c max3421_handle_error(struct usb_hcd *hcd, u8 hrsl)
hcd               882 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd               883 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd               925 drivers/usb/host/max3421-hcd.c 			spi_wr8(hcd, MAX3421_REG_HCTL,
hcd               937 drivers/usb/host/max3421-hcd.c 			max3421_slow_retransmit(hcd);
hcd               958 drivers/usb/host/max3421-hcd.c 			max3421_next_transfer(hcd, 1);
hcd               961 drivers/usb/host/max3421-hcd.c 			max3421_slow_retransmit(hcd);
hcd               965 drivers/usb/host/max3421-hcd.c 		spi_wr8(hcd, MAX3421_REG_SNDBC, 0);
hcd               972 drivers/usb/host/max3421-hcd.c max3421_transfer_in_done(struct usb_hcd *hcd, struct urb *urb)
hcd               974 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd               975 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1016 drivers/usb/host/max3421-hcd.c max3421_transfer_out_done(struct usb_hcd *hcd, struct urb *urb)
hcd              1018 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1043 drivers/usb/host/max3421-hcd.c max3421_host_transfer_done(struct usb_hcd *hcd)
hcd              1045 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1054 drivers/usb/host/max3421-hcd.c 	hrsl = spi_rd8(hcd, MAX3421_REG_HRSL);
hcd              1064 drivers/usb/host/max3421-hcd.c 		max3421_handle_error(hcd, hrsl);
hcd              1081 drivers/usb/host/max3421-hcd.c 			urb_done = max3421_transfer_in_done(hcd, urb);
hcd              1083 drivers/usb/host/max3421-hcd.c 			urb_done = max3421_transfer_out_done(hcd, urb);
hcd              1102 drivers/usb/host/max3421-hcd.c 		max3421_next_transfer(hcd, 0);
hcd              1109 drivers/usb/host/max3421-hcd.c max3421_detect_conn(struct usb_hcd *hcd)
hcd              1111 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1117 drivers/usb/host/max3421-hcd.c 	hrsl = spi_rd8(hcd, MAX3421_REG_HRSL);
hcd              1148 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_MODE, max3421_hcd->mode);
hcd              1168 drivers/usb/host/max3421-hcd.c 	struct usb_hcd *hcd = dev_id;
hcd              1169 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd              1170 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1183 drivers/usb/host/max3421-hcd.c dump_eps(struct usb_hcd *hcd)
hcd              1185 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1224 drivers/usb/host/max3421-hcd.c max3421_handle_irqs(struct usb_hcd *hcd)
hcd              1226 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1236 drivers/usb/host/max3421-hcd.c 	hirq = spi_rd8(hcd, MAX3421_REG_HIRQ);
hcd              1241 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_HIRQ,
hcd              1252 drivers/usb/host/max3421-hcd.c 		max3421_recv_data_available(hcd);
hcd              1255 drivers/usb/host/max3421-hcd.c 		max3421_host_transfer_done(hcd);
hcd              1258 drivers/usb/host/max3421-hcd.c 		max3421_detect_conn(hcd);
hcd              1309 drivers/usb/host/max3421-hcd.c 			dump_eps(hcd);
hcd              1317 drivers/usb/host/max3421-hcd.c max3421_reset_hcd(struct usb_hcd *hcd)
hcd              1319 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd              1320 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1324 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_USBCTL, BIT(MAX3421_USBCTL_CHIPRES_BIT));
hcd              1326 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_USBCTL, 0);
hcd              1329 drivers/usb/host/max3421-hcd.c 		if (spi_rd8(hcd, MAX3421_REG_USBIRQ)
hcd              1348 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_MODE, max3421_hcd->mode);
hcd              1352 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_HCTL, BIT(MAX3421_HCTL_FRMRST_BIT));
hcd              1355 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_HCTL, BIT(MAX3421_HCTL_SAMPLEBUS_BIT));
hcd              1356 drivers/usb/host/max3421-hcd.c 	max3421_detect_conn(hcd);
hcd              1362 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_HIEN, max3421_hcd->hien);
hcd              1365 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_CPUCTL, BIT(MAX3421_CPUCTL_IE_BIT));
hcd              1370 drivers/usb/host/max3421-hcd.c max3421_urb_done(struct usb_hcd *hcd)
hcd              1372 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1385 drivers/usb/host/max3421-hcd.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              1389 drivers/usb/host/max3421-hcd.c 		usb_hcd_giveback_urb(hcd, urb, status);
hcd              1397 drivers/usb/host/max3421-hcd.c 	struct usb_hcd *hcd = dev_id;
hcd              1398 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd              1399 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1403 drivers/usb/host/max3421-hcd.c 	spi_wr8(hcd, MAX3421_REG_PINCTL,
hcd              1408 drivers/usb/host/max3421-hcd.c 		max3421_hcd->rev = spi_rd8(hcd, MAX3421_REG_REVISION);
hcd              1425 drivers/usb/host/max3421-hcd.c 			spi_wr8(hcd, MAX3421_REG_HIEN, max3421_hcd->hien);
hcd              1437 drivers/usb/host/max3421-hcd.c 			i_worked |= max3421_urb_done(hcd);
hcd              1438 drivers/usb/host/max3421-hcd.c 		else if (max3421_handle_irqs(hcd))
hcd              1441 drivers/usb/host/max3421-hcd.c 			i_worked |= max3421_select_and_start_urb(hcd);
hcd              1445 drivers/usb/host/max3421-hcd.c 			i_worked |= max3421_reset_hcd(hcd);
hcd              1448 drivers/usb/host/max3421-hcd.c 			spi_wr8(hcd, MAX3421_REG_HCTL,
hcd              1453 drivers/usb/host/max3421-hcd.c 			i_worked |= max3421_check_unlink(hcd);
hcd              1460 drivers/usb/host/max3421-hcd.c 				u8 val = spi_rd8(hcd, MAX3421_REG_IOPINS1);
hcd              1464 drivers/usb/host/max3421-hcd.c 				spi_wr8(hcd, MAX3421_REG_IOPINS1 + i, val);
hcd              1476 drivers/usb/host/max3421-hcd.c max3421_reset_port(struct usb_hcd *hcd)
hcd              1478 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1489 drivers/usb/host/max3421-hcd.c max3421_reset(struct usb_hcd *hcd)
hcd              1491 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1493 drivers/usb/host/max3421-hcd.c 	hcd->self.sg_tablesize = 0;
hcd              1494 drivers/usb/host/max3421-hcd.c 	hcd->speed = HCD_USB2;
hcd              1495 drivers/usb/host/max3421-hcd.c 	hcd->self.root_hub->speed = USB_SPEED_FULL;
hcd              1502 drivers/usb/host/max3421-hcd.c max3421_start(struct usb_hcd *hcd)
hcd              1504 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1511 drivers/usb/host/max3421-hcd.c 	hcd->power_budget = POWER_BUDGET;
hcd              1512 drivers/usb/host/max3421-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              1513 drivers/usb/host/max3421-hcd.c 	hcd->uses_new_polling = 1;
hcd              1518 drivers/usb/host/max3421-hcd.c max3421_stop(struct usb_hcd *hcd)
hcd              1523 drivers/usb/host/max3421-hcd.c max3421_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags)
hcd              1525 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd              1526 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1561 drivers/usb/host/max3421-hcd.c 	retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              1574 drivers/usb/host/max3421-hcd.c max3421_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              1576 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1586 drivers/usb/host/max3421-hcd.c 	retval = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              1596 drivers/usb/host/max3421-hcd.c max3421_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep)
hcd              1598 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1617 drivers/usb/host/max3421-hcd.c max3421_get_frame_number(struct usb_hcd *hcd)
hcd              1619 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1628 drivers/usb/host/max3421-hcd.c max3421_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              1630 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1635 drivers/usb/host/max3421-hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd              1641 drivers/usb/host/max3421-hcd.c 		dev_dbg(hcd->self.controller,
hcd              1646 drivers/usb/host/max3421-hcd.c 			usb_hcd_resume_root_hub(hcd);
hcd              1673 drivers/usb/host/max3421-hcd.c max3421_gpout_set_value(struct usb_hcd *hcd, u8 pin_number, u8 value)
hcd              1675 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1694 drivers/usb/host/max3421-hcd.c max3421_hub_control(struct usb_hcd *hcd, u16 type_req, u16 value, u16 index,
hcd              1697 drivers/usb/host/max3421-hcd.c 	struct spi_device *spi = to_spi_device(hcd->self.controller);
hcd              1698 drivers/usb/host/max3421-hcd.c 	struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd);
hcd              1715 drivers/usb/host/max3421-hcd.c 			dev_dbg(hcd->self.controller, "power-off\n");
hcd              1716 drivers/usb/host/max3421-hcd.c 			max3421_gpout_set_value(hcd, pdata->vbus_gpout,
hcd              1764 drivers/usb/host/max3421-hcd.c 			dev_dbg(hcd->self.controller, "power-on\n");
hcd              1766 drivers/usb/host/max3421-hcd.c 			max3421_gpout_set_value(hcd, pdata->vbus_gpout,
hcd              1770 drivers/usb/host/max3421-hcd.c 			max3421_reset_port(hcd);
hcd              1780 drivers/usb/host/max3421-hcd.c 		dev_dbg(hcd->self.controller,
hcd              1792 drivers/usb/host/max3421-hcd.c max3421_bus_suspend(struct usb_hcd *hcd)
hcd              1798 drivers/usb/host/max3421-hcd.c max3421_bus_resume(struct usb_hcd *hcd)
hcd              1848 drivers/usb/host/max3421-hcd.c 	struct usb_hcd *hcd = NULL;
hcd              1892 drivers/usb/host/max3421-hcd.c 	hcd = usb_create_hcd(&max3421_hcd_desc, &spi->dev,
hcd              1894 drivers/usb/host/max3421-hcd.c 	if (!hcd) {
hcd              1898 drivers/usb/host/max3421-hcd.c 	set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              1899 drivers/usb/host/max3421-hcd.c 	max3421_hcd = hcd_to_max3421(hcd);
hcd              1911 drivers/usb/host/max3421-hcd.c 	max3421_hcd->spi_thread = kthread_run(max3421_spi_thread, hcd,
hcd              1919 drivers/usb/host/max3421-hcd.c 	retval = usb_add_hcd(hcd, 0, 0);
hcd              1926 drivers/usb/host/max3421-hcd.c 			     IRQF_TRIGGER_LOW, "max3421", hcd);
hcd              1939 drivers/usb/host/max3421-hcd.c 	if (hcd) {
hcd              1944 drivers/usb/host/max3421-hcd.c 		usb_put_hcd(hcd);
hcd              1953 drivers/usb/host/max3421-hcd.c 	struct usb_hcd *hcd = NULL;
hcd              1958 drivers/usb/host/max3421-hcd.c 		hcd = max3421_to_hcd(max3421_hcd);
hcd              1959 drivers/usb/host/max3421-hcd.c 		if (hcd->self.controller == &spi->dev)
hcd              1968 drivers/usb/host/max3421-hcd.c 	usb_remove_hcd(hcd);
hcd              1977 drivers/usb/host/max3421-hcd.c 	free_irq(spi->irq, hcd);
hcd              1979 drivers/usb/host/max3421-hcd.c 	usb_put_hcd(hcd);
hcd                98 drivers/usb/host/ohci-at91.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd                99 drivers/usb/host/ohci-at91.c 	struct ohci_regs __iomem *regs = hcd->regs;
hcd               100 drivers/usb/host/ohci-at91.c 	struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd);
hcd               117 drivers/usb/host/ohci-at91.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               118 drivers/usb/host/ohci-at91.c 	struct ohci_regs __iomem *regs = hcd->regs;
hcd               119 drivers/usb/host/ohci-at91.c 	struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd);
hcd               171 drivers/usb/host/ohci-at91.c 	struct usb_hcd *hcd;
hcd               183 drivers/usb/host/ohci-at91.c 	hcd = usb_create_hcd(driver, dev, "at91");
hcd               184 drivers/usb/host/ohci-at91.c 	if (!hcd)
hcd               186 drivers/usb/host/ohci-at91.c 	ohci_at91 = hcd_to_ohci_at91_priv(hcd);
hcd               189 drivers/usb/host/ohci-at91.c 	hcd->regs = devm_ioremap_resource(dev, res);
hcd               190 drivers/usb/host/ohci-at91.c 	if (IS_ERR(hcd->regs)) {
hcd               191 drivers/usb/host/ohci-at91.c 		retval = PTR_ERR(hcd->regs);
hcd               194 drivers/usb/host/ohci-at91.c 	hcd->rsrc_start = res->start;
hcd               195 drivers/usb/host/ohci-at91.c 	hcd->rsrc_len = resource_size(res);
hcd               220 drivers/usb/host/ohci-at91.c 	board = hcd->self.controller->platform_data;
hcd               221 drivers/usb/host/ohci-at91.c 	ohci = hcd_to_ohci(hcd);
hcd               231 drivers/usb/host/ohci-at91.c 	retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               233 drivers/usb/host/ohci-at91.c 		device_wakeup_enable(hcd->self.controller);
hcd               241 drivers/usb/host/ohci-at91.c 	usb_put_hcd(hcd);
hcd               258 drivers/usb/host/ohci-at91.c static void usb_hcd_at91_remove(struct usb_hcd *hcd,
hcd               261 drivers/usb/host/ohci-at91.c 	usb_remove_hcd(hcd);
hcd               263 drivers/usb/host/ohci-at91.c 	usb_put_hcd(hcd);
hcd               286 drivers/usb/host/ohci-at91.c static int ohci_at91_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd               288 drivers/usb/host/ohci-at91.c 	struct at91_usbh_data *pdata = hcd->self.controller->platform_data;
hcd               289 drivers/usb/host/ohci-at91.c 	int length = ohci_hub_status_data(hcd, buf);
hcd               328 drivers/usb/host/ohci-at91.c static int ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd               331 drivers/usb/host/ohci-at91.c 	struct at91_usbh_data *pdata = dev_get_platdata(hcd->self.controller);
hcd               332 drivers/usb/host/ohci-at91.c 	struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd);
hcd               337 drivers/usb/host/ohci-at91.c 	dev_dbg(hcd->self.controller,
hcd               339 drivers/usb/host/ohci-at91.c 		hcd, typeReq, wValue, wIndex, buf, wLength);
hcd               347 drivers/usb/host/ohci-at91.c 			dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n");
hcd               356 drivers/usb/host/ohci-at91.c 			dev_dbg(hcd->self.controller, "SetPortFeat: SUSPEND\n");
hcd               369 drivers/usb/host/ohci-at91.c 			dev_dbg(hcd->self.controller,
hcd               380 drivers/usb/host/ohci-at91.c 			dev_dbg(hcd->self.controller,
hcd               389 drivers/usb/host/ohci-at91.c 			dev_dbg(hcd->self.controller,
hcd               399 drivers/usb/host/ohci-at91.c 			dev_dbg(hcd->self.controller, "ClearPortFeature: SUSPEND\n");
hcd               410 drivers/usb/host/ohci-at91.c 	ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength);
hcd               421 drivers/usb/host/ohci-at91.c 		dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n",
hcd               438 drivers/usb/host/ohci-at91.c 		dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n",
hcd               446 drivers/usb/host/ohci-at91.c 		dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex);
hcd               596 drivers/usb/host/ohci-at91.c 	struct usb_hcd	*hcd = dev_get_drvdata(dev);
hcd               597 drivers/usb/host/ohci-at91.c 	struct ohci_hcd	*ohci = hcd_to_ohci(hcd);
hcd               598 drivers/usb/host/ohci-at91.c 	struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd);
hcd               609 drivers/usb/host/ohci-at91.c 		enable_irq_wake(hcd->irq);
hcd               613 drivers/usb/host/ohci-at91.c 	ret = ohci_suspend(hcd, ohci_at91->wakeup);
hcd               616 drivers/usb/host/ohci-at91.c 			disable_irq_wake(hcd->irq);
hcd               640 drivers/usb/host/ohci-at91.c 	struct usb_hcd	*hcd = dev_get_drvdata(dev);
hcd               641 drivers/usb/host/ohci-at91.c 	struct ohci_at91_priv *ohci_at91 = hcd_to_ohci_at91_priv(hcd);
hcd               644 drivers/usb/host/ohci-at91.c 		disable_irq_wake(hcd->irq);
hcd               648 drivers/usb/host/ohci-at91.c 	ohci_resume(hcd, false);
hcd                33 drivers/usb/host/ohci-da8xx.c static int (*orig_ohci_hub_control)(struct usb_hcd  *hcd, u16 typeReq,
hcd                35 drivers/usb/host/ohci-da8xx.c static int (*orig_ohci_hub_status_data)(struct usb_hcd *hcd, char *buf);
hcd                38 drivers/usb/host/ohci-da8xx.c 	struct usb_hcd *hcd;
hcd                46 drivers/usb/host/ohci-da8xx.c #define to_da8xx_ohci(hcd) (struct da8xx_ohci_hcd *)(hcd_to_ohci(hcd)->priv)
hcd                51 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_enable(struct usb_hcd *hcd)
hcd                53 drivers/usb/host/ohci-da8xx.c 	struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd);
hcd                78 drivers/usb/host/ohci-da8xx.c static void ohci_da8xx_disable(struct usb_hcd *hcd)
hcd                80 drivers/usb/host/ohci-da8xx.c 	struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd);
hcd                87 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_set_power(struct usb_hcd *hcd, int on)
hcd                89 drivers/usb/host/ohci-da8xx.c 	struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd);
hcd                90 drivers/usb/host/ohci-da8xx.c 	struct device *dev = hcd->self.controller;
hcd               113 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_get_power(struct usb_hcd *hcd)
hcd               115 drivers/usb/host/ohci-da8xx.c 	struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd);
hcd               123 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_get_oci(struct usb_hcd *hcd)
hcd               125 drivers/usb/host/ohci-da8xx.c 	struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd);
hcd               145 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_has_set_power(struct usb_hcd *hcd)
hcd               147 drivers/usb/host/ohci-da8xx.c 	struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd);
hcd               155 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_has_oci(struct usb_hcd *hcd)
hcd               157 drivers/usb/host/ohci-da8xx.c 	struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd);
hcd               168 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_has_potpgt(struct usb_hcd *hcd)
hcd               170 drivers/usb/host/ohci-da8xx.c 	struct device *dev		= hcd->self.controller;
hcd               187 drivers/usb/host/ohci-da8xx.c 		ohci_da8xx_set_power(da8xx_ohci->hcd, 0);
hcd               196 drivers/usb/host/ohci-da8xx.c 	struct device *dev = da8xx_ohci->hcd->self.controller;
hcd               209 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_register_notify(struct usb_hcd *hcd)
hcd               211 drivers/usb/host/ohci-da8xx.c 	struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd);
hcd               212 drivers/usb/host/ohci-da8xx.c 	struct device *dev		= hcd->self.controller;
hcd               227 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_reset(struct usb_hcd *hcd)
hcd               229 drivers/usb/host/ohci-da8xx.c 	struct device *dev		= hcd->self.controller;
hcd               231 drivers/usb/host/ohci-da8xx.c 	struct ohci_hcd	*ohci		= hcd_to_ohci(hcd);
hcd               237 drivers/usb/host/ohci-da8xx.c 	result = ohci_da8xx_enable(hcd);
hcd               247 drivers/usb/host/ohci-da8xx.c 	result = ohci_setup(hcd);
hcd               249 drivers/usb/host/ohci-da8xx.c 		ohci_da8xx_disable(hcd);
hcd               260 drivers/usb/host/ohci-da8xx.c 	if (ohci_da8xx_has_set_power(hcd)) {
hcd               264 drivers/usb/host/ohci-da8xx.c 	if (ohci_da8xx_has_oci(hcd)) {
hcd               268 drivers/usb/host/ohci-da8xx.c 	if (ohci_da8xx_has_potpgt(hcd)) {
hcd               280 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd               282 drivers/usb/host/ohci-da8xx.c 	int length		= orig_ohci_hub_status_data(hcd, buf);
hcd               286 drivers/usb/host/ohci-da8xx.c 		dev_dbg(hcd->self.controller, "over-current indicator change "
hcd               300 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd               303 drivers/usb/host/ohci-da8xx.c 	struct device *dev		= hcd->self.controller;
hcd               314 drivers/usb/host/ohci-da8xx.c 		temp = roothub_portstatus(hcd_to_ohci(hcd), wIndex - 1);
hcd               317 drivers/usb/host/ohci-da8xx.c 		if (!ohci_da8xx_get_power(hcd))
hcd               321 drivers/usb/host/ohci-da8xx.c 		if (ohci_da8xx_get_oci(hcd) > 0)
hcd               346 drivers/usb/host/ohci-da8xx.c 			return ohci_da8xx_set_power(hcd, temp) ? -EPIPE : 0;
hcd               360 drivers/usb/host/ohci-da8xx.c 	return orig_ohci_hub_control(hcd, typeReq, wValue,
hcd               378 drivers/usb/host/ohci-da8xx.c 	struct usb_hcd	*hcd;
hcd               381 drivers/usb/host/ohci-da8xx.c 	hcd = usb_create_hcd(&ohci_da8xx_hc_driver, dev, dev_name(dev));
hcd               382 drivers/usb/host/ohci-da8xx.c 	if (!hcd)
hcd               385 drivers/usb/host/ohci-da8xx.c 	da8xx_ohci = to_da8xx_ohci(hcd);
hcd               386 drivers/usb/host/ohci-da8xx.c 	da8xx_ohci->hcd = hcd;
hcd               439 drivers/usb/host/ohci-da8xx.c 	hcd->regs = devm_ioremap_resource(dev, mem);
hcd               440 drivers/usb/host/ohci-da8xx.c 	if (IS_ERR(hcd->regs)) {
hcd               441 drivers/usb/host/ohci-da8xx.c 		error = PTR_ERR(hcd->regs);
hcd               444 drivers/usb/host/ohci-da8xx.c 	hcd->rsrc_start = mem->start;
hcd               445 drivers/usb/host/ohci-da8xx.c 	hcd->rsrc_len = resource_size(mem);
hcd               453 drivers/usb/host/ohci-da8xx.c 	error = usb_add_hcd(hcd, hcd_irq, 0);
hcd               457 drivers/usb/host/ohci-da8xx.c 	device_wakeup_enable(hcd->self.controller);
hcd               459 drivers/usb/host/ohci-da8xx.c 	error = ohci_da8xx_register_notify(hcd);
hcd               466 drivers/usb/host/ohci-da8xx.c 	usb_remove_hcd(hcd);
hcd               468 drivers/usb/host/ohci-da8xx.c 	usb_put_hcd(hcd);
hcd               474 drivers/usb/host/ohci-da8xx.c 	struct usb_hcd	*hcd = platform_get_drvdata(pdev);
hcd               476 drivers/usb/host/ohci-da8xx.c 	usb_remove_hcd(hcd);
hcd               477 drivers/usb/host/ohci-da8xx.c 	usb_put_hcd(hcd);
hcd               486 drivers/usb/host/ohci-da8xx.c 	struct usb_hcd	*hcd	= platform_get_drvdata(pdev);
hcd               487 drivers/usb/host/ohci-da8xx.c 	struct ohci_hcd	*ohci	= hcd_to_ohci(hcd);
hcd               496 drivers/usb/host/ohci-da8xx.c 	ret = ohci_suspend(hcd, do_wakeup);
hcd               500 drivers/usb/host/ohci-da8xx.c 	ohci_da8xx_disable(hcd);
hcd               501 drivers/usb/host/ohci-da8xx.c 	hcd->state = HC_STATE_SUSPENDED;
hcd               508 drivers/usb/host/ohci-da8xx.c 	struct usb_hcd	*hcd	= platform_get_drvdata(dev);
hcd               509 drivers/usb/host/ohci-da8xx.c 	struct ohci_hcd	*ohci	= hcd_to_ohci(hcd);
hcd               516 drivers/usb/host/ohci-da8xx.c 	ret = ohci_da8xx_enable(hcd);
hcd               520 drivers/usb/host/ohci-da8xx.c 	ohci_resume(hcd, false);
hcd               583 drivers/usb/host/ohci-dbg.c 	struct usb_hcd		*hcd;
hcd               592 drivers/usb/host/ohci-dbg.c 	hcd = ohci_to_hcd(ohci);
hcd               605 drivers/usb/host/ohci-dbg.c 		hcd->self.controller->bus->name,
hcd               606 drivers/usb/host/ohci-dbg.c 		dev_name(hcd->self.controller),
hcd               607 drivers/usb/host/ohci-dbg.c 		hcd->product_desc,
hcd               610 drivers/usb/host/ohci-dbg.c 	if (!HCD_HW_ACCESSIBLE(hcd)) {
hcd                27 drivers/usb/host/ohci-exynos.c #define to_exynos_ohci(hcd) (struct exynos_ohci_hcd *)(hcd_to_ohci(hcd)->priv)
hcd                95 drivers/usb/host/ohci-exynos.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd                96 drivers/usb/host/ohci-exynos.c 	struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd);
hcd               113 drivers/usb/host/ohci-exynos.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               114 drivers/usb/host/ohci-exynos.c 	struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd);
hcd               125 drivers/usb/host/ohci-exynos.c 	struct usb_hcd *hcd;
hcd               139 drivers/usb/host/ohci-exynos.c 	hcd = usb_create_hcd(&exynos_ohci_hc_driver,
hcd               141 drivers/usb/host/ohci-exynos.c 	if (!hcd) {
hcd               146 drivers/usb/host/ohci-exynos.c 	exynos_ohci = to_exynos_ohci(hcd);
hcd               165 drivers/usb/host/ohci-exynos.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd               166 drivers/usb/host/ohci-exynos.c 	if (IS_ERR(hcd->regs)) {
hcd               167 drivers/usb/host/ohci-exynos.c 		err = PTR_ERR(hcd->regs);
hcd               170 drivers/usb/host/ohci-exynos.c 	hcd->rsrc_start = res->start;
hcd               171 drivers/usb/host/ohci-exynos.c 	hcd->rsrc_len = resource_size(res);
hcd               180 drivers/usb/host/ohci-exynos.c 	platform_set_drvdata(pdev, hcd);
hcd               196 drivers/usb/host/ohci-exynos.c 	err = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               201 drivers/usb/host/ohci-exynos.c 	device_wakeup_enable(hcd->self.controller);
hcd               210 drivers/usb/host/ohci-exynos.c 	usb_put_hcd(hcd);
hcd               216 drivers/usb/host/ohci-exynos.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               217 drivers/usb/host/ohci-exynos.c 	struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd);
hcd               221 drivers/usb/host/ohci-exynos.c 	usb_remove_hcd(hcd);
hcd               227 drivers/usb/host/ohci-exynos.c 	usb_put_hcd(hcd);
hcd               234 drivers/usb/host/ohci-exynos.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               236 drivers/usb/host/ohci-exynos.c 	if (hcd->driver->shutdown)
hcd               237 drivers/usb/host/ohci-exynos.c 		hcd->driver->shutdown(hcd);
hcd               243 drivers/usb/host/ohci-exynos.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               244 drivers/usb/host/ohci-exynos.c 	struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd);
hcd               246 drivers/usb/host/ohci-exynos.c 	int rc = ohci_suspend(hcd, do_wakeup);
hcd               260 drivers/usb/host/ohci-exynos.c 	struct usb_hcd *hcd			= dev_get_drvdata(dev);
hcd               261 drivers/usb/host/ohci-exynos.c 	struct exynos_ohci_hcd *exynos_ohci	= to_exynos_ohci(hcd);
hcd               273 drivers/usb/host/ohci-exynos.c 	ohci_resume(hcd, false);
hcd                84 drivers/usb/host/ohci-hcd.c static void ohci_stop(struct usb_hcd *hcd);
hcd               148 drivers/usb/host/ohci-hcd.c 	struct usb_hcd	*hcd,
hcd               152 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd               215 drivers/usb/host/ohci-hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd)) {
hcd               223 drivers/usb/host/ohci-hcd.c 	retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd               231 drivers/usb/host/ohci-hcd.c 			usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               315 drivers/usb/host/ohci-hcd.c static int ohci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd               317 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd		*ohci = hcd_to_ohci (hcd);
hcd               323 drivers/usb/host/ohci-hcd.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd               350 drivers/usb/host/ohci-hcd.c ohci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep)
hcd               352 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd		*ohci = hcd_to_ohci (hcd);
hcd               403 drivers/usb/host/ohci-hcd.c static int ohci_get_frame (struct usb_hcd *hcd)
hcd               405 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd		*ohci = hcd_to_ohci (hcd);
hcd               422 drivers/usb/host/ohci-hcd.c static void _ohci_shutdown(struct usb_hcd *hcd)
hcd               426 drivers/usb/host/ohci-hcd.c 	ohci = hcd_to_ohci (hcd);
hcd               438 drivers/usb/host/ohci-hcd.c static void ohci_shutdown(struct usb_hcd *hcd)
hcd               440 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd	*ohci = hcd_to_ohci(hcd);
hcd               444 drivers/usb/host/ohci-hcd.c 	_ohci_shutdown(hcd);
hcd               457 drivers/usb/host/ohci-hcd.c 	struct usb_hcd *hcd = ohci_to_hcd(ohci);
hcd               460 drivers/usb/host/ohci-hcd.c 	if (!hcd->localmem_pool)
hcd               461 drivers/usb/host/ohci-hcd.c 		hcd->self.sg_tablesize = ~0;
hcd               467 drivers/usb/host/ohci-hcd.c 	ohci->regs = hcd->regs;
hcd               518 drivers/usb/host/ohci-hcd.c 	if (hcd->localmem_pool)
hcd               519 drivers/usb/host/ohci-hcd.c 		ohci->hcca = gen_pool_dma_alloc_align(hcd->localmem_pool,
hcd               523 drivers/usb/host/ohci-hcd.c 		ohci->hcca = dma_alloc_coherent(hcd->self.controller,
hcd               531 drivers/usb/host/ohci-hcd.c 		ohci_stop (hcd);
hcd               549 drivers/usb/host/ohci-hcd.c 	struct usb_hcd		*hcd = ohci_to_hcd(ohci);
hcd               572 drivers/usb/host/ohci-hcd.c 		device_set_wakeup_capable(hcd->self.controller, 1);
hcd               657 drivers/usb/host/ohci-hcd.c 	set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               658 drivers/usb/host/ohci-hcd.c 	hcd->uses_new_polling = 1;
hcd               709 drivers/usb/host/ohci-hcd.c int ohci_setup(struct usb_hcd *hcd)
hcd               711 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd		*ohci = hcd_to_ohci(hcd);
hcd               720 drivers/usb/host/ohci-hcd.c static int ohci_start(struct usb_hcd *hcd)
hcd               722 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd		*ohci = hcd_to_ohci(hcd);
hcd               728 drivers/usb/host/ohci-hcd.c 		ohci_stop(hcd);
hcd               874 drivers/usb/host/ohci-hcd.c static irqreturn_t ohci_irq (struct usb_hcd *hcd)
hcd               876 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd		*ohci = hcd_to_ohci (hcd);
hcd               892 drivers/usb/host/ohci-hcd.c 		usb_hc_died(hcd);
hcd               917 drivers/usb/host/ohci-hcd.c 			usb_hc_died(hcd);
hcd               939 drivers/usb/host/ohci-hcd.c 		usb_hcd_poll_rh_status(hcd);
hcd               949 drivers/usb/host/ohci-hcd.c 		set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               955 drivers/usb/host/ohci-hcd.c 			usb_hcd_resume_root_hub(hcd);
hcd               988 drivers/usb/host/ohci-hcd.c static void ohci_stop (struct usb_hcd *hcd)
hcd               990 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd		*ohci = hcd_to_ohci (hcd);
hcd              1001 drivers/usb/host/ohci-hcd.c 	free_irq(hcd->irq, hcd);
hcd              1002 drivers/usb/host/ohci-hcd.c 	hcd->irq = 0;
hcd              1010 drivers/usb/host/ohci-hcd.c 		if (hcd->localmem_pool)
hcd              1011 drivers/usb/host/ohci-hcd.c 			gen_pool_free(hcd->localmem_pool,
hcd              1015 drivers/usb/host/ohci-hcd.c 			dma_free_coherent(hcd->self.controller,
hcd              1094 drivers/usb/host/ohci-hcd.c int ohci_suspend(struct usb_hcd *hcd, bool do_wakeup)
hcd              1096 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd              1108 drivers/usb/host/ohci-hcd.c 	clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              1111 drivers/usb/host/ohci-hcd.c 	synchronize_irq(hcd->irq);
hcd              1113 drivers/usb/host/ohci-hcd.c 	if (do_wakeup && HCD_WAKEUP_PENDING(hcd)) {
hcd              1114 drivers/usb/host/ohci-hcd.c 		ohci_resume(hcd, false);
hcd              1122 drivers/usb/host/ohci-hcd.c int ohci_resume(struct usb_hcd *hcd, bool hibernated)
hcd              1124 drivers/usb/host/ohci-hcd.c 	struct ohci_hcd		*ohci = hcd_to_ohci(hcd);
hcd              1128 drivers/usb/host/ohci-hcd.c 	set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              1166 drivers/usb/host/ohci-hcd.c 	usb_hcd_resume_root_hub(hcd);
hcd               153 drivers/usb/host/ohci-hub.c 	struct usb_hcd		*hcd = ohci_to_hcd (ohci);
hcd               200 drivers/usb/host/ohci-hub.c 			usb_root_hub_lost_power(hcd->self.root_hub);
hcd               286 drivers/usb/host/ohci-hub.c 	if (hcd->self.bandwidth_isoc_reqs || hcd->self.bandwidth_int_reqs)
hcd               301 drivers/usb/host/ohci-hub.c static int ohci_bus_suspend (struct usb_hcd *hcd)
hcd               303 drivers/usb/host/ohci-hub.c 	struct ohci_hcd		*ohci = hcd_to_ohci (hcd);
hcd               308 drivers/usb/host/ohci-hub.c 	if (unlikely(!HCD_HW_ACCESSIBLE(hcd)))
hcd               321 drivers/usb/host/ohci-hub.c static int ohci_bus_resume (struct usb_hcd *hcd)
hcd               323 drivers/usb/host/ohci-hub.c 	struct ohci_hcd		*ohci = hcd_to_ohci (hcd);
hcd               331 drivers/usb/host/ohci-hub.c 	if (unlikely(!HCD_HW_ACCESSIBLE(hcd)))
hcd               339 drivers/usb/host/ohci-hub.c 		usb_hcd_poll_rh_status(hcd);
hcd               465 drivers/usb/host/ohci-hub.c int ohci_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd               467 drivers/usb/host/ohci-hub.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd               474 drivers/usb/host/ohci-hub.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd               520 drivers/usb/host/ohci-hub.c 		set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               522 drivers/usb/host/ohci-hub.c 		clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               577 drivers/usb/host/ohci-hub.c static int ohci_start_port_reset (struct usb_hcd *hcd, unsigned port)
hcd               579 drivers/usb/host/ohci-hub.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd               674 drivers/usb/host/ohci-hub.c 	struct usb_hcd	*hcd,
hcd               681 drivers/usb/host/ohci-hub.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd               686 drivers/usb/host/ohci-hub.c 	if (unlikely(!HCD_HW_ACCESSIBLE(hcd)))
hcd               772 drivers/usb/host/ohci-hub.c 			if (hcd->self.otg_port == (wIndex + 1)
hcd               773 drivers/usb/host/ohci-hub.c 					&& hcd->self.b_hnp_enable)
hcd                94 drivers/usb/host/ohci-mem.c 	struct usb_hcd	*hcd = ohci_to_hcd(hc);
hcd                96 drivers/usb/host/ohci-mem.c 	if (hcd->localmem_pool)
hcd                97 drivers/usb/host/ohci-mem.c 		td = gen_pool_dma_zalloc_align(hcd->localmem_pool,
hcd               114 drivers/usb/host/ohci-mem.c 	struct usb_hcd	*hcd = ohci_to_hcd(hc);
hcd               123 drivers/usb/host/ohci-mem.c 	if (hcd->localmem_pool)
hcd               124 drivers/usb/host/ohci-mem.c 		gen_pool_free(hcd->localmem_pool, (unsigned long)td,
hcd               138 drivers/usb/host/ohci-mem.c 	struct usb_hcd	*hcd = ohci_to_hcd(hc);
hcd               140 drivers/usb/host/ohci-mem.c 	if (hcd->localmem_pool)
hcd               141 drivers/usb/host/ohci-mem.c 		ed = gen_pool_dma_zalloc_align(hcd->localmem_pool,
hcd               155 drivers/usb/host/ohci-mem.c 	struct usb_hcd	*hcd = ohci_to_hcd(hc);
hcd               157 drivers/usb/host/ohci-mem.c 	if (hcd->localmem_pool)
hcd               158 drivers/usb/host/ohci-mem.c 		gen_pool_free(hcd->localmem_pool, (unsigned long)ed,
hcd               153 drivers/usb/host/ohci-nxp.c 	struct usb_hcd *hcd = 0;
hcd               197 drivers/usb/host/ohci-nxp.c 	hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
hcd               198 drivers/usb/host/ohci-nxp.c 	if (!hcd) {
hcd               205 drivers/usb/host/ohci-nxp.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd               206 drivers/usb/host/ohci-nxp.c 	if (IS_ERR(hcd->regs)) {
hcd               207 drivers/usb/host/ohci-nxp.c 		ret = PTR_ERR(hcd->regs);
hcd               210 drivers/usb/host/ohci-nxp.c 	hcd->rsrc_start = res->start;
hcd               211 drivers/usb/host/ohci-nxp.c 	hcd->rsrc_len = resource_size(res);
hcd               220 drivers/usb/host/ohci-nxp.c 	platform_set_drvdata(pdev, hcd);
hcd               222 drivers/usb/host/ohci-nxp.c 	dev_info(&pdev->dev, "at 0x%p, irq %d\n", hcd->regs, hcd->irq);
hcd               223 drivers/usb/host/ohci-nxp.c 	ret = usb_add_hcd(hcd, irq, 0);
hcd               225 drivers/usb/host/ohci-nxp.c 		device_wakeup_enable(hcd->self.controller);
hcd               231 drivers/usb/host/ohci-nxp.c 	usb_put_hcd(hcd);
hcd               241 drivers/usb/host/ohci-nxp.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               243 drivers/usb/host/ohci-nxp.c 	usb_remove_hcd(hcd);
hcd               245 drivers/usb/host/ohci-nxp.c 	usb_put_hcd(hcd);
hcd               175 drivers/usb/host/ohci-omap.c 	struct usb_hcd *hcd = ohci_to_hcd(ohci);
hcd               176 drivers/usb/host/ohci-omap.c 	const unsigned	port = hcd->self.otg_port - 1;
hcd               180 drivers/usb/host/ohci-omap.c 	otg_start_hnp(hcd->usb_phy->otg);
hcd               183 drivers/usb/host/ohci-omap.c 	hcd->usb_phy->otg->state = OTG_STATE_A_SUSPEND;
hcd               195 drivers/usb/host/ohci-omap.c static int ohci_omap_reset(struct usb_hcd *hcd)
hcd               197 drivers/usb/host/ohci-omap.c 	struct ohci_hcd		*ohci = hcd_to_ohci(hcd);
hcd               198 drivers/usb/host/ohci-omap.c 	struct omap_usb_config	*config = dev_get_platdata(hcd->self.controller);
hcd               202 drivers/usb/host/ohci-omap.c 	dev_dbg(hcd->self.controller, "starting USB Controller\n");
hcd               205 drivers/usb/host/ohci-omap.c 		hcd->self.otg_port = config->otg;
hcd               207 drivers/usb/host/ohci-omap.c 		hcd->power_budget = 8;
hcd               220 drivers/usb/host/ohci-omap.c 		hcd->usb_phy = usb_get_phy(USB_PHY_TYPE_USB2);
hcd               221 drivers/usb/host/ohci-omap.c 		if (!IS_ERR_OR_NULL(hcd->usb_phy)) {
hcd               222 drivers/usb/host/ohci-omap.c 			int	status = otg_set_host(hcd->usb_phy->otg,
hcd               224 drivers/usb/host/ohci-omap.c 			dev_dbg(hcd->self.controller, "init %s phy, status %d\n",
hcd               225 drivers/usb/host/ohci-omap.c 					hcd->usb_phy->label, status);
hcd               227 drivers/usb/host/ohci-omap.c 				usb_put_phy(hcd->usb_phy);
hcd               233 drivers/usb/host/ohci-omap.c 		hcd->skip_phy_initialization = 1;
hcd               245 drivers/usb/host/ohci-omap.c 	ret = ohci_setup(hcd);
hcd               307 drivers/usb/host/ohci-omap.c 	struct usb_hcd *hcd = 0;
hcd               336 drivers/usb/host/ohci-omap.c 	hcd = usb_create_hcd(&ohci_omap_hc_driver, &pdev->dev,
hcd               338 drivers/usb/host/ohci-omap.c 	if (!hcd) {
hcd               342 drivers/usb/host/ohci-omap.c 	hcd->rsrc_start = pdev->resource[0].start;
hcd               343 drivers/usb/host/ohci-omap.c 	hcd->rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1;
hcd               345 drivers/usb/host/ohci-omap.c 	if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) {
hcd               351 drivers/usb/host/ohci-omap.c 	hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len);
hcd               352 drivers/usb/host/ohci-omap.c 	if (!hcd->regs) {
hcd               363 drivers/usb/host/ohci-omap.c 	retval = usb_add_hcd(hcd, irq, 0);
hcd               367 drivers/usb/host/ohci-omap.c 	device_wakeup_enable(hcd->self.controller);
hcd               370 drivers/usb/host/ohci-omap.c 	iounmap(hcd->regs);
hcd               372 drivers/usb/host/ohci-omap.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               374 drivers/usb/host/ohci-omap.c 	usb_put_hcd(hcd);
hcd               395 drivers/usb/host/ohci-omap.c 	struct usb_hcd	*hcd = platform_get_drvdata(pdev);
hcd               397 drivers/usb/host/ohci-omap.c 	dev_dbg(hcd->self.controller, "stopping USB Controller\n");
hcd               398 drivers/usb/host/ohci-omap.c 	usb_remove_hcd(hcd);
hcd               400 drivers/usb/host/ohci-omap.c 	if (!IS_ERR_OR_NULL(hcd->usb_phy)) {
hcd               401 drivers/usb/host/ohci-omap.c 		(void) otg_set_host(hcd->usb_phy->otg, 0);
hcd               402 drivers/usb/host/ohci-omap.c 		usb_put_phy(hcd->usb_phy);
hcd               406 drivers/usb/host/ohci-omap.c 	iounmap(hcd->regs);
hcd               407 drivers/usb/host/ohci-omap.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               408 drivers/usb/host/ohci-omap.c 	usb_put_hcd(hcd);
hcd               420 drivers/usb/host/ohci-omap.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               421 drivers/usb/host/ohci-omap.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd               429 drivers/usb/host/ohci-omap.c 	ret = ohci_suspend(hcd, do_wakeup);
hcd               439 drivers/usb/host/ohci-omap.c 	struct usb_hcd	*hcd = platform_get_drvdata(dev);
hcd               440 drivers/usb/host/ohci-omap.c 	struct ohci_hcd	*ohci = hcd_to_ohci(hcd);
hcd               447 drivers/usb/host/ohci-omap.c 	ohci_resume(hcd, false);
hcd                35 drivers/usb/host/ohci-pci.c static int broken_suspend(struct usb_hcd *hcd)
hcd                37 drivers/usb/host/ohci-pci.c 	device_init_wakeup(&hcd->self.root_hub->dev, 0);
hcd                44 drivers/usb/host/ohci-pci.c static int ohci_quirk_amd756(struct usb_hcd *hcd)
hcd                46 drivers/usb/host/ohci-pci.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd                52 drivers/usb/host/ohci-pci.c 	return broken_suspend(hcd);
hcd                59 drivers/usb/host/ohci-pci.c static int ohci_quirk_opti(struct usb_hcd *hcd)
hcd                61 drivers/usb/host/ohci-pci.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd                72 drivers/usb/host/ohci-pci.c static int ohci_quirk_ns(struct usb_hcd *hcd)
hcd                74 drivers/usb/host/ohci-pci.c 	struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
hcd                80 drivers/usb/host/ohci-pci.c 		struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd                94 drivers/usb/host/ohci-pci.c static int ohci_quirk_zfmicro(struct usb_hcd *hcd)
hcd                96 drivers/usb/host/ohci-pci.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd               107 drivers/usb/host/ohci-pci.c static int ohci_quirk_toshiba_scc(struct usb_hcd *hcd)
hcd               109 drivers/usb/host/ohci-pci.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd               140 drivers/usb/host/ohci-pci.c static int ohci_quirk_nec(struct usb_hcd *hcd)
hcd               142 drivers/usb/host/ohci-pci.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd               151 drivers/usb/host/ohci-pci.c static int ohci_quirk_amd700(struct usb_hcd *hcd)
hcd               153 drivers/usb/host/ohci-pci.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd               168 drivers/usb/host/ohci-pci.c static int ohci_quirk_qemu(struct usb_hcd *hcd)
hcd               170 drivers/usb/host/ohci-pci.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd               242 drivers/usb/host/ohci-pci.c static int ohci_pci_reset (struct usb_hcd *hcd)
hcd               244 drivers/usb/host/ohci-pci.c 	struct ohci_hcd	*ohci = hcd_to_ohci (hcd);
hcd               245 drivers/usb/host/ohci-pci.c 	struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
hcd               248 drivers/usb/host/ohci-pci.c 	if (hcd->self.controller) {
hcd               255 drivers/usb/host/ohci-pci.c 			ret = quirk(hcd);
hcd               260 drivers/usb/host/ohci-pci.c 		ret = ohci_setup(hcd);
hcd                47 drivers/usb/host/ohci-platform.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd                48 drivers/usb/host/ohci-platform.c 	struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
hcd                68 drivers/usb/host/ohci-platform.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd                69 drivers/usb/host/ohci-platform.c 	struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
hcd                92 drivers/usb/host/ohci-platform.c 	struct usb_hcd *hcd;
hcd               117 drivers/usb/host/ohci-platform.c 	hcd = usb_create_hcd(&ohci_platform_hc_driver, &dev->dev,
hcd               119 drivers/usb/host/ohci-platform.c 	if (!hcd)
hcd               122 drivers/usb/host/ohci-platform.c 	platform_set_drvdata(dev, hcd);
hcd               124 drivers/usb/host/ohci-platform.c 	priv = hcd_to_ohci_priv(hcd);
hcd               125 drivers/usb/host/ohci-platform.c 	ohci = hcd_to_ohci(hcd);
hcd               205 drivers/usb/host/ohci-platform.c 	hcd->regs = devm_ioremap_resource(&dev->dev, res_mem);
hcd               206 drivers/usb/host/ohci-platform.c 	if (IS_ERR(hcd->regs)) {
hcd               207 drivers/usb/host/ohci-platform.c 		err = PTR_ERR(hcd->regs);
hcd               210 drivers/usb/host/ohci-platform.c 	hcd->rsrc_start = res_mem->start;
hcd               211 drivers/usb/host/ohci-platform.c 	hcd->rsrc_len = resource_size(res_mem);
hcd               213 drivers/usb/host/ohci-platform.c 	err = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               217 drivers/usb/host/ohci-platform.c 	device_wakeup_enable(hcd->self.controller);
hcd               219 drivers/usb/host/ohci-platform.c 	platform_set_drvdata(dev, hcd);
hcd               236 drivers/usb/host/ohci-platform.c 	usb_put_hcd(hcd);
hcd               243 drivers/usb/host/ohci-platform.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               245 drivers/usb/host/ohci-platform.c 	struct ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
hcd               249 drivers/usb/host/ohci-platform.c 	usb_remove_hcd(hcd);
hcd               259 drivers/usb/host/ohci-platform.c 	usb_put_hcd(hcd);
hcd               273 drivers/usb/host/ohci-platform.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               279 drivers/usb/host/ohci-platform.c 	ret = ohci_suspend(hcd, do_wakeup);
hcd               291 drivers/usb/host/ohci-platform.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               301 drivers/usb/host/ohci-platform.c 	ohci_resume(hcd, false);
hcd                26 drivers/usb/host/ohci-ppc-of.c ohci_ppc_of_start(struct usb_hcd *hcd)
hcd                28 drivers/usb/host/ohci-ppc-of.c 	struct ohci_hcd	*ohci = hcd_to_ohci(hcd);
hcd                35 drivers/usb/host/ohci-ppc-of.c 		dev_err(hcd->self.controller, "can't start %s\n",
hcd                36 drivers/usb/host/ohci-ppc-of.c 			hcd->self.bus_name);
hcd                37 drivers/usb/host/ohci-ppc-of.c 		ohci_stop(hcd);
hcd                90 drivers/usb/host/ohci-ppc-of.c 	struct usb_hcd *hcd;
hcd               112 drivers/usb/host/ohci-ppc-of.c 	hcd = usb_create_hcd(&ohci_ppc_of_hc_driver, &op->dev, "PPC-OF USB");
hcd               113 drivers/usb/host/ohci-ppc-of.c 	if (!hcd)
hcd               116 drivers/usb/host/ohci-ppc-of.c 	hcd->rsrc_start = res.start;
hcd               117 drivers/usb/host/ohci-ppc-of.c 	hcd->rsrc_len = resource_size(&res);
hcd               119 drivers/usb/host/ohci-ppc-of.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
hcd               120 drivers/usb/host/ohci-ppc-of.c 	if (IS_ERR(hcd->regs)) {
hcd               121 drivers/usb/host/ohci-ppc-of.c 		rv = PTR_ERR(hcd->regs);
hcd               133 drivers/usb/host/ohci-ppc-of.c 	ohci = hcd_to_ohci(hcd);
hcd               144 drivers/usb/host/ohci-ppc-of.c 	rv = usb_add_hcd(hcd, irq, 0);
hcd               146 drivers/usb/host/ohci-ppc-of.c 		device_wakeup_enable(hcd->self.controller);
hcd               176 drivers/usb/host/ohci-ppc-of.c  	usb_put_hcd(hcd);
hcd               183 drivers/usb/host/ohci-ppc-of.c 	struct usb_hcd *hcd = platform_get_drvdata(op);
hcd               187 drivers/usb/host/ohci-ppc-of.c 	usb_remove_hcd(hcd);
hcd               189 drivers/usb/host/ohci-ppc-of.c 	irq_dispose_mapping(hcd->irq);
hcd               191 drivers/usb/host/ohci-ppc-of.c 	usb_put_hcd(hcd);
hcd                12 drivers/usb/host/ohci-ps3.c static int ps3_ohci_hc_reset(struct usb_hcd *hcd)
hcd                14 drivers/usb/host/ohci-ps3.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd                21 drivers/usb/host/ohci-ps3.c static int ps3_ohci_hc_start(struct usb_hcd *hcd)
hcd                24 drivers/usb/host/ohci-ps3.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd                36 drivers/usb/host/ohci-ps3.c 		dev_err(hcd->self.controller, "can't start %s\n",
hcd                37 drivers/usb/host/ohci-ps3.c 			hcd->self.bus_name);
hcd                38 drivers/usb/host/ohci-ps3.c 		ohci_stop(hcd);
hcd                70 drivers/usb/host/ohci-ps3.c 	struct usb_hcd *hcd;
hcd               122 drivers/usb/host/ohci-ps3.c 	hcd = usb_create_hcd(&ps3_ohci_hc_driver, &dev->core, dev_name(&dev->core));
hcd               124 drivers/usb/host/ohci-ps3.c 	if (!hcd) {
hcd               131 drivers/usb/host/ohci-ps3.c 	hcd->rsrc_start = dev->m_region->lpar_addr;
hcd               132 drivers/usb/host/ohci-ps3.c 	hcd->rsrc_len = dev->m_region->len;
hcd               134 drivers/usb/host/ohci-ps3.c 	if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name))
hcd               138 drivers/usb/host/ohci-ps3.c 	hcd->regs = ioremap(dev->m_region->lpar_addr, dev->m_region->len);
hcd               140 drivers/usb/host/ohci-ps3.c 	if (!hcd->regs) {
hcd               148 drivers/usb/host/ohci-ps3.c 		(unsigned long)hcd->rsrc_start);
hcd               150 drivers/usb/host/ohci-ps3.c 		(unsigned long)hcd->rsrc_len);
hcd               152 drivers/usb/host/ohci-ps3.c 		(unsigned long)hcd->regs);
hcd               156 drivers/usb/host/ohci-ps3.c 	ps3_system_bus_set_drvdata(dev, hcd);
hcd               158 drivers/usb/host/ohci-ps3.c 	result = usb_add_hcd(hcd, virq, 0);
hcd               166 drivers/usb/host/ohci-ps3.c 	device_wakeup_enable(hcd->self.controller);
hcd               170 drivers/usb/host/ohci-ps3.c 	iounmap(hcd->regs);
hcd               172 drivers/usb/host/ohci-ps3.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               173 drivers/usb/host/ohci-ps3.c 	usb_put_hcd(hcd);
hcd               190 drivers/usb/host/ohci-ps3.c 	struct usb_hcd *hcd = ps3_system_bus_get_drvdata(dev);
hcd               192 drivers/usb/host/ohci-ps3.c 	BUG_ON(!hcd);
hcd               194 drivers/usb/host/ohci-ps3.c 	dev_dbg(&dev->core, "%s:%d: regs %p\n", __func__, __LINE__, hcd->regs);
hcd               195 drivers/usb/host/ohci-ps3.c 	dev_dbg(&dev->core, "%s:%d: irq %u\n", __func__, __LINE__, hcd->irq);
hcd               197 drivers/usb/host/ohci-ps3.c 	tmp = hcd->irq;
hcd               199 drivers/usb/host/ohci-ps3.c 	ohci_shutdown(hcd);
hcd               200 drivers/usb/host/ohci-ps3.c 	usb_remove_hcd(hcd);
hcd               204 drivers/usb/host/ohci-ps3.c 	BUG_ON(!hcd->regs);
hcd               205 drivers/usb/host/ohci-ps3.c 	iounmap(hcd->regs);
hcd               207 drivers/usb/host/ohci-ps3.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               208 drivers/usb/host/ohci-ps3.c 	usb_put_hcd(hcd);
hcd               129 drivers/usb/host/ohci-pxa27x.c #define to_pxa27x_ohci(hcd)	(struct pxa27x_ohci *)(hcd_to_ohci(hcd)->priv)
hcd               195 drivers/usb/host/ohci-pxa27x.c static int pxa27x_ohci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd               198 drivers/usb/host/ohci-pxa27x.c 	struct pxa27x_ohci *pxa_ohci = to_pxa27x_ohci(hcd);
hcd               217 drivers/usb/host/ohci-pxa27x.c 	return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength);
hcd               281 drivers/usb/host/ohci-pxa27x.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               308 drivers/usb/host/ohci-pxa27x.c 		pxa3xx_u2d_start_hc(&hcd->self);
hcd               322 drivers/usb/host/ohci-pxa27x.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               328 drivers/usb/host/ohci-pxa27x.c 		pxa3xx_u2d_stop_hc(&hcd->self);
hcd               423 drivers/usb/host/ohci-pxa27x.c 	struct usb_hcd *hcd;
hcd               450 drivers/usb/host/ohci-pxa27x.c 	hcd = usb_create_hcd(&ohci_pxa27x_hc_driver, &pdev->dev, "pxa27x");
hcd               451 drivers/usb/host/ohci-pxa27x.c 	if (!hcd)
hcd               455 drivers/usb/host/ohci-pxa27x.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, r);
hcd               456 drivers/usb/host/ohci-pxa27x.c 	if (IS_ERR(hcd->regs)) {
hcd               457 drivers/usb/host/ohci-pxa27x.c 		retval = PTR_ERR(hcd->regs);
hcd               460 drivers/usb/host/ohci-pxa27x.c 	hcd->rsrc_start = r->start;
hcd               461 drivers/usb/host/ohci-pxa27x.c 	hcd->rsrc_len = resource_size(r);
hcd               464 drivers/usb/host/ohci-pxa27x.c 	pxa_ohci = to_pxa27x_ohci(hcd);
hcd               466 drivers/usb/host/ohci-pxa27x.c 	pxa_ohci->mmio_base = (void __iomem *)hcd->regs;
hcd               488 drivers/usb/host/ohci-pxa27x.c 		hcd->power_budget = inf->power_budget;
hcd               491 drivers/usb/host/ohci-pxa27x.c 	ohci = hcd_to_ohci(hcd);
hcd               494 drivers/usb/host/ohci-pxa27x.c 	retval = usb_add_hcd(hcd, irq, 0);
hcd               496 drivers/usb/host/ohci-pxa27x.c 		device_wakeup_enable(hcd->self.controller);
hcd               502 drivers/usb/host/ohci-pxa27x.c 	usb_put_hcd(hcd);
hcd               522 drivers/usb/host/ohci-pxa27x.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               523 drivers/usb/host/ohci-pxa27x.c 	struct pxa27x_ohci *pxa_ohci = to_pxa27x_ohci(hcd);
hcd               526 drivers/usb/host/ohci-pxa27x.c 	usb_remove_hcd(hcd);
hcd               532 drivers/usb/host/ohci-pxa27x.c 	usb_put_hcd(hcd);
hcd               541 drivers/usb/host/ohci-pxa27x.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               542 drivers/usb/host/ohci-pxa27x.c 	struct pxa27x_ohci *pxa_ohci = to_pxa27x_ohci(hcd);
hcd               543 drivers/usb/host/ohci-pxa27x.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd               552 drivers/usb/host/ohci-pxa27x.c 	ret = ohci_suspend(hcd, do_wakeup);
hcd               562 drivers/usb/host/ohci-pxa27x.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               563 drivers/usb/host/ohci-pxa27x.c 	struct pxa27x_ohci *pxa_ohci = to_pxa27x_ohci(hcd);
hcd               565 drivers/usb/host/ohci-pxa27x.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd               579 drivers/usb/host/ohci-pxa27x.c 	ohci_resume(hcd, false);
hcd                55 drivers/usb/host/ohci-s3c2410.c static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd)
hcd                57 drivers/usb/host/ohci-s3c2410.c 	return dev_get_platdata(hcd->self.controller);
hcd                60 drivers/usb/host/ohci-s3c2410.c static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd)
hcd                72 drivers/usb/host/ohci-s3c2410.c 		info->hcd	= hcd;
hcd                88 drivers/usb/host/ohci-s3c2410.c 		info->hcd	= NULL;
hcd               105 drivers/usb/host/ohci-s3c2410.c ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd               107 drivers/usb/host/ohci-s3c2410.c 	struct s3c2410_hcd_info *info = to_s3c2410_info(hcd);
hcd               112 drivers/usb/host/ohci-s3c2410.c 	orig = ohci_hub_status_data(hcd, buf);
hcd               124 drivers/usb/host/ohci-s3c2410.c 			dev_dbg(hcd->self.controller,
hcd               163 drivers/usb/host/ohci-s3c2410.c 	struct usb_hcd	*hcd,
hcd               170 drivers/usb/host/ohci-s3c2410.c 	struct s3c2410_hcd_info *info = to_s3c2410_info(hcd);
hcd               175 drivers/usb/host/ohci-s3c2410.c 	dev_dbg(hcd->self.controller,
hcd               177 drivers/usb/host/ohci-s3c2410.c 		hcd, typeReq, wValue, wIndex, buf, wLength);
hcd               183 drivers/usb/host/ohci-s3c2410.c 		ret = ohci_hub_control(hcd, typeReq, wValue,
hcd               193 drivers/usb/host/ohci-s3c2410.c 			dev_dbg(hcd->self.controller, "SetPortFeat: POWER\n");
hcd               202 drivers/usb/host/ohci-s3c2410.c 			dev_dbg(hcd->self.controller,
hcd               213 drivers/usb/host/ohci-s3c2410.c 			dev_dbg(hcd->self.controller,
hcd               222 drivers/usb/host/ohci-s3c2410.c 			dev_dbg(hcd->self.controller,
hcd               233 drivers/usb/host/ohci-s3c2410.c 	ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength);
hcd               247 drivers/usb/host/ohci-s3c2410.c 		dev_dbg(hcd->self.controller, "wHubCharacteristics 0x%04x\n",
hcd               265 drivers/usb/host/ohci-s3c2410.c 		dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n",
hcd               273 drivers/usb/host/ohci-s3c2410.c 		dev_dbg(hcd->self.controller, "GetPortStatus(%d)\n", wIndex);
hcd               338 drivers/usb/host/ohci-s3c2410.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               340 drivers/usb/host/ohci-s3c2410.c 	usb_remove_hcd(hcd);
hcd               342 drivers/usb/host/ohci-s3c2410.c 	usb_put_hcd(hcd);
hcd               357 drivers/usb/host/ohci-s3c2410.c 	struct usb_hcd *hcd = NULL;
hcd               364 drivers/usb/host/ohci-s3c2410.c 	hcd = usb_create_hcd(&ohci_s3c2410_hc_driver, &dev->dev, "s3c24xx");
hcd               365 drivers/usb/host/ohci-s3c2410.c 	if (hcd == NULL)
hcd               368 drivers/usb/host/ohci-s3c2410.c 	hcd->rsrc_start = dev->resource[0].start;
hcd               369 drivers/usb/host/ohci-s3c2410.c 	hcd->rsrc_len	= resource_size(&dev->resource[0]);
hcd               371 drivers/usb/host/ohci-s3c2410.c 	hcd->regs = devm_ioremap_resource(&dev->dev, &dev->resource[0]);
hcd               372 drivers/usb/host/ohci-s3c2410.c 	if (IS_ERR(hcd->regs)) {
hcd               373 drivers/usb/host/ohci-s3c2410.c 		retval = PTR_ERR(hcd->regs);
hcd               391 drivers/usb/host/ohci-s3c2410.c 	s3c2410_start_hc(dev, hcd);
hcd               393 drivers/usb/host/ohci-s3c2410.c 	retval = usb_add_hcd(hcd, dev->resource[1].start, 0);
hcd               397 drivers/usb/host/ohci-s3c2410.c 	device_wakeup_enable(hcd->self.controller);
hcd               404 drivers/usb/host/ohci-s3c2410.c 	usb_put_hcd(hcd);
hcd               413 drivers/usb/host/ohci-s3c2410.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               418 drivers/usb/host/ohci-s3c2410.c 	rc = ohci_suspend(hcd, do_wakeup);
hcd               429 drivers/usb/host/ohci-s3c2410.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               432 drivers/usb/host/ohci-s3c2410.c 	s3c2410_start_hc(pdev, hcd);
hcd               434 drivers/usb/host/ohci-s3c2410.c 	ohci_resume(hcd, false);
hcd                44 drivers/usb/host/ohci-sa1111.c static void dump_hci_status(struct usb_hcd *hcd, const char *label)
hcd                46 drivers/usb/host/ohci-sa1111.c 	unsigned long status = readl_relaxed(hcd->regs + USB_STATUS);
hcd                57 drivers/usb/host/ohci-sa1111.c static int ohci_sa1111_reset(struct usb_hcd *hcd)
hcd                59 drivers/usb/host/ohci-sa1111.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd                65 drivers/usb/host/ohci-sa1111.c static int ohci_sa1111_start(struct usb_hcd *hcd)
hcd                67 drivers/usb/host/ohci-sa1111.c 	struct ohci_hcd	*ohci = hcd_to_ohci(hcd);
hcd                73 drivers/usb/host/ohci-sa1111.c 		ohci_stop(hcd);
hcd               181 drivers/usb/host/ohci-sa1111.c 	struct usb_hcd *hcd;
hcd               193 drivers/usb/host/ohci-sa1111.c 	hcd = usb_create_hcd(&ohci_sa1111_hc_driver, &dev->dev, "sa1111");
hcd               194 drivers/usb/host/ohci-sa1111.c 	if (!hcd)
hcd               197 drivers/usb/host/ohci-sa1111.c 	hcd->rsrc_start = dev->res.start;
hcd               198 drivers/usb/host/ohci-sa1111.c 	hcd->rsrc_len = resource_size(&dev->res);
hcd               206 drivers/usb/host/ohci-sa1111.c 	if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) {
hcd               212 drivers/usb/host/ohci-sa1111.c 	hcd->regs = dev->mapbase;
hcd               218 drivers/usb/host/ohci-sa1111.c 	ret = usb_add_hcd(hcd, irq, 0);
hcd               220 drivers/usb/host/ohci-sa1111.c 		device_wakeup_enable(hcd->self.controller);
hcd               226 drivers/usb/host/ohci-sa1111.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               228 drivers/usb/host/ohci-sa1111.c 	usb_put_hcd(hcd);
hcd               241 drivers/usb/host/ohci-sa1111.c 	struct usb_hcd *hcd = sa1111_get_drvdata(dev);
hcd               243 drivers/usb/host/ohci-sa1111.c 	usb_remove_hcd(hcd);
hcd               245 drivers/usb/host/ohci-sa1111.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               246 drivers/usb/host/ohci-sa1111.c 	usb_put_hcd(hcd);
hcd               254 drivers/usb/host/ohci-sa1111.c 	struct usb_hcd *hcd = sa1111_get_drvdata(dev);
hcd               256 drivers/usb/host/ohci-sa1111.c 	if (test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags)) {
hcd               257 drivers/usb/host/ohci-sa1111.c 		hcd->driver->shutdown(hcd);
hcd                22 drivers/usb/host/ohci-sm501.c static int ohci_sm501_init(struct usb_hcd *hcd)
hcd                24 drivers/usb/host/ohci-sm501.c 	return ohci_init(hcd_to_ohci(hcd));
hcd                27 drivers/usb/host/ohci-sm501.c static int ohci_sm501_start(struct usb_hcd *hcd)
hcd                29 drivers/usb/host/ohci-sm501.c 	struct device *dev = hcd->self.controller;
hcd                32 drivers/usb/host/ohci-sm501.c 	ret = ohci_run(hcd_to_ohci(hcd));
hcd                34 drivers/usb/host/ohci-sm501.c 		dev_err(dev, "can't start %s", hcd->self.bus_name);
hcd                35 drivers/usb/host/ohci-sm501.c 		ohci_stop(hcd);
hcd                94 drivers/usb/host/ohci-sm501.c 	struct usb_hcd *hcd = NULL;
hcd               121 drivers/usb/host/ohci-sm501.c 	hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
hcd               122 drivers/usb/host/ohci-sm501.c 	if (!hcd) {
hcd               127 drivers/usb/host/ohci-sm501.c 	hcd->rsrc_start = res->start;
hcd               128 drivers/usb/host/ohci-sm501.c 	hcd->rsrc_len = resource_size(res);
hcd               130 drivers/usb/host/ohci-sm501.c 	if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len,	pdev->name)) {
hcd               136 drivers/usb/host/ohci-sm501.c 	hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len);
hcd               137 drivers/usb/host/ohci-sm501.c 	if (hcd->regs == NULL) {
hcd               143 drivers/usb/host/ohci-sm501.c 	ohci_hcd_init(hcd_to_ohci(hcd));
hcd               160 drivers/usb/host/ohci-sm501.c 	if (usb_hcd_setup_local_mem(hcd, mem->start,
hcd               164 drivers/usb/host/ohci-sm501.c 	retval = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               167 drivers/usb/host/ohci-sm501.c 	device_wakeup_enable(hcd->self.controller);
hcd               176 drivers/usb/host/ohci-sm501.c 	iounmap(hcd->regs);
hcd               178 drivers/usb/host/ohci-sm501.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               180 drivers/usb/host/ohci-sm501.c 	usb_put_hcd(hcd);
hcd               189 drivers/usb/host/ohci-sm501.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               192 drivers/usb/host/ohci-sm501.c 	usb_remove_hcd(hcd);
hcd               193 drivers/usb/host/ohci-sm501.c 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
hcd               194 drivers/usb/host/ohci-sm501.c 	usb_put_hcd(hcd);
hcd               213 drivers/usb/host/ohci-sm501.c 	struct usb_hcd  *hcd = platform_get_drvdata(pdev);
hcd               214 drivers/usb/host/ohci-sm501.c 	struct ohci_hcd	*ohci = hcd_to_ohci(hcd);
hcd               222 drivers/usb/host/ohci-sm501.c 	ret = ohci_suspend(hcd, do_wakeup);
hcd               233 drivers/usb/host/ohci-sm501.c 	struct usb_hcd	*hcd = platform_get_drvdata(pdev);
hcd               234 drivers/usb/host/ohci-sm501.c 	struct ohci_hcd	*ohci = hcd_to_ohci(hcd);
hcd               241 drivers/usb/host/ohci-sm501.c 	ohci_resume(hcd, false);
hcd                31 drivers/usb/host/ohci-spear.c #define to_spear_ohci(hcd)     (struct spear_ohci *)(hcd_to_ohci(hcd)->priv)
hcd                38 drivers/usb/host/ohci-spear.c 	struct usb_hcd *hcd = NULL;
hcd                66 drivers/usb/host/ohci-spear.c 	hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev));
hcd                67 drivers/usb/host/ohci-spear.c 	if (!hcd) {
hcd                73 drivers/usb/host/ohci-spear.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd                74 drivers/usb/host/ohci-spear.c 	if (IS_ERR(hcd->regs)) {
hcd                75 drivers/usb/host/ohci-spear.c 		retval = PTR_ERR(hcd->regs);
hcd                79 drivers/usb/host/ohci-spear.c 	hcd->rsrc_start = pdev->resource[0].start;
hcd                80 drivers/usb/host/ohci-spear.c 	hcd->rsrc_len = resource_size(res);
hcd                82 drivers/usb/host/ohci-spear.c 	sohci_p = to_spear_ohci(hcd);
hcd                87 drivers/usb/host/ohci-spear.c 	retval = usb_add_hcd(hcd, platform_get_irq(pdev, 0), 0);
hcd                89 drivers/usb/host/ohci-spear.c 		device_wakeup_enable(hcd->self.controller);
hcd                95 drivers/usb/host/ohci-spear.c 	usb_put_hcd(hcd);
hcd               104 drivers/usb/host/ohci-spear.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               105 drivers/usb/host/ohci-spear.c 	struct spear_ohci *sohci_p = to_spear_ohci(hcd);
hcd               107 drivers/usb/host/ohci-spear.c 	usb_remove_hcd(hcd);
hcd               111 drivers/usb/host/ohci-spear.c 	usb_put_hcd(hcd);
hcd               119 drivers/usb/host/ohci-spear.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               120 drivers/usb/host/ohci-spear.c 	struct ohci_hcd	*ohci = hcd_to_ohci(hcd);
hcd               121 drivers/usb/host/ohci-spear.c 	struct spear_ohci *sohci_p = to_spear_ohci(hcd);
hcd               129 drivers/usb/host/ohci-spear.c 	ret = ohci_suspend(hcd, do_wakeup);
hcd               140 drivers/usb/host/ohci-spear.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               141 drivers/usb/host/ohci-spear.c 	struct ohci_hcd	*ohci = hcd_to_ohci(hcd);
hcd               142 drivers/usb/host/ohci-spear.c 	struct spear_ohci *sohci_p = to_spear_ohci(hcd);
hcd               149 drivers/usb/host/ohci-spear.c 	ohci_resume(hcd, false);
hcd                47 drivers/usb/host/ohci-st.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd                48 drivers/usb/host/ohci-st.c 	struct st_ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
hcd                98 drivers/usb/host/ohci-st.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd                99 drivers/usb/host/ohci-st.c 	struct st_ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
hcd               131 drivers/usb/host/ohci-st.c 	struct usb_hcd *hcd;
hcd               150 drivers/usb/host/ohci-st.c 	hcd = usb_create_hcd(&ohci_platform_hc_driver, &dev->dev,
hcd               152 drivers/usb/host/ohci-st.c 	if (!hcd)
hcd               155 drivers/usb/host/ohci-st.c 	platform_set_drvdata(dev, hcd);
hcd               157 drivers/usb/host/ohci-st.c 	priv = hcd_to_ohci_priv(hcd);
hcd               204 drivers/usb/host/ohci-st.c 	hcd->rsrc_start = res_mem->start;
hcd               205 drivers/usb/host/ohci-st.c 	hcd->rsrc_len = resource_size(res_mem);
hcd               207 drivers/usb/host/ohci-st.c 	hcd->regs = devm_ioremap_resource(&dev->dev, res_mem);
hcd               208 drivers/usb/host/ohci-st.c 	if (IS_ERR(hcd->regs)) {
hcd               209 drivers/usb/host/ohci-st.c 		err = PTR_ERR(hcd->regs);
hcd               212 drivers/usb/host/ohci-st.c 	err = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               216 drivers/usb/host/ohci-st.c 	device_wakeup_enable(hcd->self.controller);
hcd               218 drivers/usb/host/ohci-st.c 	platform_set_drvdata(dev, hcd);
hcd               233 drivers/usb/host/ohci-st.c 	usb_put_hcd(hcd);
hcd               240 drivers/usb/host/ohci-st.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               242 drivers/usb/host/ohci-st.c 	struct st_ohci_platform_priv *priv = hcd_to_ohci_priv(hcd);
hcd               245 drivers/usb/host/ohci-st.c 	usb_remove_hcd(hcd);
hcd               254 drivers/usb/host/ohci-st.c 	usb_put_hcd(hcd);
hcd               266 drivers/usb/host/ohci-st.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               272 drivers/usb/host/ohci-st.c 	ret = ohci_suspend(hcd, do_wakeup);
hcd               284 drivers/usb/host/ohci-st.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd               295 drivers/usb/host/ohci-st.c 	ohci_resume(hcd, false);
hcd                69 drivers/usb/host/ohci-tmio.c #define hcd_to_tmio(hcd)	((struct tmio_hcd *)(hcd_to_ohci(hcd) + 1))
hcd                75 drivers/usb/host/ohci-tmio.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd                76 drivers/usb/host/ohci-tmio.c 	struct tmio_hcd *tmio = hcd_to_tmio(hcd);
hcd                91 drivers/usb/host/ohci-tmio.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd                92 drivers/usb/host/ohci-tmio.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd                93 drivers/usb/host/ohci-tmio.c 	struct tmio_hcd *tmio = hcd_to_tmio(hcd);
hcd               119 drivers/usb/host/ohci-tmio.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               120 drivers/usb/host/ohci-tmio.c 	struct tmio_hcd *tmio = hcd_to_tmio(hcd);
hcd               121 drivers/usb/host/ohci-tmio.c 	unsigned long base = hcd->rsrc_start;
hcd               131 drivers/usb/host/ohci-tmio.c 			(u64) hcd->rsrc_start, hcd->irq);
hcd               134 drivers/usb/host/ohci-tmio.c static int ohci_tmio_start(struct usb_hcd *hcd)
hcd               136 drivers/usb/host/ohci-tmio.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd               143 drivers/usb/host/ohci-tmio.c 		dev_err(hcd->self.controller, "can't start %s\n",
hcd               144 drivers/usb/host/ohci-tmio.c 			hcd->self.bus_name);
hcd               145 drivers/usb/host/ohci-tmio.c 		ohci_stop(hcd);
hcd               196 drivers/usb/host/ohci-tmio.c 	struct usb_hcd *hcd;
hcd               205 drivers/usb/host/ohci-tmio.c 	hcd = usb_create_hcd(&ohci_tmio_hc_driver, &dev->dev, dev_name(&dev->dev));
hcd               206 drivers/usb/host/ohci-tmio.c 	if (!hcd) {
hcd               211 drivers/usb/host/ohci-tmio.c 	hcd->rsrc_start = regs->start;
hcd               212 drivers/usb/host/ohci-tmio.c 	hcd->rsrc_len = resource_size(regs);
hcd               214 drivers/usb/host/ohci-tmio.c 	tmio = hcd_to_tmio(hcd);
hcd               224 drivers/usb/host/ohci-tmio.c 	hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len);
hcd               225 drivers/usb/host/ohci-tmio.c 	if (!hcd->regs) {
hcd               237 drivers/usb/host/ohci-tmio.c 	ohci = hcd_to_ohci(hcd);
hcd               240 drivers/usb/host/ohci-tmio.c 	ret = usb_hcd_setup_local_mem(hcd, sram->start, sram->start,
hcd               245 drivers/usb/host/ohci-tmio.c 	ret = usb_add_hcd(hcd, irq, 0);
hcd               249 drivers/usb/host/ohci-tmio.c 	device_wakeup_enable(hcd->self.controller);
hcd               253 drivers/usb/host/ohci-tmio.c 	usb_remove_hcd(hcd);
hcd               260 drivers/usb/host/ohci-tmio.c 	iounmap(hcd->regs);
hcd               264 drivers/usb/host/ohci-tmio.c 	usb_put_hcd(hcd);
hcd               272 drivers/usb/host/ohci-tmio.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               273 drivers/usb/host/ohci-tmio.c 	struct tmio_hcd *tmio = hcd_to_tmio(hcd);
hcd               276 drivers/usb/host/ohci-tmio.c 	usb_remove_hcd(hcd);
hcd               280 drivers/usb/host/ohci-tmio.c 	iounmap(hcd->regs);
hcd               282 drivers/usb/host/ohci-tmio.c 	usb_put_hcd(hcd);
hcd               291 drivers/usb/host/ohci-tmio.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               292 drivers/usb/host/ohci-tmio.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd               293 drivers/usb/host/ohci-tmio.c 	struct tmio_hcd *tmio = hcd_to_tmio(hcd);
hcd               321 drivers/usb/host/ohci-tmio.c 	struct usb_hcd *hcd = platform_get_drvdata(dev);
hcd               322 drivers/usb/host/ohci-tmio.c 	struct ohci_hcd *ohci = hcd_to_ohci(hcd);
hcd               323 drivers/usb/host/ohci-tmio.c 	struct tmio_hcd *tmio = hcd_to_tmio(hcd);
hcd               348 drivers/usb/host/ohci-tmio.c 	ohci_resume(hcd, false);
hcd               479 drivers/usb/host/ohci.h static inline struct ohci_hcd *hcd_to_ohci (struct usb_hcd *hcd)
hcd               481 drivers/usb/host/ohci.h 	return (struct ohci_hcd *) (hcd->hcd_priv);
hcd               732 drivers/usb/host/ohci.h 	int		(*reset)(struct usb_hcd *hcd);
hcd               738 drivers/usb/host/ohci.h extern int	ohci_setup(struct usb_hcd *hcd);
hcd               739 drivers/usb/host/ohci.h extern int	ohci_suspend(struct usb_hcd *hcd, bool do_wakeup);
hcd               740 drivers/usb/host/ohci.h extern int	ohci_resume(struct usb_hcd *hcd, bool hibernated);
hcd               741 drivers/usb/host/ohci.h extern int	ohci_hub_control(struct usb_hcd	*hcd, u16 typeReq, u16 wValue,
hcd               743 drivers/usb/host/ohci.h extern int	ohci_hub_status_data(struct usb_hcd *hcd, char *buf);
hcd               379 drivers/usb/host/oxu210hp-hcd.c 	struct usb_hcd *hcd[2];
hcd               497 drivers/usb/host/oxu210hp-hcd.c static inline struct oxu_hcd *hcd_to_oxu(struct usb_hcd *hcd)
hcd               499 drivers/usb/host/oxu210hp-hcd.c 	return (struct oxu_hcd *) (hcd->hcd_priv);
hcd               670 drivers/usb/host/oxu210hp-hcd.c static int oxu_hub_control(struct usb_hcd *hcd,
hcd              2853 drivers/usb/host/oxu210hp-hcd.c static irqreturn_t oxu210_hcd_irq(struct usb_hcd *hcd)
hcd              2855 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              2871 drivers/usb/host/oxu210hp-hcd.c 	if (!status || unlikely(hcd->state == HC_STATE_HALT)) {
hcd              2905 drivers/usb/host/oxu210hp-hcd.c 			usb_hcd_resume_root_hub(hcd);
hcd              2923 drivers/usb/host/oxu210hp-hcd.c 			mod_timer(&hcd->rh_timer, oxu->reset_done[i]);
hcd              2938 drivers/usb/host/oxu210hp-hcd.c 			usb_hc_died(hcd);
hcd              2950 drivers/usb/host/oxu210hp-hcd.c 		usb_hcd_poll_rh_status(hcd);
hcd              2954 drivers/usb/host/oxu210hp-hcd.c static irqreturn_t oxu_irq(struct usb_hcd *hcd)
hcd              2956 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              2959 drivers/usb/host/oxu210hp-hcd.c 	u32 status = oxu_readl(hcd->regs, OXU_CHIPIRQSTATUS);
hcd              2960 drivers/usb/host/oxu210hp-hcd.c 	u32 enable = oxu_readl(hcd->regs, OXU_CHIPIRQEN_SET);
hcd              2963 drivers/usb/host/oxu210hp-hcd.c 	oxu_writel(hcd->regs, OXU_CHIPIRQEN_CLR, enable);
hcd              2967 drivers/usb/host/oxu210hp-hcd.c 		oxu210_hcd_irq(hcd);
hcd              2972 drivers/usb/host/oxu210hp-hcd.c 	oxu_writel(hcd->regs, OXU_CHIPIRQEN_SET, enable);
hcd              3006 drivers/usb/host/oxu210hp-hcd.c static int oxu_hcd_init(struct usb_hcd *hcd)
hcd              3008 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3083 drivers/usb/host/oxu210hp-hcd.c static int oxu_reset(struct usb_hcd *hcd)
hcd              3085 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3092 drivers/usb/host/oxu210hp-hcd.c 		oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET;
hcd              3093 drivers/usb/host/oxu210hp-hcd.c 		oxu->regs = hcd->regs + OXU_OTG_CAP_OFFSET + \
hcd              3096 drivers/usb/host/oxu210hp-hcd.c 		oxu->mem = hcd->regs + OXU_SPH_MEM;
hcd              3098 drivers/usb/host/oxu210hp-hcd.c 		oxu->caps = hcd->regs + OXU_SPH_CAP_OFFSET;
hcd              3099 drivers/usb/host/oxu210hp-hcd.c 		oxu->regs = hcd->regs + OXU_SPH_CAP_OFFSET + \
hcd              3102 drivers/usb/host/oxu210hp-hcd.c 		oxu->mem = hcd->regs + OXU_OTG_MEM;
hcd              3108 drivers/usb/host/oxu210hp-hcd.c 	return oxu_hcd_init(hcd);
hcd              3111 drivers/usb/host/oxu210hp-hcd.c static int oxu_run(struct usb_hcd *hcd)
hcd              3113 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3117 drivers/usb/host/oxu210hp-hcd.c 	hcd->uses_new_polling = 1;
hcd              3155 drivers/usb/host/oxu210hp-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              3170 drivers/usb/host/oxu210hp-hcd.c static void oxu_stop(struct usb_hcd *hcd)
hcd              3172 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3181 drivers/usb/host/oxu210hp-hcd.c 	if (HC_IS_RUNNING(hcd->state))
hcd              3205 drivers/usb/host/oxu210hp-hcd.c static void oxu_shutdown(struct usb_hcd *hcd)
hcd              3207 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3230 drivers/usb/host/oxu210hp-hcd.c static int __oxu_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
hcd              3233 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3262 drivers/usb/host/oxu210hp-hcd.c static int oxu_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
hcd              3265 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3273 drivers/usb/host/oxu210hp-hcd.c 		return __oxu_urb_enqueue(hcd, urb, mem_flags);
hcd              3285 drivers/usb/host/oxu210hp-hcd.c 		return __oxu_urb_enqueue(hcd, urb, mem_flags);
hcd              3314 drivers/usb/host/oxu210hp-hcd.c 			ret  = __oxu_urb_enqueue(hcd, murb, mem_flags);
hcd              3342 drivers/usb/host/oxu210hp-hcd.c 		ret = __oxu_urb_enqueue(hcd, murb, mem_flags);
hcd              3353 drivers/usb/host/oxu210hp-hcd.c static int oxu_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              3355 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3389 drivers/usb/host/oxu210hp-hcd.c 				&& HC_IS_RUNNING(hcd->state)) {
hcd              3399 drivers/usb/host/oxu210hp-hcd.c 				dev_err(hcd->self.controller,
hcd              3413 drivers/usb/host/oxu210hp-hcd.c static void oxu_endpoint_disable(struct usb_hcd *hcd,
hcd              3416 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3437 drivers/usb/host/oxu210hp-hcd.c 	if (!HC_IS_RUNNING(hcd->state))
hcd              3476 drivers/usb/host/oxu210hp-hcd.c static int oxu_get_frame(struct usb_hcd *hcd)
hcd              3478 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3485 drivers/usb/host/oxu210hp-hcd.c static int oxu_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              3487 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3493 drivers/usb/host/oxu210hp-hcd.c 	if (!HC_IS_RUNNING(hcd->state))
hcd              3561 drivers/usb/host/oxu210hp-hcd.c static int oxu_hub_control(struct usb_hcd *hcd, u16 typeReq,
hcd              3564 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3794 drivers/usb/host/oxu210hp-hcd.c 			if (device_may_wakeup(&hcd->self.root_hub->dev))
hcd              3854 drivers/usb/host/oxu210hp-hcd.c static int oxu_bus_suspend(struct usb_hcd *hcd)
hcd              3856 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3869 drivers/usb/host/oxu210hp-hcd.c 	if (HC_IS_RUNNING(hcd->state)) {
hcd              3871 drivers/usb/host/oxu210hp-hcd.c 		hcd->state = HC_STATE_QUIESCING;
hcd              3897 drivers/usb/host/oxu210hp-hcd.c 		if (device_may_wakeup(&hcd->self.root_hub->dev))
hcd              3912 drivers/usb/host/oxu210hp-hcd.c 	hcd->state = HC_STATE_SUSPENDED;
hcd              3916 drivers/usb/host/oxu210hp-hcd.c 	if (!device_may_wakeup(&hcd->self.root_hub->dev))
hcd              3927 drivers/usb/host/oxu210hp-hcd.c static int oxu_bus_resume(struct usb_hcd *hcd)
hcd              3929 drivers/usb/host/oxu210hp-hcd.c 	struct oxu_hcd *oxu = hcd_to_oxu(hcd);
hcd              3999 drivers/usb/host/oxu210hp-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              4010 drivers/usb/host/oxu210hp-hcd.c static int oxu_bus_suspend(struct usb_hcd *hcd)
hcd              4015 drivers/usb/host/oxu210hp-hcd.c static int oxu_bus_resume(struct usb_hcd *hcd)
hcd              4128 drivers/usb/host/oxu210hp-hcd.c 	struct usb_hcd *hcd;
hcd              4137 drivers/usb/host/oxu210hp-hcd.c 	hcd = usb_create_hcd(&oxu_hc_driver, dev,
hcd              4139 drivers/usb/host/oxu210hp-hcd.c 	if (!hcd)
hcd              4142 drivers/usb/host/oxu210hp-hcd.c 	hcd->rsrc_start = memstart;
hcd              4143 drivers/usb/host/oxu210hp-hcd.c 	hcd->rsrc_len = memlen;
hcd              4144 drivers/usb/host/oxu210hp-hcd.c 	hcd->regs = base;
hcd              4145 drivers/usb/host/oxu210hp-hcd.c 	hcd->irq = irq;
hcd              4146 drivers/usb/host/oxu210hp-hcd.c 	hcd->state = HC_STATE_HALT;
hcd              4148 drivers/usb/host/oxu210hp-hcd.c 	oxu = hcd_to_oxu(hcd);
hcd              4151 drivers/usb/host/oxu210hp-hcd.c 	ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd              4155 drivers/usb/host/oxu210hp-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              4156 drivers/usb/host/oxu210hp-hcd.c 	return hcd;
hcd              4164 drivers/usb/host/oxu210hp-hcd.c 	struct usb_hcd *hcd;
hcd              4177 drivers/usb/host/oxu210hp-hcd.c 	hcd = oxu_create(pdev, memstart, memlen, base, irq, 1);
hcd              4178 drivers/usb/host/oxu210hp-hcd.c 	if (IS_ERR(hcd)) {
hcd              4180 drivers/usb/host/oxu210hp-hcd.c 		ret = PTR_ERR(hcd);
hcd              4183 drivers/usb/host/oxu210hp-hcd.c 	info->hcd[0] = hcd;
hcd              4186 drivers/usb/host/oxu210hp-hcd.c 	hcd = oxu_create(pdev, memstart, memlen, base, irq, 0);
hcd              4187 drivers/usb/host/oxu210hp-hcd.c 	if (IS_ERR(hcd)) {
hcd              4189 drivers/usb/host/oxu210hp-hcd.c 		ret = PTR_ERR(hcd);
hcd              4192 drivers/usb/host/oxu210hp-hcd.c 	info->hcd[1] = hcd;
hcd              4200 drivers/usb/host/oxu210hp-hcd.c 	usb_remove_hcd(info->hcd[0]);
hcd              4201 drivers/usb/host/oxu210hp-hcd.c 	usb_put_hcd(info->hcd[0]);
hcd              4272 drivers/usb/host/oxu210hp-hcd.c static void oxu_remove(struct platform_device *pdev, struct usb_hcd *hcd)
hcd              4274 drivers/usb/host/oxu210hp-hcd.c 	usb_remove_hcd(hcd);
hcd              4275 drivers/usb/host/oxu210hp-hcd.c 	usb_put_hcd(hcd);
hcd              4282 drivers/usb/host/oxu210hp-hcd.c 	oxu_remove(pdev, info->hcd[0]);
hcd              4283 drivers/usb/host/oxu210hp-hcd.c 	oxu_remove(pdev, info->hcd[1]);
hcd              4298 drivers/usb/host/oxu210hp-hcd.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd              4306 drivers/usb/host/oxu210hp-hcd.c 	struct usb_hcd *hcd = dev_get_drvdata(dev);
hcd                42 drivers/usb/host/r8a66597-hcd.c static int r8a66597_get_frame(struct usb_hcd *hcd);
hcd              1274 drivers/usb/host/r8a66597-hcd.c 	struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597);
hcd              1292 drivers/usb/host/r8a66597-hcd.c 			urb->start_frame = r8a66597_get_frame(hcd);
hcd              1602 drivers/usb/host/r8a66597-hcd.c static irqreturn_t r8a66597_irq(struct usb_hcd *hcd)
hcd              1604 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              1826 drivers/usb/host/r8a66597-hcd.c static int r8a66597_start(struct usb_hcd *hcd)
hcd              1828 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              1830 drivers/usb/host/r8a66597-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              1834 drivers/usb/host/r8a66597-hcd.c static void r8a66597_stop(struct usb_hcd *hcd)
hcd              1836 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              1885 drivers/usb/host/r8a66597-hcd.c static int r8a66597_urb_enqueue(struct usb_hcd *hcd,
hcd              1890 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              1901 drivers/usb/host/r8a66597-hcd.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              1949 drivers/usb/host/r8a66597-hcd.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              1955 drivers/usb/host/r8a66597-hcd.c static int r8a66597_urb_dequeue(struct usb_hcd *hcd, struct urb *urb,
hcd              1958 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              1964 drivers/usb/host/r8a66597-hcd.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              1980 drivers/usb/host/r8a66597-hcd.c static void r8a66597_endpoint_disable(struct usb_hcd *hcd,
hcd              1985 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              2016 drivers/usb/host/r8a66597-hcd.c static int r8a66597_get_frame(struct usb_hcd *hcd)
hcd              2018 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              2089 drivers/usb/host/r8a66597-hcd.c 					struct usb_hcd *hcd)
hcd              2097 drivers/usb/host/r8a66597-hcd.c 	bus = idr_find(&usb_bus_idr, hcd->self.busnum);
hcd              2105 drivers/usb/host/r8a66597-hcd.c static int r8a66597_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              2107 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              2111 drivers/usb/host/r8a66597-hcd.c 	r8a66597_check_detect_child(r8a66597, hcd);
hcd              2142 drivers/usb/host/r8a66597-hcd.c static int r8a66597_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd              2145 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              2246 drivers/usb/host/r8a66597-hcd.c static int r8a66597_bus_suspend(struct usb_hcd *hcd)
hcd              2248 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              2277 drivers/usb/host/r8a66597-hcd.c static int r8a66597_bus_resume(struct usb_hcd *hcd)
hcd              2279 drivers/usb/host/r8a66597-hcd.c 	struct r8a66597 *r8a66597 = hcd_to_r8a66597(hcd);
hcd              2363 drivers/usb/host/r8a66597-hcd.c 	struct usb_hcd		*hcd = r8a66597_to_hcd(r8a66597);
hcd              2368 drivers/usb/host/r8a66597-hcd.c 	usb_root_hub_lost_power(hcd->self.root_hub);
hcd              2388 drivers/usb/host/r8a66597-hcd.c 	struct usb_hcd		*hcd = r8a66597_to_hcd(r8a66597);
hcd              2391 drivers/usb/host/r8a66597-hcd.c 	usb_remove_hcd(hcd);
hcd              2395 drivers/usb/host/r8a66597-hcd.c 	usb_put_hcd(hcd);
hcd              2405 drivers/usb/host/r8a66597-hcd.c 	struct usb_hcd *hcd = NULL;
hcd              2446 drivers/usb/host/r8a66597-hcd.c 	hcd = usb_create_hcd(&r8a66597_hc_driver, &pdev->dev, (char *)hcd_name);
hcd              2447 drivers/usb/host/r8a66597-hcd.c 	if (!hcd) {
hcd              2452 drivers/usb/host/r8a66597-hcd.c 	r8a66597 = hcd_to_r8a66597(hcd);
hcd              2490 drivers/usb/host/r8a66597-hcd.c 	hcd->rsrc_start = res->start;
hcd              2491 drivers/usb/host/r8a66597-hcd.c 	hcd->has_tt = 1;
hcd              2493 drivers/usb/host/r8a66597-hcd.c 	ret = usb_add_hcd(hcd, irq, irq_trigger);
hcd              2498 drivers/usb/host/r8a66597-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              2506 drivers/usb/host/r8a66597-hcd.c 	usb_put_hcd(hcd);
hcd               131 drivers/usb/host/r8a66597.h static inline struct r8a66597 *hcd_to_r8a66597(struct usb_hcd *hcd)
hcd               133 drivers/usb/host/r8a66597.h 	return (struct r8a66597 *)(hcd->hcd_priv);
hcd                80 drivers/usb/host/sl811-hcd.c 	struct usb_hcd	*hcd = sl811_to_hcd(sl811);
hcd                92 drivers/usb/host/sl811-hcd.c 		hcd->state = HC_STATE_HALT;
hcd               100 drivers/usb/host/sl811-hcd.c 		dev_dbg(hcd->self.controller, "power %s\n",
hcd               102 drivers/usb/host/sl811-hcd.c 		sl811->board->port_power(hcd->self.controller, is_on);
hcd               107 drivers/usb/host/sl811-hcd.c 		sl811->board->reset(hcd->self.controller);
hcd               620 drivers/usb/host/sl811-hcd.c static irqreturn_t sl811h_irq(struct usb_hcd *hcd)
hcd               622 drivers/usb/host/sl811-hcd.c 	struct sl811	*sl811 = hcd_to_sl811(hcd);
hcd               729 drivers/usb/host/sl811-hcd.c 			dev_dbg(hcd->self.controller, "wakeup\n");
hcd               791 drivers/usb/host/sl811-hcd.c 	struct usb_hcd		*hcd,
hcd               795 drivers/usb/host/sl811-hcd.c 	struct sl811		*sl811 = hcd_to_sl811(hcd);
hcd               823 drivers/usb/host/sl811-hcd.c 			|| !HC_IS_RUNNING(hcd->state)) {
hcd               828 drivers/usb/host/sl811-hcd.c 	retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd               858 drivers/usb/host/sl811-hcd.c 			dev_dbg(hcd->self.controller,
hcd               924 drivers/usb/host/sl811-hcd.c 		dev_dbg(hcd->self.controller, "schedule qh%d/%p branch %d\n",
hcd               943 drivers/usb/host/sl811-hcd.c 		hcd->self.bandwidth_allocated += ep->load / ep->period;
hcd               952 drivers/usb/host/sl811-hcd.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               958 drivers/usb/host/sl811-hcd.c static int sl811h_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd               960 drivers/usb/host/sl811-hcd.c 	struct sl811		*sl811 = hcd_to_sl811(hcd);
hcd               967 drivers/usb/host/sl811-hcd.c 	retval = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd               984 drivers/usb/host/sl811-hcd.c 				dev_dbg(hcd->self.controller,
hcd               999 drivers/usb/host/sl811-hcd.c 				dev_dbg(hcd->self.controller,
hcd              1029 drivers/usb/host/sl811-hcd.c sl811h_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep)
hcd              1040 drivers/usb/host/sl811-hcd.c 		dev_warn(hcd->self.controller, "ep %p not empty?\n", ep);
hcd              1047 drivers/usb/host/sl811-hcd.c sl811h_get_frame(struct usb_hcd *hcd)
hcd              1049 drivers/usb/host/sl811-hcd.c 	struct sl811 *sl811 = hcd_to_sl811(hcd);
hcd              1063 drivers/usb/host/sl811-hcd.c sl811h_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              1065 drivers/usb/host/sl811-hcd.c 	struct sl811 *sl811 = hcd_to_sl811(hcd);
hcd              1074 drivers/usb/host/sl811-hcd.c 		if (sl811h_irq( /* ~0, */ hcd) != IRQ_NONE)
hcd              1213 drivers/usb/host/sl811-hcd.c 	struct usb_hcd	*hcd,
hcd              1220 drivers/usb/host/sl811-hcd.c 	struct sl811	*sl811 = hcd_to_sl811(hcd);
hcd              1255 drivers/usb/host/sl811-hcd.c 			dev_dbg(hcd->self.controller, "start resume...\n");
hcd              1293 drivers/usb/host/sl811-hcd.c 		dev_dbg(hcd->self.controller, "GetPortStatus %08x\n",
hcd              1306 drivers/usb/host/sl811-hcd.c 			dev_dbg(hcd->self.controller,"suspend...\n");
hcd              1348 drivers/usb/host/sl811-hcd.c sl811h_bus_suspend(struct usb_hcd *hcd)
hcd              1351 drivers/usb/host/sl811-hcd.c 	dev_dbg(hcd->self.controller, "%s\n", __func__);
hcd              1356 drivers/usb/host/sl811-hcd.c sl811h_bus_resume(struct usb_hcd *hcd)
hcd              1359 drivers/usb/host/sl811-hcd.c 	dev_dbg(hcd->self.controller, "%s\n", __func__);
hcd              1512 drivers/usb/host/sl811-hcd.c sl811h_stop(struct usb_hcd *hcd)
hcd              1514 drivers/usb/host/sl811-hcd.c 	struct sl811	*sl811 = hcd_to_sl811(hcd);
hcd              1517 drivers/usb/host/sl811-hcd.c 	del_timer_sync(&hcd->rh_timer);
hcd              1525 drivers/usb/host/sl811-hcd.c sl811h_start(struct usb_hcd *hcd)
hcd              1527 drivers/usb/host/sl811-hcd.c 	struct sl811		*sl811 = hcd_to_sl811(hcd);
hcd              1530 drivers/usb/host/sl811-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              1533 drivers/usb/host/sl811-hcd.c 		if (!device_can_wakeup(hcd->self.controller))
hcd              1534 drivers/usb/host/sl811-hcd.c 			device_init_wakeup(hcd->self.controller,
hcd              1536 drivers/usb/host/sl811-hcd.c 		hcd->power_budget = sl811->board->power * 2;
hcd              1587 drivers/usb/host/sl811-hcd.c 	struct usb_hcd		*hcd = platform_get_drvdata(dev);
hcd              1588 drivers/usb/host/sl811-hcd.c 	struct sl811		*sl811 = hcd_to_sl811(hcd);
hcd              1592 drivers/usb/host/sl811-hcd.c 	usb_remove_hcd(hcd);
hcd              1603 drivers/usb/host/sl811-hcd.c 	usb_put_hcd(hcd);
hcd              1610 drivers/usb/host/sl811-hcd.c 	struct usb_hcd		*hcd;
hcd              1667 drivers/usb/host/sl811-hcd.c 	hcd = usb_create_hcd(&sl811h_hc_driver, &dev->dev, dev_name(&dev->dev));
hcd              1668 drivers/usb/host/sl811-hcd.c 	if (!hcd) {
hcd              1672 drivers/usb/host/sl811-hcd.c 	hcd->rsrc_start = addr->start;
hcd              1673 drivers/usb/host/sl811-hcd.c 	sl811 = hcd_to_sl811(hcd);
hcd              1690 drivers/usb/host/sl811-hcd.c 		hcd->product_desc = "SL811HS v1.2";
hcd              1693 drivers/usb/host/sl811-hcd.c 		hcd->product_desc = "SL811HS v1.5";
hcd              1712 drivers/usb/host/sl811-hcd.c 	retval = usb_add_hcd(hcd, irq, irqflags);
hcd              1716 drivers/usb/host/sl811-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              1722 drivers/usb/host/sl811-hcd.c 	usb_put_hcd(hcd);
hcd              1743 drivers/usb/host/sl811-hcd.c 	struct usb_hcd	*hcd = platform_get_drvdata(dev);
hcd              1744 drivers/usb/host/sl811-hcd.c 	struct sl811	*sl811 = hcd_to_sl811(hcd);
hcd              1749 drivers/usb/host/sl811-hcd.c 		retval = sl811h_bus_suspend(hcd);
hcd              1763 drivers/usb/host/sl811-hcd.c 	struct usb_hcd	*hcd = platform_get_drvdata(dev);
hcd              1764 drivers/usb/host/sl811-hcd.c 	struct sl811	*sl811 = hcd_to_sl811(hcd);
hcd              1769 drivers/usb/host/sl811-hcd.c 	if (!sl811->port1 || !device_can_wakeup(&hcd->self.root_hub->dev)) {
hcd              1772 drivers/usb/host/sl811-hcd.c 		usb_root_hub_lost_power(hcd->self.root_hub);
hcd              1776 drivers/usb/host/sl811-hcd.c 	return sl811h_bus_resume(hcd);
hcd               159 drivers/usb/host/sl811.h static inline struct sl811 *hcd_to_sl811(struct usb_hcd *hcd)
hcd               161 drivers/usb/host/sl811.h 	return (struct sl811 *) (hcd->hcd_priv);
hcd               226 drivers/usb/host/u132-hcd.c static inline struct u132 *hcd_to_u132(struct usb_hcd *hcd)
hcd               228 drivers/usb/host/u132-hcd.c 	return (struct u132 *)(hcd->hcd_priv);
hcd               254 drivers/usb/host/u132-hcd.c 	struct usb_hcd *hcd = u132_to_hcd(u132);
hcd               261 drivers/usb/host/u132-hcd.c 		"2=%p going=%d pdev=%p\n", hcd, u132, u132->going, pdev);
hcd               262 drivers/usb/host/u132-hcd.c 	usb_put_hcd(hcd);
hcd               491 drivers/usb/host/u132-hcd.c 			struct usb_hcd *hcd = u132_to_hcd(u132);
hcd               495 drivers/usb/host/u132-hcd.c 			usb_hc_died(hcd);
hcd               512 drivers/usb/host/u132-hcd.c 	struct usb_hcd *hcd = u132_to_hcd(u132);
hcd               515 drivers/usb/host/u132-hcd.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               538 drivers/usb/host/u132-hcd.c 	usb_hcd_giveback_urb(hcd, urb, status);
hcd               551 drivers/usb/host/u132-hcd.c 	struct usb_hcd *hcd = u132_to_hcd(u132);
hcd               554 drivers/usb/host/u132-hcd.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               570 drivers/usb/host/u132-hcd.c 	usb_hcd_giveback_urb(hcd, urb, status);
hcd              1511 drivers/usb/host/u132-hcd.c 	struct usb_hcd *hcd = u132_to_hcd(u132)
hcd              1519 drivers/usb/host/u132-hcd.c 		hcd->state = HC_STATE_HALT;
hcd              1769 drivers/usb/host/u132-hcd.c static void u132_hcd_stop(struct usb_hcd *hcd)
hcd              1771 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              1774 drivers/usb/host/u132-hcd.c 			"een removed %d\n", u132, hcd, u132->going);
hcd              1777 drivers/usb/host/u132-hcd.c 			"ed\n", hcd);
hcd              1786 drivers/usb/host/u132-hcd.c static int u132_hcd_start(struct usb_hcd *hcd)
hcd              1788 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              1796 drivers/usb/host/u132-hcd.c 	} else if (hcd->self.controller) {
hcd              1799 drivers/usb/host/u132-hcd.c 			to_platform_device(hcd->self.controller);
hcd              1827 drivers/usb/host/u132-hcd.c static int u132_hcd_reset(struct usb_hcd *hcd)
hcd              1829 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2234 drivers/usb/host/u132-hcd.c static int u132_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
hcd              2237 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2266 drivers/usb/host/u132-hcd.c 				retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              2275 drivers/usb/host/u132-hcd.c 	hcd, urb);
hcd              2308 drivers/usb/host/u132-hcd.c 				retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              2317 drivers/usb/host/u132-hcd.c 	hcd, urb);
hcd              2357 drivers/usb/host/u132-hcd.c 				retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              2365 drivers/usb/host/u132-hcd.c 								hcd, urb);
hcd              2392 drivers/usb/host/u132-hcd.c 			struct usb_hcd *hcd = u132_to_hcd(u132);
hcd              2396 drivers/usb/host/u132-hcd.c 			usb_hcd_giveback_urb(hcd, urb, 0);
hcd              2464 drivers/usb/host/u132-hcd.c 			struct usb_hcd *hcd = u132_to_hcd(u132);
hcd              2466 drivers/usb/host/u132-hcd.c 			usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              2482 drivers/usb/host/u132-hcd.c 			usb_hcd_giveback_urb(hcd, urb, status);
hcd              2507 drivers/usb/host/u132-hcd.c static int u132_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              2509 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2531 drivers/usb/host/u132-hcd.c static void u132_endpoint_disable(struct usb_hcd *hcd,
hcd              2534 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2537 drivers/usb/host/u132-hcd.c 			") has been removed %d\n", u132, hcd, hep,
hcd              2546 drivers/usb/host/u132-hcd.c static int u132_get_frame(struct usb_hcd *hcd)
hcd              2548 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2758 drivers/usb/host/u132-hcd.c static int u132_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              2760 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2763 drivers/usb/host/u132-hcd.c 			"ed %d\n", hcd, u132->going);
hcd              2767 drivers/usb/host/u132-hcd.c 			"ed\n", hcd);
hcd              2809 drivers/usb/host/u132-hcd.c static int u132_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd              2812 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2892 drivers/usb/host/u132-hcd.c static int u132_start_port_reset(struct usb_hcd *hcd, unsigned port_num)
hcd              2894 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2908 drivers/usb/host/u132-hcd.c static int u132_bus_suspend(struct usb_hcd *hcd)
hcd              2910 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2922 drivers/usb/host/u132-hcd.c static int u132_bus_resume(struct usb_hcd *hcd)
hcd              2924 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              2967 drivers/usb/host/u132-hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd              2968 drivers/usb/host/u132-hcd.c 	if (hcd) {
hcd              2969 drivers/usb/host/u132-hcd.c 		struct u132 *u132 = hcd_to_u132(hcd);
hcd              2995 drivers/usb/host/u132-hcd.c 			usb_remove_hcd(hcd);
hcd              3062 drivers/usb/host/u132-hcd.c 	struct usb_hcd *hcd;
hcd              3081 drivers/usb/host/u132-hcd.c 	hcd = usb_create_hcd(&u132_hc_driver, &pdev->dev, dev_name(&pdev->dev));
hcd              3082 drivers/usb/host/u132-hcd.c 	if (!hcd) {
hcd              3088 drivers/usb/host/u132-hcd.c 		struct u132 *u132 = hcd_to_u132(hcd);
hcd              3090 drivers/usb/host/u132-hcd.c 		hcd->rsrc_start = 0;
hcd              3097 drivers/usb/host/u132-hcd.c 		hcd->product_desc = "ELAN U132 Host Controller";
hcd              3098 drivers/usb/host/u132-hcd.c 		retval = usb_add_hcd(hcd, 0, 0);
hcd              3105 drivers/usb/host/u132-hcd.c 			device_wakeup_enable(hcd->self.controller);
hcd              3120 drivers/usb/host/u132-hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd              3121 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              3134 drivers/usb/host/u132-hcd.c 			retval = u132_bus_suspend(hcd);
hcd              3150 drivers/usb/host/u132-hcd.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd              3151 drivers/usb/host/u132-hcd.c 	struct u132 *u132 = hcd_to_u132(hcd);
hcd              3168 drivers/usb/host/u132-hcd.c 			retval = u132_bus_resume(hcd);
hcd                26 drivers/usb/host/uhci-grlib.c static int uhci_grlib_init(struct usb_hcd *hcd)
hcd                28 drivers/usb/host/uhci-grlib.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd                44 drivers/usb/host/uhci-grlib.c 	uhci->rh_numports = uhci_count_ports(hcd);
hcd                93 drivers/usb/host/uhci-grlib.c 	struct usb_hcd *hcd;
hcd               110 drivers/usb/host/uhci-grlib.c 	hcd = usb_create_hcd(&uhci_grlib_hc_driver, &op->dev,
hcd               112 drivers/usb/host/uhci-grlib.c 	if (!hcd)
hcd               115 drivers/usb/host/uhci-grlib.c 	hcd->rsrc_start = res.start;
hcd               116 drivers/usb/host/uhci-grlib.c 	hcd->rsrc_len = resource_size(&res);
hcd               125 drivers/usb/host/uhci-grlib.c 	hcd->regs = devm_ioremap_resource(&op->dev, &res);
hcd               126 drivers/usb/host/uhci-grlib.c 	if (IS_ERR(hcd->regs)) {
hcd               127 drivers/usb/host/uhci-grlib.c 		rv = PTR_ERR(hcd->regs);
hcd               131 drivers/usb/host/uhci-grlib.c 	uhci = hcd_to_uhci(hcd);
hcd               133 drivers/usb/host/uhci-grlib.c 	uhci->regs = hcd->regs;
hcd               135 drivers/usb/host/uhci-grlib.c 	rv = usb_add_hcd(hcd, irq, 0);
hcd               139 drivers/usb/host/uhci-grlib.c 	device_wakeup_enable(hcd->self.controller);
hcd               145 drivers/usb/host/uhci-grlib.c 	usb_put_hcd(hcd);
hcd               152 drivers/usb/host/uhci-grlib.c 	struct usb_hcd *hcd = platform_get_drvdata(op);
hcd               156 drivers/usb/host/uhci-grlib.c 	usb_remove_hcd(hcd);
hcd               158 drivers/usb/host/uhci-grlib.c 	irq_dispose_mapping(hcd->irq);
hcd               159 drivers/usb/host/uhci-grlib.c 	usb_put_hcd(hcd);
hcd               173 drivers/usb/host/uhci-grlib.c 	struct usb_hcd *hcd = platform_get_drvdata(op);
hcd               175 drivers/usb/host/uhci-grlib.c 	uhci_hc_died(hcd_to_uhci(hcd));
hcd               450 drivers/usb/host/uhci-hcd.c static irqreturn_t uhci_irq(struct usb_hcd *hcd)
hcd               452 drivers/usb/host/uhci-hcd.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               487 drivers/usb/host/uhci-hcd.c 				usb_hc_died(hcd);
hcd               491 drivers/usb/host/uhci-hcd.c 				mod_timer(&hcd->rh_timer, jiffies);
hcd               498 drivers/usb/host/uhci-hcd.c 		usb_hcd_poll_rh_status(hcd);
hcd               575 drivers/usb/host/uhci-hcd.c static int uhci_start(struct usb_hcd *hcd)
hcd               577 drivers/usb/host/uhci-hcd.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               582 drivers/usb/host/uhci-hcd.c 	hcd->uses_new_polling = 1;
hcd               584 drivers/usb/host/uhci-hcd.c 	if (!hcd->localmem_pool)
hcd               585 drivers/usb/host/uhci-hcd.c 		hcd->self.sg_tablesize = ~0;
hcd               593 drivers/usb/host/uhci-hcd.c 	uhci->dentry = debugfs_create_file(hcd->self.bus_name,
hcd               710 drivers/usb/host/uhci-hcd.c static void uhci_stop(struct usb_hcd *hcd)
hcd               712 drivers/usb/host/uhci-hcd.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               715 drivers/usb/host/uhci-hcd.c 	if (HCD_HW_ACCESSIBLE(hcd) && !uhci->dead)
hcd               719 drivers/usb/host/uhci-hcd.c 	synchronize_irq(hcd->irq);
hcd               726 drivers/usb/host/uhci-hcd.c static int uhci_rh_suspend(struct usb_hcd *hcd)
hcd               728 drivers/usb/host/uhci-hcd.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               732 drivers/usb/host/uhci-hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd               742 drivers/usb/host/uhci-hcd.c 	else if (hcd->self.root_hub->do_remote_wakeup &&
hcd               753 drivers/usb/host/uhci-hcd.c static int uhci_rh_resume(struct usb_hcd *hcd)
hcd               755 drivers/usb/host/uhci-hcd.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               759 drivers/usb/host/uhci-hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd               770 drivers/usb/host/uhci-hcd.c static void uhci_hcd_endpoint_disable(struct usb_hcd *hcd,
hcd               773 drivers/usb/host/uhci-hcd.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               795 drivers/usb/host/uhci-hcd.c static int uhci_hcd_get_frame_number(struct usb_hcd *hcd)
hcd               797 drivers/usb/host/uhci-hcd.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               810 drivers/usb/host/uhci-hcd.c static int uhci_count_ports(struct usb_hcd *hcd)
hcd               812 drivers/usb/host/uhci-hcd.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               813 drivers/usb/host/uhci-hcd.c 	unsigned io_size = (unsigned) hcd->rsrc_len;
hcd               465 drivers/usb/host/uhci-hcd.h static inline struct uhci_hcd *hcd_to_uhci(struct usb_hcd *hcd)
hcd               467 drivers/usb/host/uhci-hcd.h 	return (struct uhci_hcd *) (hcd->hcd_priv);
hcd               186 drivers/usb/host/uhci-hub.c static int uhci_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd               188 drivers/usb/host/uhci-hub.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               195 drivers/usb/host/uhci-hub.c 	if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead)
hcd               206 drivers/usb/host/uhci-hub.c 			usb_hcd_resume_root_hub(hcd);
hcd               243 drivers/usb/host/uhci-hub.c static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd               246 drivers/usb/host/uhci-hub.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               253 drivers/usb/host/uhci-hub.c 	if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead)
hcd               114 drivers/usb/host/uhci-pci.c static int uhci_pci_init(struct usb_hcd *hcd)
hcd               116 drivers/usb/host/uhci-pci.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               118 drivers/usb/host/uhci-pci.c 	uhci->io_addr = (unsigned long) hcd->rsrc_start;
hcd               120 drivers/usb/host/uhci-pci.c 	uhci->rh_numports = uhci_count_ports(hcd);
hcd               163 drivers/usb/host/uhci-pci.c 	struct usb_hcd *hcd = pci_get_drvdata(pdev);
hcd               165 drivers/usb/host/uhci-pci.c 	uhci_hc_died(hcd_to_uhci(hcd));
hcd               170 drivers/usb/host/uhci-pci.c static int uhci_pci_resume(struct usb_hcd *hcd, bool hibernated);
hcd               172 drivers/usb/host/uhci-pci.c static int uhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup)
hcd               174 drivers/usb/host/uhci-pci.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               181 drivers/usb/host/uhci-pci.c 	if (!HCD_HW_ACCESSIBLE(hcd) || uhci->dead)
hcd               188 drivers/usb/host/uhci-pci.c 	clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               198 drivers/usb/host/uhci-pci.c 	clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd               201 drivers/usb/host/uhci-pci.c 	synchronize_irq(hcd->irq);
hcd               204 drivers/usb/host/uhci-pci.c 	if (do_wakeup && HCD_WAKEUP_PENDING(hcd)) {
hcd               205 drivers/usb/host/uhci-pci.c 		uhci_pci_resume(hcd, false);
hcd               211 drivers/usb/host/uhci-pci.c static int uhci_pci_resume(struct usb_hcd *hcd, bool hibernated)
hcd               213 drivers/usb/host/uhci-pci.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               220 drivers/usb/host/uhci-pci.c 	set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd               240 drivers/usb/host/uhci-pci.c 		usb_root_hub_lost_power(hcd->self.root_hub);
hcd               247 drivers/usb/host/uhci-pci.c 	if (!uhci->RD_enable && hcd->self.root_hub->do_remote_wakeup)
hcd               248 drivers/usb/host/uhci-pci.c 		set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               251 drivers/usb/host/uhci-pci.c 	usb_hcd_poll_rh_status(hcd);
hcd                15 drivers/usb/host/uhci-platform.c static int uhci_platform_init(struct usb_hcd *hcd)
hcd                17 drivers/usb/host/uhci-platform.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd                21 drivers/usb/host/uhci-platform.c 		uhci->rh_numports = uhci_count_ports(hcd);
hcd                70 drivers/usb/host/uhci-platform.c 	struct usb_hcd *hcd;
hcd                87 drivers/usb/host/uhci-platform.c 	hcd = usb_create_hcd(&uhci_platform_hc_driver, &pdev->dev,
hcd                89 drivers/usb/host/uhci-platform.c 	if (!hcd)
hcd                92 drivers/usb/host/uhci-platform.c 	uhci = hcd_to_uhci(hcd);
hcd                95 drivers/usb/host/uhci-platform.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd                96 drivers/usb/host/uhci-platform.c 	if (IS_ERR(hcd->regs)) {
hcd                97 drivers/usb/host/uhci-platform.c 		ret = PTR_ERR(hcd->regs);
hcd               100 drivers/usb/host/uhci-platform.c 	hcd->rsrc_start = res->start;
hcd               101 drivers/usb/host/uhci-platform.c 	hcd->rsrc_len = resource_size(res);
hcd               103 drivers/usb/host/uhci-platform.c 	uhci->regs = hcd->regs;
hcd               135 drivers/usb/host/uhci-platform.c 	ret = usb_add_hcd(hcd, pdev->resource[1].start, IRQF_SHARED);
hcd               139 drivers/usb/host/uhci-platform.c 	device_wakeup_enable(hcd->self.controller);
hcd               145 drivers/usb/host/uhci-platform.c 	usb_put_hcd(hcd);
hcd               152 drivers/usb/host/uhci-platform.c 	struct usb_hcd *hcd = platform_get_drvdata(pdev);
hcd               153 drivers/usb/host/uhci-platform.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd               156 drivers/usb/host/uhci-platform.c 	usb_remove_hcd(hcd);
hcd               157 drivers/usb/host/uhci-platform.c 	usb_put_hcd(hcd);
hcd               171 drivers/usb/host/uhci-platform.c 	struct usb_hcd *hcd = platform_get_drvdata(op);
hcd               173 drivers/usb/host/uhci-platform.c 	uhci_hc_died(hcd_to_uhci(hcd));
hcd              1408 drivers/usb/host/uhci-q.c static int uhci_urb_enqueue(struct usb_hcd *hcd,
hcd              1412 drivers/usb/host/uhci-q.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd              1419 drivers/usb/host/uhci-q.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              1475 drivers/usb/host/uhci-q.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              1481 drivers/usb/host/uhci-q.c static int uhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              1483 drivers/usb/host/uhci-q.c 	struct uhci_hcd *uhci = hcd_to_uhci(hcd);
hcd              1489 drivers/usb/host/uhci-q.c 	rc = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd               121 drivers/usb/host/xhci-debugfs.c 	struct usb_hcd		*hcd = xhci_to_hcd(xhci);
hcd               134 drivers/usb/host/xhci-debugfs.c 	regset->base = hcd->regs + base;
hcd               360 drivers/usb/host/xhci-debugfs.c 	struct xhci_hcd		*xhci = hcd_to_xhci(port->rhub->hcd);
hcd                30 drivers/usb/host/xhci-ext-caps.c 	struct usb_hcd *hcd = xhci_to_hcd(xhci);
hcd                31 drivers/usb/host/xhci-ext-caps.c 	struct device *dev = hcd->self.controller;
hcd                44 drivers/usb/host/xhci-ext-caps.c 	res.start = hcd->rsrc_start + cap_offset;
hcd                35 drivers/usb/host/xhci-histb.c 	struct usb_hcd		*hcd;
hcd                44 drivers/usb/host/xhci-histb.c static inline struct xhci_hcd_histb *hcd_to_histb(struct usb_hcd *hcd)
hcd                46 drivers/usb/host/xhci-histb.c 	return dev_get_drvdata(hcd->self.controller);
hcd               178 drivers/usb/host/xhci-histb.c static int xhci_histb_setup(struct usb_hcd *hcd)
hcd               180 drivers/usb/host/xhci-histb.c 	struct xhci_hcd_histb *histb = hcd_to_histb(hcd);
hcd               183 drivers/usb/host/xhci-histb.c 	if (usb_hcd_is_primary_hcd(hcd)) {
hcd               189 drivers/usb/host/xhci-histb.c 	return xhci_gen_setup(hcd, xhci_histb_quirks);
hcd               202 drivers/usb/host/xhci-histb.c 	struct usb_hcd *hcd;
hcd               246 drivers/usb/host/xhci-histb.c 	hcd = usb_create_hcd(driver, dev, dev_name(dev));
hcd               247 drivers/usb/host/xhci-histb.c 	if (!hcd) {
hcd               252 drivers/usb/host/xhci-histb.c 	hcd->regs = histb->ctrl;
hcd               253 drivers/usb/host/xhci-histb.c 	hcd->rsrc_start = res->start;
hcd               254 drivers/usb/host/xhci-histb.c 	hcd->rsrc_len = resource_size(res);
hcd               256 drivers/usb/host/xhci-histb.c 	histb->hcd = hcd;
hcd               257 drivers/usb/host/xhci-histb.c 	dev_set_drvdata(hcd->self.controller, histb);
hcd               263 drivers/usb/host/xhci-histb.c 	xhci = hcd_to_xhci(hcd);
hcd               265 drivers/usb/host/xhci-histb.c 	device_wakeup_enable(hcd->self.controller);
hcd               267 drivers/usb/host/xhci-histb.c 	xhci->main_hcd = hcd;
hcd               269 drivers/usb/host/xhci-histb.c 						 hcd);
hcd               286 drivers/usb/host/xhci-histb.c 	ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               309 drivers/usb/host/xhci-histb.c 	usb_remove_hcd(hcd);
hcd               315 drivers/usb/host/xhci-histb.c 	usb_put_hcd(hcd);
hcd               326 drivers/usb/host/xhci-histb.c 	struct usb_hcd *hcd = histb->hcd;
hcd               327 drivers/usb/host/xhci-histb.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               336 drivers/usb/host/xhci-histb.c 	usb_remove_hcd(hcd);
hcd               340 drivers/usb/host/xhci-histb.c 	usb_put_hcd(hcd);
hcd               350 drivers/usb/host/xhci-histb.c 	struct usb_hcd *hcd = histb->hcd;
hcd               351 drivers/usb/host/xhci-histb.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               365 drivers/usb/host/xhci-histb.c 	struct usb_hcd *hcd = histb->hcd;
hcd               366 drivers/usb/host/xhci-histb.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd               193 drivers/usb/host/xhci-hub.c static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci,
hcd               247 drivers/usb/host/xhci-hub.c static void xhci_usb3_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci,
hcd               279 drivers/usb/host/xhci-hub.c static void xhci_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci,
hcd               283 drivers/usb/host/xhci-hub.c 	if (hcd->speed >= HCD_USB3)
hcd               284 drivers/usb/host/xhci-hub.c 		xhci_usb3_hub_descriptor(hcd, xhci, desc);
hcd               286 drivers/usb/host/xhci-hub.c 		xhci_usb2_hub_descriptor(hcd, xhci, desc);
hcd               360 drivers/usb/host/xhci-hub.c int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci,
hcd               372 drivers/usb/host/xhci-hub.c 		if (((speed >= USB_SPEED_SUPER) == (hcd->speed >= HCD_USB3))
hcd               480 drivers/usb/host/xhci-hub.c static void xhci_disable_port(struct usb_hcd *hcd, struct xhci_hcd *xhci,
hcd               484 drivers/usb/host/xhci-hub.c 	if (hcd->speed >= HCD_USB3) {
hcd               500 drivers/usb/host/xhci-hub.c 		 hcd->self.busnum, wIndex + 1, port_status);
hcd               554 drivers/usb/host/xhci-hub.c struct xhci_hub *xhci_get_rhub(struct usb_hcd *hcd)
hcd               556 drivers/usb/host/xhci-hub.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               558 drivers/usb/host/xhci-hub.c 	if (hcd->speed >= HCD_USB3)
hcd               568 drivers/usb/host/xhci-hub.c static void xhci_set_port_power(struct xhci_hcd *xhci, struct usb_hcd *hcd,
hcd               575 drivers/usb/host/xhci-hub.c 	rhub = xhci_get_rhub(hcd);
hcd               580 drivers/usb/host/xhci-hub.c 		 hcd->self.busnum, index + 1, on ? "ON" : "OFF", temp);
hcd               594 drivers/usb/host/xhci-hub.c 	temp = usb_acpi_power_manageable(hcd->self.root_hub,
hcd               597 drivers/usb/host/xhci-hub.c 		usb_acpi_set_power_state(hcd->self.root_hub,
hcd               691 drivers/usb/host/xhci-hub.c 		 port->rhub->hcd->self.busnum, port->hcd_portnum + 1,
hcd               822 drivers/usb/host/xhci-hub.c 	struct usb_hcd *hcd;
hcd               826 drivers/usb/host/xhci-hub.c 	hcd = port->rhub->hcd;
hcd               828 drivers/usb/host/xhci-hub.c 	xhci = hcd_to_xhci(hcd);
hcd               854 drivers/usb/host/xhci-hub.c 			mod_timer(&hcd->rh_timer, timeout);
hcd               855 drivers/usb/host/xhci-hub.c 			usb_hcd_start_port_resume(&hcd->self, wIndex);
hcd               862 drivers/usb/host/xhci-hub.c 			 hcd->self.busnum, wIndex + 1);
hcd               879 drivers/usb/host/xhci-hub.c 			slot_id = xhci_find_slot_id_by_port(hcd, xhci,
hcd               891 drivers/usb/host/xhci-hub.c 				  hcd->self.busnum, wIndex + 1, port_status);
hcd               896 drivers/usb/host/xhci-hub.c 		usb_hcd_end_port_resume(&hcd->self, wIndex);
hcd               932 drivers/usb/host/xhci-hub.c 	struct usb_hcd *hcd;
hcd               937 drivers/usb/host/xhci-hub.c 	xhci = hcd_to_xhci(port->rhub->hcd);
hcd               938 drivers/usb/host/xhci-hub.c 	hcd = port->rhub->hcd;
hcd               971 drivers/usb/host/xhci-hub.c 		usb_hcd_end_port_resume(&hcd->self, portnum);
hcd              1026 drivers/usb/host/xhci-hub.c static u32 xhci_get_port_status(struct usb_hcd *hcd,
hcd              1037 drivers/usb/host/xhci-hub.c 	rhub = xhci_get_rhub(hcd);
hcd              1063 drivers/usb/host/xhci-hub.c 	if (hcd->speed >= HCD_USB3)
hcd              1078 drivers/usb/host/xhci-hub.c 		usb_hcd_end_port_resume(&hcd->self, wIndex);
hcd              1087 drivers/usb/host/xhci-hub.c int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd              1090 drivers/usb/host/xhci-hub.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd              1104 drivers/usb/host/xhci-hub.c 	rhub = xhci_get_rhub(hcd);
hcd              1120 drivers/usb/host/xhci-hub.c 		if (hcd->speed >= HCD_USB3 &&
hcd              1127 drivers/usb/host/xhci-hub.c 		xhci_hub_descriptor(hcd, xhci,
hcd              1134 drivers/usb/host/xhci-hub.c 		if (hcd->speed < HCD_USB3)
hcd              1151 drivers/usb/host/xhci-hub.c 		status = xhci_get_port_status(hcd, bus_state, wIndex, temp,
hcd              1157 drivers/usb/host/xhci-hub.c 			 hcd->self.busnum, wIndex + 1, temp, status);
hcd              1164 drivers/usb/host/xhci-hub.c 			if (hcd->speed < HCD_USB31 || wLength != 8) {
hcd              1214 drivers/usb/host/xhci-hub.c 					  hcd->self.busnum, wIndex + 1);
hcd              1218 drivers/usb/host/xhci-hub.c 			slot_id = xhci_find_slot_id_by_port(hcd, xhci,
hcd              1350 drivers/usb/host/xhci-hub.c 				slot_id = xhci_find_slot_id_by_port(hcd, xhci,
hcd              1380 drivers/usb/host/xhci-hub.c 			xhci_set_port_power(xhci, hcd, wIndex, true, &flags);
hcd              1403 drivers/usb/host/xhci-hub.c 			if (hcd->speed < HCD_USB3)
hcd              1411 drivers/usb/host/xhci-hub.c 			if (hcd->speed < HCD_USB3)
hcd              1420 drivers/usb/host/xhci-hub.c 			if (hcd->speed != HCD_USB2)
hcd              1457 drivers/usb/host/xhci-hub.c 				usb_hcd_start_port_resume(&hcd->self, wIndex);
hcd              1466 drivers/usb/host/xhci-hub.c 				usb_hcd_end_port_resume(&hcd->self, wIndex);
hcd              1470 drivers/usb/host/xhci-hub.c 			slot_id = xhci_find_slot_id_by_port(hcd, xhci,
hcd              1492 drivers/usb/host/xhci-hub.c 			xhci_disable_port(hcd, xhci, wIndex,
hcd              1496 drivers/usb/host/xhci-hub.c 			xhci_set_port_power(xhci, hcd, wIndex, false, &flags);
hcd              1522 drivers/usb/host/xhci-hub.c int xhci_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              1528 drivers/usb/host/xhci-hub.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd              1535 drivers/usb/host/xhci-hub.c 	rhub = xhci_get_rhub(hcd);
hcd              1577 drivers/usb/host/xhci-hub.c 		clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              1585 drivers/usb/host/xhci-hub.c int xhci_bus_suspend(struct usb_hcd *hcd)
hcd              1587 drivers/usb/host/xhci-hub.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd              1596 drivers/usb/host/xhci-hub.c 	rhub = xhci_get_rhub(hcd);
hcd              1600 drivers/usb/host/xhci-hub.c 	wake_enabled = hcd->self.root_hub->do_remote_wakeup;
hcd              1630 drivers/usb/host/xhci-hub.c 		if ((hcd->speed >= HCD_USB3) && retries-- &&
hcd              1673 drivers/usb/host/xhci-hub.c 			    (hcd->speed < HCD_USB3)) {
hcd              1674 drivers/usb/host/xhci-hub.c 				if (usb_amd_pt_check_port(hcd->self.controller,
hcd              1694 drivers/usb/host/xhci-hub.c 			slot_id = xhci_find_slot_id_by_port(hcd, xhci,
hcd              1704 drivers/usb/host/xhci-hub.c 	hcd->state = HC_STATE_SUSPENDED;
hcd              1738 drivers/usb/host/xhci-hub.c int xhci_bus_resume(struct usb_hcd *hcd)
hcd              1740 drivers/usb/host/xhci-hub.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd              1751 drivers/usb/host/xhci-hub.c 	rhub = xhci_get_rhub(hcd);
hcd              1760 drivers/usb/host/xhci-hub.c 	if (!HCD_HW_ACCESSIBLE(hcd)) {
hcd              1771 drivers/usb/host/xhci-hub.c 	if (hcd->speed >= HCD_USB3)
hcd              1782 drivers/usb/host/xhci-hub.c 		    (hcd->speed >= HCD_USB3) &&
hcd              1811 drivers/usb/host/xhci-hub.c 	if (hcd->speed < HCD_USB3) {
hcd              1836 drivers/usb/host/xhci-hub.c 		slot_id = xhci_find_slot_id_by_port(hcd, xhci, port_index + 1);
hcd              1853 drivers/usb/host/xhci-hub.c unsigned long xhci_get_resuming_ports(struct usb_hcd *hcd)
hcd              1855 drivers/usb/host/xhci-hub.c 	struct xhci_hub *rhub = xhci_get_rhub(hcd);
hcd              1077 drivers/usb/host/xhci-mem.c 	struct usb_hcd *hcd;
hcd              1080 drivers/usb/host/xhci-mem.c 		hcd = xhci->shared_hcd;
hcd              1082 drivers/usb/host/xhci-mem.c 		hcd = xhci->main_hcd;
hcd              1088 drivers/usb/host/xhci-mem.c 	return	xhci_find_raw_port_number(hcd, top_dev->portnum);
hcd               565 drivers/usb/host/xhci-mtk-sch.c 	struct xhci_hcd *xhci = hcd_to_xhci(mtk->hcd);
hcd               592 drivers/usb/host/xhci-mtk-sch.c int xhci_mtk_add_ep_quirk(struct usb_hcd *hcd, struct usb_device *udev,
hcd               595 drivers/usb/host/xhci-mtk-sch.c 	struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd);
hcd               607 drivers/usb/host/xhci-mtk-sch.c 	xhci = hcd_to_xhci(hcd);
hcd               665 drivers/usb/host/xhci-mtk-sch.c void xhci_mtk_drop_ep_quirk(struct usb_hcd *hcd, struct usb_device *udev,
hcd               668 drivers/usb/host/xhci-mtk-sch.c 	struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd);
hcd               677 drivers/usb/host/xhci-mtk-sch.c 	xhci = hcd_to_xhci(hcd);
hcd               347 drivers/usb/host/xhci-mtk.c static int xhci_mtk_setup(struct usb_hcd *hcd);
hcd               381 drivers/usb/host/xhci-mtk.c 	struct usb_hcd *hcd = xhci_to_hcd(xhci);
hcd               382 drivers/usb/host/xhci-mtk.c 	struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd);
hcd               401 drivers/usb/host/xhci-mtk.c static int xhci_mtk_setup(struct usb_hcd *hcd)
hcd               403 drivers/usb/host/xhci-mtk.c 	struct xhci_hcd_mtk *mtk = hcd_to_mtk(hcd);
hcd               406 drivers/usb/host/xhci-mtk.c 	if (usb_hcd_is_primary_hcd(hcd)) {
hcd               412 drivers/usb/host/xhci-mtk.c 	ret = xhci_gen_setup(hcd, xhci_mtk_quirks);
hcd               416 drivers/usb/host/xhci-mtk.c 	if (usb_hcd_is_primary_hcd(hcd)) {
hcd               433 drivers/usb/host/xhci-mtk.c 	struct usb_hcd *hcd;
hcd               496 drivers/usb/host/xhci-mtk.c 	hcd = usb_create_hcd(driver, dev, dev_name(dev));
hcd               497 drivers/usb/host/xhci-mtk.c 	if (!hcd) {
hcd               506 drivers/usb/host/xhci-mtk.c 	mtk->hcd = platform_get_drvdata(pdev);
hcd               510 drivers/usb/host/xhci-mtk.c 	hcd->regs = devm_ioremap_resource(dev, res);
hcd               511 drivers/usb/host/xhci-mtk.c 	if (IS_ERR(hcd->regs)) {
hcd               512 drivers/usb/host/xhci-mtk.c 		ret = PTR_ERR(hcd->regs);
hcd               515 drivers/usb/host/xhci-mtk.c 	hcd->rsrc_start = res->start;
hcd               516 drivers/usb/host/xhci-mtk.c 	hcd->rsrc_len = resource_size(res);
hcd               532 drivers/usb/host/xhci-mtk.c 	xhci = hcd_to_xhci(hcd);
hcd               533 drivers/usb/host/xhci-mtk.c 	xhci->main_hcd = hcd;
hcd               544 drivers/usb/host/xhci-mtk.c 			dev_name(dev), hcd);
hcd               550 drivers/usb/host/xhci-mtk.c 	ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               564 drivers/usb/host/xhci-mtk.c 	usb_remove_hcd(hcd);
hcd               574 drivers/usb/host/xhci-mtk.c 	usb_put_hcd(hcd);
hcd               591 drivers/usb/host/xhci-mtk.c 	struct usb_hcd	*hcd = mtk->hcd;
hcd               592 drivers/usb/host/xhci-mtk.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               599 drivers/usb/host/xhci-mtk.c 	usb_remove_hcd(hcd);
hcd               601 drivers/usb/host/xhci-mtk.c 	usb_put_hcd(hcd);
hcd               621 drivers/usb/host/xhci-mtk.c 	struct usb_hcd *hcd = mtk->hcd;
hcd               622 drivers/usb/host/xhci-mtk.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd               625 drivers/usb/host/xhci-mtk.c 	clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               626 drivers/usb/host/xhci-mtk.c 	del_timer_sync(&hcd->rh_timer);
hcd               639 drivers/usb/host/xhci-mtk.c 	struct usb_hcd *hcd = mtk->hcd;
hcd               640 drivers/usb/host/xhci-mtk.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd               649 drivers/usb/host/xhci-mtk.c 	set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               650 drivers/usb/host/xhci-mtk.c 	usb_hcd_poll_rh_status(hcd);
hcd               132 drivers/usb/host/xhci-mtk.h 	struct usb_hcd *hcd;
hcd               157 drivers/usb/host/xhci-mtk.h static inline struct xhci_hcd_mtk *hcd_to_mtk(struct usb_hcd *hcd)
hcd               159 drivers/usb/host/xhci-mtk.h 	return dev_get_drvdata(hcd->self.controller);
hcd               165 drivers/usb/host/xhci-mtk.h int xhci_mtk_add_ep_quirk(struct usb_hcd *hcd, struct usb_device *udev,
hcd               167 drivers/usb/host/xhci-mtk.h void xhci_mtk_drop_ep_quirk(struct usb_hcd *hcd, struct usb_device *udev,
hcd               171 drivers/usb/host/xhci-mtk.h static inline int xhci_mtk_add_ep_quirk(struct usb_hcd *hcd,
hcd               177 drivers/usb/host/xhci-mtk.h static inline void xhci_mtk_drop_ep_quirk(struct usb_hcd *hcd,
hcd                45 drivers/usb/host/xhci-mvebu.c int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
hcd                47 drivers/usb/host/xhci-mvebu.c 	struct device *dev = hcd->self.controller;
hcd                77 drivers/usb/host/xhci-mvebu.c int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd)
hcd                79 drivers/usb/host/xhci-mvebu.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd                14 drivers/usb/host/xhci-mvebu.h int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd);
hcd                15 drivers/usb/host/xhci-mvebu.h int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd);
hcd                17 drivers/usb/host/xhci-mvebu.h static inline int xhci_mvebu_mbus_init_quirk(struct usb_hcd *hcd)
hcd                22 drivers/usb/host/xhci-mvebu.h static inline int xhci_mvebu_a3700_init_quirk(struct usb_hcd *hcd)
hcd                64 drivers/usb/host/xhci-pci.c static int xhci_pci_setup(struct usb_hcd *hcd);
hcd               288 drivers/usb/host/xhci-pci.c static int xhci_pci_setup(struct usb_hcd *hcd)
hcd               291 drivers/usb/host/xhci-pci.c 	struct pci_dev		*pdev = to_pci_dev(hcd->self.controller);
hcd               294 drivers/usb/host/xhci-pci.c 	xhci = hcd_to_xhci(hcd);
hcd               301 drivers/usb/host/xhci-pci.c 	retval = xhci_gen_setup(hcd, xhci_pci_quirks);
hcd               305 drivers/usb/host/xhci-pci.c 	if (!usb_hcd_is_primary_hcd(hcd))
hcd               326 drivers/usb/host/xhci-pci.c 	struct usb_hcd *hcd;
hcd               345 drivers/usb/host/xhci-pci.c 	hcd = dev_get_drvdata(&dev->dev);
hcd               346 drivers/usb/host/xhci-pci.c 	xhci = hcd_to_xhci(hcd);
hcd               348 drivers/usb/host/xhci-pci.c 				pci_name(dev), hcd);
hcd               416 drivers/usb/host/xhci-pci.c static void xhci_ssic_port_unused_quirk(struct usb_hcd *hcd, bool suspend)
hcd               418 drivers/usb/host/xhci-pci.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               451 drivers/usb/host/xhci-pci.c static void xhci_pme_quirk(struct usb_hcd *hcd)
hcd               453 drivers/usb/host/xhci-pci.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               463 drivers/usb/host/xhci-pci.c static int xhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup)
hcd               465 drivers/usb/host/xhci-pci.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               466 drivers/usb/host/xhci-pci.c 	struct pci_dev		*pdev = to_pci_dev(hcd->self.controller);
hcd               477 drivers/usb/host/xhci-pci.c 		xhci_pme_quirk(hcd);
hcd               480 drivers/usb/host/xhci-pci.c 		xhci_ssic_port_unused_quirk(hcd, true);
hcd               484 drivers/usb/host/xhci-pci.c 		xhci_ssic_port_unused_quirk(hcd, false);
hcd               489 drivers/usb/host/xhci-pci.c static int xhci_pci_resume(struct usb_hcd *hcd, bool hibernated)
hcd               491 drivers/usb/host/xhci-pci.c 	struct xhci_hcd		*xhci = hcd_to_xhci(hcd);
hcd               492 drivers/usb/host/xhci-pci.c 	struct pci_dev		*pdev = to_pci_dev(hcd->self.controller);
hcd               517 drivers/usb/host/xhci-pci.c 		xhci_ssic_port_unused_quirk(hcd, false);
hcd               520 drivers/usb/host/xhci-pci.c 		xhci_pme_quirk(hcd);
hcd               526 drivers/usb/host/xhci-pci.c static void xhci_pci_shutdown(struct usb_hcd *hcd)
hcd               528 drivers/usb/host/xhci-pci.c 	struct xhci_hcd		*xhci = hcd_to_xhci(hcd);
hcd               529 drivers/usb/host/xhci-pci.c 	struct pci_dev		*pdev = to_pci_dev(hcd->self.controller);
hcd               531 drivers/usb/host/xhci-pci.c 	xhci_shutdown(hcd);
hcd                30 drivers/usb/host/xhci-plat.c static int xhci_plat_setup(struct usb_hcd *hcd);
hcd                31 drivers/usb/host/xhci-plat.c static int xhci_plat_start(struct usb_hcd *hcd);
hcd                39 drivers/usb/host/xhci-plat.c static void xhci_priv_plat_start(struct usb_hcd *hcd)
hcd                41 drivers/usb/host/xhci-plat.c 	struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd);
hcd                44 drivers/usb/host/xhci-plat.c 		priv->plat_start(hcd);
hcd                47 drivers/usb/host/xhci-plat.c static int xhci_priv_init_quirk(struct usb_hcd *hcd)
hcd                49 drivers/usb/host/xhci-plat.c 	struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd);
hcd                54 drivers/usb/host/xhci-plat.c 	return priv->init_quirk(hcd);
hcd                57 drivers/usb/host/xhci-plat.c static int xhci_priv_resume_quirk(struct usb_hcd *hcd)
hcd                59 drivers/usb/host/xhci-plat.c 	struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd);
hcd                64 drivers/usb/host/xhci-plat.c 	return priv->resume_quirk(hcd);
hcd                80 drivers/usb/host/xhci-plat.c static int xhci_plat_setup(struct usb_hcd *hcd)
hcd                85 drivers/usb/host/xhci-plat.c 	ret = xhci_priv_init_quirk(hcd);
hcd                89 drivers/usb/host/xhci-plat.c 	return xhci_gen_setup(hcd, xhci_plat_quirks);
hcd                92 drivers/usb/host/xhci-plat.c static int xhci_plat_start(struct usb_hcd *hcd)
hcd                94 drivers/usb/host/xhci-plat.c 	xhci_priv_plat_start(hcd);
hcd                95 drivers/usb/host/xhci-plat.c 	return xhci_run(hcd);
hcd               163 drivers/usb/host/xhci-plat.c 	struct usb_hcd		*hcd;
hcd               215 drivers/usb/host/xhci-plat.c 	hcd = __usb_create_hcd(driver, sysdev, &pdev->dev,
hcd               217 drivers/usb/host/xhci-plat.c 	if (!hcd) {
hcd               223 drivers/usb/host/xhci-plat.c 	hcd->regs = devm_ioremap_resource(&pdev->dev, res);
hcd               224 drivers/usb/host/xhci-plat.c 	if (IS_ERR(hcd->regs)) {
hcd               225 drivers/usb/host/xhci-plat.c 		ret = PTR_ERR(hcd->regs);
hcd               229 drivers/usb/host/xhci-plat.c 	hcd->rsrc_start = res->start;
hcd               230 drivers/usb/host/xhci-plat.c 	hcd->rsrc_len = resource_size(res);
hcd               232 drivers/usb/host/xhci-plat.c 	xhci = hcd_to_xhci(hcd);
hcd               260 drivers/usb/host/xhci-plat.c 		struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd);
hcd               267 drivers/usb/host/xhci-plat.c 	device_wakeup_enable(hcd->self.controller);
hcd               269 drivers/usb/host/xhci-plat.c 	xhci->main_hcd = hcd;
hcd               271 drivers/usb/host/xhci-plat.c 			dev_name(&pdev->dev), hcd);
hcd               296 drivers/usb/host/xhci-plat.c 	hcd->usb_phy = devm_usb_get_phy_by_phandle(sysdev, "usb-phy", 0);
hcd               297 drivers/usb/host/xhci-plat.c 	if (IS_ERR(hcd->usb_phy)) {
hcd               298 drivers/usb/host/xhci-plat.c 		ret = PTR_ERR(hcd->usb_phy);
hcd               301 drivers/usb/host/xhci-plat.c 		hcd->usb_phy = NULL;
hcd               303 drivers/usb/host/xhci-plat.c 		ret = usb_phy_init(hcd->usb_phy);
hcd               308 drivers/usb/host/xhci-plat.c 	hcd->tpl_support = of_usb_host_tpl_support(sysdev->of_node);
hcd               309 drivers/usb/host/xhci-plat.c 	xhci->shared_hcd->tpl_support = hcd->tpl_support;
hcd               310 drivers/usb/host/xhci-plat.c 	ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
hcd               334 drivers/usb/host/xhci-plat.c 	usb_remove_hcd(hcd);
hcd               337 drivers/usb/host/xhci-plat.c 	usb_phy_shutdown(hcd->usb_phy);
hcd               349 drivers/usb/host/xhci-plat.c 	usb_put_hcd(hcd);
hcd               360 drivers/usb/host/xhci-plat.c 	struct usb_hcd	*hcd = platform_get_drvdata(dev);
hcd               361 drivers/usb/host/xhci-plat.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               371 drivers/usb/host/xhci-plat.c 	usb_phy_shutdown(hcd->usb_phy);
hcd               373 drivers/usb/host/xhci-plat.c 	usb_remove_hcd(hcd);
hcd               378 drivers/usb/host/xhci-plat.c 	usb_put_hcd(hcd);
hcd               389 drivers/usb/host/xhci-plat.c 	struct usb_hcd	*hcd = dev_get_drvdata(dev);
hcd               390 drivers/usb/host/xhci-plat.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               405 drivers/usb/host/xhci-plat.c 	struct usb_hcd	*hcd = dev_get_drvdata(dev);
hcd               406 drivers/usb/host/xhci-plat.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd               409 drivers/usb/host/xhci-plat.c 	ret = xhci_priv_resume_quirk(hcd);
hcd               418 drivers/usb/host/xhci-plat.c 	struct usb_hcd  *hcd = dev_get_drvdata(dev);
hcd               419 drivers/usb/host/xhci-plat.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd               426 drivers/usb/host/xhci-plat.c 	struct usb_hcd  *hcd = dev_get_drvdata(dev);
hcd               427 drivers/usb/host/xhci-plat.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd                87 drivers/usb/host/xhci-rcar.c static void xhci_rcar_start_gen2(struct usb_hcd *hcd)
hcd                90 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_LCLK_ENA_VAL, hcd->regs + RCAR_USB3_LCLK);
hcd                92 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_CONF1_VAL, hcd->regs + RCAR_USB3_CONF1);
hcd                93 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_CONF2_VAL, hcd->regs + RCAR_USB3_CONF2);
hcd                94 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_CONF3_VAL, hcd->regs + RCAR_USB3_CONF3);
hcd                96 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_RX_POL_VAL, hcd->regs + RCAR_USB3_RX_POL);
hcd                97 drivers/usb/host/xhci-rcar.c 	writel(RCAR_USB3_TX_POL_VAL, hcd->regs + RCAR_USB3_TX_POL);
hcd               110 drivers/usb/host/xhci-rcar.c void xhci_rcar_start(struct usb_hcd *hcd)
hcd               114 drivers/usb/host/xhci-rcar.c 	if (hcd->regs != NULL) {
hcd               116 drivers/usb/host/xhci-rcar.c 		temp = readl(hcd->regs + RCAR_USB3_INT_ENA);
hcd               118 drivers/usb/host/xhci-rcar.c 		writel(temp, hcd->regs + RCAR_USB3_INT_ENA);
hcd               119 drivers/usb/host/xhci-rcar.c 		if (xhci_rcar_is_gen2(hcd->self.controller))
hcd               120 drivers/usb/host/xhci-rcar.c 			xhci_rcar_start_gen2(hcd);
hcd               124 drivers/usb/host/xhci-rcar.c static int xhci_rcar_download_firmware(struct usb_hcd *hcd)
hcd               126 drivers/usb/host/xhci-rcar.c 	struct device *dev = hcd->self.controller;
hcd               127 drivers/usb/host/xhci-rcar.c 	void __iomem *regs = hcd->regs;
hcd               128 drivers/usb/host/xhci-rcar.c 	struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd);
hcd               201 drivers/usb/host/xhci-rcar.c static bool xhci_rcar_wait_for_pll_active(struct usb_hcd *hcd)
hcd               207 drivers/usb/host/xhci-rcar.c 		val = readl(hcd->regs + RCAR_USB3_AXH_STA);
hcd               218 drivers/usb/host/xhci-rcar.c int xhci_rcar_init_quirk(struct usb_hcd *hcd)
hcd               221 drivers/usb/host/xhci-rcar.c 	if (!hcd->regs)
hcd               224 drivers/usb/host/xhci-rcar.c 	if (!xhci_rcar_wait_for_pll_active(hcd))
hcd               227 drivers/usb/host/xhci-rcar.c 	return xhci_rcar_download_firmware(hcd);
hcd               230 drivers/usb/host/xhci-rcar.c int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
hcd               234 drivers/usb/host/xhci-rcar.c 	ret = xhci_rcar_download_firmware(hcd);
hcd               236 drivers/usb/host/xhci-rcar.c 		xhci_rcar_start(hcd);
hcd                16 drivers/usb/host/xhci-rcar.h void xhci_rcar_start(struct usb_hcd *hcd);
hcd                17 drivers/usb/host/xhci-rcar.h int xhci_rcar_init_quirk(struct usb_hcd *hcd);
hcd                18 drivers/usb/host/xhci-rcar.h int xhci_rcar_resume_quirk(struct usb_hcd *hcd);
hcd                20 drivers/usb/host/xhci-rcar.h static inline void xhci_rcar_start(struct usb_hcd *hcd)
hcd                24 drivers/usb/host/xhci-rcar.h static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
hcd                29 drivers/usb/host/xhci-rcar.h static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
hcd               661 drivers/usb/host/xhci-ring.c 	struct usb_hcd	*hcd		= bus_to_hcd(urb->dev->bus);
hcd               671 drivers/usb/host/xhci-ring.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               674 drivers/usb/host/xhci-ring.c 	usb_hcd_giveback_urb(hcd, urb, status);
hcd              1567 drivers/usb/host/xhci-ring.c 	struct usb_hcd *hcd = xhci_to_hcd(xhci);
hcd              1573 drivers/usb/host/xhci-ring.c 		writel(0x6F, hcd->regs + 0x1048);
hcd              1576 drivers/usb/host/xhci-ring.c 		writel(0x7F, hcd->regs + 0x1048);
hcd              1578 drivers/usb/host/xhci-ring.c 		pll_lock_check = readl(hcd->regs + 0x1070);
hcd              1585 drivers/usb/host/xhci-ring.c 	struct usb_hcd *hcd;
hcd              1625 drivers/usb/host/xhci-ring.c 	hcd = port->rhub->hcd;
hcd              1631 drivers/usb/host/xhci-ring.c 		 hcd->self.busnum, hcd_portnum + 1, port_id, portsc);
hcd              1635 drivers/usb/host/xhci-ring.c 	if (hcd->state == HC_STATE_SUSPENDED) {
hcd              1637 drivers/usb/host/xhci-ring.c 		usb_hcd_resume_root_hub(hcd);
hcd              1640 drivers/usb/host/xhci-ring.c 	if (hcd->speed >= HCD_USB3 &&
hcd              1642 drivers/usb/host/xhci-ring.c 		slot_id = xhci_find_slot_id_by_port(hcd, xhci, hcd_portnum + 1);
hcd              1664 drivers/usb/host/xhci-ring.c 			usb_hcd_start_port_resume(&hcd->self, hcd_portnum);
hcd              1680 drivers/usb/host/xhci-ring.c 			set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              1681 drivers/usb/host/xhci-ring.c 			mod_timer(&hcd->rh_timer,
hcd              1683 drivers/usb/host/xhci-ring.c 			usb_hcd_start_port_resume(&hcd->self, hcd_portnum);
hcd              1702 drivers/usb/host/xhci-ring.c 		slot_id = xhci_find_slot_id_by_port(hcd, xhci, hcd_portnum + 1);
hcd              1707 drivers/usb/host/xhci-ring.c 			usb_wakeup_notification(hcd->self.root_hub,
hcd              1719 drivers/usb/host/xhci-ring.c 	if (!DEV_SUPERSPEED_ANY(portsc) && hcd->speed < HCD_USB3 &&
hcd              1727 drivers/usb/host/xhci-ring.c 	if (hcd->speed < HCD_USB3) {
hcd              1753 drivers/usb/host/xhci-ring.c 	set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              1756 drivers/usb/host/xhci-ring.c 	usb_hcd_poll_rh_status(hcd);
hcd              2819 drivers/usb/host/xhci-ring.c irqreturn_t xhci_irq(struct usb_hcd *hcd)
hcd              2821 drivers/usb/host/xhci-ring.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd              2856 drivers/usb/host/xhci-ring.c 	if (!hcd->msi_enabled) {
hcd              2897 drivers/usb/host/xhci-ring.c irqreturn_t xhci_msi_irq(int irq, void *hcd)
hcd              2899 drivers/usb/host/xhci-ring.c 	return xhci_irq(hcd);
hcd               170 drivers/usb/host/xhci-tegra.c 	struct usb_hcd *hcd;
hcd              1162 drivers/usb/host/xhci-tegra.c 	tegra->hcd = usb_create_hcd(&tegra_xhci_hc_driver, &pdev->dev,
hcd              1164 drivers/usb/host/xhci-tegra.c 	if (!tegra->hcd) {
hcd              1210 drivers/usb/host/xhci-tegra.c 	tegra->hcd->regs = tegra->regs;
hcd              1211 drivers/usb/host/xhci-tegra.c 	tegra->hcd->rsrc_start = regs->start;
hcd              1212 drivers/usb/host/xhci-tegra.c 	tegra->hcd->rsrc_len = resource_size(regs);
hcd              1214 drivers/usb/host/xhci-tegra.c 	err = usb_add_hcd(tegra->hcd, tegra->xhci_irq, IRQF_SHARED);
hcd              1220 drivers/usb/host/xhci-tegra.c 	device_wakeup_enable(tegra->hcd->self.controller);
hcd              1222 drivers/usb/host/xhci-tegra.c 	xhci = hcd_to_xhci(tegra->hcd);
hcd              1227 drivers/usb/host/xhci-tegra.c 						 tegra->hcd);
hcd              1271 drivers/usb/host/xhci-tegra.c 	usb_remove_hcd(tegra->hcd);
hcd              1276 drivers/usb/host/xhci-tegra.c 	usb_put_hcd(tegra->hcd);
hcd              1295 drivers/usb/host/xhci-tegra.c 	struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd);
hcd              1300 drivers/usb/host/xhci-tegra.c 	usb_remove_hcd(tegra->hcd);
hcd              1301 drivers/usb/host/xhci-tegra.c 	usb_put_hcd(tegra->hcd);
hcd              1327 drivers/usb/host/xhci-tegra.c 	struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd);
hcd              1337 drivers/usb/host/xhci-tegra.c 	struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd);
hcd              1462 drivers/usb/host/xhci-tegra.c static int tegra_xhci_setup(struct usb_hcd *hcd)
hcd              1464 drivers/usb/host/xhci-tegra.c 	return xhci_gen_setup(hcd, tegra_xhci_quirks);
hcd                12 drivers/usb/host/xhci-trace.h #define TRACE_SYSTEM xhci-hcd
hcd               325 drivers/usb/host/xhci.c 	struct usb_hcd *hcd = xhci_to_hcd(xhci);
hcd               326 drivers/usb/host/xhci.c 	struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
hcd               353 drivers/usb/host/xhci.c 	hcd->msix_enabled = 1;
hcd               367 drivers/usb/host/xhci.c 	struct usb_hcd *hcd = xhci_to_hcd(xhci);
hcd               368 drivers/usb/host/xhci.c 	struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
hcd               374 drivers/usb/host/xhci.c 	if (hcd->irq > 0)
hcd               377 drivers/usb/host/xhci.c 	if (hcd->msix_enabled) {
hcd               387 drivers/usb/host/xhci.c 	hcd->msix_enabled = 0;
hcd               392 drivers/usb/host/xhci.c 	struct usb_hcd *hcd = xhci_to_hcd(xhci);
hcd               394 drivers/usb/host/xhci.c 	if (hcd->msix_enabled) {
hcd               395 drivers/usb/host/xhci.c 		struct pci_dev *pdev = to_pci_dev(hcd->self.controller);
hcd               403 drivers/usb/host/xhci.c static int xhci_try_enable_msi(struct usb_hcd *hcd)
hcd               405 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd               422 drivers/usb/host/xhci.c 	if (hcd->irq)
hcd               423 drivers/usb/host/xhci.c 		free_irq(hcd->irq, hcd);
hcd               424 drivers/usb/host/xhci.c 	hcd->irq = 0;
hcd               432 drivers/usb/host/xhci.c 		hcd->msi_enabled = 1;
hcd               442 drivers/usb/host/xhci.c 	if (!strlen(hcd->irq_descr))
hcd               443 drivers/usb/host/xhci.c 		snprintf(hcd->irq_descr, sizeof(hcd->irq_descr), "%s:usb%d",
hcd               444 drivers/usb/host/xhci.c 			 hcd->driver->description, hcd->self.busnum);
hcd               448 drivers/usb/host/xhci.c 			hcd->irq_descr, hcd);
hcd               454 drivers/usb/host/xhci.c 	hcd->irq = pdev->irq;
hcd               460 drivers/usb/host/xhci.c static inline int xhci_try_enable_msi(struct usb_hcd *hcd)
hcd               478 drivers/usb/host/xhci.c 	struct usb_hcd *hcd;
hcd               498 drivers/usb/host/xhci.c 			hcd = xhci->shared_hcd;
hcd               500 drivers/usb/host/xhci.c 			if (hcd->state == HC_STATE_SUSPENDED)
hcd               501 drivers/usb/host/xhci.c 				usb_hcd_resume_root_hub(hcd);
hcd               503 drivers/usb/host/xhci.c 			usb_hcd_poll_rh_status(hcd);
hcd               575 drivers/usb/host/xhci.c static int xhci_init(struct usb_hcd *hcd)
hcd               577 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd               634 drivers/usb/host/xhci.c int xhci_run(struct usb_hcd *hcd)
hcd               639 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd               645 drivers/usb/host/xhci.c 	hcd->uses_new_polling = 1;
hcd               646 drivers/usb/host/xhci.c 	if (!usb_hcd_is_primary_hcd(hcd))
hcd               651 drivers/usb/host/xhci.c 	ret = xhci_try_enable_msi(hcd);
hcd               712 drivers/usb/host/xhci.c static void xhci_stop(struct usb_hcd *hcd)
hcd               715 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd               720 drivers/usb/host/xhci.c 	if (!usb_hcd_is_primary_hcd(hcd)) {
hcd               773 drivers/usb/host/xhci.c void xhci_shutdown(struct usb_hcd *hcd)
hcd               775 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd               778 drivers/usb/host/xhci.c 		usb_disable_xhci_ports(to_pci_dev(hcd->self.sysdev));
hcd               906 drivers/usb/host/xhci.c 				 xhci->usb3_rhub.hcd->self.busnum,
hcd               922 drivers/usb/host/xhci.c 				 xhci->usb2_rhub.hcd->self.busnum,
hcd               974 drivers/usb/host/xhci.c 	struct usb_hcd		*hcd = xhci_to_hcd(xhci);
hcd               978 drivers/usb/host/xhci.c 	if (!hcd->state)
hcd               981 drivers/usb/host/xhci.c 	if (hcd->state != HC_STATE_SUSPENDED ||
hcd               993 drivers/usb/host/xhci.c 	clear_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd               994 drivers/usb/host/xhci.c 	del_timer_sync(&hcd->rh_timer);
hcd              1002 drivers/usb/host/xhci.c 	clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              1084 drivers/usb/host/xhci.c 	struct usb_hcd		*hcd = xhci_to_hcd(xhci);
hcd              1089 drivers/usb/host/xhci.c 	if (!hcd->state)
hcd              1100 drivers/usb/host/xhci.c 	set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              1182 drivers/usb/host/xhci.c 		if (!usb_hcd_is_primary_hcd(hcd))
hcd              1183 drivers/usb/host/xhci.c 			secondary_hcd = hcd;
hcd              1188 drivers/usb/host/xhci.c 		retval = xhci_init(hcd->primary_hcd);
hcd              1194 drivers/usb/host/xhci.c 		retval = xhci_run(hcd->primary_hcd);
hcd              1199 drivers/usb/host/xhci.c 		hcd->state = HC_STATE_SUSPENDED;
hcd              1229 drivers/usb/host/xhci.c 			usb_hcd_resume_root_hub(hcd);
hcd              1243 drivers/usb/host/xhci.c 		usb_asmedia_modifyflowcontrol(to_pci_dev(hcd->self.controller));
hcd              1249 drivers/usb/host/xhci.c 	set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
hcd              1250 drivers/usb/host/xhci.c 	usb_hcd_poll_rh_status(hcd);
hcd              1265 drivers/usb/host/xhci.c static int xhci_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
hcd              1271 drivers/usb/host/xhci.c 	return usb_hcd_map_urb_for_dma(hcd, urb, mem_flags);
hcd              1337 drivers/usb/host/xhci.c static int xhci_check_args(struct usb_hcd *hcd, struct usb_device *udev,
hcd              1343 drivers/usb/host/xhci.c 	if (!hcd || (check_ep && !ep) || !udev) {
hcd              1352 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              1457 drivers/usb/host/xhci.c static int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags)
hcd              1459 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd              1467 drivers/usb/host/xhci.c 	if (!urb || xhci_check_args(hcd, urb->dev, urb->ep,
hcd              1475 drivers/usb/host/xhci.c 	if (!HCD_HW_ACCESSIBLE(hcd)) {
hcd              1599 drivers/usb/host/xhci.c static int xhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              1613 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              1619 drivers/usb/host/xhci.c 	ret = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              1712 drivers/usb/host/xhci.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              1714 drivers/usb/host/xhci.c 	usb_hcd_giveback_urb(hcd, urb, -ESHUTDOWN);
hcd              1731 drivers/usb/host/xhci.c static int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev,
hcd              1743 drivers/usb/host/xhci.c 	ret = xhci_check_args(hcd, udev, ep, 1, true, __func__);
hcd              1746 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              1793 drivers/usb/host/xhci.c 		xhci_mtk_drop_ep_quirk(hcd, udev, ep);
hcd              1816 drivers/usb/host/xhci.c static int xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev,
hcd              1829 drivers/usb/host/xhci.c 	ret = xhci_check_args(hcd, udev, ep, 1, true, __func__);
hcd              1835 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              1892 drivers/usb/host/xhci.c 		ret = xhci_mtk_add_ep_quirk(hcd, udev, ep);
hcd              2862 drivers/usb/host/xhci.c static int xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev)
hcd              2872 drivers/usb/host/xhci.c 	ret = xhci_check_args(hcd, udev, NULL, 0, true, __func__);
hcd              2875 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              2959 drivers/usb/host/xhci.c static void xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev)
hcd              2965 drivers/usb/host/xhci.c 	ret = xhci_check_args(hcd, udev, NULL, 0, true, __func__);
hcd              2968 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              3073 drivers/usb/host/xhci.c static void xhci_endpoint_disable(struct usb_hcd *hcd,
hcd              3083 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              3127 drivers/usb/host/xhci.c static void xhci_endpoint_reset(struct usb_hcd *hcd,
hcd              3141 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              3399 drivers/usb/host/xhci.c static int xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev,
hcd              3421 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              3562 drivers/usb/host/xhci.c static int xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev,
hcd              3575 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              3694 drivers/usb/host/xhci.c static int xhci_discover_or_reset_device(struct usb_hcd *hcd,
hcd              3706 drivers/usb/host/xhci.c 	ret = xhci_check_args(hcd, udev, NULL, 0, false, __func__);
hcd              3709 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              3715 drivers/usb/host/xhci.c 		ret = xhci_alloc_dev(hcd, udev);
hcd              3733 drivers/usb/host/xhci.c 		ret = xhci_alloc_dev(hcd, udev);
hcd              3856 drivers/usb/host/xhci.c static void xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev)
hcd              3858 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd              3870 drivers/usb/host/xhci.c 		pm_runtime_put_noidle(hcd->self.controller);
hcd              3873 drivers/usb/host/xhci.c 	ret = xhci_check_args(hcd, udev, NULL, 0, true, __func__);
hcd              3957 drivers/usb/host/xhci.c int xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev)
hcd              3959 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd              4029 drivers/usb/host/xhci.c 		pm_runtime_get_noresume(hcd->self.controller);
hcd              4048 drivers/usb/host/xhci.c static int xhci_setup_device(struct usb_hcd *hcd, struct usb_device *udev,
hcd              4055 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd              4170 drivers/usb/host/xhci.c 			xhci_alloc_dev(hcd, udev);
hcd              4231 drivers/usb/host/xhci.c static int xhci_address_device(struct usb_hcd *hcd, struct usb_device *udev)
hcd              4233 drivers/usb/host/xhci.c 	return xhci_setup_device(hcd, udev, SETUP_CONTEXT_ADDRESS);
hcd              4236 drivers/usb/host/xhci.c static int xhci_enable_device(struct usb_hcd *hcd, struct usb_device *udev)
hcd              4238 drivers/usb/host/xhci.c 	return xhci_setup_device(hcd, udev, SETUP_CONTEXT_ONLY);
hcd              4247 drivers/usb/host/xhci.c int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1)
hcd              4251 drivers/usb/host/xhci.c 	rhub = xhci_get_rhub(hcd);
hcd              4381 drivers/usb/host/xhci.c static int xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd,
hcd              4384 drivers/usb/host/xhci.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd              4393 drivers/usb/host/xhci.c 	if (hcd->speed >= HCD_USB3 || !xhci->hw_lpm_support ||
hcd              4439 drivers/usb/host/xhci.c 			mutex_lock(hcd->bandwidth_mutex);
hcd              4442 drivers/usb/host/xhci.c 			mutex_unlock(hcd->bandwidth_mutex);
hcd              4471 drivers/usb/host/xhci.c 			mutex_lock(hcd->bandwidth_mutex);
hcd              4473 drivers/usb/host/xhci.c 			mutex_unlock(hcd->bandwidth_mutex);
hcd              4505 drivers/usb/host/xhci.c static int xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev)
hcd              4507 drivers/usb/host/xhci.c 	struct xhci_hcd	*xhci = hcd_to_xhci(hcd);
hcd              4510 drivers/usb/host/xhci.c 	if (hcd->speed >= HCD_USB3 || !udev->lpm_capable)
hcd              4819 drivers/usb/host/xhci.c static u16 xhci_calculate_lpm_timeout(struct usb_hcd *hcd,
hcd              4822 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd              4932 drivers/usb/host/xhci.c static int xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd,
hcd              4940 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              4949 drivers/usb/host/xhci.c 	hub_encoded_timeout = xhci_calculate_lpm_timeout(hcd, udev, state);
hcd              4963 drivers/usb/host/xhci.c static int xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd,
hcd              4969 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              4979 drivers/usb/host/xhci.c static int xhci_set_usb2_hardware_lpm(struct usb_hcd *hcd,
hcd              4985 drivers/usb/host/xhci.c static int xhci_update_device(struct usb_hcd *hcd, struct usb_device *udev)
hcd              4990 drivers/usb/host/xhci.c static int xhci_enable_usb3_lpm_timeout(struct usb_hcd *hcd,
hcd              4996 drivers/usb/host/xhci.c static int xhci_disable_usb3_lpm_timeout(struct usb_hcd *hcd,
hcd              5008 drivers/usb/host/xhci.c static int xhci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev,
hcd              5011 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd              5109 drivers/usb/host/xhci.c static int xhci_get_frame(struct usb_hcd *hcd)
hcd              5111 drivers/usb/host/xhci.c 	struct xhci_hcd *xhci = hcd_to_xhci(hcd);
hcd              5116 drivers/usb/host/xhci.c int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks)
hcd              5123 drivers/usb/host/xhci.c 	struct device		*dev = hcd->self.sysdev;
hcd              5128 drivers/usb/host/xhci.c 	hcd->self.sg_tablesize = ~0;
hcd              5131 drivers/usb/host/xhci.c 	hcd->self.no_sg_constraint = 1;
hcd              5134 drivers/usb/host/xhci.c 	hcd->self.no_stop_on_short = 1;
hcd              5136 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              5138 drivers/usb/host/xhci.c 	if (usb_hcd_is_primary_hcd(hcd)) {
hcd              5139 drivers/usb/host/xhci.c 		xhci->main_hcd = hcd;
hcd              5140 drivers/usb/host/xhci.c 		xhci->usb2_rhub.hcd = hcd;
hcd              5144 drivers/usb/host/xhci.c 		hcd->speed = HCD_USB2;
hcd              5145 drivers/usb/host/xhci.c 		hcd->self.root_hub->speed = USB_SPEED_HIGH;
hcd              5151 drivers/usb/host/xhci.c 		hcd->has_tt = 1;
hcd              5169 drivers/usb/host/xhci.c 			hcd->speed = HCD_USB32;
hcd              5170 drivers/usb/host/xhci.c 			hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS;
hcd              5171 drivers/usb/host/xhci.c 			hcd->self.root_hub->rx_lanes = 2;
hcd              5172 drivers/usb/host/xhci.c 			hcd->self.root_hub->tx_lanes = 2;
hcd              5175 drivers/usb/host/xhci.c 			hcd->speed = HCD_USB31;
hcd              5176 drivers/usb/host/xhci.c 			hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS;
hcd              5183 drivers/usb/host/xhci.c 		xhci->usb3_rhub.hcd = hcd;
hcd              5191 drivers/usb/host/xhci.c 	xhci->cap_regs = hcd->regs;
hcd              5192 drivers/usb/host/xhci.c 	xhci->op_regs = hcd->regs +
hcd              5194 drivers/usb/host/xhci.c 	xhci->run_regs = hcd->regs +
hcd              5261 drivers/usb/host/xhci.c 	retval = xhci_init(hcd);
hcd              5273 drivers/usb/host/xhci.c static void xhci_clear_tt_buffer_complete(struct usb_hcd *hcd,
hcd              5282 drivers/usb/host/xhci.c 	xhci = hcd_to_xhci(hcd);
hcd              1725 drivers/usb/host/xhci.h 	struct usb_hcd		*hcd;
hcd              1911 drivers/usb/host/xhci.h 	int (*reset)(struct usb_hcd *hcd);
hcd              1912 drivers/usb/host/xhci.h 	int (*start)(struct usb_hcd *hcd);
hcd              1918 drivers/usb/host/xhci.h static inline struct xhci_hcd *hcd_to_xhci(struct usb_hcd *hcd)
hcd              1922 drivers/usb/host/xhci.h 	if (usb_hcd_is_primary_hcd(hcd))
hcd              1923 drivers/usb/host/xhci.h 		primary_hcd = hcd;
hcd              1925 drivers/usb/host/xhci.h 		primary_hcd = hcd->primary_hcd;
hcd              2060 drivers/usb/host/xhci.h int xhci_run(struct usb_hcd *hcd);
hcd              2061 drivers/usb/host/xhci.h int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks);
hcd              2062 drivers/usb/host/xhci.h void xhci_shutdown(struct usb_hcd *hcd);
hcd              2071 drivers/usb/host/xhci.h irqreturn_t xhci_irq(struct usb_hcd *hcd);
hcd              2072 drivers/usb/host/xhci.h irqreturn_t xhci_msi_irq(int irq, void *hcd);
hcd              2073 drivers/usb/host/xhci.h int xhci_alloc_dev(struct usb_hcd *hcd, struct usb_device *udev);
hcd              2139 drivers/usb/host/xhci.h int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex,
hcd              2141 drivers/usb/host/xhci.h int xhci_hub_status_data(struct usb_hcd *hcd, char *buf);
hcd              2142 drivers/usb/host/xhci.h int xhci_find_raw_port_number(struct usb_hcd *hcd, int port1);
hcd              2143 drivers/usb/host/xhci.h struct xhci_hub *xhci_get_rhub(struct usb_hcd *hcd);
hcd              2148 drivers/usb/host/xhci.h int xhci_bus_suspend(struct usb_hcd *hcd);
hcd              2149 drivers/usb/host/xhci.h int xhci_bus_resume(struct usb_hcd *hcd);
hcd              2150 drivers/usb/host/xhci.h unsigned long xhci_get_resuming_ports(struct usb_hcd *hcd);
hcd              2158 drivers/usb/host/xhci.h int xhci_find_slot_id_by_port(struct usb_hcd *hcd, struct xhci_hcd *xhci,
hcd               141 drivers/usb/isp1760/isp1760-core.c 		ret = isp1760_hcd_register(&isp->hcd, isp->regs, mem, irq,
hcd               150 drivers/usb/isp1760/isp1760-core.c 			isp1760_hcd_unregister(&isp->hcd);
hcd               165 drivers/usb/isp1760/isp1760-core.c 	isp1760_hcd_unregister(&isp->hcd);
hcd                45 drivers/usb/isp1760/isp1760-core.h 	struct isp1760_hcd hcd;
hcd                38 drivers/usb/isp1760/isp1760-hcd.c typedef void (packet_enqueue)(struct usb_hcd *hcd, struct isp1760_qh *qh,
hcd                41 drivers/usb/isp1760/isp1760-hcd.c static inline struct isp1760_hcd *hcd_to_priv(struct usb_hcd *hcd)
hcd                43 drivers/usb/isp1760/isp1760-hcd.c 	return *(struct isp1760_hcd **)hcd->hcd_priv;
hcd               336 drivers/usb/isp1760/isp1760-hcd.c static void alloc_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd)
hcd               338 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd               356 drivers/usb/isp1760/isp1760-hcd.c static void free_mem(struct usb_hcd *hcd, struct isp1760_qtd *qtd)
hcd               358 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd               373 drivers/usb/isp1760/isp1760-hcd.c 	dev_err(hcd->self.controller, "%s: Invalid pointer: %08x\n",
hcd               379 drivers/usb/isp1760/isp1760-hcd.c static int handshake(struct usb_hcd *hcd, u32 reg,
hcd               385 drivers/usb/isp1760/isp1760-hcd.c 		result = reg_read32(hcd->regs, reg);
hcd               398 drivers/usb/isp1760/isp1760-hcd.c static int ehci_reset(struct usb_hcd *hcd)
hcd               400 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd               402 drivers/usb/isp1760/isp1760-hcd.c 	u32 command = reg_read32(hcd->regs, HC_USBCMD);
hcd               405 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_USBCMD, command);
hcd               406 drivers/usb/isp1760/isp1760-hcd.c 	hcd->state = HC_STATE_HALT;
hcd               409 drivers/usb/isp1760/isp1760-hcd.c 	return handshake(hcd, HC_USBCMD, CMD_RESET, 0, 250 * 1000);
hcd               435 drivers/usb/isp1760/isp1760-hcd.c static int priv_init(struct usb_hcd *hcd)
hcd               437 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd		*priv = hcd_to_priv(hcd);
hcd               453 drivers/usb/isp1760/isp1760-hcd.c 	hcc_params = reg_read32(hcd->regs, HC_HCCPARAMS);
hcd               463 drivers/usb/isp1760/isp1760-hcd.c static int isp1760_hc_setup(struct usb_hcd *hcd)
hcd               465 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd               469 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_SCRATCH_REG, 0xdeadbabe);
hcd               471 drivers/usb/isp1760/isp1760-hcd.c 	scratch = reg_read32(hcd->regs, HC_CHIP_ID_REG);
hcd               472 drivers/usb/isp1760/isp1760-hcd.c 	scratch = reg_read32(hcd->regs, HC_SCRATCH_REG);
hcd               474 drivers/usb/isp1760/isp1760-hcd.c 		dev_err(hcd->self.controller, "Scratch test failed.\n");
hcd               486 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_BUFFER_STATUS_REG, 0);
hcd               487 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG, NO_TRANSFER_ACTIVE);
hcd               488 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_PTD_SKIPMAP_REG, NO_TRANSFER_ACTIVE);
hcd               489 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_PTD_SKIPMAP_REG, NO_TRANSFER_ACTIVE);
hcd               491 drivers/usb/isp1760/isp1760-hcd.c 	result = ehci_reset(hcd);
hcd               498 drivers/usb/isp1760/isp1760-hcd.c 	hwmode = reg_read32(hcd->regs, HC_HW_MODE_CTRL) & ~ALL_ATX_RESET;
hcd               499 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, hwmode | ALL_ATX_RESET);
hcd               501 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, hwmode);
hcd               503 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INTERRUPT_ENABLE, INTERRUPT_ENABLE_MASK);
hcd               505 drivers/usb/isp1760/isp1760-hcd.c 	priv->hcs_params = reg_read32(hcd->regs, HC_HCSPARAMS);
hcd               507 drivers/usb/isp1760/isp1760-hcd.c 	return priv_init(hcd);
hcd               669 drivers/usb/isp1760/isp1760-hcd.c static void isp1760_urb_done(struct usb_hcd *hcd, struct urb *urb)
hcd               673 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd               689 drivers/usb/isp1760/isp1760-hcd.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               691 drivers/usb/isp1760/isp1760-hcd.c 	usb_hcd_giveback_urb(hcd, urb, urb->status);
hcd               719 drivers/usb/isp1760/isp1760-hcd.c static void start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot,
hcd               724 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd               735 drivers/usb/isp1760/isp1760-hcd.c 		priv->atl_done_map |= reg_read32(hcd->regs,
hcd               739 drivers/usb/isp1760/isp1760-hcd.c 		priv->int_done_map |= reg_read32(hcd->regs,
hcd               749 drivers/usb/isp1760/isp1760-hcd.c 	ptd_write(hcd->regs, ptd_offset, slot, ptd);
hcd               752 drivers/usb/isp1760/isp1760-hcd.c 		skip_map = reg_read32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG);
hcd               754 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG, skip_map);
hcd               756 drivers/usb/isp1760/isp1760-hcd.c 		skip_map = reg_read32(hcd->regs, HC_INT_PTD_SKIPMAP_REG);
hcd               758 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_INT_PTD_SKIPMAP_REG, skip_map);
hcd               768 drivers/usb/isp1760/isp1760-hcd.c static void collect_qtds(struct usb_hcd *hcd, struct isp1760_qh *qh,
hcd               788 drivers/usb/isp1760/isp1760-hcd.c 					mem_reads8(hcd->regs, qtd->payload_addr,
hcd               810 drivers/usb/isp1760/isp1760-hcd.c 			free_mem(hcd, qtd);
hcd               831 drivers/usb/isp1760/isp1760-hcd.c static void enqueue_qtds(struct usb_hcd *hcd, struct isp1760_qh *qh)
hcd               833 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd               871 drivers/usb/isp1760/isp1760-hcd.c 			alloc_mem(hcd, qtd);
hcd               878 drivers/usb/isp1760/isp1760-hcd.c 				mem_writes8(hcd->regs, qtd->payload_addr,
hcd               898 drivers/usb/isp1760/isp1760-hcd.c 				start_bus_transfer(hcd, ptd_offset, free_slot,
hcd               910 drivers/usb/isp1760/isp1760-hcd.c static void schedule_ptds(struct usb_hcd *hcd)
hcd               919 drivers/usb/isp1760/isp1760-hcd.c 	if (!hcd) {
hcd               924 drivers/usb/isp1760/isp1760-hcd.c 	priv = hcd_to_priv(hcd);
hcd               932 drivers/usb/isp1760/isp1760-hcd.c 			collect_qtds(hcd, qh, &urb_list);
hcd               940 drivers/usb/isp1760/isp1760-hcd.c 		isp1760_urb_done(hcd, urb_listitem->urb);
hcd               971 drivers/usb/isp1760/isp1760-hcd.c 			enqueue_qtds(hcd, qh);
hcd               979 drivers/usb/isp1760/isp1760-hcd.c static int check_int_transfer(struct usb_hcd *hcd, struct ptd *ptd,
hcd               998 drivers/usb/isp1760/isp1760-hcd.c 				dev_dbg(hcd->self.controller, "%s: underrun "
hcd              1004 drivers/usb/isp1760/isp1760-hcd.c 				dev_dbg(hcd->self.controller, "%s: transaction "
hcd              1011 drivers/usb/isp1760/isp1760-hcd.c 				dev_dbg(hcd->self.controller, "%s: babble "
hcd              1026 drivers/usb/isp1760/isp1760-hcd.c static int check_atl_transfer(struct usb_hcd *hcd, struct ptd *ptd,
hcd              1052 drivers/usb/isp1760/isp1760-hcd.c 		dev_dbg(hcd->self.controller, "PID error; reloading ptd\n");
hcd              1068 drivers/usb/isp1760/isp1760-hcd.c static void handle_done_ptds(struct usb_hcd *hcd)
hcd              1070 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              1081 drivers/usb/isp1760/isp1760-hcd.c 	skip_map = reg_read32(hcd->regs, HC_INT_PTD_SKIPMAP_REG);
hcd              1083 drivers/usb/isp1760/isp1760-hcd.c 	skip_map = reg_read32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG);
hcd              1101 drivers/usb/isp1760/isp1760-hcd.c 			ptd_read(hcd->regs, INT_PTD_OFFSET, slot, &ptd);
hcd              1102 drivers/usb/isp1760/isp1760-hcd.c 			state = check_int_transfer(hcd, &ptd,
hcd              1116 drivers/usb/isp1760/isp1760-hcd.c 			ptd_read(hcd->regs, ATL_PTD_OFFSET, slot, &ptd);
hcd              1117 drivers/usb/isp1760/isp1760-hcd.c 			state = check_atl_transfer(hcd, &ptd,
hcd              1187 drivers/usb/isp1760/isp1760-hcd.c 					dev_err(hcd->self.controller,
hcd              1197 drivers/usb/isp1760/isp1760-hcd.c 			start_bus_transfer(hcd, ptd_offset, slot, slots, qtd,
hcd              1203 drivers/usb/isp1760/isp1760-hcd.c 		schedule_ptds(hcd);
hcd              1206 drivers/usb/isp1760/isp1760-hcd.c static irqreturn_t isp1760_irq(struct usb_hcd *hcd)
hcd              1208 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              1214 drivers/usb/isp1760/isp1760-hcd.c 	if (!(hcd->state & HC_STATE_RUNNING))
hcd              1217 drivers/usb/isp1760/isp1760-hcd.c 	imask = reg_read32(hcd->regs, HC_INTERRUPT_REG);
hcd              1220 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INTERRUPT_REG, imask); /* Clear */
hcd              1222 drivers/usb/isp1760/isp1760-hcd.c 	priv->int_done_map |= reg_read32(hcd->regs, HC_INT_PTD_DONEMAP_REG);
hcd              1223 drivers/usb/isp1760/isp1760-hcd.c 	priv->atl_done_map |= reg_read32(hcd->regs, HC_ATL_PTD_DONEMAP_REG);
hcd              1225 drivers/usb/isp1760/isp1760-hcd.c 	handle_done_ptds(hcd);
hcd              1266 drivers/usb/isp1760/isp1760-hcd.c 	struct usb_hcd *hcd = errata2_timer_hcd;
hcd              1267 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              1278 drivers/usb/isp1760/isp1760-hcd.c 			ptd_read(hcd->regs, ATL_PTD_OFFSET, slot, &ptd);
hcd              1285 drivers/usb/isp1760/isp1760-hcd.c 		handle_done_ptds(hcd);
hcd              1293 drivers/usb/isp1760/isp1760-hcd.c static int isp1760_run(struct usb_hcd *hcd)
hcd              1300 drivers/usb/isp1760/isp1760-hcd.c 	hcd->uses_new_polling = 1;
hcd              1302 drivers/usb/isp1760/isp1760-hcd.c 	hcd->state = HC_STATE_RUNNING;
hcd              1305 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_IRQ_MASK_AND_REG, 0);
hcd              1306 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_IRQ_MASK_OR_REG, 0xffffffff);
hcd              1307 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_IRQ_MASK_AND_REG, 0);
hcd              1308 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_IRQ_MASK_OR_REG, 0xffffffff);
hcd              1309 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_IRQ_MASK_AND_REG, 0);
hcd              1310 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_IRQ_MASK_OR_REG, 0xffffffff);
hcd              1313 drivers/usb/isp1760/isp1760-hcd.c 	temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL);
hcd              1314 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp | HW_GLOBAL_INTR_EN);
hcd              1316 drivers/usb/isp1760/isp1760-hcd.c 	command = reg_read32(hcd->regs, HC_USBCMD);
hcd              1319 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_USBCMD, command);
hcd              1321 drivers/usb/isp1760/isp1760-hcd.c 	retval = handshake(hcd, HC_USBCMD, CMD_RUN, CMD_RUN, 250 * 1000);
hcd              1331 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_CONFIGFLAG, FLAG_CF);
hcd              1333 drivers/usb/isp1760/isp1760-hcd.c 	retval = handshake(hcd, HC_CONFIGFLAG, FLAG_CF, FLAG_CF, 250 * 1000);
hcd              1338 drivers/usb/isp1760/isp1760-hcd.c 	errata2_timer_hcd = hcd;
hcd              1343 drivers/usb/isp1760/isp1760-hcd.c 	chipid = reg_read32(hcd->regs, HC_CHIP_ID_REG);
hcd              1344 drivers/usb/isp1760/isp1760-hcd.c 	dev_info(hcd->self.controller, "USB ISP %04x HW rev. %d started\n",
hcd              1350 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_PTD_LASTPTD_REG, 0x80000000);
hcd              1351 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_PTD_LASTPTD_REG, 0x80000000);
hcd              1352 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_PTD_LASTPTD_REG, 0x00000001);
hcd              1353 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG, 0xffffffff);
hcd              1354 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_INT_PTD_SKIPMAP_REG, 0xffffffff);
hcd              1355 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_ISO_PTD_SKIPMAP_REG, 0xffffffff);
hcd              1356 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_BUFFER_STATUS_REG,
hcd              1392 drivers/usb/isp1760/isp1760-hcd.c static void packetize_urb(struct usb_hcd *hcd,
hcd              1406 drivers/usb/isp1760/isp1760-hcd.c 		dev_err(hcd->self.controller,
hcd              1493 drivers/usb/isp1760/isp1760-hcd.c static int isp1760_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
hcd              1496 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              1518 drivers/usb/isp1760/isp1760-hcd.c 		dev_err(hcd->self.controller, "%s: isochronous USB packets "
hcd              1523 drivers/usb/isp1760/isp1760-hcd.c 		dev_err(hcd->self.controller, "%s: unknown pipe type\n",
hcd              1531 drivers/usb/isp1760/isp1760-hcd.c 	packetize_urb(hcd, urb, &new_qtds, mem_flags);
hcd              1538 drivers/usb/isp1760/isp1760-hcd.c 	if (!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags)) {
hcd              1543 drivers/usb/isp1760/isp1760-hcd.c 	retval = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              1564 drivers/usb/isp1760/isp1760-hcd.c 			usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              1573 drivers/usb/isp1760/isp1760-hcd.c 	schedule_ptds(hcd);
hcd              1580 drivers/usb/isp1760/isp1760-hcd.c static void kill_transfer(struct usb_hcd *hcd, struct urb *urb,
hcd              1583 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              1591 drivers/usb/isp1760/isp1760-hcd.c 		skip_map = reg_read32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG);
hcd              1593 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_ATL_PTD_SKIPMAP_REG, skip_map);
hcd              1597 drivers/usb/isp1760/isp1760-hcd.c 		skip_map = reg_read32(hcd->regs, HC_INT_PTD_SKIPMAP_REG);
hcd              1599 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_INT_PTD_SKIPMAP_REG, skip_map);
hcd              1611 drivers/usb/isp1760/isp1760-hcd.c static void dequeue_urb_from_qtd(struct usb_hcd *hcd, struct isp1760_qh *qh,
hcd              1630 drivers/usb/isp1760/isp1760-hcd.c 			kill_transfer(hcd, urb, qh);
hcd              1642 drivers/usb/isp1760/isp1760-hcd.c static int isp1760_urb_dequeue(struct usb_hcd *hcd, struct urb *urb,
hcd              1645 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              1652 drivers/usb/isp1760/isp1760-hcd.c 	retval = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              1664 drivers/usb/isp1760/isp1760-hcd.c 			dequeue_urb_from_qtd(hcd, qh, qtd);
hcd              1670 drivers/usb/isp1760/isp1760-hcd.c 	schedule_ptds(hcd);
hcd              1677 drivers/usb/isp1760/isp1760-hcd.c static void isp1760_endpoint_disable(struct usb_hcd *hcd,
hcd              1680 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              1703 drivers/usb/isp1760/isp1760-hcd.c 	schedule_ptds(hcd);
hcd              1709 drivers/usb/isp1760/isp1760-hcd.c static int isp1760_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              1711 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              1718 drivers/usb/isp1760/isp1760-hcd.c 	if (!HC_IS_RUNNING(hcd->state))
hcd              1726 drivers/usb/isp1760/isp1760-hcd.c 	temp = reg_read32(hcd->regs, HC_PORTSC1);
hcd              1731 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp);
hcd              1788 drivers/usb/isp1760/isp1760-hcd.c static int check_reset_complete(struct usb_hcd *hcd, int index,
hcd              1797 drivers/usb/isp1760/isp1760-hcd.c 		dev_info(hcd->self.controller,
hcd              1803 drivers/usb/isp1760/isp1760-hcd.c 		reg_write32(hcd->regs, HC_PORTSC1, port_status);
hcd              1806 drivers/usb/isp1760/isp1760-hcd.c 		dev_info(hcd->self.controller, "port %d high speed\n",
hcd              1812 drivers/usb/isp1760/isp1760-hcd.c static int isp1760_hub_control(struct usb_hcd *hcd, u16 typeReq,
hcd              1815 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              1844 drivers/usb/isp1760/isp1760-hcd.c 		temp = reg_read32(hcd->regs, HC_PORTSC1);
hcd              1855 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_PE);
hcd              1869 drivers/usb/isp1760/isp1760-hcd.c 				reg_write32(hcd->regs, HC_PORTSC1,
hcd              1880 drivers/usb/isp1760/isp1760-hcd.c 				reg_write32(hcd->regs, HC_PORTSC1,
hcd              1884 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_CSC);
hcd              1895 drivers/usb/isp1760/isp1760-hcd.c 		reg_read32(hcd->regs, HC_USBCMD);
hcd              1910 drivers/usb/isp1760/isp1760-hcd.c 		temp = reg_read32(hcd->regs, HC_PORTSC1);
hcd              1919 drivers/usb/isp1760/isp1760-hcd.c 			dev_err(hcd->self.controller, "Port resume should be skipped.\n");
hcd              1927 drivers/usb/isp1760/isp1760-hcd.c 				mod_timer(&hcd->rh_timer, priv->reset_done);
hcd              1937 drivers/usb/isp1760/isp1760-hcd.c 				temp = reg_read32(hcd->regs, HC_PORTSC1);
hcd              1938 drivers/usb/isp1760/isp1760-hcd.c 				reg_write32(hcd->regs, HC_PORTSC1,
hcd              1940 drivers/usb/isp1760/isp1760-hcd.c 				retval = handshake(hcd, HC_PORTSC1,
hcd              1943 drivers/usb/isp1760/isp1760-hcd.c 					dev_err(hcd->self.controller,
hcd              1960 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp & ~PORT_RESET);
hcd              1964 drivers/usb/isp1760/isp1760-hcd.c 			retval = handshake(hcd, HC_PORTSC1,
hcd              1967 drivers/usb/isp1760/isp1760-hcd.c 				dev_err(hcd->self.controller, "port %d reset error %d\n",
hcd              1973 drivers/usb/isp1760/isp1760-hcd.c 			temp = check_reset_complete(hcd, wIndex,
hcd              1974 drivers/usb/isp1760/isp1760-hcd.c 					reg_read32(hcd->regs, HC_PORTSC1));
hcd              1983 drivers/usb/isp1760/isp1760-hcd.c 			dev_err(hcd->self.controller, "PORT_OWNER is set\n");
hcd              2016 drivers/usb/isp1760/isp1760-hcd.c 		temp = reg_read32(hcd->regs, HC_PORTSC1);
hcd              2023 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_PE);
hcd              2031 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_SUSPEND);
hcd              2035 drivers/usb/isp1760/isp1760-hcd.c 				reg_write32(hcd->regs, HC_PORTSC1,
hcd              2059 drivers/usb/isp1760/isp1760-hcd.c 			reg_write32(hcd->regs, HC_PORTSC1, temp);
hcd              2064 drivers/usb/isp1760/isp1760-hcd.c 		reg_read32(hcd->regs, HC_USBCMD);
hcd              2076 drivers/usb/isp1760/isp1760-hcd.c static int isp1760_get_frame(struct usb_hcd *hcd)
hcd              2078 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              2081 drivers/usb/isp1760/isp1760-hcd.c 	fr = reg_read32(hcd->regs, HC_FRINDEX);
hcd              2085 drivers/usb/isp1760/isp1760-hcd.c static void isp1760_stop(struct usb_hcd *hcd)
hcd              2087 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              2092 drivers/usb/isp1760/isp1760-hcd.c 	isp1760_hub_control(hcd, ClearPortFeature, USB_PORT_FEAT_POWER,	1,
hcd              2097 drivers/usb/isp1760/isp1760-hcd.c 	ehci_reset(hcd);
hcd              2099 drivers/usb/isp1760/isp1760-hcd.c 	temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL);
hcd              2100 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp &= ~HW_GLOBAL_INTR_EN);
hcd              2103 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_CONFIGFLAG, 0);
hcd              2106 drivers/usb/isp1760/isp1760-hcd.c static void isp1760_shutdown(struct usb_hcd *hcd)
hcd              2110 drivers/usb/isp1760/isp1760-hcd.c 	isp1760_stop(hcd);
hcd              2111 drivers/usb/isp1760/isp1760-hcd.c 	temp = reg_read32(hcd->regs, HC_HW_MODE_CTRL);
hcd              2112 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_HW_MODE_CTRL, temp &= ~HW_GLOBAL_INTR_EN);
hcd              2114 drivers/usb/isp1760/isp1760-hcd.c 	command = reg_read32(hcd->regs, HC_USBCMD);
hcd              2116 drivers/usb/isp1760/isp1760-hcd.c 	reg_write32(hcd->regs, HC_USBCMD, command);
hcd              2119 drivers/usb/isp1760/isp1760-hcd.c static void isp1760_clear_tt_buffer_complete(struct usb_hcd *hcd,
hcd              2122 drivers/usb/isp1760/isp1760-hcd.c 	struct isp1760_hcd *priv = hcd_to_priv(hcd);
hcd              2131 drivers/usb/isp1760/isp1760-hcd.c 	schedule_ptds(hcd);
hcd              2193 drivers/usb/isp1760/isp1760-hcd.c 	struct usb_hcd *hcd;
hcd              2196 drivers/usb/isp1760/isp1760-hcd.c 	hcd = usb_create_hcd(&isp1760_hc_driver, dev, dev_name(dev));
hcd              2197 drivers/usb/isp1760/isp1760-hcd.c 	if (!hcd)
hcd              2200 drivers/usb/isp1760/isp1760-hcd.c 	*(struct isp1760_hcd **)hcd->hcd_priv = priv;
hcd              2202 drivers/usb/isp1760/isp1760-hcd.c 	priv->hcd = hcd;
hcd              2206 drivers/usb/isp1760/isp1760-hcd.c 	hcd->irq = irq;
hcd              2207 drivers/usb/isp1760/isp1760-hcd.c 	hcd->regs = regs;
hcd              2208 drivers/usb/isp1760/isp1760-hcd.c 	hcd->rsrc_start = mem->start;
hcd              2209 drivers/usb/isp1760/isp1760-hcd.c 	hcd->rsrc_len = resource_size(mem);
hcd              2212 drivers/usb/isp1760/isp1760-hcd.c 	hcd->cant_recv_wakeups = 1;
hcd              2214 drivers/usb/isp1760/isp1760-hcd.c 	ret = usb_add_hcd(hcd, irq, irqflags);
hcd              2218 drivers/usb/isp1760/isp1760-hcd.c 	device_wakeup_enable(hcd->self.controller);
hcd              2223 drivers/usb/isp1760/isp1760-hcd.c 	usb_put_hcd(hcd);
hcd              2229 drivers/usb/isp1760/isp1760-hcd.c 	if (!priv->hcd)
hcd              2232 drivers/usb/isp1760/isp1760-hcd.c 	usb_remove_hcd(priv->hcd);
hcd              2233 drivers/usb/isp1760/isp1760-hcd.c 	usb_put_hcd(priv->hcd);
hcd                52 drivers/usb/isp1760/isp1760-hcd.h 	struct usb_hcd		*hcd;
hcd                43 drivers/usb/misc/lvstest.c 	struct usb_hcd *hcd;
hcd                52 drivers/usb/misc/lvstest.c 	hcd = bus_to_hcd(hdev->bus);
hcd                63 drivers/usb/misc/lvstest.c 	if (hcd->driver->enable_device) {
hcd                64 drivers/usb/misc/lvstest.c 		if (hcd->driver->enable_device(hcd, udev) < 0) {
hcd                77 drivers/usb/misc/lvstest.c 	struct usb_hcd *hcd = bus_to_hcd(hdev->bus);
hcd                79 drivers/usb/misc/lvstest.c 	if (hcd->driver->free_dev)
hcd                80 drivers/usb/misc/lvstest.c 		hcd->driver->free_dev(hcd, udev);
hcd               331 drivers/usb/misc/lvstest.c 	struct usb_hcd *hcd = bus_to_hcd(hdev->bus);
hcd               367 drivers/usb/misc/lvstest.c 				if (hcd->usb_phy)
hcd               368 drivers/usb/misc/lvstest.c 					usb_phy_notify_connect(hcd->usb_phy,
hcd               372 drivers/usb/misc/lvstest.c 				if (hcd->usb_phy)
hcd               373 drivers/usb/misc/lvstest.c 					usb_phy_notify_disconnect(hcd->usb_phy,
hcd               487 drivers/usb/musb/musb_core.c 	struct usb_hcd	*hcd = musb->hcd;
hcd               502 drivers/usb/musb/musb_core.c 		if (hcd)
hcd               503 drivers/usb/musb/musb_core.c 			hcd->self.is_b_host = 0;
hcd               733 drivers/usb/musb/musb_core.c 		musb->is_active = musb->hcd->self.b_hnp_enable;
hcd               748 drivers/usb/musb/musb_core.c 	struct usb_hcd *hcd = musb->hcd;
hcd               783 drivers/usb/musb/musb_core.c 		if (musb->hcd)
hcd               784 drivers/usb/musb/musb_core.c 			musb->hcd->self.is_b_host = 1;
hcd               791 drivers/usb/musb/musb_core.c 			if (hcd)
hcd               792 drivers/usb/musb/musb_core.c 				hcd->self.is_b_host = 0;
hcd               825 drivers/usb/musb/musb_core.c 		if (musb->hcd)
hcd               826 drivers/usb/musb/musb_core.c 			musb->hcd->self.is_b_host = 0;
hcd               401 drivers/usb/musb/musb_core.h 	struct usb_hcd		*hcd;			/* the usb hcd */
hcd                73 drivers/usb/musb/musb_host.c struct musb *hcd_to_musb(struct usb_hcd *hcd)
hcd                75 drivers/usb/musb/musb_host.c 	return *(struct musb **) hcd->hcd_priv;
hcd               283 drivers/usb/musb/musb_host.c 	usb_hcd_unlink_urb_from_ep(musb->hcd, urb);
hcd               285 drivers/usb/musb/musb_host.c 	usb_hcd_giveback_urb(musb->hcd, urb, status);
hcd              1459 drivers/usb/musb/musb_host.c 	usb_hcd_unmap_urb_for_dma(musb->hcd, urb);
hcd              1955 drivers/usb/musb/musb_host.c 			usb_hcd_unmap_urb_for_dma(musb->hcd, urb);
hcd              2134 drivers/usb/musb/musb_host.c 	struct usb_hcd			*hcd,
hcd              2139 drivers/usb/musb/musb_host.c 	struct musb			*musb = hcd_to_musb(hcd);
hcd              2154 drivers/usb/musb/musb_host.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              2180 drivers/usb/musb/musb_host.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              2273 drivers/usb/musb/musb_host.c 		if (parent != hcd->self.root_hub) {
hcd              2315 drivers/usb/musb/musb_host.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd              2383 drivers/usb/musb/musb_host.c static int musb_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              2385 drivers/usb/musb/musb_host.c 	struct musb		*musb = hcd_to_musb(hcd);
hcd              2394 drivers/usb/musb/musb_host.c 	ret = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd              2440 drivers/usb/musb/musb_host.c musb_h_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep)
hcd              2444 drivers/usb/musb/musb_host.c 	struct musb		*musb = hcd_to_musb(hcd);
hcd              2492 drivers/usb/musb/musb_host.c static int musb_h_get_frame_number(struct usb_hcd *hcd)
hcd              2494 drivers/usb/musb/musb_host.c 	struct musb	*musb = hcd_to_musb(hcd);
hcd              2499 drivers/usb/musb/musb_host.c static int musb_h_start(struct usb_hcd *hcd)
hcd              2501 drivers/usb/musb/musb_host.c 	struct musb	*musb = hcd_to_musb(hcd);
hcd              2506 drivers/usb/musb/musb_host.c 	hcd->state = HC_STATE_RUNNING;
hcd              2511 drivers/usb/musb/musb_host.c static void musb_h_stop(struct usb_hcd *hcd)
hcd              2513 drivers/usb/musb/musb_host.c 	musb_stop(hcd_to_musb(hcd));
hcd              2514 drivers/usb/musb/musb_host.c 	hcd->state = HC_STATE_HALT;
hcd              2517 drivers/usb/musb/musb_host.c static int musb_bus_suspend(struct usb_hcd *hcd)
hcd              2519 drivers/usb/musb/musb_host.c 	struct musb	*musb = hcd_to_musb(hcd);
hcd              2554 drivers/usb/musb/musb_host.c static int musb_bus_resume(struct usb_hcd *hcd)
hcd              2556 drivers/usb/musb/musb_host.c 	struct musb *musb = hcd_to_musb(hcd);
hcd              2641 drivers/usb/musb/musb_host.c static int musb_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
hcd              2644 drivers/usb/musb/musb_host.c 	struct musb	*musb = hcd_to_musb(hcd);
hcd              2654 drivers/usb/musb/musb_host.c 		return usb_hcd_map_urb_for_dma(hcd, urb, mem_flags);
hcd              2660 drivers/usb/musb/musb_host.c 	ret = usb_hcd_map_urb_for_dma(hcd, urb, mem_flags);
hcd              2667 drivers/usb/musb/musb_host.c static void musb_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb)
hcd              2669 drivers/usb/musb/musb_host.c 	struct musb	*musb = hcd_to_musb(hcd);
hcd              2671 drivers/usb/musb/musb_host.c 	usb_hcd_unmap_urb_for_dma(hcd, urb);
hcd              2718 drivers/usb/musb/musb_host.c 	musb->hcd = usb_create_hcd(&musb_hc_driver, dev, dev_name(dev));
hcd              2719 drivers/usb/musb/musb_host.c 	if (!musb->hcd)
hcd              2722 drivers/usb/musb/musb_host.c 	*musb->hcd->hcd_priv = (unsigned long) musb;
hcd              2723 drivers/usb/musb/musb_host.c 	musb->hcd->self.uses_pio_for_control = 1;
hcd              2724 drivers/usb/musb/musb_host.c 	musb->hcd->uses_new_polling = 1;
hcd              2725 drivers/usb/musb/musb_host.c 	musb->hcd->has_tt = 1;
hcd              2734 drivers/usb/musb/musb_host.c 	usb_remove_hcd(musb->hcd);
hcd              2739 drivers/usb/musb/musb_host.c 	usb_put_hcd(musb->hcd);
hcd              2745 drivers/usb/musb/musb_host.c 	struct usb_hcd *hcd = musb->hcd;
hcd              2751 drivers/usb/musb/musb_host.c 	otg_set_host(musb->xceiv->otg, &hcd->self);
hcd              2753 drivers/usb/musb/musb_host.c 	hcd->self.otg_port = 0;
hcd              2754 drivers/usb/musb/musb_host.c 	musb->xceiv->otg->host = &hcd->self;
hcd              2755 drivers/usb/musb/musb_host.c 	hcd->power_budget = 2 * (power_budget ? : 250);
hcd              2756 drivers/usb/musb/musb_host.c 	hcd->skip_phy_initialization = 1;
hcd              2758 drivers/usb/musb/musb_host.c 	ret = usb_add_hcd(hcd, 0, 0);
hcd              2762 drivers/usb/musb/musb_host.c 	device_wakeup_enable(hcd->self.controller);
hcd              2768 drivers/usb/musb/musb_host.c 	usb_hcd_resume_root_hub(musb->hcd);
hcd              2774 drivers/usb/musb/musb_host.c 	if (musb->hcd->status_urb)
hcd              2775 drivers/usb/musb/musb_host.c 		usb_hcd_poll_rh_status(musb->hcd);
hcd              2777 drivers/usb/musb/musb_host.c 		usb_hcd_resume_root_hub(musb->hcd);
hcd                74 drivers/usb/musb/musb_host.h static inline struct musb *hcd_to_musb(struct usb_hcd *hcd)
hcd               112 drivers/usb/musb/musb_host.h extern int musb_hub_status_data(struct usb_hcd *hcd, char *buf);
hcd               113 drivers/usb/musb/musb_host.h extern int musb_hub_control(struct usb_hcd *hcd,
hcd                44 drivers/usb/musb/musb_virthub.c 	usb_hcd_poll_rh_status(musb->hcd);
hcd               191 drivers/usb/musb/musb_virthub.c 		usb_hcd_poll_rh_status(musb->hcd);
hcd               204 drivers/usb/musb/musb_virthub.c 	usb_hcd_poll_rh_status(musb->hcd);
hcd               233 drivers/usb/musb/musb_virthub.c int musb_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd               235 drivers/usb/musb/musb_virthub.c 	struct musb	*musb = hcd_to_musb(hcd);
hcd               262 drivers/usb/musb/musb_virthub.c 	struct usb_hcd	*hcd,
hcd               269 drivers/usb/musb/musb_virthub.c 	struct musb	*musb = hcd_to_musb(hcd);
hcd               277 drivers/usb/musb/musb_virthub.c 	if (unlikely(!HCD_HW_ACCESSIBLE(hcd))) {
hcd               308 drivers/usb/musb/musb_virthub.c 			if (!hcd->self.is_b_host)
hcd               373 drivers/usb/musb/musb_virthub.c 			if (!hcd->self.is_b_host && musb_has_gadget(musb))
hcd               197 drivers/usb/phy/phy-mv-usb.c 	struct usb_hcd *hcd;
hcd               204 drivers/usb/phy/phy-mv-usb.c 	hcd = bus_to_hcd(otg->host);
hcd               207 drivers/usb/phy/phy-mv-usb.c 		usb_add_hcd(hcd, hcd->irq, IRQF_SHARED);
hcd               208 drivers/usb/phy/phy-mv-usb.c 		device_wakeup_enable(hcd->self.controller);
hcd               210 drivers/usb/phy/phy-mv-usb.c 		usb_remove_hcd(hcd);
hcd               451 drivers/usb/renesas_usbhs/mod_host.c static int usbhsh_connected_to_rhdev(struct usb_hcd *hcd,
hcd               456 drivers/usb/renesas_usbhs/mod_host.c 	return hcd->self.root_hub == usbv->parent;
hcd               488 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv);
hcd               489 drivers/usb/renesas_usbhs/mod_host.c 	struct device *dev = usbhsh_hcd_to_dev(hcd);
hcd               564 drivers/usb/renesas_usbhs/mod_host.c 	if (!usbhsh_connected_to_rhdev(hcd, udev)) {
hcd               588 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv);
hcd               590 drivers/usb/renesas_usbhs/mod_host.c 	struct device *dev = usbhsh_hcd_to_dev(hcd);
hcd               633 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv);
hcd               655 drivers/usb/renesas_usbhs/mod_host.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               656 drivers/usb/renesas_usbhs/mod_host.c 	usb_hcd_giveback_urb(hcd, urb, status);
hcd               659 drivers/usb/renesas_usbhs/mod_host.c static int usbhsh_queue_push(struct usb_hcd *hcd,
hcd               663 drivers/usb/renesas_usbhs/mod_host.c 	struct usbhsh_hpriv *hpriv = usbhsh_hcd_to_hpriv(hcd);
hcd               666 drivers/usb/renesas_usbhs/mod_host.c 	struct device *dev = usbhsh_hcd_to_dev(hcd);
hcd               865 drivers/usb/renesas_usbhs/mod_host.c static int usbhsh_dcp_queue_push(struct usb_hcd *hcd,
hcd               869 drivers/usb/renesas_usbhs/mod_host.c 	struct usbhsh_hpriv *hpriv = usbhsh_hcd_to_hpriv(hcd);
hcd               872 drivers/usb/renesas_usbhs/mod_host.c 	struct device *dev = usbhsh_hcd_to_dev(hcd);
hcd               939 drivers/usb/renesas_usbhs/mod_host.c static int usbhsh_host_start(struct usb_hcd *hcd)
hcd               944 drivers/usb/renesas_usbhs/mod_host.c static void usbhsh_host_stop(struct usb_hcd *hcd)
hcd               948 drivers/usb/renesas_usbhs/mod_host.c static int usbhsh_urb_enqueue(struct usb_hcd *hcd,
hcd               952 drivers/usb/renesas_usbhs/mod_host.c 	struct usbhsh_hpriv *hpriv = usbhsh_hcd_to_hpriv(hcd);
hcd               968 drivers/usb/renesas_usbhs/mod_host.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd              1013 drivers/usb/renesas_usbhs/mod_host.c 		ret = usbhsh_dcp_queue_push(hcd, urb, mem_flags);
hcd              1015 drivers/usb/renesas_usbhs/mod_host.c 		ret = usbhsh_queue_push(hcd, urb, mem_flags);
hcd              1031 drivers/usb/renesas_usbhs/mod_host.c static int usbhsh_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd              1033 drivers/usb/renesas_usbhs/mod_host.c 	struct usbhsh_hpriv *hpriv = usbhsh_hcd_to_hpriv(hcd);
hcd              1047 drivers/usb/renesas_usbhs/mod_host.c static void usbhsh_endpoint_disable(struct usb_hcd *hcd,
hcd              1062 drivers/usb/renesas_usbhs/mod_host.c 	hpriv	= usbhsh_hcd_to_hpriv(hcd);
hcd              1074 drivers/usb/renesas_usbhs/mod_host.c static int usbhsh_hub_status_data(struct usb_hcd *hcd, char *buf)
hcd              1076 drivers/usb/renesas_usbhs/mod_host.c 	struct usbhsh_hpriv *hpriv = usbhsh_hcd_to_hpriv(hcd);
hcd              1234 drivers/usb/renesas_usbhs/mod_host.c static int usbhsh_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd              1237 drivers/usb/renesas_usbhs/mod_host.c 	struct usbhsh_hpriv *hpriv = usbhsh_hcd_to_hpriv(hcd);
hcd              1273 drivers/usb/renesas_usbhs/mod_host.c static int usbhsh_bus_nop(struct usb_hcd *hcd)
hcd              1451 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv);
hcd              1457 drivers/usb/renesas_usbhs/mod_host.c 	ret = usb_add_hcd(hcd, 0, 0);
hcd              1460 drivers/usb/renesas_usbhs/mod_host.c 	device_wakeup_enable(hcd->self.controller);
hcd              1495 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv);
hcd              1508 drivers/usb/renesas_usbhs/mod_host.c 	usb_remove_hcd(hcd);
hcd              1521 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_hcd *hcd;
hcd              1527 drivers/usb/renesas_usbhs/mod_host.c 	hcd = usb_create_hcd(&usbhsh_driver, dev, usbhsh_hcd_name);
hcd              1528 drivers/usb/renesas_usbhs/mod_host.c 	if (!hcd) {
hcd              1532 drivers/usb/renesas_usbhs/mod_host.c 	hcd->has_tt = 1; /* for low/full speed */
hcd              1542 drivers/usb/renesas_usbhs/mod_host.c 	hpriv = usbhsh_hcd_to_hpriv(hcd);
hcd              1569 drivers/usb/renesas_usbhs/mod_host.c 	struct usb_hcd *hcd = usbhsh_hpriv_to_hcd(hpriv);
hcd              1571 drivers/usb/renesas_usbhs/mod_host.c 	usb_put_hcd(hcd);
hcd                61 drivers/usb/storage/uas-detect.h 	struct usb_hcd *hcd = bus_to_hcd(udev->bus);
hcd               130 drivers/usb/storage/uas-detect.h 			hcd->driver->description);
hcd               136 drivers/usb/storage/uas-detect.h 	if (udev->speed >= USB_SPEED_SUPER && !hcd->can_do_streams) {
hcd               139 drivers/usb/storage/uas-detect.h 			hcd_to_bus(hcd)->bus_name);
hcd               149 drivers/usb/usbip/vhci.h static inline struct vhci_hcd *hcd_to_vhci_hcd(struct usb_hcd *hcd)
hcd               151 drivers/usb/usbip/vhci.h 	return (struct vhci_hcd *) (hcd->hcd_priv);
hcd               154 drivers/usb/usbip/vhci.h static inline struct device *hcd_dev(struct usb_hcd *hcd)
hcd               156 drivers/usb/usbip/vhci.h 	return (hcd)->self.controller;
hcd               159 drivers/usb/usbip/vhci.h static inline const char *hcd_name(struct usb_hcd *hcd)
hcd               161 drivers/usb/usbip/vhci.h 	return (hcd)->self.bus_name;
hcd                33 drivers/usb/usbip/vhci_hcd.c static int vhci_hub_status(struct usb_hcd *hcd, char *buff);
hcd                34 drivers/usb/usbip/vhci_hcd.c static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd                36 drivers/usb/usbip/vhci_hcd.c static int vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb,
hcd                38 drivers/usb/usbip/vhci_hcd.c static int vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status);
hcd                40 drivers/usb/usbip/vhci_hcd.c static void vhci_stop(struct usb_hcd *hcd);
hcd                41 drivers/usb/usbip/vhci_hcd.c static int vhci_get_frame_number(struct usb_hcd *hcd);
hcd               228 drivers/usb/usbip/vhci_hcd.c static int vhci_hub_status(struct usb_hcd *hcd, char *buf)
hcd               230 drivers/usb/usbip/vhci_hcd.c 	struct vhci_hcd	*vhci_hcd = hcd_to_vhci_hcd(hcd);
hcd               240 drivers/usb/usbip/vhci_hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd)) {
hcd               256 drivers/usb/usbip/vhci_hcd.c 	if ((hcd->state == HC_STATE_SUSPENDED) && (changed == 1))
hcd               257 drivers/usb/usbip/vhci_hcd.c 		usb_hcd_resume_root_hub(hcd);
hcd               315 drivers/usb/usbip/vhci_hcd.c static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
hcd               327 drivers/usb/usbip/vhci_hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd               352 drivers/usb/usbip/vhci_hcd.c 	vhci_hcd = hcd_to_vhci_hcd(hcd);
hcd               375 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed == HCD_USB3) {
hcd               391 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed == HCD_USB3)
hcd               405 drivers/usb/usbip/vhci_hcd.c 		if (hcd->speed == HCD_USB3 &&
hcd               411 drivers/usb/usbip/vhci_hcd.c 		if (hcd->speed == HCD_USB3)
hcd               417 drivers/usb/usbip/vhci_hcd.c 		if (hcd->speed != HCD_USB3)
hcd               466 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed < HCD_USB3) {
hcd               498 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed != HCD_USB3) {
hcd               516 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed != HCD_USB3) {
hcd               526 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed == HCD_USB3) {
hcd               546 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed == HCD_USB3)
hcd               559 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed != HCD_USB3) {
hcd               573 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed == HCD_USB3) {
hcd               596 drivers/usb/usbip/vhci_hcd.c 			if (hcd->speed == HCD_USB3) {
hcd               610 drivers/usb/usbip/vhci_hcd.c 		if (hcd->speed != HCD_USB3) {
hcd               620 drivers/usb/usbip/vhci_hcd.c 		if (hcd->speed != HCD_USB3) {
hcd               640 drivers/usb/usbip/vhci_hcd.c 					      hcd->speed == HCD_USB3);
hcd               649 drivers/usb/usbip/vhci_hcd.c 		usb_hcd_poll_rh_status(hcd);
hcd               684 drivers/usb/usbip/vhci_hcd.c static int vhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags)
hcd               686 drivers/usb/usbip/vhci_hcd.c 	struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd);
hcd               725 drivers/usb/usbip/vhci_hcd.c 	ret = usb_hcd_link_urb_to_ep(hcd, urb);
hcd               798 drivers/usb/usbip/vhci_hcd.c 	usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               802 drivers/usb/usbip/vhci_hcd.c 		usb_hcd_giveback_urb(hcd, urb, urb->status);
hcd               852 drivers/usb/usbip/vhci_hcd.c static int vhci_urb_dequeue(struct usb_hcd *hcd, struct urb *urb, int status)
hcd               854 drivers/usb/usbip/vhci_hcd.c 	struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd);
hcd               873 drivers/usb/usbip/vhci_hcd.c 		ret = usb_hcd_check_unlink_urb(hcd, urb, status);
hcd               898 drivers/usb/usbip/vhci_hcd.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               901 drivers/usb/usbip/vhci_hcd.c 		usb_hcd_giveback_urb(hcd, urb, urb->status);
hcd               942 drivers/usb/usbip/vhci_hcd.c 	struct usb_hcd *hcd = vhci_hcd_to_hcd(vhci_hcd);
hcd               976 drivers/usb/usbip/vhci_hcd.c 		usb_hcd_unlink_urb_from_ep(hcd, urb);
hcd               983 drivers/usb/usbip/vhci_hcd.c 		usb_hcd_giveback_urb(hcd, urb, urb->status);
hcd              1128 drivers/usb/usbip/vhci_hcd.c static int vhci_setup(struct usb_hcd *hcd)
hcd              1130 drivers/usb/usbip/vhci_hcd.c 	struct vhci *vhci = *((void **)dev_get_platdata(hcd->self.controller));
hcd              1131 drivers/usb/usbip/vhci_hcd.c 	if (usb_hcd_is_primary_hcd(hcd)) {
hcd              1132 drivers/usb/usbip/vhci_hcd.c 		vhci->vhci_hcd_hs = hcd_to_vhci_hcd(hcd);
hcd              1139 drivers/usb/usbip/vhci_hcd.c 		hcd->speed = HCD_USB2;
hcd              1140 drivers/usb/usbip/vhci_hcd.c 		hcd->self.root_hub->speed = USB_SPEED_HIGH;
hcd              1142 drivers/usb/usbip/vhci_hcd.c 		vhci->vhci_hcd_ss = hcd_to_vhci_hcd(hcd);
hcd              1144 drivers/usb/usbip/vhci_hcd.c 		hcd->speed = HCD_USB3;
hcd              1145 drivers/usb/usbip/vhci_hcd.c 		hcd->self.root_hub->speed = USB_SPEED_SUPER;
hcd              1153 drivers/usb/usbip/vhci_hcd.c 	hcd->self.sg_tablesize = 32;
hcd              1154 drivers/usb/usbip/vhci_hcd.c 	hcd->self.no_sg_constraint = 1;
hcd              1159 drivers/usb/usbip/vhci_hcd.c static int vhci_start(struct usb_hcd *hcd)
hcd              1161 drivers/usb/usbip/vhci_hcd.c 	struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd);
hcd              1167 drivers/usb/usbip/vhci_hcd.c 	if (usb_hcd_is_primary_hcd(hcd))
hcd              1181 drivers/usb/usbip/vhci_hcd.c 	hcd->power_budget = 0; /* no limit */
hcd              1182 drivers/usb/usbip/vhci_hcd.c 	hcd->uses_new_polling = 1;
hcd              1185 drivers/usb/usbip/vhci_hcd.c 	hcd->self.otg_port = 1;
hcd              1188 drivers/usb/usbip/vhci_hcd.c 	id = hcd_name_to_id(hcd_name(hcd));
hcd              1190 drivers/usb/usbip/vhci_hcd.c 		pr_err("invalid vhci name %s\n", hcd_name(hcd));
hcd              1195 drivers/usb/usbip/vhci_hcd.c 	if (id == 0 && usb_hcd_is_primary_hcd(hcd)) {
hcd              1198 drivers/usb/usbip/vhci_hcd.c 			dev_err(hcd_dev(hcd), "init attr group failed, err = %d\n", err);
hcd              1201 drivers/usb/usbip/vhci_hcd.c 		err = sysfs_create_group(&hcd_dev(hcd)->kobj, &vhci_attr_group);
hcd              1203 drivers/usb/usbip/vhci_hcd.c 			dev_err(hcd_dev(hcd), "create sysfs files failed, err = %d\n", err);
hcd              1207 drivers/usb/usbip/vhci_hcd.c 		pr_info("created sysfs %s\n", hcd_name(hcd));
hcd              1213 drivers/usb/usbip/vhci_hcd.c static void vhci_stop(struct usb_hcd *hcd)
hcd              1215 drivers/usb/usbip/vhci_hcd.c 	struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd);
hcd              1221 drivers/usb/usbip/vhci_hcd.c 	id = hcd_name_to_id(hcd_name(hcd));
hcd              1222 drivers/usb/usbip/vhci_hcd.c 	if (id == 0 && usb_hcd_is_primary_hcd(hcd)) {
hcd              1223 drivers/usb/usbip/vhci_hcd.c 		sysfs_remove_group(&hcd_dev(hcd)->kobj, &vhci_attr_group);
hcd              1236 drivers/usb/usbip/vhci_hcd.c static int vhci_get_frame_number(struct usb_hcd *hcd)
hcd              1238 drivers/usb/usbip/vhci_hcd.c 	dev_err_ratelimited(&hcd->self.root_hub->dev, "Not yet implemented\n");
hcd              1245 drivers/usb/usbip/vhci_hcd.c static int vhci_bus_suspend(struct usb_hcd *hcd)
hcd              1247 drivers/usb/usbip/vhci_hcd.c 	struct vhci *vhci = *((void **)dev_get_platdata(hcd->self.controller));
hcd              1250 drivers/usb/usbip/vhci_hcd.c 	dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__);
hcd              1253 drivers/usb/usbip/vhci_hcd.c 	hcd->state = HC_STATE_SUSPENDED;
hcd              1259 drivers/usb/usbip/vhci_hcd.c static int vhci_bus_resume(struct usb_hcd *hcd)
hcd              1261 drivers/usb/usbip/vhci_hcd.c 	struct vhci *vhci = *((void **)dev_get_platdata(hcd->self.controller));
hcd              1265 drivers/usb/usbip/vhci_hcd.c 	dev_dbg(&hcd->self.root_hub->dev, "%s\n", __func__);
hcd              1268 drivers/usb/usbip/vhci_hcd.c 	if (!HCD_HW_ACCESSIBLE(hcd))
hcd              1271 drivers/usb/usbip/vhci_hcd.c 		hcd->state = HC_STATE_RUNNING;
hcd              1284 drivers/usb/usbip/vhci_hcd.c static int vhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev,
hcd              1288 drivers/usb/usbip/vhci_hcd.c 	dev_dbg(&hcd->self.root_hub->dev, "vhci_alloc_streams not implemented\n");
hcd              1293 drivers/usb/usbip/vhci_hcd.c static int vhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev,
hcd              1297 drivers/usb/usbip/vhci_hcd.c 	dev_dbg(&hcd->self.root_hub->dev, "vhci_free_streams not implemented\n");
hcd              1410 drivers/usb/usbip/vhci_hcd.c 	struct usb_hcd *hcd;
hcd              1419 drivers/usb/usbip/vhci_hcd.c 	hcd = platform_get_drvdata(pdev);
hcd              1420 drivers/usb/usbip/vhci_hcd.c 	if (!hcd)
hcd              1423 drivers/usb/usbip/vhci_hcd.c 	vhci = *((void **)dev_get_platdata(hcd->self.controller));
hcd              1446 drivers/usb/usbip/vhci_hcd.c 		clear_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              1454 drivers/usb/usbip/vhci_hcd.c 	struct usb_hcd *hcd;
hcd              1458 drivers/usb/usbip/vhci_hcd.c 	hcd = platform_get_drvdata(pdev);
hcd              1459 drivers/usb/usbip/vhci_hcd.c 	if (!hcd)
hcd              1461 drivers/usb/usbip/vhci_hcd.c 	set_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags);
hcd              1462 drivers/usb/usbip/vhci_hcd.c 	usb_hcd_poll_rh_status(hcd);
hcd                67 drivers/usb/usbip/vhci_sysfs.c 	struct usb_hcd *hcd;
hcd                78 drivers/usb/usbip/vhci_sysfs.c 	hcd = platform_get_drvdata(pdev);
hcd                79 drivers/usb/usbip/vhci_sysfs.c 	vhci_hcd = hcd_to_vhci_hcd(hcd);
hcd               232 drivers/usb/usbip/vhci_sysfs.c 	struct usb_hcd *hcd;
hcd               245 drivers/usb/usbip/vhci_sysfs.c 	hcd = platform_get_drvdata(vhcis[pdev_nr].pdev);
hcd               246 drivers/usb/usbip/vhci_sysfs.c 	if (hcd == NULL) {
hcd               254 drivers/usb/usbip/vhci_sysfs.c 		vhci_hcd = hcd_to_vhci_hcd(hcd)->vhci->vhci_hcd_ss;
hcd               256 drivers/usb/usbip/vhci_sysfs.c 		vhci_hcd = hcd_to_vhci_hcd(hcd)->vhci->vhci_hcd_hs;
hcd               309 drivers/usb/usbip/vhci_sysfs.c 	struct usb_hcd *hcd;
hcd               336 drivers/usb/usbip/vhci_sysfs.c 	hcd = platform_get_drvdata(vhcis[pdev_nr].pdev);
hcd               337 drivers/usb/usbip/vhci_sysfs.c 	if (hcd == NULL) {
hcd               342 drivers/usb/usbip/vhci_sysfs.c 	vhci_hcd = hcd_to_vhci_hcd(hcd);
hcd                10 drivers/xen/dbgp.c static int xen_dbgp_op(struct usb_hcd *hcd, int op)
hcd                13 drivers/xen/dbgp.c 	const struct device *ctrlr = hcd_to_bus(hcd)->controller;
hcd                37 drivers/xen/dbgp.c int xen_dbgp_reset_prep(struct usb_hcd *hcd)
hcd                39 drivers/xen/dbgp.c 	return xen_dbgp_op(hcd, PHYSDEVOP_DBGP_RESET_PREPARE);
hcd                42 drivers/xen/dbgp.c int xen_dbgp_external_startup(struct usb_hcd *hcd)
hcd                44 drivers/xen/dbgp.c 	return xen_dbgp_op(hcd, PHYSDEVOP_DBGP_RESET_DONE);
hcd                23 include/linux/platform_data/usb-ohci-s3c2410.h 	struct usb_hcd		*hcd;
hcd                57 include/linux/usb/ehci-dbgp.h static inline int xen_dbgp_reset_prep(struct usb_hcd *hcd)
hcd                62 include/linux/usb/ehci-dbgp.h static inline int xen_dbgp_external_startup(struct usb_hcd *hcd)
hcd                73 include/linux/usb/ehci-dbgp.h static inline int dbgp_reset_prep(struct usb_hcd *hcd)
hcd                75 include/linux/usb/ehci-dbgp.h 	return xen_dbgp_reset_prep(hcd);
hcd                78 include/linux/usb/ehci-dbgp.h static inline int dbgp_external_startup(struct usb_hcd *hcd)
hcd                80 include/linux/usb/ehci-dbgp.h 	return xen_dbgp_external_startup(hcd);
hcd                61 include/linux/usb/ehci_pdriver.h 	int (*pre_setup)(struct usb_hcd *hcd);
hcd               131 include/linux/usb/hcd.h #define HCD_HW_ACCESSIBLE(hcd)	((hcd)->flags & (1U << HCD_FLAG_HW_ACCESSIBLE))
hcd               132 include/linux/usb/hcd.h #define HCD_POLL_RH(hcd)	((hcd)->flags & (1U << HCD_FLAG_POLL_RH))
hcd               133 include/linux/usb/hcd.h #define HCD_POLL_PENDING(hcd)	((hcd)->flags & (1U << HCD_FLAG_POLL_PENDING))
hcd               134 include/linux/usb/hcd.h #define HCD_WAKEUP_PENDING(hcd)	((hcd)->flags & (1U << HCD_FLAG_WAKEUP_PENDING))
hcd               135 include/linux/usb/hcd.h #define HCD_RH_RUNNING(hcd)	((hcd)->flags & (1U << HCD_FLAG_RH_RUNNING))
hcd               136 include/linux/usb/hcd.h #define HCD_DEAD(hcd)		((hcd)->flags & (1U << HCD_FLAG_DEAD))
hcd               143 include/linux/usb/hcd.h #define HCD_INTF_AUTHORIZED(hcd) \
hcd               144 include/linux/usb/hcd.h 	((hcd)->flags & (1U << HCD_FLAG_INTF_AUTHORIZED))
hcd               236 include/linux/usb/hcd.h static inline struct usb_bus *hcd_to_bus(struct usb_hcd *hcd)
hcd               238 include/linux/usb/hcd.h 	return &hcd->self;
hcd               255 include/linux/usb/hcd.h 	irqreturn_t	(*irq) (struct usb_hcd *hcd);
hcd               271 include/linux/usb/hcd.h 	int	(*reset) (struct usb_hcd *hcd);
hcd               272 include/linux/usb/hcd.h 	int	(*start) (struct usb_hcd *hcd);
hcd               278 include/linux/usb/hcd.h 	int	(*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
hcd               281 include/linux/usb/hcd.h 	int	(*pci_resume)(struct usb_hcd *hcd, bool hibernated);
hcd               284 include/linux/usb/hcd.h 	void	(*stop) (struct usb_hcd *hcd);
hcd               287 include/linux/usb/hcd.h 	void	(*shutdown) (struct usb_hcd *hcd);
hcd               290 include/linux/usb/hcd.h 	int	(*get_frame_number) (struct usb_hcd *hcd);
hcd               293 include/linux/usb/hcd.h 	int	(*urb_enqueue)(struct usb_hcd *hcd,
hcd               295 include/linux/usb/hcd.h 	int	(*urb_dequeue)(struct usb_hcd *hcd,
hcd               307 include/linux/usb/hcd.h 	int	(*map_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb,
hcd               309 include/linux/usb/hcd.h 	void    (*unmap_urb_for_dma)(struct usb_hcd *hcd, struct urb *urb);
hcd               312 include/linux/usb/hcd.h 	void	(*endpoint_disable)(struct usb_hcd *hcd,
hcd               317 include/linux/usb/hcd.h 	void	(*endpoint_reset)(struct usb_hcd *hcd,
hcd               321 include/linux/usb/hcd.h 	int	(*hub_status_data) (struct usb_hcd *hcd, char *buf);
hcd               322 include/linux/usb/hcd.h 	int	(*hub_control) (struct usb_hcd *hcd,
hcd               345 include/linux/usb/hcd.h 	int	(*alloc_streams)(struct usb_hcd *hcd, struct usb_device *udev,
hcd               351 include/linux/usb/hcd.h 	int	(*free_streams)(struct usb_hcd *hcd, struct usb_device *udev,
hcd               411 include/linux/usb/hcd.h 	int	(*port_power)(struct usb_hcd *hcd, int portnum, bool enable);
hcd               415 include/linux/usb/hcd.h static inline int hcd_giveback_urb_in_bh(struct usb_hcd *hcd)
hcd               417 include/linux/usb/hcd.h 	return hcd->driver->flags & HCD_BH;
hcd               420 include/linux/usb/hcd.h static inline bool hcd_periodic_completion_in_progress(struct usb_hcd *hcd,
hcd               423 include/linux/usb/hcd.h 	return hcd->high_prio_bh.completing_ep == ep;
hcd               426 include/linux/usb/hcd.h static inline bool hcd_uses_dma(struct usb_hcd *hcd)
hcd               428 include/linux/usb/hcd.h 	return IS_ENABLED(CONFIG_HAS_DMA) && (hcd->driver->flags & HCD_DMA);
hcd               431 include/linux/usb/hcd.h extern int usb_hcd_link_urb_to_ep(struct usb_hcd *hcd, struct urb *urb);
hcd               432 include/linux/usb/hcd.h extern int usb_hcd_check_unlink_urb(struct usb_hcd *hcd, struct urb *urb,
hcd               434 include/linux/usb/hcd.h extern void usb_hcd_unlink_urb_from_ep(struct usb_hcd *hcd, struct urb *urb);
hcd               438 include/linux/usb/hcd.h extern void usb_hcd_giveback_urb(struct usb_hcd *hcd, struct urb *urb,
hcd               440 include/linux/usb/hcd.h extern int usb_hcd_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb,
hcd               465 include/linux/usb/hcd.h extern struct usb_hcd *usb_get_hcd(struct usb_hcd *hcd);
hcd               466 include/linux/usb/hcd.h extern void usb_put_hcd(struct usb_hcd *hcd);
hcd               467 include/linux/usb/hcd.h extern int usb_hcd_is_primary_hcd(struct usb_hcd *hcd);
hcd               468 include/linux/usb/hcd.h extern int usb_add_hcd(struct usb_hcd *hcd,
hcd               470 include/linux/usb/hcd.h extern void usb_remove_hcd(struct usb_hcd *hcd);
hcd               471 include/linux/usb/hcd.h extern int usb_hcd_find_raw_port_number(struct usb_hcd *hcd, int port1);
hcd               472 include/linux/usb/hcd.h int usb_hcd_setup_local_mem(struct usb_hcd *hcd, phys_addr_t phys_addr,
hcd               495 include/linux/usb/hcd.h int hcd_buffer_create(struct usb_hcd *hcd);
hcd               496 include/linux/usb/hcd.h void hcd_buffer_destroy(struct usb_hcd *hcd);
hcd               506 include/linux/usb/hcd.h extern void usb_hc_died(struct usb_hcd *hcd);
hcd               507 include/linux/usb/hcd.h extern void usb_hcd_poll_rh_status(struct usb_hcd *hcd);
hcd               569 include/linux/usb/hcd.h 	struct usb_hcd		*hcd;
hcd               674 include/linux/usb/hcd.h extern void usb_hcd_resume_root_hub(struct usb_hcd *hcd);
hcd               680 include/linux/usb/hcd.h static inline void usb_hcd_resume_root_hub(struct usb_hcd *hcd)
hcd               273 sound/soc/codecs/hdmi-codec.c 	struct hdmi_codec_pdata hcd;
hcd               399 sound/soc/codecs/hdmi-codec.c 	if (hcp->hcd.ops->audio_startup) {
hcd               400 sound/soc/codecs/hdmi-codec.c 		ret = hcp->hcd.ops->audio_startup(dai->dev->parent, hcp->hcd.data);
hcd               405 sound/soc/codecs/hdmi-codec.c 	if (hcp->hcd.ops->get_eld) {
hcd               406 sound/soc/codecs/hdmi-codec.c 		ret = hcp->hcd.ops->get_eld(dai->dev->parent, hcp->hcd.data,
hcd               432 sound/soc/codecs/hdmi-codec.c 	hcp->hcd.ops->audio_shutdown(dai->dev->parent, hcp->hcd.data);
hcd               486 sound/soc/codecs/hdmi-codec.c 	return hcp->hcd.ops->hw_params(dai->dev->parent, hcp->hcd.data,
hcd               561 sound/soc/codecs/hdmi-codec.c 	if (hcp->hcd.ops->digital_mute)
hcd               562 sound/soc/codecs/hdmi-codec.c 		return hcp->hcd.ops->digital_mute(dai->dev->parent,
hcd               563 sound/soc/codecs/hdmi-codec.c 						  hcp->hcd.data, mute);
hcd               699 sound/soc/codecs/hdmi-codec.c 	if (hcp->hcd.ops->hook_plugged_cb) {
hcd               701 sound/soc/codecs/hdmi-codec.c 		ret = hcp->hcd.ops->hook_plugged_cb(component->dev->parent,
hcd               702 sound/soc/codecs/hdmi-codec.c 						    hcp->hcd.data,
hcd               772 sound/soc/codecs/hdmi-codec.c 	if (hcp->hcd.ops->get_dai_id)
hcd               773 sound/soc/codecs/hdmi-codec.c 		ret = hcp->hcd.ops->get_dai_id(component, endpoint);
hcd               790 sound/soc/codecs/hdmi-codec.c 	struct hdmi_codec_pdata *hcd = pdev->dev.platform_data;
hcd               797 sound/soc/codecs/hdmi-codec.c 	if (!hcd) {
hcd               802 sound/soc/codecs/hdmi-codec.c 	dai_count = hcd->i2s + hcd->spdif;
hcd               803 sound/soc/codecs/hdmi-codec.c 	if (dai_count < 1 || !hcd->ops || !hcd->ops->hw_params ||
hcd               804 sound/soc/codecs/hdmi-codec.c 	    !hcd->ops->audio_shutdown) {
hcd               813 sound/soc/codecs/hdmi-codec.c 	hcp->hcd = *hcd;
hcd               818 sound/soc/codecs/hdmi-codec.c 	if (hcd->i2s) {
hcd               820 sound/soc/codecs/hdmi-codec.c 		daidrv[i].playback.channels_max = hcd->max_i2s_channels;
hcd               824 sound/soc/codecs/hdmi-codec.c 	if (hcd->spdif)