/linux-6.1.9/drivers/usb/core/ |
D | hcd.c | 439 rh_string(int id, struct usb_hcd const *hcd, u8 *data, unsigned len) in rh_string() argument 456 s = hcd->self.bus_name; in rh_string() 460 s = hcd->product_desc; in rh_string() 465 init_utsname()->release, hcd->driver->description); in rh_string() 478 static int rh_call_control (struct usb_hcd *hcd, struct urb *urb) in rh_call_control() argument 494 status = usb_hcd_link_urb_to_ep(hcd, urb); in rh_call_control() 498 urb->hcpriv = hcd; /* Indicate it's queued */ in rh_call_control() 545 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control() 553 device_set_wakeup_enable(&hcd->self.root_hub->dev, 0); in rh_call_control() 558 if (device_can_wakeup(&hcd->self.root_hub->dev) in rh_call_control() [all …]
|
D | hcd-pci.c | 41 typedef void (*companion_fn)(struct pci_dev *pdev, struct usb_hcd *hcd, 45 static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd, in for_each_companion() argument 74 fn(pdev, hcd, companion, companion_hcd); in for_each_companion() 84 static void ehci_pre_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_pre_add() argument 101 static void ehci_post_add(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_post_add() argument 110 companion_hcd->self.hs_companion = &hcd->self; in ehci_post_add() 122 static void non_ehci_add(struct pci_dev *pdev, struct usb_hcd *hcd, in non_ehci_add() argument 128 hcd->self.hs_companion = &companion_hcd->self; in non_ehci_add() 133 static void ehci_remove(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_remove() argument 143 static void ehci_wait_for_companions(struct pci_dev *pdev, struct usb_hcd *hcd, in ehci_wait_for_companions() argument [all …]
|
D | buffer.c | 65 int hcd_buffer_create(struct usb_hcd *hcd) in hcd_buffer_create() argument 70 if (hcd->localmem_pool || !hcd_uses_dma(hcd)) in hcd_buffer_create() 78 hcd->pool[i] = dma_pool_create(name, hcd->self.sysdev, in hcd_buffer_create() 80 if (!hcd->pool[i]) { in hcd_buffer_create() 81 hcd_buffer_destroy(hcd); in hcd_buffer_create() 97 void hcd_buffer_destroy(struct usb_hcd *hcd) in hcd_buffer_destroy() argument 105 dma_pool_destroy(hcd->pool[i]); in hcd_buffer_destroy() 106 hcd->pool[i] = NULL; in hcd_buffer_destroy() 122 struct usb_hcd *hcd = bus_to_hcd(bus); in hcd_buffer_alloc() local 128 if (hcd->localmem_pool) in hcd_buffer_alloc() [all …]
|
/linux-6.1.9/drivers/usb/host/ |
D | ohci-da8xx.c | 33 static int (*orig_ohci_hub_control)(struct usb_hcd *hcd, u16 typeReq, 35 static int (*orig_ohci_hub_status_data)(struct usb_hcd *hcd, char *buf); 38 struct usb_hcd *hcd; member 46 #define to_da8xx_ohci(hcd) (struct da8xx_ohci_hcd *)(hcd_to_ohci(hcd)->priv) argument 51 static int ohci_da8xx_enable(struct usb_hcd *hcd) in ohci_da8xx_enable() argument 53 struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd); in ohci_da8xx_enable() 78 static void ohci_da8xx_disable(struct usb_hcd *hcd) in ohci_da8xx_disable() argument 80 struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd); in ohci_da8xx_disable() 87 static int ohci_da8xx_set_power(struct usb_hcd *hcd, int on) in ohci_da8xx_set_power() argument 89 struct da8xx_ohci_hcd *da8xx_ohci = to_da8xx_ohci(hcd); in ohci_da8xx_set_power() [all …]
|
D | ohci-omap.c | 74 struct usb_hcd *hcd = ohci_to_hcd(ohci); in start_hnp() local 75 const unsigned port = hcd->self.otg_port - 1; in start_hnp() 79 otg_start_hnp(hcd->usb_phy->otg); in start_hnp() 82 hcd->usb_phy->otg->state = OTG_STATE_A_SUSPEND; in start_hnp() 94 static int ohci_omap_reset(struct usb_hcd *hcd) in ohci_omap_reset() argument 96 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_omap_reset() 97 struct omap_usb_config *config = dev_get_platdata(hcd->self.controller); in ohci_omap_reset() 98 struct ohci_omap_priv *priv = hcd_to_ohci_omap_priv(hcd); in ohci_omap_reset() 102 dev_dbg(hcd->self.controller, "starting USB Controller\n"); in ohci_omap_reset() 105 hcd->self.otg_port = config->otg; in ohci_omap_reset() [all …]
|
D | ehci-fsl.c | 50 struct usb_hcd *hcd; in fsl_ehci_drv_probe() local 83 hcd = __usb_create_hcd(&fsl_ehci_hc_driver, pdev->dev.parent, in fsl_ehci_drv_probe() 85 if (!hcd) { in fsl_ehci_drv_probe() 91 hcd->regs = devm_ioremap_resource(&pdev->dev, res); in fsl_ehci_drv_probe() 92 if (IS_ERR(hcd->regs)) { in fsl_ehci_drv_probe() 93 retval = PTR_ERR(hcd->regs); in fsl_ehci_drv_probe() 97 hcd->rsrc_start = res->start; in fsl_ehci_drv_probe() 98 hcd->rsrc_len = resource_size(res); in fsl_ehci_drv_probe() 100 pdata->regs = hcd->regs; in fsl_ehci_drv_probe() 103 hcd->power_budget = pdata->power_budget; in fsl_ehci_drv_probe() [all …]
|
D | xhci-plat.c | 30 static int xhci_plat_setup(struct usb_hcd *hcd); 31 static int xhci_plat_start(struct usb_hcd *hcd); 39 static void xhci_priv_plat_start(struct usb_hcd *hcd) in xhci_priv_plat_start() argument 41 struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd); in xhci_priv_plat_start() 44 priv->plat_start(hcd); in xhci_priv_plat_start() 47 static int xhci_priv_init_quirk(struct usb_hcd *hcd) in xhci_priv_init_quirk() argument 49 struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd); in xhci_priv_init_quirk() 54 return priv->init_quirk(hcd); in xhci_priv_init_quirk() 57 static int xhci_priv_suspend_quirk(struct usb_hcd *hcd) in xhci_priv_suspend_quirk() argument 59 struct xhci_plat_priv *priv = hcd_to_xhci_priv(hcd); in xhci_priv_suspend_quirk() [all …]
|
D | ohci-sm501.c | 22 static int ohci_sm501_init(struct usb_hcd *hcd) in ohci_sm501_init() argument 24 return ohci_init(hcd_to_ohci(hcd)); in ohci_sm501_init() 27 static int ohci_sm501_start(struct usb_hcd *hcd) in ohci_sm501_start() argument 29 struct device *dev = hcd->self.controller; in ohci_sm501_start() 32 ret = ohci_run(hcd_to_ohci(hcd)); in ohci_sm501_start() 34 dev_err(dev, "can't start %s", hcd->self.bus_name); in ohci_sm501_start() 35 ohci_stop(hcd); in ohci_sm501_start() 94 struct usb_hcd *hcd = NULL; in ohci_hcd_sm501_drv_probe() local 121 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in ohci_hcd_sm501_drv_probe() 122 if (!hcd) { in ohci_hcd_sm501_drv_probe() [all …]
|
D | max3421-hcd.c | 335 hcd_to_max3421(struct usb_hcd *hcd) in hcd_to_max3421() argument 337 return (struct max3421_hcd *) hcd->hcd_priv; in hcd_to_max3421() 347 spi_rd8(struct usb_hcd *hcd, unsigned int reg) in spi_rd8() argument 349 struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd); in spi_rd8() 350 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_rd8() 373 spi_wr8(struct usb_hcd *hcd, unsigned int reg, u8 val) in spi_wr8() argument 375 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_wr8() 376 struct max3421_hcd *max3421_hcd = hcd_to_max3421(hcd); in spi_wr8() 397 spi_rd_buf(struct usb_hcd *hcd, unsigned int reg, void *buf, size_t len) in spi_rd_buf() argument 399 struct spi_device *spi = to_spi_device(hcd->self.controller); in spi_rd_buf() [all …]
|
D | ohci-ps3.c | 12 static int ps3_ohci_hc_reset(struct usb_hcd *hcd) in ps3_ohci_hc_reset() argument 14 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ps3_ohci_hc_reset() 21 static int ps3_ohci_hc_start(struct usb_hcd *hcd) in ps3_ohci_hc_start() argument 24 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ps3_ohci_hc_start() 36 dev_err(hcd->self.controller, "can't start %s\n", in ps3_ohci_hc_start() 37 hcd->self.bus_name); in ps3_ohci_hc_start() 38 ohci_stop(hcd); in ps3_ohci_hc_start() 70 struct usb_hcd *hcd; in ps3_ohci_probe() local 122 hcd = usb_create_hcd(&ps3_ohci_hc_driver, &dev->core, dev_name(&dev->core)); in ps3_ohci_probe() 124 if (!hcd) { in ps3_ohci_probe() [all …]
|
D | ohci-tmio.c | 64 #define hcd_to_tmio(hcd) ((struct tmio_hcd *)(hcd_to_ohci(hcd) + 1)) argument 70 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_write_pm() local 71 struct tmio_hcd *tmio = hcd_to_tmio(hcd); in tmio_write_pm() 86 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_stop_hc() local 87 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in tmio_stop_hc() 88 struct tmio_hcd *tmio = hcd_to_tmio(hcd); in tmio_stop_hc() 114 struct usb_hcd *hcd = platform_get_drvdata(dev); in tmio_start_hc() local 115 struct tmio_hcd *tmio = hcd_to_tmio(hcd); in tmio_start_hc() 116 unsigned long base = hcd->rsrc_start; in tmio_start_hc() 126 (u64) hcd->rsrc_start, hcd->irq); in tmio_start_hc() [all …]
|
D | ohci-sa1111.c | 44 static void dump_hci_status(struct usb_hcd *hcd, const char *label) 46 unsigned long status = readl_relaxed(hcd->regs + USB_STATUS); 57 static int ohci_sa1111_reset(struct usb_hcd *hcd) in ohci_sa1111_reset() argument 59 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_sa1111_reset() 65 static int ohci_sa1111_start(struct usb_hcd *hcd) in ohci_sa1111_start() argument 67 struct ohci_hcd *ohci = hcd_to_ohci(hcd); in ohci_sa1111_start() 73 ohci_stop(hcd); in ohci_sa1111_start() 181 struct usb_hcd *hcd; in ohci_hcd_sa1111_probe() local 193 hcd = usb_create_hcd(&ohci_sa1111_hc_driver, &dev->dev, "sa1111"); in ohci_hcd_sa1111_probe() 194 if (!hcd) in ohci_hcd_sa1111_probe() [all …]
|
D | ehci-xilinx-of.c | 38 static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum) in ehci_xilinx_port_handed_over() argument 40 dev_warn(hcd->self.controller, "port %d cannot be enabled\n", portnum); in ehci_xilinx_port_handed_over() 41 if (hcd->has_tt) { in ehci_xilinx_port_handed_over() 42 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 45 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 48 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 50 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 52 dev_warn(hcd->self.controller, in ehci_xilinx_port_handed_over() 121 struct usb_hcd *hcd; in ehci_hcd_xilinx_of_probe() local 137 hcd = usb_create_hcd(&ehci_xilinx_of_hc_driver, &op->dev, in ehci_hcd_xilinx_of_probe() [all …]
|
D | ehci-sh.c | 14 struct usb_hcd *hcd; member 17 static int ehci_sh_reset(struct usb_hcd *hcd) in ehci_sh_reset() argument 19 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_sh_reset() 21 ehci->caps = hcd->regs; in ehci_sh_reset() 23 return ehci_setup(hcd); in ehci_sh_reset() 78 struct usb_hcd *hcd; in ehci_hcd_sh_probe() local 91 hcd = usb_create_hcd(&ehci_sh_hc_driver, &pdev->dev, in ehci_hcd_sh_probe() 93 if (!hcd) { in ehci_hcd_sh_probe() 99 hcd->regs = devm_ioremap_resource(&pdev->dev, res); in ehci_hcd_sh_probe() 100 if (IS_ERR(hcd->regs)) { in ehci_hcd_sh_probe() [all …]
|
D | ehci-ps3.c | 40 static int ps3_ehci_hc_reset(struct usb_hcd *hcd) in ps3_ehci_hc_reset() argument 43 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ps3_ehci_hc_reset() 46 ehci->caps = hcd->regs; in ps3_ehci_hc_reset() 48 result = ehci_setup(hcd); in ps3_ehci_hc_reset() 87 struct usb_hcd *hcd; in ps3_ehci_probe() local 138 hcd = usb_create_hcd(&ps3_ehci_hc_driver, &dev->core, dev_name(&dev->core)); in ps3_ehci_probe() 140 if (!hcd) { in ps3_ehci_probe() 147 hcd->rsrc_start = dev->m_region->lpar_addr; in ps3_ehci_probe() 148 hcd->rsrc_len = dev->m_region->len; in ps3_ehci_probe() 150 if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) in ps3_ehci_probe() [all …]
|
D | ohci-s3c2410.c | 53 static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd) in to_s3c2410_info() argument 55 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info() 58 static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd) in s3c2410_start_hc() argument 70 info->hcd = hcd; in s3c2410_start_hc() 86 info->hcd = NULL; in s3c2410_stop_hc() 103 ohci_s3c2410_hub_status_data(struct usb_hcd *hcd, char *buf) in ohci_s3c2410_hub_status_data() argument 105 struct s3c2410_hcd_info *info = to_s3c2410_info(hcd); in ohci_s3c2410_hub_status_data() 110 orig = ohci_hub_status_data(hcd, buf); in ohci_s3c2410_hub_status_data() 122 dev_dbg(hcd->self.controller, in ohci_s3c2410_hub_status_data() 161 struct usb_hcd *hcd, in ohci_s3c2410_hub_control() argument [all …]
|
D | ehci-brcm.c | 53 struct usb_hcd *hcd, in ehci_brcm_hub_control() argument 60 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_hub_control() 91 retval = ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ehci_brcm_hub_control() 97 static int ehci_brcm_reset(struct usb_hcd *hcd) in ehci_brcm_reset() argument 99 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_reset() 104 ehci->caps = (void __iomem *)hcd->regs; in ehci_brcm_reset() 106 ehci->regs = (void __iomem *)(hcd->regs + len); in ehci_brcm_reset() 119 return ehci_setup(hcd); in ehci_brcm_reset() 134 struct usb_hcd *hcd; in ehci_brcm_probe() local 150 hcd = usb_create_hcd(&ehci_brcm_hc_driver, dev, dev_name(dev)); in ehci_brcm_probe() [all …]
|
D | ohci-spear.c | 30 #define to_spear_ohci(hcd) (struct spear_ohci *)(hcd_to_ohci(hcd)->priv) argument 37 struct usb_hcd *hcd = NULL; in spear_ohci_hcd_drv_probe() local 65 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in spear_ohci_hcd_drv_probe() 66 if (!hcd) { in spear_ohci_hcd_drv_probe() 72 hcd->regs = devm_ioremap_resource(&pdev->dev, res); in spear_ohci_hcd_drv_probe() 73 if (IS_ERR(hcd->regs)) { in spear_ohci_hcd_drv_probe() 74 retval = PTR_ERR(hcd->regs); in spear_ohci_hcd_drv_probe() 78 hcd->rsrc_start = res->start; in spear_ohci_hcd_drv_probe() 79 hcd->rsrc_len = resource_size(res); in spear_ohci_hcd_drv_probe() 81 sohci_p = to_spear_ohci(hcd); in spear_ohci_hcd_drv_probe() [all …]
|
D | ehci-spear.c | 31 #define to_spear_ehci(hcd) (struct spear_ehci *)(hcd_to_ehci(hcd)->priv) argument 37 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_spear_drv_suspend() local 40 return ehci_suspend(hcd, do_wakeup); in ehci_spear_drv_suspend() 45 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_spear_drv_resume() local 47 ehci_resume(hcd, false); in ehci_spear_drv_resume() 56 struct usb_hcd *hcd ; in spear_ehci_hcd_drv_probe() local 88 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in spear_ehci_hcd_drv_probe() 89 if (!hcd) { in spear_ehci_hcd_drv_probe() 95 hcd->regs = devm_ioremap_resource(&pdev->dev, res); in spear_ehci_hcd_drv_probe() 96 if (IS_ERR(hcd->regs)) { in spear_ehci_hcd_drv_probe() [all …]
|
D | ehci-atmel.c | 71 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_start_ehci() local 72 struct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd); in atmel_start_ehci() 80 struct usb_hcd *hcd = platform_get_drvdata(pdev); in atmel_stop_ehci() local 81 struct atmel_ehci_priv *atmel_ehci = hcd_to_atmel_ehci_priv(hcd); in atmel_stop_ehci() 91 struct usb_hcd *hcd; in ehci_atmel_drv_probe() local 118 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in ehci_atmel_drv_probe() 119 if (!hcd) { in ehci_atmel_drv_probe() 123 atmel_ehci = hcd_to_atmel_ehci_priv(hcd); in ehci_atmel_drv_probe() 126 hcd->regs = devm_ioremap_resource(&pdev->dev, res); in ehci_atmel_drv_probe() 127 if (IS_ERR(hcd->regs)) { in ehci_atmel_drv_probe() [all …]
|
D | xhci-rcar.c | 88 static void xhci_rcar_start_gen2(struct usb_hcd *hcd) in xhci_rcar_start_gen2() argument 91 writel(RCAR_USB3_LCLK_ENA_VAL, hcd->regs + RCAR_USB3_LCLK); in xhci_rcar_start_gen2() 93 writel(RCAR_USB3_CONF1_VAL, hcd->regs + RCAR_USB3_CONF1); in xhci_rcar_start_gen2() 94 writel(RCAR_USB3_CONF2_VAL, hcd->regs + RCAR_USB3_CONF2); in xhci_rcar_start_gen2() 95 writel(RCAR_USB3_CONF3_VAL, hcd->regs + RCAR_USB3_CONF3); in xhci_rcar_start_gen2() 97 writel(RCAR_USB3_RX_POL_VAL, hcd->regs + RCAR_USB3_RX_POL); in xhci_rcar_start_gen2() 98 writel(RCAR_USB3_TX_POL_VAL, hcd->regs + RCAR_USB3_TX_POL); in xhci_rcar_start_gen2() 111 void xhci_rcar_start(struct usb_hcd *hcd) in xhci_rcar_start() argument 115 if (hcd->regs != NULL) { in xhci_rcar_start() 117 temp = readl(hcd->regs + RCAR_USB3_INT_ENA); in xhci_rcar_start() [all …]
|
D | ehci-npcm7xx.c | 31 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_npcm7xx_drv_suspend() local 34 return ehci_suspend(hcd, do_wakeup); in ehci_npcm7xx_drv_suspend() 39 struct usb_hcd *hcd = dev_get_drvdata(dev); in ehci_npcm7xx_drv_resume() local 41 ehci_resume(hcd, false); in ehci_npcm7xx_drv_resume() 50 struct usb_hcd *hcd; in npcm7xx_ehci_hcd_drv_probe() local 76 hcd = usb_create_hcd(driver, &pdev->dev, dev_name(&pdev->dev)); in npcm7xx_ehci_hcd_drv_probe() 77 if (!hcd) { in npcm7xx_ehci_hcd_drv_probe() 83 hcd->regs = devm_ioremap_resource(&pdev->dev, res); in npcm7xx_ehci_hcd_drv_probe() 84 if (IS_ERR(hcd->regs)) { in npcm7xx_ehci_hcd_drv_probe() 85 retval = PTR_ERR(hcd->regs); in npcm7xx_ehci_hcd_drv_probe() [all …]
|
D | uhci-grlib.c | 26 static int uhci_grlib_init(struct usb_hcd *hcd) in uhci_grlib_init() argument 28 struct uhci_hcd *uhci = hcd_to_uhci(hcd); in uhci_grlib_init() 44 uhci->rh_numports = uhci_count_ports(hcd); in uhci_grlib_init() 93 struct usb_hcd *hcd; in uhci_hcd_grlib_probe() local 110 hcd = usb_create_hcd(&uhci_grlib_hc_driver, &op->dev, in uhci_hcd_grlib_probe() 112 if (!hcd) in uhci_hcd_grlib_probe() 115 hcd->rsrc_start = res.start; in uhci_hcd_grlib_probe() 116 hcd->rsrc_len = resource_size(&res); in uhci_hcd_grlib_probe() 125 hcd->regs = devm_ioremap_resource(&op->dev, &res); in uhci_hcd_grlib_probe() 126 if (IS_ERR(hcd->regs)) { in uhci_hcd_grlib_probe() [all …]
|
/linux-6.1.9/drivers/usb/isp1760/ |
D | isp1760-hcd.c | 41 typedef void (packet_enqueue)(struct usb_hcd *hcd, struct isp1760_qh *qh, 44 static inline struct isp1760_hcd *hcd_to_priv(struct usb_hcd *hcd) in hcd_to_priv() argument 46 return *(struct isp1760_hcd **)hcd->hcd_priv; in hcd_to_priv() 200 static u32 isp1760_hcd_read(struct usb_hcd *hcd, u32 field) in isp1760_hcd_read() argument 202 struct isp1760_hcd *priv = hcd_to_priv(hcd); in isp1760_hcd_read() 225 static void isp1760_hcd_write(struct usb_hcd *hcd, u32 field, u32 val) in isp1760_hcd_write() argument 227 struct isp1760_hcd *priv = hcd_to_priv(hcd); in isp1760_hcd_write() 235 static void isp1760_hcd_set(struct usb_hcd *hcd, u32 field) in isp1760_hcd_set() argument 237 isp1760_hcd_write(hcd, field, 0xFFFFFFFF); in isp1760_hcd_set() 240 static void isp1760_hcd_clear(struct usb_hcd *hcd, u32 field) in isp1760_hcd_clear() argument [all …]
|
/linux-6.1.9/include/linux/usb/ |
D | hcd.h | 119 #define HCD_HW_ACCESSIBLE(hcd) ((hcd)->flags & (1U << HCD_FLAG_HW_ACCESSIBLE)) argument 120 #define HCD_POLL_RH(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_RH)) argument 121 #define HCD_POLL_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_POLL_PENDING)) argument 122 #define HCD_WAKEUP_PENDING(hcd) ((hcd)->flags & (1U << HCD_FLAG_WAKEUP_PENDING)) argument 123 #define HCD_RH_RUNNING(hcd) ((hcd)->flags & (1U << HCD_FLAG_RH_RUNNING)) argument 124 #define HCD_DEAD(hcd) ((hcd)->flags & (1U << HCD_FLAG_DEAD)) argument 125 #define HCD_DEFER_RH_REGISTER(hcd) ((hcd)->flags & (1U << HCD_FLAG_DEFER_RH_REGISTER)) argument 132 #define HCD_INTF_AUTHORIZED(hcd) \ argument 133 ((hcd)->flags & (1U << HCD_FLAG_INTF_AUTHORIZED)) 225 static inline struct usb_bus *hcd_to_bus(struct usb_hcd *hcd) in hcd_to_bus() argument [all …]
|