/Linux-v6.1/drivers/usb/musb/ |
D | mediatek.c | 54 static int mtk_musb_clks_get(struct mtk_glue *glue) in mtk_musb_clks_get() argument 56 struct device *dev = glue->dev; in mtk_musb_clks_get() 58 glue->clks[0].id = "main"; in mtk_musb_clks_get() 59 glue->clks[1].id = "mcu"; in mtk_musb_clks_get() 60 glue->clks[2].id = "univpll"; in mtk_musb_clks_get() 62 return devm_clk_bulk_get(dev, MTK_MUSB_CLKS_NUM, glue->clks); in mtk_musb_clks_get() 65 static int mtk_otg_switch_set(struct mtk_glue *glue, enum usb_role role) in mtk_otg_switch_set() argument 67 struct musb *musb = glue->musb; in mtk_otg_switch_set() 71 if (role == glue->role) in mtk_otg_switch_set() 77 glue->phy_mode = PHY_MODE_USB_HOST; in mtk_otg_switch_set() [all …]
|
D | sunxi.c | 3 * Allwinner sun4i MUSB Glue Layer 92 struct sunxi_glue *glue = container_of(work, struct sunxi_glue, work); in sunxi_musb_work() local 95 if (!test_bit(SUNXI_MUSB_FL_ENABLED, &glue->flags)) in sunxi_musb_work() 98 if (test_and_clear_bit(SUNXI_MUSB_FL_HOSTMODE_PEND, &glue->flags)) { in sunxi_musb_work() 99 struct musb *musb = glue->musb; in sunxi_musb_work() 106 if (test_bit(SUNXI_MUSB_FL_HOSTMODE, &glue->flags)) { in sunxi_musb_work() 107 set_bit(SUNXI_MUSB_FL_VBUS_ON, &glue->flags); in sunxi_musb_work() 112 clear_bit(SUNXI_MUSB_FL_VBUS_ON, &glue->flags); in sunxi_musb_work() 122 vbus_on = test_bit(SUNXI_MUSB_FL_VBUS_ON, &glue->flags); in sunxi_musb_work() 123 phy_on = test_bit(SUNXI_MUSB_FL_PHY_ON, &glue->flags); in sunxi_musb_work() [all …]
|
D | musb_dsps.c | 3 * Texas Instruments DSPS platforms "glue layer" 7 * Based on the am35x "glue layer" code. 101 * DSPS glue structure. 135 static void dsps_mod_timer(struct dsps_glue *glue, int wait_ms) in dsps_mod_timer() argument 137 struct musb *musb = platform_get_drvdata(glue->musb); in dsps_mod_timer() 141 wait = msecs_to_jiffies(glue->wrp->poll_timeout); in dsps_mod_timer() 151 static void dsps_mod_timer_optional(struct dsps_glue *glue) in dsps_mod_timer_optional() argument 153 if (glue->vbus_irq) in dsps_mod_timer_optional() 156 dsps_mod_timer(glue, -1); in dsps_mod_timer_optional() 172 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_musb_enable() local [all …]
|
D | omap2430.c | 65 struct omap2430_glue *glue = _glue; in omap2430_musb_mailbox() local 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() 78 schedule_work(&glue->omap_musb_mailbox_work); in omap2430_musb_mailbox() 90 static void omap_musb_set_mailbox(struct omap2430_glue *glue) in omap_musb_set_mailbox() argument 92 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox() 101 switch (glue->status) { in omap_musb_set_mailbox() 124 omap_control_usb_set_mode(glue->control_otghs, in omap_musb_set_mailbox() 137 omap_control_usb_set_mode(glue->control_otghs, USB_MODE_DEVICE); in omap_musb_set_mailbox() [all …]
|
D | da8xx.c | 3 * Texas Instruments DA8xx/OMAP-L1x "glue layer" 7 * Based on the DaVinci "glue layer" code. 327 struct da8xx_glue *glue = dev_get_drvdata(musb->controller->parent); in da8xx_musb_set_mode() local 335 return phy_set_mode(glue->phy, PHY_MODE_USB_OTG); in da8xx_musb_set_mode() 351 return phy_set_mode(glue->phy, phy_mode); in da8xx_musb_set_mode() 356 struct da8xx_glue *glue = dev_get_drvdata(musb->controller->parent); in da8xx_musb_init() local 363 ret = clk_prepare_enable(glue->clk); in da8xx_musb_init() 365 dev_err(glue->dev, "failed to enable clock\n"); in da8xx_musb_init() 386 ret = phy_init(glue->phy); in da8xx_musb_init() 388 dev_err(glue->dev, "Failed to init phy.\n"); in da8xx_musb_init() [all …]
|
D | jz4740.c | 3 * Ingenic JZ4740 "glue layer" 81 struct jz4740_glue *glue = usb_role_switch_get_drvdata(sw); in jz4740_musb_role_switch_set() local 82 struct usb_phy *phy = glue->musb->xceiv; in jz4740_musb_role_switch_set() 102 struct jz4740_glue *glue = dev_get_drvdata(dev); in jz4740_musb_init() local 105 .driver_data = glue, in jz4740_musb_init() 109 glue->musb = musb; in jz4740_musb_init() 119 glue->role_sw = usb_role_switch_register(dev, &role_sw_desc); in jz4740_musb_init() 120 if (IS_ERR(glue->role_sw)) { in jz4740_musb_init() 122 return PTR_ERR(glue->role_sw); in jz4740_musb_init() 138 struct jz4740_glue *glue = dev_get_drvdata(musb->controller->parent); in jz4740_musb_exit() local [all …]
|
D | mpfs.c | 3 * PolarFire SoC (MPFS) MUSB Glue Layer 145 struct mpfs_glue *glue; in mpfs_probe() local 151 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in mpfs_probe() 152 if (!glue) in mpfs_probe() 179 glue->dev = dev; in mpfs_probe() 180 glue->musb = musb_pdev; in mpfs_probe() 181 glue->clk = clk; in mpfs_probe() 198 glue->phy = usb_phy_generic_register(); in mpfs_probe() 199 if (IS_ERR(glue->phy)) { in mpfs_probe() 201 PTR_ERR(glue->phy)); in mpfs_probe() [all …]
|
D | am35x.c | 4 * Texas Instruments AM35x "glue layer" 8 * Based on the DA8xx "glue layer" code. 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() 484 glue->dev = &pdev->dev; in am35x_probe() 485 glue->phy_clk = phy_clk; in am35x_probe() 486 glue->clk = clk; in am35x_probe() 490 glue->phy = usb_phy_generic_register(); in am35x_probe() 491 if (IS_ERR(glue->phy)) { in am35x_probe() [all …]
|
D | ux500.c | 222 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() 308 struct ux500_glue *glue = platform_get_drvdata(pdev); in ux500_remove() local 310 platform_device_unregister(glue->musb); in ux500_remove() 311 clk_disable_unprepare(glue->clk); in ux500_remove() [all …]
|
D | davinci.c | 143 struct davinci_glue *glue = container_of(work, struct davinci_glue, in evm_deferred_drvvbus() local 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() 153 struct davinci_glue *glue = dev_get_drvdata(musb->controller->parent); in davinci_musb_source_power() local 156 if (!glue->vbus) in davinci_musb_source_power() 162 if (glue->vbus_state == is_on) 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() 171 schedule_work(&glue->vbus_work); in davinci_musb_source_power() 174 glue->vbus_state = is_on; in davinci_musb_source_power() [all …]
|
/Linux-v6.1/arch/arm64/crypto/ |
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-cipher-y := sm4-ce-cipher-glue.o sm4-ce-cipher-core.o 27 sm4-ce-y := sm4-ce-glue.o sm4-ce-core.o 30 sm4-neon-y := sm4-neon-glue.o sm4-neon-core.o 33 ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o 36 polyval-ce-y := polyval-ce-glue.o polyval-ce-core.o [all …]
|
/Linux-v6.1/drivers/net/wireless/ti/wlcore/ |
D | spi.c | 92 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_reset() local 113 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_reset() 120 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_init() local 123 struct spi_device *spi = to_spi_device(glue->dev); in wl12xx_spi_init() 168 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init() 187 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init() 198 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_read_busy() local 220 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_read_busy() 234 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_raw_read() local 271 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_read() [all …]
|
D | sdio.c | 45 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl1271_sdio_set_block_size() local 46 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl1271_sdio_set_block_size() 57 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_read() local 58 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_read() 95 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_write() local 96 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_write() 129 static int wl12xx_sdio_power_on(struct wl12xx_sdio_glue *glue) in wl12xx_sdio_power_on() argument 132 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_power_on() 137 dev_err(glue->dev, "%s: failed to get_sync(%d)\n", in wl12xx_sdio_power_on() 156 static int wl12xx_sdio_power_off(struct wl12xx_sdio_glue *glue) in wl12xx_sdio_power_off() argument [all …]
|
/Linux-v6.1/arch/arm/crypto/ |
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 32 sha512-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := sha512-neon-glue.o 33 sha512-arm-y := sha512-core.o sha512-glue.o $(sha512-arm-neon-y) 34 libblake2s-arm-y:= blake2s-core.o blake2s-glue.o 35 blake2b-neon-y := blake2b-neon-core.o blake2b-neon-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 [all …]
|
/Linux-v6.1/drivers/gpu/drm/i2c/ |
D | tda9950.c | 66 struct tda9950_glue *glue; member 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() 348 struct tda9950_glue *glue = data; in tda9950_devm_glue_exit() local 350 if (glue && glue->exit) in tda9950_devm_glue_exit() 351 glue->exit(glue->data); in tda9950_devm_glue_exit() 354 static int tda9950_devm_glue_init(struct device *dev, struct tda9950_glue *glue) in tda9950_devm_glue_init() argument 358 if (glue && glue->init) { in tda9950_devm_glue_init() [all …]
|
/Linux-v6.1/drivers/mtd/nand/raw/brcmnand/ |
D | Kconfig | 13 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
|
/Linux-v6.1/lib/ |
D | cpu_rmap.c | 211 /* Glue between IRQ affinity notifiers and CPU rmaps */ 227 struct irq_glue *glue; in free_irq_cpu_rmap() local 234 glue = rmap->obj[index]; in free_irq_cpu_rmap() 235 irq_set_affinity_notifier(glue->notify.irq, NULL); 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 270 cpu_rmap_put(glue->rmap); in irq_cpu_rmap_release() 271 kfree(glue); in irq_cpu_rmap_release() 287 struct irq_glue *glue = kzalloc(sizeof(*glue), GFP_KERNEL); in irq_cpu_rmap_add() local [all …]
|
/Linux-v6.1/Documentation/driver-api/usb/ |
D | writing_musb_glue_layer.rst | 2 Writing a MUSB Glue Layer 21 As a self-taught exercise I have written an MUSB glue layer for the 22 Ingenic JZ4740 SoC, modelled after the many MUSB glue layers in the 25 basics of the ``jz4740.c`` glue layer, explaining the different pieces and 26 what needs to be done in order to write your own device glue layer. 61 | aka "Glue Layer" | 68 As outlined above, the glue layer is actually the platform specific code 72 subsystem, the MUSB glue layer needs first to register itself with the 74 about which device the glue layer supports and which functions to call 80 a :c:type:`platform_driver` structure defined in the glue layer as:: [all …]
|
/Linux-v6.1/drivers/usb/dwc2/ |
D | pci.c | 44 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() 146 MODULE_DESCRIPTION("DESIGNWARE HS OTG PCI Bus Glue");
|
/Linux-v6.1/drivers/net/ethernet/stmicro/stmmac/ |
D | Kconfig | 67 This selects the Anarion SoC glue layer support for the stmmac driver. 77 This selects Ingenic SoCs glue layer support for the stmmac 89 This selects the IPQ806x SoC glue layer support for the stmmac 120 This selects the Amlogic Meson SoC glue layer support for 132 This selects the Oxford Semiconductor OXNASSoC glue layer support for 142 This selects the Qualcomm ETHQOS glue layer support for the 153 This selects the Rockchip RK3288 SoC glue layer support for 164 This selects the Altera SOCFPGA SoC glue layer support 176 This selects STi SoC glue layer support for the stmmac 188 This selects STM32 SoC glue layer support for the stmmac [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
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";
|
D | omap-usb.txt | 1 OMAP GLUE AND OTHER OMAP SPECIFIC COMPONENTS 3 OMAP MUSB GLUE 24 - ctrl-module : phandle of the control module this glue uses to write to 46 OMAP DWC3 GLUE 65 The dwc3 core should be added as subnode to omap dwc3 glue.
|
/Linux-v6.1/drivers/usb/chipidea/ |
D | Kconfig | 37 tristate "Enable PCI glue driver" if EXPERT 43 tristate "Enable MSM hsusb glue driver" if EXPERT 47 tristate "Enable i.MX USB glue driver" if EXPERT 52 tristate "Enable generic USB2 glue driver" if EXPERT 56 tristate "Enable Tegra USB glue driver" if EXPERT
|
/Linux-v6.1/drivers/input/ |
D | joydev.c | 47 struct JS_DATA_SAVE_TYPE glue; member 356 data.x = (joydev->abs[0] / 256 + 128) >> joydev->glue.JS_CORR.x; in joydev_0x_read() 357 data.y = (joydev->abs[1] / 256 + 128) >> joydev->glue.JS_CORR.y; in joydev_0x_read() 522 return copy_from_user(&joydev->glue.JS_CORR, argp, in joydev_ioctl_common() 523 sizeof(joydev->glue.JS_CORR)) ? -EFAULT : 0; in joydev_ioctl_common() 526 return copy_to_user(argp, &joydev->glue.JS_CORR, in joydev_ioctl_common() 527 sizeof(joydev->glue.JS_CORR)) ? -EFAULT : 0; in joydev_ioctl_common() 530 return get_user(joydev->glue.JS_TIMEOUT, (s32 __user *) argp); in joydev_ioctl_common() 533 return put_user(joydev->glue.JS_TIMEOUT, (s32 __user *) argp); in joydev_ioctl_common() 619 joydev->glue.JS_TIMELIMIT = tmp32; in joydev_compat_ioctl() [all …]
|
/Linux-v6.1/arch/powerpc/crypto/ |
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
|