Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/usb/musb/
Dsunxi.c92 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()
127 phy_power_on(glue->phy); in sunxi_musb_work()
[all …]
Dmusb_dsps.c134 static void dsps_mod_timer(struct dsps_glue *glue, int wait_ms) in dsps_mod_timer() argument
136 struct musb *musb = platform_get_drvdata(glue->musb); in dsps_mod_timer()
140 wait = msecs_to_jiffies(glue->wrp->poll_timeout); in dsps_mod_timer()
150 static void dsps_mod_timer_optional(struct dsps_glue *glue) in dsps_mod_timer_optional() argument
152 if (glue->vbus_irq) in dsps_mod_timer_optional()
155 dsps_mod_timer(glue, -1); in dsps_mod_timer_optional()
172 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_enable() local
173 const struct dsps_musb_wrapper *wrp = glue->wrp; in dsps_musb_enable()
187 dsps_mod_timer(glue, -1); in dsps_musb_enable()
197 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_disable() local
[all …]
Domap2430.c125 struct omap2430_glue *glue = _glue; in omap2430_musb_mailbox() local
127 if (!glue) { in omap2430_musb_mailbox()
131 glue->status = status; in omap2430_musb_mailbox()
133 if (!glue_to_musb(glue)) { in omap2430_musb_mailbox()
138 schedule_work(&glue->omap_musb_mailbox_work); in omap2430_musb_mailbox()
143 static void omap_musb_set_mailbox(struct omap2430_glue *glue) in omap_musb_set_mailbox() argument
145 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox()
151 switch (glue->status) { in omap_musb_set_mailbox()
158 omap_control_usb_set_mode(glue->control_otghs, in omap_musb_set_mailbox()
169 omap_control_usb_set_mode(glue->control_otghs, USB_MODE_DEVICE); in omap_musb_set_mailbox()
[all …]
Dda8xx.c327 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()
392 ret = phy_power_on(glue->phy); in da8xx_musb_init()
394 dev_err(glue->dev, "Failed to power on phy.\n"); in da8xx_musb_init()
[all …]
Dam35x.c447 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()
492 ret = PTR_ERR(glue->phy); in am35x_probe()
495 platform_set_drvdata(pdev, glue); in am35x_probe()
[all …]
Djz4740.c115 struct jz4740_glue *glue; in jz4740_probe() local
119 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in jz4740_probe()
120 if (!glue) in jz4740_probe()
144 glue->dev = &pdev->dev; in jz4740_probe()
145 glue->musb = musb; in jz4740_probe()
146 glue->clk = clk; in jz4740_probe()
150 platform_set_drvdata(pdev, glue); in jz4740_probe()
182 struct jz4740_glue *glue = platform_get_drvdata(pdev); in jz4740_remove() local
184 platform_device_unregister(glue->musb); in jz4740_remove()
186 clk_disable_unprepare(glue->clk); in jz4740_remove()
Dux500.c223 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()
322 struct ux500_glue *glue = platform_get_drvdata(pdev); in ux500_remove() local
324 platform_device_unregister(glue->musb); in ux500_remove()
325 clk_disable_unprepare(glue->clk); in ux500_remove()
[all …]
Ddavinci.c499 struct davinci_glue *glue; in davinci_probe() local
505 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in davinci_probe()
506 if (!glue) in davinci_probe()
522 glue->dev = &pdev->dev; in davinci_probe()
523 glue->clk = clk; in davinci_probe()
528 platform_set_drvdata(pdev, glue); in davinci_probe()
559 glue->musb = musb = platform_device_register_full(&pinfo); in davinci_probe()
577 struct davinci_glue *glue = platform_get_drvdata(pdev); in davinci_remove() local
579 platform_device_unregister(glue->musb); in davinci_remove()
581 clk_disable(glue->clk); in davinci_remove()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dspi.c106 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_reset() local
127 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_reset()
134 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_init() local
137 struct spi_device *spi = to_spi_device(glue->dev); in wl12xx_spi_init()
182 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init()
201 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init()
212 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_read_busy() local
234 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_read_busy()
248 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_raw_read() local
285 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_read()
[all …]
Dsdio.c67 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl1271_sdio_set_block_size() local
68 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl1271_sdio_set_block_size()
79 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_read() local
80 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_read()
117 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_write() local
118 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_write()
151 static int wl12xx_sdio_power_on(struct wl12xx_sdio_glue *glue) in wl12xx_sdio_power_on() argument
154 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_power_on()
160 dev_err(glue->dev, "%s: failed to get_sync(%d)\n", in wl12xx_sdio_power_on()
173 static int wl12xx_sdio_power_off(struct wl12xx_sdio_glue *glue) in wl12xx_sdio_power_off() argument
[all …]
/Linux-v4.19/arch/arm64/crypto/
DMakefile12 sha1-ce-y := sha1-ce-glue.o sha1-ce-core.o
15 sha2-ce-y := sha2-ce-glue.o sha2-ce-core.o
18 sha512-ce-y := sha512-ce-glue.o sha512-ce-core.o
21 sha3-ce-y := sha3-ce-glue.o sha3-ce-core.o
24 sm3-ce-y := sm3-ce-glue.o sm3-ce-core.o
27 sm4-ce-y := sm4-ce-glue.o sm4-ce-core.o
30 ghash-ce-y := ghash-ce-glue.o ghash-ce-core.o
33 crct10dif-ce-y := crct10dif-ce-core.o crct10dif-ce-glue.o
36 crc32-ce-y:= crc32-ce-core.o crc32-ce-glue.o
39 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o
[all …]
/Linux-v4.19/lib/
Dcpu_rmap.c230 struct irq_glue *glue; in free_irq_cpu_rmap() local
237 glue = rmap->obj[index]; in free_irq_cpu_rmap()
238 irq_set_affinity_notifier(glue->notify.irq, NULL); in free_irq_cpu_rmap()
255 struct irq_glue *glue = in irq_cpu_rmap_notify() local
259 rc = cpu_rmap_update(glue->rmap, glue->index, mask); in irq_cpu_rmap_notify()
270 struct irq_glue *glue = in irq_cpu_rmap_release() local
273 cpu_rmap_put(glue->rmap); in irq_cpu_rmap_release()
274 kfree(glue); in irq_cpu_rmap_release()
290 struct irq_glue *glue = kzalloc(sizeof(*glue), GFP_KERNEL); in irq_cpu_rmap_add() local
293 if (!glue) in irq_cpu_rmap_add()
[all …]
/Linux-v4.19/drivers/gpu/drm/i2c/
Dtda9950.c69 struct tda9950_glue *glue; member
265 if (priv->glue && priv->glue->open) in tda9950_glue_open()
266 ret = priv->glue->open(priv->glue->data); in tda9950_glue_open()
277 if (priv->glue && priv->glue->release) in tda9950_glue_release()
278 priv->glue->release(priv->glue->data); in tda9950_glue_release()
351 struct tda9950_glue *glue = data; in tda9950_devm_glue_exit() local
353 if (glue && glue->exit) in tda9950_devm_glue_exit()
354 glue->exit(glue->data); in tda9950_devm_glue_exit()
357 static int tda9950_devm_glue_init(struct device *dev, struct tda9950_glue *glue) in tda9950_devm_glue_init() argument
361 if (glue && glue->init) { in tda9950_devm_glue_init()
[all …]
/Linux-v4.19/drivers/usb/dwc2/
Dpci.c88 struct dwc2_pci_glue *glue = pci_get_drvdata(pci); in dwc2_pci_remove() local
90 platform_device_unregister(glue->dwc2); in dwc2_pci_remove()
91 usb_phy_generic_unregister(glue->phy); in dwc2_pci_remove()
103 struct dwc2_pci_glue *glue; in dwc2_pci_probe() local
149 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in dwc2_pci_probe()
150 if (!glue) { in dwc2_pci_probe()
161 glue->phy = phy; in dwc2_pci_probe()
162 glue->dwc2 = dwc2; in dwc2_pci_probe()
163 pci_set_drvdata(pci, glue); in dwc2_pci_probe()
/Linux-v4.19/drivers/usb/gadget/udc/bdc/
Dbdc_pci.c45 struct bdc_pci *glue; in bdc_pci_probe() local
48 glue = devm_kzalloc(&pci->dev, sizeof(*glue), GFP_KERNEL); in bdc_pci_probe()
49 if (!glue) in bdc_pci_probe()
52 glue->dev = &pci->dev; in bdc_pci_probe()
84 pci_set_drvdata(pci, glue); in bdc_pci_probe()
91 glue->bdc = bdc; in bdc_pci_probe()
105 struct bdc_pci *glue = pci_get_drvdata(pci); in bdc_pci_remove() local
107 platform_device_unregister(glue->bdc); in bdc_pci_remove()
/Linux-v4.19/arch/arm/crypto/
DMakefile42 aes-arm-y := aes-cipher-core.o aes-cipher-glue.o
43 aes-arm-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
48 sha512-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := sha512-neon-glue.o
49 sha512-arm-y := sha512-core.o sha512-glue.o $(sha512-arm-neon-y)
50 sha1-arm-ce-y := sha1-ce-core.o sha1-ce-glue.o
51 sha2-arm-ce-y := sha2-ce-core.o sha2-ce-glue.o
52 aes-arm-ce-y := aes-ce-core.o aes-ce-glue.o
53 ghash-arm-ce-y := ghash-ce-core.o ghash-ce-glue.o
54 crct10dif-arm-ce-y := crct10dif-ce-core.o crct10dif-ce-glue.o
55 crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue.o
[all …]
/Linux-v4.19/drivers/input/
Djoydev.c52 struct JS_DATA_SAVE_TYPE glue; member
361 data.x = (joydev->abs[0] / 256 + 128) >> joydev->glue.JS_CORR.x; in joydev_0x_read()
362 data.y = (joydev->abs[1] / 256 + 128) >> joydev->glue.JS_CORR.y; in joydev_0x_read()
524 return copy_from_user(&joydev->glue.JS_CORR, argp, in joydev_ioctl_common()
525 sizeof(joydev->glue.JS_CORR)) ? -EFAULT : 0; in joydev_ioctl_common()
528 return copy_to_user(argp, &joydev->glue.JS_CORR, in joydev_ioctl_common()
529 sizeof(joydev->glue.JS_CORR)) ? -EFAULT : 0; in joydev_ioctl_common()
532 return get_user(joydev->glue.JS_TIMEOUT, (s32 __user *) argp); in joydev_ioctl_common()
535 return put_user(joydev->glue.JS_TIMEOUT, (s32 __user *) argp); in joydev_ioctl_common()
621 joydev->glue.JS_TIMELIMIT = tmp32; in joydev_compat_ioctl()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/usb/
Ddwc3-st.txt1 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-v4.19/arch/powerpc/crypto/
DMakefile17 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-v4.19/Documentation/devicetree/bindings/regulator/
Duniphier-regulator.txt9 This regulator controls VBUS and belongs to USB3 glue layer. Before using
20 - clocks: A list of phandles to the clock gate for USB3 glue layer.
25 - resets: A list of phandles to the reset control for USB3 glue layer.
36 usb-glue@65b00000 {
37 compatible = "socionext,uniphier-ld20-dwc3-glue",
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
DKconfig55 This selects the Anarion SoC glue layer support for the stmmac driver.
65 This selects the IPQ806x SoC glue layer support for the stmmac
85 This selects the Amlogic Meson SoC glue layer support for
97 This selects the Oxford Semiconductor OXNASSoC glue layer support for
108 This selects the Rockchip RK3288 SoC glue layer support for
119 This selects the Altera SOCFPGA SoC glue layer support
131 This selects STi SoC glue layer support for the stmmac
143 This selects STM32 SoC glue layer support for the stmmac
154 This selects Allwinner SoC glue layer support for the
166 This selects Allwinner SoC glue layer support for the
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dstm32-dwmac.txt1 STMicroelectronics STM32 / MCU DWMAC glue layer controller
3 This file documents platform glue layer for stmmac.
9 - compatible: For MCU family should be "st,stm32-dwmac" to select glue, and
12 glue, and "snps,dwmac-4.20a" to select IP version.
24 encompases the glue register, and the offset of the control register.
/Linux-v4.19/Documentation/driver-api/usb/
Dwriting_musb_glue_layer.rst21 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.
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::
92 device supported by this glue layer. In the current case it matches a
96 In order to register itself to the controller driver, the glue layer
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/nvmem/
Duniphier-efuse.txt3 This UniPhier eFuse must be under soc-glue.
15 soc-glue@5f900000 {
16 compatible = "socionext,uniphier-ld20-soc-glue-debug",
/Linux-v4.19/arch/x86/crypto/
DMakefile83 aegis128-aesni-y := aegis128-aesni-asm.o aegis128-aesni-glue.o
84 aegis128l-aesni-y := aegis128l-aesni-asm.o aegis128l-aesni-glue.o
85 aegis256-aesni-y := aegis256-aesni-asm.o aegis256-aesni-glue.o
87 morus640-sse2-y := morus640-sse2-asm.o morus640-sse2-glue.o
88 morus1280-sse2-y := morus1280-sse2-asm.o morus1280-sse2-glue.o
106 morus1280-avx2-y := morus1280-avx2-asm.o morus1280-avx2-glue.o

12345