Home
last modified time | relevance | path

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

12345678910>>...34

/linux-6.6.21/drivers/mfd/
Dtimberdale.c60 .platform_data = &timberdale_tsc2007_platform_data,
119 .platform_data = &timberdale_max7301_platform_data
129 .platform_data = &timberdale_mc33880_platform_data
369 .platform_data = &timb_dma_platform_data,
381 .platform_data = &timberdale_xiic_platform_data,
388 .platform_data = &timberdale_gpio_platform_data,
395 .platform_data = &timberdale_video_platform_data,
402 .platform_data = &timberdale_radio_platform_data,
409 .platform_data = &timberdale_xspi_platform_data,
416 .platform_data = &timberdale_ks8842_platform_data,
[all …]
Dmax8925-core.c727 reg_devs[0].platform_data = pdata->sd1; in init_regulator()
731 reg_devs[1].platform_data = pdata->sd2; in init_regulator()
735 reg_devs[2].platform_data = pdata->sd3; in init_regulator()
739 reg_devs[3].platform_data = pdata->ldo1; in init_regulator()
743 reg_devs[4].platform_data = pdata->ldo2; in init_regulator()
747 reg_devs[5].platform_data = pdata->ldo3; in init_regulator()
751 reg_devs[6].platform_data = pdata->ldo4; in init_regulator()
755 reg_devs[7].platform_data = pdata->ldo5; in init_regulator()
759 reg_devs[8].platform_data = pdata->ldo6; in init_regulator()
763 reg_devs[9].platform_data = pdata->ldo7; in init_regulator()
[all …]
D88pm860x-core.c758 bk_devs[i].platform_data = &pdata->backlight[i]; in device_bk_init()
778 led_devs[i].platform_data = &pdata->led[i]; in device_led_init()
799 reg_devs[0].platform_data = pdata->buck1; in device_regulator_init()
803 reg_devs[1].platform_data = pdata->buck2; in device_regulator_init()
807 reg_devs[2].platform_data = pdata->buck3; in device_regulator_init()
811 reg_devs[3].platform_data = pdata->ldo1; in device_regulator_init()
815 reg_devs[4].platform_data = pdata->ldo2; in device_regulator_init()
819 reg_devs[5].platform_data = pdata->ldo3; in device_regulator_init()
823 reg_devs[6].platform_data = pdata->ldo4; in device_regulator_init()
827 reg_devs[7].platform_data = pdata->ldo5; in device_regulator_init()
[all …]
/linux-6.6.21/drivers/mmc/host/
Dof_mmc_spi.c31 return container_of(dev->platform_data, struct of_mmc_spi, pdata); in to_of_mmc_spi()
56 if (dev->platform_data || !dev_fwnode(dev)) in mmc_spi_get_pdata()
57 return dev->platform_data; in mmc_spi_get_pdata()
78 dev->platform_data = &oms->pdata; in mmc_spi_get_pdata()
79 return dev->platform_data; in mmc_spi_get_pdata()
91 if (!dev->platform_data || !dev_fwnode(dev)) in mmc_spi_put_pdata()
95 dev->platform_data = NULL; in mmc_spi_put_pdata()
/linux-6.6.21/drivers/parisc/
Diommu.h13 if (likely(dev->platform_data)) in parisc_walk_tree()
14 return dev->platform_data; in parisc_walk_tree()
20 if (otherdev->platform_data) { in parisc_walk_tree()
21 dev->platform_data = otherdev->platform_data; in parisc_walk_tree()
26 return dev->platform_data; in parisc_walk_tree()
/linux-6.6.21/arch/arm/mach-s3c/
Dmach-crag6410-module.c48 .platform_data = &wm0010_pdata,
60 .platform_data = &wm0010_pdata,
153 .platform_data = &wm8996_pdata,
157 .platform_data = &wm9081_pdata, },
162 .platform_data = &wm5100_pdata,
166 .platform_data = &wm9081_pdata, },
171 .platform_data = &wm8962_pdata,
198 .platform_data = &wm8994_pdata,
235 .platform_data = &wm5102_reva_pdata,
267 .platform_data = &wm5102_pdata,
[all …]
/linux-6.6.21/drivers/media/i2c/
Dadp1653.c218 flash->platform_data->max_flash_timeout, in adp1653_init_controls()
220 flash->platform_data->max_flash_timeout); in adp1653_init_controls()
225 flash->platform_data->max_flash_intensity, in adp1653_init_controls()
226 1, flash->platform_data->max_flash_intensity); in adp1653_init_controls()
231 flash->platform_data->max_torch_intensity, in adp1653_init_controls()
233 flash->platform_data->max_torch_intensity); in adp1653_init_controls()
238 flash->platform_data->max_indicator_intensity, in adp1653_init_controls()
300 if (flash->platform_data->power) { in __adp1653_set_power()
301 ret = flash->platform_data->power(&flash->subdev, on); in __adp1653_set_power()
305 gpiod_set_value(flash->platform_data->enable_gpio, on); in __adp1653_set_power()
[all …]
/linux-6.6.21/drivers/base/
Disa.c30 if (dev->platform_data == isa_driver) { in isa_bus_match()
34 dev->platform_data = NULL; in isa_bus_match()
41 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_probe()
51 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_remove()
59 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_shutdown()
67 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_suspend()
77 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_resume()
139 isa_dev->dev.platform_data = isa_driver; in isa_register_driver()
Dplatform-msi.c41 u32 devid = desc->dev->msi.data->platform_data->devid; in platform_msi_calc_hwirq()
87 desc->dev->msi.data->platform_data->write_msg(desc, msg); in platform_msi_write_msg()
168 if (dev->msi.data->platform_data) in platform_msi_alloc_priv_data()
185 dev->msi.data->platform_data = datap; in platform_msi_alloc_priv_data()
191 struct platform_msi_priv_data *data = dev->msi.data->platform_data; in platform_msi_free_priv_data()
193 dev->msi.data->platform_data = NULL; in platform_msi_free_priv_data()
291 data = dev->msi.data->platform_data; in __platform_msi_create_device_domain()
/linux-6.6.21/arch/arm/mach-ep93xx/
Dvision_ep9307.c150 .platform_data = &pca953x_74_gpio_data,
153 .platform_data = &pca953x_75_gpio_data,
156 .platform_data = &pca953x_76_gpio_data,
159 .platform_data = &pca953x_77_gpio_data,
222 .platform_data = &vision_cs4271_data,
229 .platform_data = &vision_spi_flash_data,
236 .platform_data = &vision_spi_mmc_data,
/linux-6.6.21/drivers/platform/x86/siemens/
Dsimatic-ipc.c34 static struct simatic_ipc_platform platform_data; variable
116 platform_data.devmode = battmode; in register_platform_devices()
119 PLATFORM_DEVID_NONE, &platform_data, in register_platform_devices()
136 platform_data.devmode = ledmode; in register_platform_devices()
140 &platform_data, in register_platform_devices()
150 platform_data.devmode = wdtmode; in register_platform_devices()
154 &platform_data, in register_platform_devices()
/linux-6.6.21/drivers/staging/media/atomisp/i2c/
Datomisp-gc2235.c384 if (!dev || !dev->platform_data) in power_ctrl()
388 ret = dev->platform_data->v1p8_ctrl(sd, 1); in power_ctrl()
391 ret |= dev->platform_data->v2p8_ctrl(sd, 1); in power_ctrl()
393 ret = dev->platform_data->v1p8_ctrl(sd, 0); in power_ctrl()
394 ret |= dev->platform_data->v2p8_ctrl(sd, 0); in power_ctrl()
404 if (!dev || !dev->platform_data) in gpio_ctrl()
407 ret = dev->platform_data->gpio1_ctrl(sd, !flag); in gpio_ctrl()
409 ret |= dev->platform_data->gpio0_ctrl(sd, flag); in gpio_ctrl()
420 if (!dev->platform_data) { in power_up()
433 ret = dev->platform_data->flisclk_ctrl(sd, 1); in power_up()
[all …]
Datomisp-ov2722.c485 if (!dev || !dev->platform_data) in power_ctrl()
489 ret = dev->platform_data->v1p8_ctrl(sd, 1); in power_ctrl()
491 ret = dev->platform_data->v2p8_ctrl(sd, 1); in power_ctrl()
493 dev->platform_data->v1p8_ctrl(sd, 0); in power_ctrl()
496 ret = dev->platform_data->v1p8_ctrl(sd, 0); in power_ctrl()
497 ret |= dev->platform_data->v2p8_ctrl(sd, 0); in power_ctrl()
508 if (!dev || !dev->platform_data) in gpio_ctrl()
514 ret = dev->platform_data->gpio0_ctrl(sd, flag); in gpio_ctrl()
515 ret |= dev->platform_data->gpio1_ctrl(sd, flag); in gpio_ctrl()
525 if (!dev->platform_data) { in power_up()
[all …]
Datomisp-mt9m114.c453 if (!dev || !dev->platform_data) in power_ctrl()
457 ret = dev->platform_data->v2p8_ctrl(sd, 1); in power_ctrl()
459 ret = dev->platform_data->v1p8_ctrl(sd, 1); in power_ctrl()
461 ret = dev->platform_data->v2p8_ctrl(sd, 0); in power_ctrl()
464 ret = dev->platform_data->v2p8_ctrl(sd, 0); in power_ctrl()
465 ret = dev->platform_data->v1p8_ctrl(sd, 0); in power_ctrl()
475 if (!dev || !dev->platform_data) in gpio_ctrl()
486 ret = dev->platform_data->gpio0_ctrl(sd, 0); in gpio_ctrl()
487 ret = dev->platform_data->gpio1_ctrl(sd, 0); in gpio_ctrl()
489 ret |= dev->platform_data->gpio0_ctrl(sd, 1); in gpio_ctrl()
[all …]
/linux-6.6.21/arch/sh/boards/mach-landisk/
Dpsw.c21 struct push_switch_platform_info *psw_info = pdev->dev.platform_data; in psw_irq_handler()
95 .platform_data = &psw_power_platform_data,
105 .platform_data = &psw1_platform_data,
115 .platform_data = &psw2_platform_data,
125 .platform_data = &psw3_platform_data,
/linux-6.6.21/arch/sh/boards/mach-ecovec24/
Dsetup.c107 .platform_data = &heartbeat_data,
147 .platform_data = &nor_flash_data,
175 .platform_data = &sh_eth_plat,
211 .platform_data = &usb0_host_data,
247 .platform_data = &usb1_common_data,
304 .platform_data = &usbhs_info,
371 .platform_data = &lcdc_info,
441 .platform_data = &ceu0_pdata,
478 .platform_data = &ceu1_pdata,
528 .platform_data = &tw9910_info,
[all …]
/linux-6.6.21/arch/arm/mach-omap1/
Dgpio16xx.c62 .platform_data = &omap16xx_mpu_gpio_config,
106 .platform_data = &omap16xx_gpio1_config,
134 .platform_data = &omap16xx_gpio2_config,
162 .platform_data = &omap16xx_gpio3_config,
190 .platform_data = &omap16xx_gpio4_config,
229 pdata = pdev->dev.platform_data; in omap16xx_gpio_init()
/linux-6.6.21/arch/arm/plat-orion/
Dcommon.c100 orion_uart->dev.platform_data = data; in uart_complete()
250 orion_ge->dev.platform_data = eth_data; in ge_complete()
273 .platform_data = &orion_ge00_shared_data,
339 .platform_data = &orion_ge01_shared_data,
389 .platform_data = &orion_ge10_shared_data,
437 .platform_data = &orion_ge11_shared_data,
484 .platform_data = &orion_i2c_pdata,
499 .platform_data = &orion_i2c_1_pdata,
595 .platform_data = &orion_xor0_pdata,
656 .platform_data = &orion_xor1_pdata,
[all …]
/linux-6.6.21/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7723.c40 .platform_data = &scif0_platform_data,
61 .platform_data = &scif1_platform_data,
82 .platform_data = &scif2_platform_data,
102 .platform_data = &scif3_platform_data,
122 .platform_data = &scif4_platform_data,
142 .platform_data = &scif5_platform_data,
168 .platform_data = &vpu_platform_data,
196 .platform_data = &veu0_platform_data,
224 .platform_data = &veu1_platform_data,
243 .platform_data = &cmt_platform_data,
[all …]
Dsetup-sh7770.c32 .platform_data = &scif0_platform_data,
52 .platform_data = &scif1_platform_data,
72 .platform_data = &scif2_platform_data,
92 .platform_data = &scif3_platform_data,
112 .platform_data = &scif4_platform_data,
132 .platform_data = &scif5_platform_data,
152 .platform_data = &scif6_platform_data,
172 .platform_data = &scif7_platform_data,
192 .platform_data = &scif8_platform_data,
212 .platform_data = &scif9_platform_data,
[all …]
/linux-6.6.21/arch/sh/boards/mach-highlander/
Dpsw.c20 struct push_switch_platform_info *psw_info = pdev->dev.platform_data; in psw_irq_handler()
71 .platform_data = &s2_platform_data,
89 .platform_data = &s3_platform_data,
107 .platform_data = &s4_platform_data,
/linux-6.6.21/drivers/scsi/aic7xxx/
Daic7770_osm.c72 ahc->platform_data->irq = irq; in aic7770_map_int()
115 if (ahc->platform_data && ahc->platform_data->host) in aic7770_remove()
116 scsi_remove_host(ahc->platform_data->host); in aic7770_remove()
Daic7xxx_osm.c257 ahc->platform_data->host->host_no, in ahc_print_path()
482 scb->platform_data->xfer_len += len; in ahc_linux_map_seg()
531 if (ahc->platform_data->qfrozen == 0) { in ahc_linux_queue_lck()
553 return &ahc->platform_data->starget[target_offset]; in DEF_SCSI_QCMD()
1083 ahc->platform_data->host = host; in ahc_linux_register_host()
1088 host->irq = ahc->platform_data->irq; in ahc_linux_register_host()
1195 ahc->platform_data = in ahc_platform_alloc()
1197 if (ahc->platform_data == NULL) in ahc_platform_alloc()
1199 ahc->platform_data->irq = AHC_LINUX_NOIRQ; in ahc_platform_alloc()
1215 if (ahc->platform_data != NULL) { in ahc_platform_free()
[all …]
/linux-6.6.21/arch/sh/boards/
Dboard-edosk7760.c73 .platform_data = &edosk7760_nor_flash_data,
96 .platform_data = &i2c_pd,
119 .platform_data = &i2c_pd,
152 .platform_data = &smc91x_info,
/linux-6.6.21/drivers/of/
Dplatform.c203 void *platform_data, in of_platform_device_create_pdata() argument
220 dev->dev.platform_data = platform_data; in of_platform_device_create_pdata()
255 void *platform_data, in of_amba_device_create() argument
278 dev->dev.platform_data = platform_data; in of_amba_device_create()
312 void *platform_data, in of_amba_device_create() argument
381 void *platform_data = NULL; in of_platform_bus_create() local
406 platform_data = auxdata->platform_data; in of_platform_bus_create()
414 of_amba_device_create(bus, bus_id, platform_data, parent); in of_platform_bus_create()
418 dev = of_platform_device_create_pdata(bus, bus_id, platform_data, parent); in of_platform_bus_create()

12345678910>>...34