/linux/drivers/usb/musb/ |
A D | mediatek.c | 164 glue->role = new_role; in mtk_otg_switch_set() 165 phy_set_mode(glue->phy, glue->phy_mode); in mtk_otg_switch_set() 179 return glue->role; in musb_usb_role_sx_get() 191 glue->role_sw = usb_role_switch_register(glue->dev, &role_sx_desc); in mtk_otg_switch_init() 313 glue->musb = musb; in mtk_musb_init() 337 phy_set_mode(glue->phy, glue->phy_mode); in mtk_musb_init() 348 phy_exit(glue->phy); in mtk_musb_init() 392 phy_exit(glue->phy); in mtk_musb_exit() 460 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in mtk_musb_probe() 461 if (!glue) in mtk_musb_probe() [all …]
|
A D | sunxi.c | 136 phy_set_mode(glue->phy, glue->phy_mode); in sunxi_musb_work() 221 musb->phy = glue->phy; in sunxi_musb_init() 243 ret = devm_extcon_register_notifier(glue->dev, glue->extcon, in sunxi_musb_init() 280 phy_exit(glue->phy); in sunxi_musb_exit() 289 devm_usb_put_phy(glue->dev, glue->xceiv); in sunxi_musb_exit() 298 glue->musb = musb; in sunxi_musb_enable() 439 &glue->flags)) in sunxi_musb_readb() 687 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in sunxi_musb_probe() 688 if (!glue) in sunxi_musb_probe() 740 PTR_ERR(glue->clk)); in sunxi_musb_probe() [all …]
|
A D | musb_dsps.c | 152 if (glue->vbus_irq) in dsps_mod_timer_optional() 217 if (glue->vbus_irq) in dsps_check_status() 762 glue->musb = musb; in dsps_create_musb_pdev() 845 glue->vbus_irq = 0; in dsps_setup_optional_vbus_irq() 849 error = devm_request_threaded_irq(glue->dev, glue->vbus_irq, in dsps_setup_optional_vbus_irq() 852 "vbus", glue); in dsps_setup_optional_vbus_irq() 854 glue->vbus_irq = 0; in dsps_setup_optional_vbus_irq() 857 dev_dbg(glue->dev, "VBUS irq %i configured\n", glue->vbus_irq); in dsps_setup_optional_vbus_irq() 883 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in dsps_probe() 884 if (!glue) in dsps_probe() [all …]
|
A D | omap2430.c | 67 if (!glue) { in omap2430_musb_mailbox() 71 glue->status = status; in omap2430_musb_mailbox() 73 if (!glue_to_musb(glue)) { in omap2430_musb_mailbox() 101 switch (glue->status) { in omap_musb_set_mailbox() 318 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in omap2430_probe() 319 if (!glue) in omap2430_probe() 333 glue->musb = musb; in omap2430_probe() 382 _glue = glue; in omap2430_probe() 505 glue->phy_suspended = 1; in omap2430_suspend() 518 glue->needs_resume = 1; in omap2430_suspend_late() [all …]
|
A D | da8xx.c | 386 ret = phy_init(glue->phy); in da8xx_musb_init() 408 phy_exit(glue->phy); in da8xx_musb_init() 420 phy_power_off(glue->phy); in da8xx_musb_exit() 421 phy_exit(glue->phy); in da8xx_musb_exit() 510 struct da8xx_glue *glue; in da8xx_probe() local 516 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in da8xx_probe() 517 if (!glue) in da8xx_probe() 527 if (IS_ERR(glue->phy)) { in da8xx_probe() 530 return PTR_ERR(glue->phy); in da8xx_probe() 533 glue->dev = &pdev->dev; in da8xx_probe() [all …]
|
A D | jz4740.c | 105 .driver_data = glue, in jz4740_musb_init() 110 glue->musb = musb; in jz4740_musb_init() 124 if (IS_ERR(glue->role_sw)) { in jz4740_musb_init() 126 return PTR_ERR(glue->role_sw); in jz4740_musb_init() 198 struct jz4740_glue *glue; in jz4740_probe() local 202 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in jz4740_probe() 203 if (!glue) in jz4740_probe() 235 glue->pdev = musb; in jz4740_probe() 236 glue->clk = clk; in jz4740_probe() 238 platform_set_drvdata(pdev, glue); in jz4740_probe() [all …]
|
A D | davinci.c | 146 gpiod_set_value_cansleep(glue->vbus, glue->vbus_state); in evm_deferred_drvvbus() 147 glue->vbus_state = !glue->vbus_state; in evm_deferred_drvvbus() 156 if (!glue->vbus) in davinci_musb_source_power() 165 glue->vbus_state = !is_on; in davinci_musb_source_power() 169 gpiod_set_value_cansleep(glue->vbus, glue->vbus_state); in davinci_musb_source_power() 174 glue->vbus_state = is_on; in davinci_musb_source_power() 505 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in davinci_probe() 506 if (!glue) in davinci_probe() 523 glue->clk = clk; in davinci_probe() 532 glue->vbus_state = -1; in davinci_probe() [all …]
|
A D | am35x.c | 447 struct am35x_glue *glue; in am35x_probe() local 454 glue = kzalloc(sizeof(*glue), GFP_KERNEL); in am35x_probe() 455 if (!glue) in am35x_probe() 486 glue->clk = clk; in am35x_probe() 491 if (IS_ERR(glue->phy)) { in am35x_probe() 529 kfree(glue); in am35x_probe() 541 clk_disable(glue->clk); in am35x_remove() 543 clk_put(glue->clk); in am35x_remove() 544 clk_put(glue->phy_clk); in am35x_remove() 545 kfree(glue); in am35x_remove() [all …]
|
A D | ux500.c | 223 struct ux500_glue *glue; in ux500_probe() local 240 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in ux500_probe() 241 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() 324 platform_device_unregister(glue->musb); in ux500_remove() 325 clk_disable_unprepare(glue->clk); in ux500_remove() 339 clk_disable_unprepare(glue->clk); in ux500_suspend() [all …]
|
/linux/drivers/net/wireless/ti/wlcore/ |
A D | spi.c | 378 WARN_ON(!glue->reg); in wl12xx_spi_set_power() 465 struct wl12xx_spi_glue *glue; in wl1271_probe() local 476 glue = devm_kzalloc(&spi->dev, sizeof(*glue), GFP_KERNEL); in wl1271_probe() 477 if (!glue) { in wl1271_probe() 482 glue->dev = &spi->dev; in wl1271_probe() 484 spi_set_drvdata(spi, glue); in wl1271_probe() 491 if (IS_ERR(glue->reg)) in wl1271_probe() 492 return dev_err_probe(glue->dev, PTR_ERR(glue->reg), in wl1271_probe() 497 dev_err(glue->dev, in wl1271_probe() 510 if (!glue->core) { in wl1271_probe() [all …]
|
A D | sdio.c | 176 return wl12xx_sdio_power_on(glue); in wl12xx_sdio_set_power() 178 return wl12xx_sdio_power_off(glue); in wl12xx_sdio_set_power() 261 struct wl12xx_sdio_glue *glue; in wl1271_probe() local 278 glue = devm_kzalloc(&func->dev, sizeof(*glue), GFP_KERNEL); in wl1271_probe() 279 if (!glue) in wl1271_probe() 282 glue->dev = &func->dev; in wl1271_probe() 301 sdio_set_drvdata(func, glue); in wl1271_probe() 318 if (!glue->core) { in wl1271_probe() 324 glue->core->dev.parent = &func->dev; in wl1271_probe() 356 ret = platform_device_add(glue->core); in wl1271_probe() [all …]
|
/linux/arch/arm64/crypto/ |
A D | Makefile | 9 sha1-ce-y := sha1-ce-glue.o sha1-ce-core.o 12 sha2-ce-y := sha2-ce-glue.o sha2-ce-core.o 15 sha512-ce-y := sha512-ce-glue.o sha512-ce-core.o 18 sha3-ce-y := sha3-ce-glue.o sha3-ce-core.o 21 sm3-ce-y := sm3-ce-glue.o sm3-ce-core.o 24 sm4-ce-y := sm4-ce-glue.o sm4-ce-core.o 27 ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o 39 aes-ce-blk-y := aes-glue-ce.o aes-ce.o 42 aes-neon-blk-y := aes-glue-neon.o aes-neon.o 45 sha256-arm64-y := sha256-glue.o sha256-core.o [all …]
|
A D | built-in.a | 3 sha1-ce-glue.o/ 5 sha2-ce-glue.o/ 7 ghash-ce-glue.o/ 10 aes-ce-glue.o/ 11 aes-ce-ccm-glue.o/ 13 aes-glue-ce.o/ 15 sha256-glue.o/
|
A D | .built-in.a.cmd | 1 …glue.o arch/arm64/crypto/sha1-ce-core.o arch/arm64/crypto/sha2-ce-glue.o arch/arm64/crypto/sha2-ce…
|
/linux/lib/ |
A D | cpu_rmap.c | 227 struct irq_glue *glue; in free_irq_cpu_rmap() local 234 glue = rmap->obj[index]; in free_irq_cpu_rmap() 252 struct irq_glue *glue = in irq_cpu_rmap_notify() local 256 rc = cpu_rmap_update(glue->rmap, glue->index, mask); in irq_cpu_rmap_notify() 267 struct irq_glue *glue = in irq_cpu_rmap_release() local 271 kfree(glue); in irq_cpu_rmap_release() 287 struct irq_glue *glue = kzalloc(sizeof(*glue), GFP_KERNEL); in irq_cpu_rmap_add() local 290 if (!glue) in irq_cpu_rmap_add() 294 glue->rmap = rmap; in irq_cpu_rmap_add() 296 glue->index = cpu_rmap_add(rmap, glue); in irq_cpu_rmap_add() [all …]
|
/linux/drivers/gpu/drm/i2c/ |
A D | tda9950.c | 262 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() 409 priv->glue = glue; in tda9950_probe() 419 if (glue && glue->parent) in tda9950_probe() [all …]
|
/linux/arch/arm/crypto/ |
A D | Makefile | 26 aes-arm-y := aes-cipher-core.o aes-cipher-glue.o 27 aes-arm-bs-y := aes-neonbs-core.o aes-neonbs-glue.o 34 blake2s-arm-y := blake2s-core.o blake2s-glue.o 36 sha1-arm-ce-y := sha1-ce-core.o sha1-ce-glue.o 37 sha2-arm-ce-y := sha2-ce-core.o sha2-ce-glue.o 38 aes-arm-ce-y := aes-ce-core.o aes-ce-glue.o 39 ghash-arm-ce-y := ghash-ce-core.o ghash-ce-glue.o 41 crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue.o 42 chacha-neon-y := chacha-scalar-core.o chacha-glue.o 44 poly1305-arm-y := poly1305-core.o poly1305-glue.o [all …]
|
/linux/drivers/usb/dwc2/ |
A D | pci.c | 74 struct dwc2_pci_glue *glue = pci_get_drvdata(pci); in dwc2_pci_remove() local 76 platform_device_unregister(glue->dwc2); in dwc2_pci_remove() 77 usb_phy_generic_unregister(glue->phy); in dwc2_pci_remove() 89 struct dwc2_pci_glue *glue; in dwc2_pci_probe() local 132 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in dwc2_pci_probe() 133 if (!glue) { in dwc2_pci_probe() 144 glue->phy = phy; in dwc2_pci_probe() 145 glue->dwc2 = dwc2; in dwc2_pci_probe() 146 pci_set_drvdata(pci, glue); in dwc2_pci_probe()
|
/linux/drivers/input/ |
A D | joydev.c | 47 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 …]
|
/linux/Documentation/devicetree/bindings/usb/ |
A D | dwc3-st.txt | 1 ST DWC3 glue logic 4 This driver controls the glue logic used to configure the dwc3 core on 9 - reg : glue logic base address and USB syscfg ctrl register offset 10 - reg-names : should be "reg-glue" and "syscfg-reg" 12 encompasses the glue registers 32 The dwc3 core should be added as subnode to ST DWC3 glue as shown in the 47 reg-names = "reg-glue", "syscfg-reg";
|
/linux/drivers/usb/chipidea/ |
A D | Kconfig | 37 tristate "Enable PCI glue driver" if EMBEDDED 43 tristate "Enable MSM hsusb glue driver" if EMBEDDED 47 tristate "Enable i.MX USB glue driver" if EMBEDDED 52 tristate "Enable generic USB2 glue driver" if EMBEDDED 56 tristate "Enable Tegra USB glue driver" if EMBEDDED
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | Kconfig | 77 This selects Ingenic SoCs glue layer support for the stmmac 89 This selects the IPQ806x SoC glue layer support for the stmmac 117 This selects the Amlogic Meson SoC glue layer support for 139 This selects the Qualcomm ETHQOS glue layer support for the 150 This selects the Rockchip RK3288 SoC glue layer support for 161 This selects the Altera SOCFPGA SoC glue layer support 173 This selects STi SoC glue layer support for the stmmac 185 This selects STM32 SoC glue layer support for the stmmac 196 This selects Allwinner SoC glue layer support for the 208 This selects Allwinner SoC glue layer support for the [all …]
|
/linux/Documentation/driver-api/usb/ |
A D | writing_musb_glue_layer.rst | 21 As a self-taught exercise I have written an MUSB glue layer for the 129 struct jz4740_glue *glue; 133 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); 134 if (!glue) 158 glue->dev = &pdev->dev; 159 glue->musb = musb; 160 glue->clk = clk; 193 platform_set_drvdata(pdev, glue); 324 struct jz4740_glue *glue = platform_get_drvdata(pdev); 326 platform_device_unregister(glue->musb); [all …]
|
/linux/arch/powerpc/crypto/ |
A D | Makefile | 17 aes-ppc-spe-y := aes-spe-core.o aes-spe-keys.o aes-tab-4k.o aes-spe-modes.o aes-spe-glue.o 18 md5-ppc-y := md5-asm.o md5-glue.o 20 sha1-ppc-spe-y := sha1-spe-asm.o sha1-spe-glue.o 21 sha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o
|
/linux/arch/arm64/ |
A D | built-in.a | 149 crypto/sha1-ce-glue.o/ 151 crypto/sha2-ce-glue.o/ 153 crypto/ghash-ce-glue.o/ 156 crypto/aes-ce-glue.o/ 157 crypto/aes-ce-ccm-glue.o/ 159 crypto/aes-glue-ce.o/ 161 crypto/sha256-glue.o/
|