Home
last modified time | relevance | path

Searched refs:glue (Results 1 – 25 of 34) sorted by relevance

12

/drivers/usb/musb/
A Dsunxi.c143 phy_set_mode(glue->phy, glue->phy_mode); in sunxi_musb_work()
228 musb->phy = glue->phy; in sunxi_musb_init()
250 ret = devm_extcon_register_notifier(glue->dev, glue->extcon, in sunxi_musb_init()
287 phy_exit(glue->phy); in sunxi_musb_exit()
303 glue->musb = musb; in sunxi_musb_enable()
444 &glue->flags)) in sunxi_musb_readb()
691 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in sunxi_musb_probe()
692 if (!glue) in sunxi_musb_probe()
727 glue->dev = &pdev->dev; in sunxi_musb_probe()
743 PTR_ERR(glue->clk)); in sunxi_musb_probe()
[all …]
A Dmediatek.c112 glue->role = new_role; in mtk_otg_switch_set()
113 phy_set_mode(glue->phy, glue->phy_mode); in mtk_otg_switch_set()
127 return glue->role; in musb_usb_role_sx_get()
139 glue->role_sw = usb_role_switch_register(glue->dev, &role_sx_desc); in mtk_otg_switch_init()
261 glue->musb = musb; in mtk_musb_init()
285 phy_set_mode(glue->phy, glue->phy_mode); in mtk_musb_init()
296 phy_exit(glue->phy); in mtk_musb_init()
341 phy_exit(glue->phy); in mtk_musb_exit()
409 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in mtk_musb_probe()
410 if (!glue) in mtk_musb_probe()
[all …]
A Dmusb_dsps.c152 if (glue->vbus_irq) in dsps_mod_timer_optional()
217 if (glue->vbus_irq) in dsps_check_status()
764 glue->musb = musb; in dsps_create_musb_pdev()
847 glue->vbus_irq = 0; in dsps_setup_optional_vbus_irq()
851 error = devm_request_threaded_irq(glue->dev, glue->vbus_irq, in dsps_setup_optional_vbus_irq()
854 "vbus", glue); in dsps_setup_optional_vbus_irq()
856 glue->vbus_irq = 0; in dsps_setup_optional_vbus_irq()
859 dev_dbg(glue->dev, "VBUS irq %i configured\n", glue->vbus_irq); in dsps_setup_optional_vbus_irq()
885 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in dsps_probe()
886 if (!glue) in dsps_probe()
[all …]
A Domap2430.c68 if (!glue) { in omap2430_musb_mailbox()
72 glue->status = status; in omap2430_musb_mailbox()
74 if (!glue_to_musb(glue)) { in omap2430_musb_mailbox()
102 switch (glue->status) { in omap_musb_set_mailbox()
319 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in omap2430_probe()
320 if (!glue) in omap2430_probe()
344 glue->musb = musb; in omap2430_probe()
394 _glue = glue; in omap2430_probe()
541 glue->phy_suspended = 1; in omap2430_suspend()
554 glue->needs_resume = 1; in omap2430_suspend_late()
[all …]
A Dda8xx.c391 ret = phy_init(glue->phy); in da8xx_musb_init()
397 ret = phy_power_on(glue->phy); in da8xx_musb_init()
413 phy_exit(glue->phy); in da8xx_musb_init()
425 phy_power_off(glue->phy); in da8xx_musb_exit()
426 phy_exit(glue->phy); in da8xx_musb_exit()
518 struct da8xx_glue *glue; in da8xx_probe() local
524 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in da8xx_probe()
525 if (!glue) in da8xx_probe()
535 if (IS_ERR(glue->phy)) in da8xx_probe()
539 glue->dev = &pdev->dev; in da8xx_probe()
[all …]
A Djz4740.c109 .driver_data = glue, in jz4740_musb_init()
114 glue->musb = musb; in jz4740_musb_init()
153 if (IS_ERR(glue->role_sw)) { in jz4740_musb_init()
155 err = PTR_ERR(glue->role_sw); in jz4740_musb_init()
240 struct jz4740_glue *glue; in jz4740_probe() local
244 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in jz4740_probe()
245 if (!glue) in jz4740_probe()
278 glue->pdev = musb; in jz4740_probe()
279 glue->clk = clk; in jz4740_probe()
281 platform_set_drvdata(pdev, glue); in jz4740_probe()
[all …]
A Dux500.c222 struct ux500_glue *glue; in ux500_probe() local
239 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in ux500_probe()
240 if (!glue) in ux500_probe()
267 glue->dev = &pdev->dev; in ux500_probe()
268 glue->musb = musb; in ux500_probe()
269 glue->clk = clk; in ux500_probe()
274 platform_set_drvdata(pdev, glue); in ux500_probe()
310 platform_device_unregister(glue->musb); in ux500_remove()
311 clk_disable_unprepare(glue->clk); in ux500_remove()
323 clk_disable_unprepare(glue->clk); in ux500_suspend()
[all …]
A Dmpfs.c259 struct mpfs_glue *glue; in mpfs_probe() local
265 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in mpfs_probe()
266 if (!glue) in mpfs_probe()
293 glue->dev = dev; in mpfs_probe()
294 glue->musb = musb_pdev; in mpfs_probe()
295 glue->clk = clk; in mpfs_probe()
315 if (IS_ERR(glue->phy)) { in mpfs_probe()
317 PTR_ERR(glue->phy)); in mpfs_probe()
318 ret = PTR_ERR(glue->phy); in mpfs_probe()
322 platform_set_drvdata(pdev, glue); in mpfs_probe()
[all …]
A Dtusb6010.c1044 glue->intpin); in tusb_musb_start()
1227 struct tusb6010_glue *glue; in tusb_probe() local
1231 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in tusb_probe()
1232 if (!glue) in tusb_probe()
1235 glue->dev = &pdev->dev; in tusb_probe()
1237 glue->enable = devm_gpiod_get(glue->dev, "enable", GPIOD_OUT_LOW); in tusb_probe()
1238 if (IS_ERR(glue->enable)) in tusb_probe()
1239 return dev_err_probe(glue->dev, PTR_ERR(glue->enable), in tusb_probe()
1241 glue->intpin = devm_gpiod_get(glue->dev, "int", GPIOD_IN); in tusb_probe()
1242 if (IS_ERR(glue->intpin)) in tusb_probe()
[all …]
/drivers/net/wireless/ti/wlcore/
A Dspi.c377 WARN_ON(!glue->reg); in wl12xx_spi_set_power()
463 struct wl12xx_spi_glue *glue; in wl1271_probe() local
474 glue = devm_kzalloc(&spi->dev, sizeof(*glue), GFP_KERNEL); in wl1271_probe()
475 if (!glue) { in wl1271_probe()
480 glue->dev = &spi->dev; in wl1271_probe()
482 spi_set_drvdata(spi, glue); in wl1271_probe()
489 if (IS_ERR(glue->reg)) in wl1271_probe()
490 return dev_err_probe(glue->dev, PTR_ERR(glue->reg), in wl1271_probe()
495 dev_err(glue->dev, in wl1271_probe()
508 if (!glue->core) { in wl1271_probe()
[all …]
A Dsdio.c174 return wl12xx_sdio_power_on(glue); in wl12xx_sdio_set_power()
176 return wl12xx_sdio_power_off(glue); in wl12xx_sdio_set_power()
259 struct wl12xx_sdio_glue *glue; in wl1271_probe() local
276 glue = devm_kzalloc(&func->dev, sizeof(*glue), GFP_KERNEL); in wl1271_probe()
277 if (!glue) in wl1271_probe()
280 glue->dev = &func->dev; in wl1271_probe()
299 sdio_set_drvdata(func, glue); in wl1271_probe()
316 if (!glue->core) { in wl1271_probe()
322 glue->core->dev.parent = &func->dev; in wl1271_probe()
349 ret = platform_device_add(glue->core); in wl1271_probe()
[all …]
/drivers/media/cec/i2c/
A Dtda9950.c262 if (priv->glue && priv->glue->open) in tda9950_glue_open()
263 ret = priv->glue->open(priv->glue->data); in tda9950_glue_open()
274 if (priv->glue && priv->glue->release) in tda9950_glue_release()
275 priv->glue->release(priv->glue->data); in tda9950_glue_release()
350 if (glue && glue->exit) in tda9950_devm_glue_exit()
351 glue->exit(glue->data); in tda9950_devm_glue_exit()
358 if (glue && glue->init) { in tda9950_devm_glue_init()
359 ret = glue->init(glue->data); in tda9950_devm_glue_init()
408 priv->glue = glue; in tda9950_probe()
418 if (glue && glue->parent) in tda9950_probe()
[all …]
/drivers/usb/dwc2/
A Dpci.c44 struct dwc2_pci_glue *glue = pci_get_drvdata(pci); in dwc2_pci_remove() local
46 platform_device_unregister(glue->dwc2); in dwc2_pci_remove()
47 usb_phy_generic_unregister(glue->phy); in dwc2_pci_remove()
59 struct dwc2_pci_glue *glue; in dwc2_pci_probe() local
102 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in dwc2_pci_probe()
103 if (!glue) { in dwc2_pci_probe()
114 glue->phy = phy; in dwc2_pci_probe()
115 glue->dwc2 = dwc2; in dwc2_pci_probe()
116 pci_set_drvdata(pci, glue); in dwc2_pci_probe()
/drivers/mtd/nand/raw/brcmnand/
A DKconfig13 tristate "Broadcom BCM63xx NAND controller glue"
16 Enables the BRCMNAND glue driver to register the NAND controller
25 The glue driver will take care of performing the low-level I/O
29 tristate "Broadcom BCMBCA NAND controller glue"
32 Enables the BRCMNAND glue driver to register the NAND controller
36 tristate "Broadcom STB Nand controller glue"
39 Enables the BRCMNAND glue driver to register the NAND controller
43 tristate "Broadcom iProc NAND controller glue"
46 Enables the BRCMNAND controller glue driver to register the NAND
/drivers/input/
A Djoydev.c47 struct JS_DATA_SAVE_TYPE glue; member
619 joydev->glue.JS_TIMELIMIT = tmp32; in joydev_compat_ioctl()
623 tmp32 = joydev->glue.JS_TIMELIMIT; in joydev_compat_ioctl()
632 joydev->glue.BUSY = ds32.BUSY; in joydev_compat_ioctl()
635 joydev->glue.JS_SAVE = ds32.JS_SAVE; in joydev_compat_ioctl()
636 joydev->glue.JS_CORR = ds32.JS_CORR; in joydev_compat_ioctl()
642 ds32.BUSY = joydev->glue.BUSY; in joydev_compat_ioctl()
645 ds32.JS_SAVE = joydev->glue.JS_SAVE; in joydev_compat_ioctl()
646 ds32.JS_CORR = joydev->glue.JS_CORR; in joydev_compat_ioctl()
693 sizeof(joydev->glue)) ? -EFAULT : 0; in joydev_ioctl()
[all …]
/drivers/net/ethernet/stmicro/stmmac/
A DKconfig78 This selects Ingenic SoCs glue layer support for the stmmac
121 This selects the Amlogic Meson SoC glue layer support for
165 This selects the Renesas RZ/N1 SoC glue layer support for
176 This selects NXP SoC glue layer support for the stmmac
192 This selects the Altera SOCFPGA SoC glue layer support
203 This selects the Sophgo SoC specific glue layer support
227 This selects STi SoC glue layer support for the stmmac
239 This selects STM32 SoC glue layer support for the stmmac
250 This selects Allwinner SoC glue layer support for the
262 This selects Allwinner SoC glue layer support for the
[all …]
/drivers/usb/chipidea/
A DKconfig37 tristate "Enable PCI glue driver" if EXPERT
43 tristate "Enable MSM hsusb glue driver" if EXPERT
47 tristate "Enable NPCM hsusb glue driver" if EXPERT
51 tristate "Enable i.MX USB glue driver" if EXPERT
56 tristate "Enable generic USB2 glue driver" if EXPERT
60 tristate "Enable Tegra USB glue driver" if EXPERT
/drivers/hwtracing/intel_th/
A DKconfig14 platform glue layers to drive Intel TH devices.
25 support glue layer for PCI-based Intel TH.
34 support glue layer for ACPI-based Intel TH. This typically implies
/drivers/gpu/ipu-v3/
A Dipu-dc.c120 int map, int wave, int glue, int sync, int stop) in dc_write_tmpl() argument
129 reg1 = sync | glue << 4 | ++wave << 11 | ((operand << 15) & 0xffff8000); in dc_write_tmpl()
132 reg1 = sync | glue << 4 | ++wave << 11 | ++map << 15 | ((operand << 20) & 0xfff00000); in dc_write_tmpl()
/drivers/dma/ti/
A DMakefile6 obj-$(CONFIG_TI_K3_UDMA_GLUE_LAYER) += k3-udma-glue.o
A DKconfig55 Say y here to support the K3 NAVSS DMA glue interface
/drivers/dma/dw-edma/
A DKconfig18 Provides a glue-logic between the Synopsys DesignWare
/drivers/net/ethernet/arc/
A DKconfig33 This selects Rockchip SoC glue layer support for the
/drivers/net/wireless/st/cw1200/
A DKconfig28 need to add appropriate platform data glue in your board setup
/drivers/ufs/host/
A DKconfig110 tristate "TI glue layer for Cadence UFS Controller"
113 This selects driver for TI glue layer for Cadence UFS Host

Completed in 49 milliseconds

12