Home
last modified time | relevance | path

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

12345678910>>...32

/linux/drivers/mfd/
H A Dtimberdale.c124 .platform_data = &timberdale_max7301_platform_data
134 .platform_data = &timberdale_mc33880_platform_data
374 .platform_data = &timb_dma_platform_data,
386 .platform_data = &timberdale_xiic_platform_data,
393 .platform_data = &timberdale_gpio_platform_data,
400 .platform_data = &timberdale_video_platform_data,
407 .platform_data = &timberdale_radio_platform_data,
414 .platform_data = &timberdale_xspi_platform_data,
421 .platform_data = &timberdale_ks8842_platform_data,
431 .platform_data = &timb_dma_platform_data,
[all …]
H A 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 …]
H A 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/drivers/mmc/host/
H A Dof_mmc_spi.c32 return container_of(dev->platform_data, struct of_mmc_spi, pdata); in to_of_mmc_spi()
57 if (dev->platform_data || !dev_fwnode(dev)) in mmc_spi_get_pdata()
58 return dev->platform_data; in mmc_spi_get_pdata()
79 dev->platform_data = &oms->pdata; in mmc_spi_get_pdata()
80 return dev->platform_data; in mmc_spi_get_pdata()
92 if (!dev->platform_data || !dev_fwnode(dev)) in mmc_spi_put_pdata()
96 dev->platform_data = NULL; in mmc_spi_put_pdata()
/linux/drivers/parisc/
H A 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/drivers/media/i2c/
H A 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/arch/arm/mach-s3c/
H A Dmach-crag6410-module.c57 .platform_data = &wm0010_pdata,
69 .platform_data = &wm0010_pdata,
177 .platform_data = &wm8996_pdata,
181 .platform_data = &wm9081_pdata, },
186 .platform_data = &wm5100_pdata,
190 .platform_data = &wm9081_pdata, },
195 .platform_data = &wm8962_pdata,
222 .platform_data = &wm8994_pdata,
259 .platform_data = &wm5102_reva_pdata,
291 .platform_data = &wm5102_pdata,
[all …]
/linux/drivers/base/
H A 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()
/linux/drivers/platform/x86/siemens/
H A 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/drivers/staging/media/atomisp/i2c/
H A 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 …]
H A 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 …]
H A 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/arch/sh/boards/mach-landisk/
H A 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/arch/sh/boards/mach-ecovec24/
H A 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/arch/arm/plat-orion/
H A 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/arch/arm/mach-omap1/
H A 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/arch/sh/kernel/cpu/sh4a/
H A Dsetup-sh7723.c43 .platform_data = &scif0_platform_data,
64 .platform_data = &scif1_platform_data,
85 .platform_data = &scif2_platform_data,
105 .platform_data = &scif3_platform_data,
125 .platform_data = &scif4_platform_data,
145 .platform_data = &scif5_platform_data,
171 .platform_data = &vpu_platform_data,
199 .platform_data = &veu0_platform_data,
227 .platform_data = &veu1_platform_data,
246 .platform_data = &cmt_platform_data,
[all …]
H A 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 …]
H A Dsetup-sh7343.c34 .platform_data = &scif0_platform_data,
54 .platform_data = &scif1_platform_data,
74 .platform_data = &scif2_platform_data,
94 .platform_data = &scif3_platform_data,
162 .platform_data = &vpu_platform_data,
190 .platform_data = &veu_platform_data,
218 .platform_data = &jpu_platform_data,
237 .platform_data = &cmt_platform_data,
258 .platform_data = &tmu0_platform_data,
/linux/arch/sh/boards/mach-highlander/
H A 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/drivers/of/
H A Dplatform.c164 void *platform_data, in of_platform_device_create_pdata() argument
183 dev->dev.platform_data = platform_data; in of_platform_device_create_pdata()
218 void *platform_data, in of_amba_device_create() argument
241 dev->dev.platform_data = platform_data; in of_amba_device_create()
275 void *platform_data, in of_amba_device_create() argument
343 void *platform_data = NULL; in of_platform_bus_create() local
368 platform_data = auxdata->platform_data; in of_platform_bus_create()
376 of_amba_device_create(bus, bus_id, platform_data, parent); in of_platform_bus_create()
380 dev = of_platform_device_create_pdata(bus, bus_id, platform_data, parent); in of_platform_bus_create()
/linux/arch/sh/boards/
H A 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/drivers/scsi/aic7xxx/
H A 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()
H A Daic7xxx_osm.c257 ahc->platform_data->host->host_no, in ahc_print_path()
483 scb->platform_data->xfer_len += len; in ahc_linux_map_seg()
532 if (ahc->platform_data->qfrozen == 0) { in ahc_linux_queue_lck()
554 return &ahc->platform_data->starget[target_offset]; in DEF_SCSI_QCMD()
1091 ahc->platform_data->host = host; in ahc_linux_register_host()
1096 host->irq = ahc->platform_data->irq; in ahc_linux_register_host()
1203 ahc->platform_data = in ahc_platform_alloc()
1205 if (ahc->platform_data == NULL) in ahc_platform_alloc()
1207 ahc->platform_data->irq = AHC_LINUX_NOIRQ; in ahc_platform_alloc()
1223 if (ahc->platform_data != NULL) { in ahc_platform_free()
[all …]
/linux/arch/sh/kernel/cpu/sh2/
H A Dsetup-sh7619.c77 .platform_data = &scif0_platform_data,
97 .platform_data = &scif1_platform_data,
117 .platform_data = &scif2_platform_data,
143 .platform_data = &eth_platform_data,
163 .platform_data = &cmt_platform_data,

12345678910>>...32