Home
last modified time | relevance | path

Searched full:glue (Results 1 – 25 of 1001) sorted by relevance

12345678910>>...41

/kernel/linux/linux-5.10/drivers/usb/musb/
Dmediatek.c54 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->main = devm_clk_get(dev, "main"); in mtk_musb_clks_get()
59 if (IS_ERR(glue->main)) { in mtk_musb_clks_get()
61 return PTR_ERR(glue->main); in mtk_musb_clks_get()
64 glue->mcu = devm_clk_get(dev, "mcu"); in mtk_musb_clks_get()
65 if (IS_ERR(glue->mcu)) { in mtk_musb_clks_get()
67 return PTR_ERR(glue->mcu); in mtk_musb_clks_get()
70 glue->univpll = devm_clk_get(dev, "univpll"); in mtk_musb_clks_get()
71 if (IS_ERR(glue->univpll)) { in mtk_musb_clks_get()
[all …]
Dsunxi.c3 * 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 …]
Dmusb_dsps.c3 * Texas Instruments DSPS platforms "glue layer"
7 * Based on the am35x "glue layer" code.
100 * DSPS glue structure.
134 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()
171 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_musb_enable() local
[all …]
Domap2430.c62 struct omap2430_glue *glue = _glue; in omap2430_musb_mailbox() local
64 if (!glue) { in omap2430_musb_mailbox()
68 glue->status = status; in omap2430_musb_mailbox()
70 if (!glue_to_musb(glue)) { in omap2430_musb_mailbox()
75 schedule_work(&glue->omap_musb_mailbox_work); in omap2430_musb_mailbox()
87 static void omap_musb_set_mailbox(struct omap2430_glue *glue) in omap_musb_set_mailbox() argument
89 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox()
98 switch (glue->status) { in omap_musb_set_mailbox()
121 omap_control_usb_set_mode(glue->control_otghs, in omap_musb_set_mailbox()
134 omap_control_usb_set_mode(glue->control_otghs, USB_MODE_DEVICE); in omap_musb_set_mailbox()
[all …]
Dda8xx.c3 * 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 …]
Djz4740.c3 * 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()
110 glue->musb = musb; in jz4740_musb_init()
123 glue->role_sw = usb_role_switch_register(dev, &role_sw_desc); 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()
142 struct jz4740_glue *glue = dev_get_drvdata(musb->controller->parent); in jz4740_musb_exit() local
[all …]
/kernel/linux/linux-6.6/drivers/usb/musb/
Dmediatek.c55 static int mtk_musb_clks_get(struct mtk_glue *glue) in mtk_musb_clks_get() argument
57 struct device *dev = glue->dev; in mtk_musb_clks_get()
59 glue->clks[0].id = "main"; in mtk_musb_clks_get()
60 glue->clks[1].id = "mcu"; in mtk_musb_clks_get()
61 glue->clks[2].id = "univpll"; in mtk_musb_clks_get()
63 return devm_clk_bulk_get(dev, MTK_MUSB_CLKS_NUM, glue->clks); in mtk_musb_clks_get()
66 static int mtk_otg_switch_set(struct mtk_glue *glue, enum usb_role role) in mtk_otg_switch_set() argument
68 struct musb *musb = glue->musb; in mtk_otg_switch_set()
72 if (role == glue->role) in mtk_otg_switch_set()
78 glue->phy_mode = PHY_MODE_USB_HOST; in mtk_otg_switch_set()
[all …]
Dsunxi.c3 * Allwinner sun4i MUSB Glue Layer
99 struct sunxi_glue *glue = container_of(work, struct sunxi_glue, work); in sunxi_musb_work() local
102 if (!test_bit(SUNXI_MUSB_FL_ENABLED, &glue->flags)) in sunxi_musb_work()
105 if (test_and_clear_bit(SUNXI_MUSB_FL_HOSTMODE_PEND, &glue->flags)) { in sunxi_musb_work()
106 struct musb *musb = glue->musb; in sunxi_musb_work()
113 if (test_bit(SUNXI_MUSB_FL_HOSTMODE, &glue->flags)) { in sunxi_musb_work()
114 set_bit(SUNXI_MUSB_FL_VBUS_ON, &glue->flags); in sunxi_musb_work()
119 clear_bit(SUNXI_MUSB_FL_VBUS_ON, &glue->flags); in sunxi_musb_work()
129 vbus_on = test_bit(SUNXI_MUSB_FL_VBUS_ON, &glue->flags); in sunxi_musb_work()
130 phy_on = test_bit(SUNXI_MUSB_FL_PHY_ON, &glue->flags); in sunxi_musb_work()
[all …]
Dmusb_dsps.c3 * Texas Instruments DSPS platforms "glue layer"
7 * Based on the am35x "glue layer" code.
99 * DSPS glue structure.
133 static void dsps_mod_timer(struct dsps_glue *glue, int wait_ms) in dsps_mod_timer() argument
135 struct musb *musb = platform_get_drvdata(glue->musb); in dsps_mod_timer()
139 wait = msecs_to_jiffies(glue->wrp->poll_timeout); in dsps_mod_timer()
149 static void dsps_mod_timer_optional(struct dsps_glue *glue) in dsps_mod_timer_optional() argument
151 if (glue->vbus_irq) in dsps_mod_timer_optional()
154 dsps_mod_timer(glue, -1); in dsps_mod_timer_optional()
170 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_musb_enable() local
[all …]
Domap2430.c66 struct omap2430_glue *glue = _glue; in omap2430_musb_mailbox() local
68 if (!glue) { in omap2430_musb_mailbox()
72 glue->status = status; in omap2430_musb_mailbox()
74 if (!glue_to_musb(glue)) { in omap2430_musb_mailbox()
79 schedule_work(&glue->omap_musb_mailbox_work); in omap2430_musb_mailbox()
91 static void omap_musb_set_mailbox(struct omap2430_glue *glue) in omap_musb_set_mailbox() argument
93 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox()
102 switch (glue->status) { in omap_musb_set_mailbox()
125 omap_control_usb_set_mode(glue->control_otghs, in omap_musb_set_mailbox()
138 omap_control_usb_set_mode(glue->control_otghs, USB_MODE_DEVICE); in omap_musb_set_mailbox()
[all …]
Dda8xx.c3 * 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()
388 ret = phy_init(glue->phy); in da8xx_musb_init()
390 dev_err(glue->dev, "Failed to init phy.\n"); in da8xx_musb_init()
[all …]
/kernel/linux/linux-6.6/arch/arm64/crypto/
DMakefile9 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-neon-y := sm3-neon-glue.o sm3-neon-core.o
24 sm3-ce-y := sm3-ce-glue.o sm3-ce-core.o
27 sm4-ce-cipher-y := sm4-ce-cipher-glue.o sm4-ce-cipher-core.o
30 sm4-ce-y := sm4-ce-glue.o sm4-ce-core.o
33 sm4-ce-ccm-y := sm4-ce-ccm-glue.o sm4-ce-ccm-core.o
36 sm4-ce-gcm-y := sm4-ce-gcm-glue.o sm4-ce-gcm-core.o
[all …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
DMakefile9 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
30 crct10dif-ce-y := crct10dif-ce-core.o crct10dif-ce-glue.o
33 aes-ce-cipher-y := aes-ce-core.o aes-ce-glue.o
36 aes-ce-ccm-y := aes-ce-ccm-glue.o aes-ce-ccm-core.o
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/
Dspi.c92 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 …]
Dsdio.c45 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()
138 dev_err(glue->dev, "%s: failed to get_sync(%d)\n", in wl12xx_sdio_power_on()
157 static int wl12xx_sdio_power_off(struct wl12xx_sdio_glue *glue) in wl12xx_sdio_power_off() argument
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/socionext/
Dsocionext,uniphier-soc-glue.yaml4 $id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue.yaml#
7 title: Socionext UniPhier SoC-glue logic
13 SoC-glue logic implemented on Socionext UniPhier SoCs is a collection of
20 - socionext,uniphier-ld4-soc-glue
21 - socionext,uniphier-pro4-soc-glue
22 - socionext,uniphier-pro5-soc-glue
23 - socionext,uniphier-pxs2-soc-glue
24 - socionext,uniphier-sld8-soc-glue
25 - socionext,uniphier-ld11-soc-glue
26 - socionext,uniphier-ld20-soc-glue
[all …]
Dsocionext,uniphier-soc-glue-debug.yaml4 $id: http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue-debug.yaml#
7 title: Socionext UniPhier SoC-glue logic debug part
13 SoC-glue logic debug part implemented on Socionext UniPhier SoCs is
21 - socionext,uniphier-ld4-soc-glue-debug
22 - socionext,uniphier-pro4-soc-glue-debug
23 - socionext,uniphier-pro5-soc-glue-debug
24 - socionext,uniphier-pxs2-soc-glue-debug
25 - socionext,uniphier-sld8-soc-glue-debug
26 - socionext,uniphier-ld11-soc-glue-debug
27 - socionext,uniphier-ld20-soc-glue-debug
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/
Dspi.c91 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_reset() local
112 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_reset()
119 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_init() local
122 struct spi_device *spi = to_spi_device(glue->dev); in wl12xx_spi_init()
167 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init()
186 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init()
197 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_read_busy() local
219 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_read_busy()
233 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_raw_read() local
270 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_read()
[all …]
Dsdio.c45 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 …]
/kernel/linux/linux-5.10/lib/
Dcpu_rmap.c211 /* 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 if (glue) in free_irq_cpu_rmap()
236 irq_set_affinity_notifier(glue->notify.irq, NULL); in free_irq_cpu_rmap()
253 struct irq_glue *glue = in irq_cpu_rmap_notify() local
257 rc = cpu_rmap_update(glue->rmap, glue->index, mask); in irq_cpu_rmap_notify()
268 struct irq_glue *glue = in irq_cpu_rmap_release() local
271 glue->rmap->obj[glue->index] = NULL; in irq_cpu_rmap_release()
272 cpu_rmap_put(glue->rmap); in irq_cpu_rmap_release()
[all …]
/kernel/linux/linux-6.6/arch/arm/crypto/
DMakefile26 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 …]
/kernel/linux/linux-6.6/lib/
Dcpu_rmap.c223 /* Glue between IRQ affinity notifiers and CPU rmaps */
239 struct irq_glue *glue; in free_irq_cpu_rmap() local
246 glue = rmap->obj[index]; in free_irq_cpu_rmap()
247 if (glue) in free_irq_cpu_rmap()
248 irq_set_affinity_notifier(glue->notify.irq, NULL); in free_irq_cpu_rmap()
265 struct irq_glue *glue = in irq_cpu_rmap_notify() local
269 rc = cpu_rmap_update(glue->rmap, glue->index, mask); in irq_cpu_rmap_notify()
280 struct irq_glue *glue = in irq_cpu_rmap_release() local
283 glue->rmap->obj[glue->index] = NULL; in irq_cpu_rmap_release()
284 cpu_rmap_put(glue->rmap); in irq_cpu_rmap_release()
[all …]
/kernel/linux/linux-5.10/arch/arm/crypto/
DMakefile24 aes-arm-y := aes-cipher-core.o aes-cipher-glue.o
25 aes-arm-bs-y := aes-neonbs-core.o aes-neonbs-glue.o
30 sha512-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := sha512-neon-glue.o
31 sha512-arm-y := sha512-core.o sha512-glue.o $(sha512-arm-neon-y)
32 sha1-arm-ce-y := sha1-ce-core.o sha1-ce-glue.o
33 sha2-arm-ce-y := sha2-ce-core.o sha2-ce-glue.o
34 aes-arm-ce-y := aes-ce-core.o aes-ce-glue.o
35 ghash-arm-ce-y := ghash-ce-core.o ghash-ce-glue.o
36 crct10dif-arm-ce-y := crct10dif-ce-core.o crct10dif-ce-glue.o
37 crc32-arm-ce-y:= crc32-ce-core.o crc32-ce-glue.o
[all …]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/brcmnand/
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
/kernel/linux/linux-5.10/drivers/gpu/drm/i2c/
Dtda9950.c66 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 …]

12345678910>>...41