Home
last modified time | relevance | path

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

/drivers/net/wireless/ti/wlcore/
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()
179 static int wl12xx_sdio_power_off(struct wl12xx_sdio_glue *glue) in wl12xx_sdio_power_off() argument
182 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_power_off()
[all …]
Dspi.c88 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_reset() local
109 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_reset()
116 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_init() local
162 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_init()
170 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_read_busy() local
192 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_read_busy()
206 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_raw_read() local
243 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_read()
259 spi_sync(to_spi_device(glue->dev), &m); in wl12xx_spi_raw_read()
273 struct wl12xx_spi_glue *glue = dev_get_drvdata(child->parent); in wl12xx_spi_raw_write() local
[all …]
/drivers/usb/musb/
Dmusb_dsps.c175 struct dsps_glue *glue = dev_get_drvdata(dev->parent); in dsps_musb_try_idle() local
185 del_timer(&glue->timer); in dsps_musb_try_idle()
186 glue->last_timer = jiffies; in dsps_musb_try_idle()
195 if (time_after(glue->last_timer, timeout) && in dsps_musb_try_idle()
196 timer_pending(&glue->timer)) { in dsps_musb_try_idle()
201 glue->last_timer = timeout; in dsps_musb_try_idle()
206 mod_timer(&glue->timer, timeout); in dsps_musb_try_idle()
216 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_enable() local
217 const struct dsps_musb_wrapper *wrp = glue->wrp; in dsps_musb_enable()
241 struct dsps_glue *glue = platform_get_drvdata(pdev); in dsps_musb_disable() local
[all …]
Domap2430.c238 struct omap2430_glue *glue = _glue; in omap_musb_mailbox() local
240 if (!glue) { in omap_musb_mailbox()
244 glue->status = status; in omap_musb_mailbox()
246 if (!glue_to_musb(glue)) { in omap_musb_mailbox()
251 schedule_work(&glue->omap_musb_mailbox_work); in omap_musb_mailbox()
255 static void omap_musb_set_mailbox(struct omap2430_glue *glue) in omap_musb_set_mailbox() argument
257 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox()
263 switch (glue->status) { in omap_musb_set_mailbox()
272 omap_control_usb_set_mode(glue->control_otghs, in omap_musb_set_mailbox()
286 omap_control_usb_set_mode(glue->control_otghs, USB_MODE_DEVICE); in omap_musb_set_mailbox()
[all …]
Dam35x.c463 struct am35x_glue *glue; in am35x_probe() local
470 glue = kzalloc(sizeof(*glue), GFP_KERNEL); in am35x_probe()
471 if (!glue) { in am35x_probe()
502 glue->dev = &pdev->dev; in am35x_probe()
503 glue->phy_clk = phy_clk; in am35x_probe()
504 glue->clk = clk; in am35x_probe()
508 glue->phy = usb_phy_generic_register(); in am35x_probe()
509 if (IS_ERR(glue->phy)) in am35x_probe()
511 platform_set_drvdata(pdev, glue); in am35x_probe()
520 glue->musb = musb = platform_device_register_full(&pinfo); in am35x_probe()
[all …]
Dux500.c232 struct ux500_glue *glue; in ux500_probe() local
249 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in ux500_probe()
250 if (!glue) { in ux500_probe()
278 glue->dev = &pdev->dev; in ux500_probe()
279 glue->musb = musb; in ux500_probe()
280 glue->clk = clk; in ux500_probe()
285 platform_set_drvdata(pdev, glue); in ux500_probe()
333 struct ux500_glue *glue = platform_get_drvdata(pdev); in ux500_remove() local
335 platform_device_unregister(glue->musb); in ux500_remove()
336 clk_disable_unprepare(glue->clk); in ux500_remove()
[all …]
Djz4740.c117 struct jz4740_glue *glue; in jz4740_probe() local
121 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in jz4740_probe()
122 if (!glue) in jz4740_probe()
146 glue->dev = &pdev->dev; in jz4740_probe()
147 glue->musb = musb; in jz4740_probe()
148 glue->clk = clk; in jz4740_probe()
152 platform_set_drvdata(pdev, glue); in jz4740_probe()
184 struct jz4740_glue *glue = platform_get_drvdata(pdev); in jz4740_remove() local
186 platform_device_unregister(glue->musb); in jz4740_remove()
188 clk_disable_unprepare(glue->clk); in jz4740_remove()
Dda8xx.c492 struct da8xx_glue *glue; in da8xx_probe() local
498 glue = kzalloc(sizeof(*glue), GFP_KERNEL); in da8xx_probe()
499 if (!glue) { in da8xx_probe()
517 glue->dev = &pdev->dev; in da8xx_probe()
518 glue->clk = clk; in da8xx_probe()
522 glue->phy = usb_phy_generic_register(); in da8xx_probe()
523 if (IS_ERR(glue->phy)) { in da8xx_probe()
524 ret = PTR_ERR(glue->phy); in da8xx_probe()
527 platform_set_drvdata(pdev, glue); in da8xx_probe()
549 glue->musb = musb = platform_device_register_full(&pinfo); in da8xx_probe()
[all …]
Dblackfin.c454 struct bfin_glue *glue; in bfin_probe() local
458 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in bfin_probe()
459 if (!glue) { in bfin_probe()
474 glue->dev = &pdev->dev; in bfin_probe()
475 glue->musb = musb; in bfin_probe()
479 glue->phy = usb_phy_generic_register(); in bfin_probe()
480 if (IS_ERR(glue->phy)) in bfin_probe()
482 platform_set_drvdata(pdev, glue); in bfin_probe()
519 usb_phy_generic_unregister(glue->phy); in bfin_probe()
530 struct bfin_glue *glue = platform_get_drvdata(pdev); in bfin_remove() local
[all …]
Ddavinci.c516 struct davinci_glue *glue; in davinci_probe() local
522 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in davinci_probe()
523 if (!glue) { in davinci_probe()
541 glue->dev = &pdev->dev; in davinci_probe()
542 glue->clk = clk; in davinci_probe()
547 platform_set_drvdata(pdev, glue); in davinci_probe()
578 glue->musb = musb = platform_device_register_full(&pinfo); in davinci_probe()
596 struct davinci_glue *glue = platform_get_drvdata(pdev); in davinci_remove() local
598 platform_device_unregister(glue->musb); in davinci_remove()
600 clk_disable(glue->clk); in davinci_remove()
Dtusb6010.c1162 struct tusb6010_glue *glue; in tusb_probe() local
1166 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in tusb_probe()
1167 if (!glue) { in tusb_probe()
1172 glue->dev = &pdev->dev; in tusb_probe()
1177 platform_set_drvdata(pdev, glue); in tusb_probe()
1204 glue->musb = musb = platform_device_register_full(&pinfo); in tusb_probe()
1216 struct tusb6010_glue *glue = platform_get_drvdata(pdev); in tusb_remove() local
1218 platform_device_unregister(glue->musb); in tusb_remove()
1219 usb_phy_generic_unregister(glue->phy); in tusb_remove()
/drivers/usb/dwc3/
Ddwc3-pci.c42 static int dwc3_pci_register_phys(struct dwc3_pci *glue) in dwc3_pci_register_phys() argument
54 glue->usb2_phy = pdev; in dwc3_pci_register_phys()
58 ret = platform_device_add_data(glue->usb2_phy, &pdata, sizeof(pdata)); in dwc3_pci_register_phys()
68 glue->usb3_phy = pdev; in dwc3_pci_register_phys()
71 ret = platform_device_add_data(glue->usb3_phy, &pdata, sizeof(pdata)); in dwc3_pci_register_phys()
75 ret = platform_device_add(glue->usb2_phy); in dwc3_pci_register_phys()
79 ret = platform_device_add(glue->usb3_phy); in dwc3_pci_register_phys()
86 platform_device_del(glue->usb2_phy); in dwc3_pci_register_phys()
89 platform_device_put(glue->usb3_phy); in dwc3_pci_register_phys()
92 platform_device_put(glue->usb2_phy); in dwc3_pci_register_phys()
[all …]
/drivers/input/
Djoydev.c53 struct JS_DATA_SAVE_TYPE glue; member
349 data.x = (joydev->abs[0] / 256 + 128) >> joydev->glue.JS_CORR.x; in joydev_0x_read()
350 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 …]
/drivers/net/ethernet/stmicro/stmmac/
DKconfig35 This selects the Amlogic Meson SoC glue layer support for
45 This selects the Altera SOCFPGA SoC glue layer support
56 This selects Allwinner SoC glue layer support for the
67 This selects STi SoC glue layer support for the stmmac
/drivers/gpu/ipu-v3/
Dipu-dc.c130 int map, int wave, int glue, int sync, int stop) in dc_write_tmpl() argument
139 reg1 = sync | glue << 4 | ++wave << 11 | ((operand << 15) & 0xffff8000); in dc_write_tmpl()
142 reg1 = sync | glue << 4 | ++wave << 11 | ++map << 15 | ((operand << 20) & 0xfff00000); in dc_write_tmpl()
/drivers/net/wireless/cw1200/
DKconfig27 need to add appropriate platform data glue in your board setup
/drivers/net/ethernet/arc/
DKconfig41 This selects Rockchip SoC glue layer support for the
/drivers/acpi/
DMakefile33 acpi-y += bus.o glue.o
/drivers/isdn/capi/
DKconfig33 This option provides the glue code to hook up CAPI driven cards to
/drivers/isdn/gigaset/
DKconfig27 subsystem you'll have to enable the capidrv glue driver.
/drivers/memory/
DKconfig26 is intended to provide a glue-less interface to a variety of
/drivers/net/wireless/b43legacy/
DKconfig13 It is safe to include both b43 and b43legacy as the underlying glue
/drivers/net/wireless/b43/
DKconfig21 It is safe to include both b43 and b43legacy as the underlying glue
/drivers/cpufreq/
DKconfig.arm5 # big LITTLE core layer and glue drivers
/drivers/mmc/host/
DKconfig267 Enable DMA support on the Samsung S3C SDHCI glue. The DMA