Home
last modified time | relevance | path

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

12345678910>>...34

/drivers/mfd/
Dtimberdale.c73 .platform_data = &timberdale_tsc2007_platform_data,
132 .platform_data = &timberdale_max7301_platform_data
142 .platform_data = &timberdale_mc33880_platform_data
383 .platform_data = &timb_dma_platform_data,
395 .platform_data = &timberdale_xiic_platform_data,
402 .platform_data = &timberdale_gpio_platform_data,
409 .platform_data = &timberdale_video_platform_data,
416 .platform_data = &timberdale_radio_platform_data,
423 .platform_data = &timberdale_xspi_platform_data,
430 .platform_data = &timberdale_ks8842_platform_data,
[all …]
/drivers/net/wireless/wl12xx/
Dwl12xx_platform_data.c26 static struct wl12xx_platform_data *platform_data; variable
30 if (platform_data) in wl12xx_set_platform_data()
35 platform_data = kmemdup(data, sizeof(*data), GFP_KERNEL); in wl12xx_set_platform_data()
36 if (!platform_data) in wl12xx_set_platform_data()
44 if (!platform_data) in wl12xx_get_platform_data()
47 return platform_data; in wl12xx_get_platform_data()
/drivers/input/touchscreen/
Dmcs5000_ts.c108 const struct mcs_platform_data *platform_data; member
167 const struct mcs_platform_data *platform_data = in mcs5000_ts_phys_init() local
168 data->platform_data; in mcs5000_ts_phys_init()
177 platform_data->x_size >> 8); in mcs5000_ts_phys_init()
179 platform_data->x_size & 0xff); in mcs5000_ts_phys_init()
181 platform_data->y_size >> 8); in mcs5000_ts_phys_init()
183 platform_data->y_size & 0xff); in mcs5000_ts_phys_init()
197 if (!client->dev.platform_data) in mcs5000_ts_probe()
210 data->platform_data = client->dev.platform_data; in mcs5000_ts_probe()
224 if (data->platform_data->cfg_pin) in mcs5000_ts_probe()
[all …]
/drivers/base/
Disa.c29 if (dev->platform_data == isa_driver) { in isa_bus_match()
33 dev->platform_data = NULL; in isa_bus_match()
40 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_probe()
50 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_remove()
60 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_shutdown()
68 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_suspend()
78 struct isa_driver *isa_driver = dev->platform_data; in isa_bus_resume()
140 isa_dev->dev.platform_data = isa_driver; in isa_register_driver()
153 if (isa_dev->dev.platform_data) { in isa_register_driver()
/drivers/of/
Dplatform.c192 void *platform_data, in of_platform_device_create_pdata() argument
209 dev->dev.platform_data = platform_data; in of_platform_device_create_pdata()
244 void *platform_data, in of_amba_device_create() argument
264 dev->dev.platform_data = platform_data; in of_amba_device_create()
299 void *platform_data, in of_amba_device_create() argument
351 void *platform_data = NULL; in of_platform_bus_create() local
364 platform_data = auxdata->platform_data; in of_platform_bus_create()
368 of_amba_device_create(bus, bus_id, platform_data, parent); in of_platform_bus_create()
372 dev = of_platform_device_create_pdata(bus, bus_id, platform_data, parent); in of_platform_bus_create()
/drivers/media/video/
Dadp1653.c230 flash->platform_data->max_flash_timeout, in adp1653_init_controls()
232 flash->platform_data->max_flash_timeout); in adp1653_init_controls()
237 flash->platform_data->max_flash_intensity, in adp1653_init_controls()
238 1, flash->platform_data->max_flash_intensity); in adp1653_init_controls()
243 flash->platform_data->max_torch_intensity, in adp1653_init_controls()
245 flash->platform_data->max_torch_intensity); in adp1653_init_controls()
250 flash->platform_data->max_indicator_intensity, in adp1653_init_controls()
312 ret = flash->platform_data->power(&flash->subdev, on); in __adp1653_set_power()
321 flash->platform_data->power(&flash->subdev, 0); in __adp1653_set_power()
418 if (client->dev.platform_data == NULL) in adp1653_probe()
[all …]
Dtcm825x.c46 const struct tcm825x_platform_data *platform_data; member
427 sensor->i2c_client, sensor->platform_data->default_regs()); in tcm825x_configure()
528 val ^= sensor->platform_data->is_upside_down(); in ioctl_g_ctrl()
564 val ^= sensor->platform_data->is_upside_down(); in ioctl_s_ctrl()
723 return sensor->platform_data->power_set(on); in ioctl_s_power()
742 rval = sensor->platform_data->ifparm(p); in ioctl_g_ifparm()
765 return sensor->platform_data->needs_reset(s, buf, &sensor->pix); in ioctl_g_needs_reset()
858 sensor->platform_data = client->dev.platform_data; in tcm825x_probe()
860 if (sensor->platform_data == NULL in tcm825x_probe()
861 || !sensor->platform_data->is_okay()) in tcm825x_probe()
/drivers/mmc/host/
Dof_mmc_spi.c50 return container_of(dev->platform_data, struct of_mmc_spi, pdata); in to_of_mmc_spi()
98 if (dev->platform_data || !np) in mmc_spi_get_pdata()
99 return dev->platform_data; in mmc_spi_get_pdata()
156 dev->platform_data = &oms->pdata; in mmc_spi_get_pdata()
157 return dev->platform_data; in mmc_spi_get_pdata()
171 if (!dev->platform_data || !np) in mmc_spi_put_pdata()
179 dev->platform_data = NULL; in mmc_spi_put_pdata()
/drivers/net/wireless/ath/ath5k/
Dahb.c40 struct ar231x_board_config *bcfg = pdev->dev.platform_data; in ath5k_ahb_eeprom_read()
45 bcfg = pdev->dev.platform_data; in ath5k_ahb_eeprom_read()
60 struct ar231x_board_config *bcfg = pdev->dev.platform_data; in ath5k_hw_read_srev()
68 struct ar231x_board_config *bcfg = pdev->dev.platform_data; in ath5k_ahb_eeprom_read_mac()
90 struct ar231x_board_config *bcfg = pdev->dev.platform_data; in ath_ahb_probe()
99 if (!pdev->dev.platform_data) { in ath_ahb_probe()
197 struct ar231x_board_config *bcfg = pdev->dev.platform_data; in ath_ahb_remove()
/drivers/hwmon/
Dcoretemp.c101 struct platform_data { struct
127 struct platform_data *pdata = dev_get_drvdata(dev); in show_label() argument
141 struct platform_data *pdata = dev_get_drvdata(dev); in show_crit_alarm()
153 struct platform_data *pdata = dev_get_drvdata(dev); in show_tjmax()
162 struct platform_data *pdata = dev_get_drvdata(dev); in show_ttarget()
172 struct platform_data *pdata = dev_get_drvdata(dev); in show_temp()
329 static int __devinit create_name_attr(struct platform_data *pdata, in create_name_attr()
430 struct platform_data *pdata = platform_get_drvdata(pdev); in create_core_data()
510 static void coretemp_remove_core(struct platform_data *pdata, in coretemp_remove_core()
526 struct platform_data *pdata; in coretemp_probe()
[all …]
/drivers/rtc/
Drtc-ep93xx.c45 struct ep93xx_rtc *ep93xx_rtc = dev->platform_data; in ep93xx_rtc_get_swcomp()
63 struct ep93xx_rtc *ep93xx_rtc = dev->platform_data; in ep93xx_rtc_read_time()
74 struct ep93xx_rtc *ep93xx_rtc = dev->platform_data; in ep93xx_rtc_set_mmss()
153 pdev->dev.platform_data = ep93xx_rtc; in ep93xx_rtc_probe()
173 pdev->dev.platform_data = NULL; in ep93xx_rtc_probe()
184 pdev->dev.platform_data = NULL; in ep93xx_rtc_remove()
Drtc-m48t59.c71 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_rtc_read_time()
114 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_rtc_set_time()
161 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_rtc_readalarm()
208 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_rtc_setalarm()
269 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_rtc_alarm_irq_enable()
286 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_rtc_proc()
307 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_rtc_interrupt()
343 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_nvram_read()
363 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_nvram_write()
388 struct m48t59_plat_data *pdata = pdev->dev.platform_data; in m48t59_rtc_probe()
[all …]
Drtc-m48t86.c49 struct m48t86_ops *ops = pdev->dev.platform_data; in m48t86_rtc_read_time()
87 struct m48t86_ops *ops = pdev->dev.platform_data; in m48t86_rtc_set_time()
126 struct m48t86_ops *ops = pdev->dev.platform_data; in m48t86_rtc_proc()
150 struct m48t86_ops *ops = dev->dev.platform_data; in m48t86_rtc_probe()
/drivers/scsi/aic7xxx/
Daic7xxx_osm.c266 ahc->platform_data->host->host_no, in ahc_print_path()
491 scb->platform_data->xfer_len += len; in ahc_linux_map_seg()
541 if (ahc->platform_data->qfrozen == 0) { in ahc_linux_queue_lck()
564 return &ahc->platform_data->starget[target_offset]; in DEF_SCSI_QCMD()
1111 ahc->platform_data->host = host; in ahc_linux_register_host()
1116 host->irq = ahc->platform_data->irq; in ahc_linux_register_host()
1224 ahc->platform_data = in ahc_platform_alloc()
1226 if (ahc->platform_data == NULL) in ahc_platform_alloc()
1228 memset(ahc->platform_data, 0, sizeof(struct ahc_platform_data)); in ahc_platform_alloc()
1229 ahc->platform_data->irq = AHC_LINUX_NOIRQ; in ahc_platform_alloc()
[all …]
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()
Daic79xx_osm.c227 ahd->platform_data->host->host_no, in ahd_print_path()
604 return &ahd->platform_data->starget[target_offset]; in DEF_SCSI_QCMD()
834 reset_scb->platform_data->dev = dev; in ahd_linux_dev_reset()
838 reset_scb->platform_data->xfer_len = 0; in ahd_linux_dev_reset()
859 ahd->platform_data->eh_done = &done; in ahd_linux_dev_reset()
865 ahd->platform_data->eh_done = NULL; in ahd_linux_dev_reset()
1237 ahd->platform_data->host = host; in ahd_linux_register_host()
1242 host->irq = ahd->platform_data->irq; in ahd_linux_register_host()
1326 ahd->platform_data = in ahd_platform_alloc()
1328 if (ahd->platform_data == NULL) in ahd_platform_alloc()
[all …]
Daic7xxx_osm.h400 spin_lock_init(&ahc->platform_data->spin_lock); in ahc_lockinit()
406 spin_lock_irqsave(&ahc->platform_data->spin_lock, *flags); in ahc_lock()
412 spin_unlock_irqrestore(&ahc->platform_data->spin_lock, *flags); in ahc_unlock()
617 return (scb->platform_data->xfer_len); in ahc_get_transfer_length()
635 scb->platform_data->sense_resid = resid; in ahc_set_sense_residual()
647 return (scb->platform_data->sense_resid); in ahc_get_sense_residual()
688 scb->platform_data->dev->qfrozen++; in ahc_freeze_scb()
Daic79xx_osm.h394 spin_lock_init(&ahd->platform_data->spin_lock); in ahd_lockinit()
400 spin_lock_irqsave(&ahd->platform_data->spin_lock, *flags); in ahd_lock()
406 spin_unlock_irqrestore(&ahd->platform_data->spin_lock, *flags); in ahd_unlock()
606 return (scb->platform_data->xfer_len); in ahd_get_transfer_length()
624 scb->platform_data->sense_resid = resid; in ahd_set_sense_residual()
636 return (scb->platform_data->sense_resid); in ahd_get_sense_residual()
679 scb->platform_data->dev->qfrozen++; in ahd_freeze_scb()
Daic79xx_osm_pci.c129 if (ahd->platform_data && ahd->platform_data->host) in ahd_linux_pci_dev_remove()
130 scsi_remove_host(ahd->platform_data->host); in ahd_linux_pci_dev_remove()
326 ahd->platform_data->mem_busaddr = base; in ahd_pci_map_registers()
342 release_mem_region(ahd->platform_data->mem_busaddr, in ahd_pci_map_registers()
389 ahd->platform_data->irq = ahd->dev_softc->irq; in ahd_pci_map_int()
Daic7xxx_osm_pci.c172 if (ahc->platform_data && ahc->platform_data->host) in ahc_linux_pci_dev_remove()
173 scsi_remove_host(ahc->platform_data->host); in ahc_linux_pci_dev_remove()
403 ahc->platform_data->mem_busaddr = base; in ahc_pci_map_registers()
421 release_mem_region(ahc->platform_data->mem_busaddr, in ahc_pci_map_registers()
467 ahc->platform_data->irq = ahc->dev_softc->irq; in ahc_pci_map_int()
/drivers/power/
Dwm97xx_battery.c35 struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data; in wm97xx_read_bat()
45 struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data; in wm97xx_read_temp()
57 struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data; in wm97xx_bat_get_property()
108 struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data; in wm97xx_bat_update()
170 struct wm97xx_pdata *wmdata = dev->dev.platform_data; in wm97xx_bat_probe()
266 struct wm97xx_pdata *wmdata = dev->dev.platform_data; in wm97xx_bat_remove()
/drivers/w1/masters/
Dw1-gpio.c48 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; in w1_gpio_probe()
95 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; in w1_gpio_remove()
111 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; in w1_gpio_suspend()
121 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; in w1_gpio_resume()
/drivers/i2c/busses/
Di2c-pca-platform.c138 struct i2c_pca9564_pf_platform_data *platform_data = in i2c_pca_pf_probe() local
139 pdev->dev.platform_data; in i2c_pca_pf_probe()
182 if (platform_data) { in i2c_pca_pf_probe()
183 i2c->adap.timeout = platform_data->timeout; in i2c_pca_pf_probe()
184 i2c->algo_data.i2c_clock = platform_data->i2c_clock_speed; in i2c_pca_pf_probe()
185 i2c->gpio = platform_data->gpio; in i2c_pca_pf_probe()
/drivers/staging/iio/dac/
Dmax517.c218 struct max517_platform_data *platform_data = client->dev.platform_data; in max517_probe() local
244 if (id->driver_data == ID_MAX518 || !platform_data) { in max517_probe()
247 data->vref_mv[0] = platform_data->vref_mv[0]; in max517_probe()
248 data->vref_mv[1] = platform_data->vref_mv[1]; in max517_probe()
/drivers/leds/
Dleds-renesas-tpu.c68 struct led_renesas_tpu_config *cfg = p->pdev->dev.platform_data; in r_tpu_read()
81 struct led_renesas_tpu_config *cfg = p->pdev->dev.platform_data; in r_tpu_write()
95 struct led_renesas_tpu_config *cfg = p->pdev->dev.platform_data; in r_tpu_start_stop_ch()
113 struct led_renesas_tpu_config *cfg = p->pdev->dev.platform_data; in r_tpu_enable()
193 struct led_renesas_tpu_config *cfg = p->pdev->dev.platform_data; in r_tpu_set_pin()
243 struct led_renesas_tpu_config *cfg = pdev->dev.platform_data; in r_tpu_probe()

12345678910>>...34