/drivers/mfd/ |
D | timberdale.c | 73 .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 …]
|
D | max8925-core.c | 738 reg_devs[0].platform_data = pdata->sd1; in init_regulator() 742 reg_devs[1].platform_data = pdata->sd2; in init_regulator() 746 reg_devs[2].platform_data = pdata->sd3; in init_regulator() 750 reg_devs[3].platform_data = pdata->ldo1; in init_regulator() 754 reg_devs[4].platform_data = pdata->ldo2; in init_regulator() 758 reg_devs[5].platform_data = pdata->ldo3; in init_regulator() 762 reg_devs[6].platform_data = pdata->ldo4; in init_regulator() 766 reg_devs[7].platform_data = pdata->ldo5; in init_regulator() 770 reg_devs[8].platform_data = pdata->ldo6; in init_regulator() 774 reg_devs[9].platform_data = pdata->ldo7; in init_regulator() [all …]
|
D | 88pm860x-core.c | 757 bk_devs[i].platform_data = &pdata->backlight[i]; in device_bk_init() 777 led_devs[i].platform_data = &pdata->led[i]; in device_led_init() 798 reg_devs[0].platform_data = pdata->buck1; in device_regulator_init() 802 reg_devs[1].platform_data = pdata->buck2; in device_regulator_init() 806 reg_devs[2].platform_data = pdata->buck3; in device_regulator_init() 810 reg_devs[3].platform_data = pdata->ldo1; in device_regulator_init() 814 reg_devs[4].platform_data = pdata->ldo2; in device_regulator_init() 818 reg_devs[5].platform_data = pdata->ldo3; in device_regulator_init() 822 reg_devs[6].platform_data = pdata->ldo4; in device_regulator_init() 826 reg_devs[7].platform_data = pdata->ldo5; in device_regulator_init() [all …]
|
D | as3711.c | 132 pdata = client->dev.platform_data; in as3711_i2c_probe() 176 as3711_subdevs[AS3711_REGULATOR].platform_data = &pdata->regulator; in as3711_i2c_probe() 178 as3711_subdevs[AS3711_BACKLIGHT].platform_data = &pdata->backlight; in as3711_i2c_probe() 181 as3711_subdevs[AS3711_REGULATOR].platform_data = NULL; in as3711_i2c_probe() 183 as3711_subdevs[AS3711_BACKLIGHT].platform_data = NULL; in as3711_i2c_probe()
|
/drivers/char/tpm/ |
D | tpm_i2c_stm_st33.c | 99 pin_infos = client->dev.platform_data; in write8_reg() 180 pin_infos = client->dev.platform_data; in _wait_for_interrupt_serirq_timeout() 435 pin_infos = client->dev.platform_data; in tpm_ioserirq_handler() 638 struct st33zp24_platform_data *platform_data; in tpm_st33_i2c_probe() local 660 platform_data = client->dev.platform_data; in tpm_st33_i2c_probe() 662 if (!platform_data) { in tpm_st33_i2c_probe() 668 platform_data->tpm_i2c_buffer[0] = in tpm_st33_i2c_probe() 670 if (platform_data->tpm_i2c_buffer[0] == NULL) { in tpm_st33_i2c_probe() 674 platform_data->tpm_i2c_buffer[1] = in tpm_st33_i2c_probe() 676 if (platform_data->tpm_i2c_buffer[1] == NULL) { in tpm_st33_i2c_probe() [all …]
|
/drivers/net/wireless/ti/ |
D | wilink_platform_data.c | 26 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/ |
D | mcs5000_ts.c | 108 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/ |
D | isa.c | 29 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/ |
D | platform.c | 202 void *platform_data, in of_platform_device_create_pdata() argument 219 dev->dev.platform_data = platform_data; in of_platform_device_create_pdata() 254 void *platform_data, in of_amba_device_create() argument 274 dev->dev.platform_data = platform_data; in of_amba_device_create() 309 void *platform_data, in of_amba_device_create() argument 360 void *platform_data = NULL; in of_platform_bus_create() local 373 platform_data = auxdata->platform_data; in of_platform_bus_create() 377 of_amba_device_create(bus, bus_id, platform_data, parent); in of_platform_bus_create() 381 dev = of_platform_device_create_pdata(bus, bus_id, platform_data, parent); in of_platform_bus_create()
|
/drivers/usb/host/ |
D | ehci-platform.c | 42 struct usb_ehci_pdata *pdata = pdev->dev.platform_data; in ehci_platform_reset() 84 if (!dev->dev.platform_data) in ehci_platform_probe() 85 dev->dev.platform_data = &ehci_platform_defaults; in ehci_platform_probe() 91 pdata = dev->dev.platform_data; in ehci_platform_probe() 145 struct usb_ehci_pdata *pdata = dev->dev.platform_data; in ehci_platform_remove() 155 dev->dev.platform_data = NULL; in ehci_platform_remove() 165 struct usb_ehci_pdata *pdata = dev->platform_data; in ehci_platform_suspend() 182 struct usb_ehci_pdata *pdata = dev->platform_data; in ehci_platform_resume()
|
D | ohci-platform.c | 23 struct usb_ohci_pdata *pdata = pdev->dev.platform_data; in ohci_platform_reset() 91 struct usb_ohci_pdata *pdata = dev->dev.platform_data; in ohci_platform_probe() 156 struct usb_ohci_pdata *pdata = dev->dev.platform_data; in ohci_platform_remove() 172 struct usb_ohci_pdata *pdata = dev->platform_data; in ohci_platform_suspend() 185 struct usb_ohci_pdata *pdata = dev->platform_data; in ohci_platform_resume()
|
/drivers/mmc/host/ |
D | of_mmc_spi.c | 50 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/media/i2c/ |
D | adp1653.c | 229 flash->platform_data->max_flash_timeout, in adp1653_init_controls() 231 flash->platform_data->max_flash_timeout); in adp1653_init_controls() 236 flash->platform_data->max_flash_intensity, in adp1653_init_controls() 237 1, flash->platform_data->max_flash_intensity); in adp1653_init_controls() 242 flash->platform_data->max_torch_intensity, in adp1653_init_controls() 244 flash->platform_data->max_torch_intensity); in adp1653_init_controls() 249 flash->platform_data->max_indicator_intensity, in adp1653_init_controls() 311 ret = flash->platform_data->power(&flash->subdev, on); in __adp1653_set_power() 320 flash->platform_data->power(&flash->subdev, 0); in __adp1653_set_power() 417 if (client->dev.platform_data == NULL) in adp1653_probe() [all …]
|
/drivers/media/i2c/smiapp/ |
D | smiapp-core.c | 557 for (max = 0; sensor->platform_data->op_sys_clock[max + 1]; max++); in smiapp_init_controls() 562 sensor->platform_data->op_sys_clock); in smiapp_init_controls() 952 client->addr = sensor->platform_data->i2c_addr_dfl; in smiapp_change_cci_addr() 956 sensor->platform_data->i2c_addr_alt << 1); in smiapp_change_cci_addr() 960 client->addr = sensor->platform_data->i2c_addr_alt; in smiapp_change_cci_addr() 967 if (val != sensor->platform_data->i2c_addr_alt << 1) in smiapp_change_cci_addr() 981 unsigned int ext_freq = sensor->platform_data->ext_clk; in smiapp_setup_flash_strobe() 987 strobe_setup = sensor->platform_data->strobe_setup; in smiapp_setup_flash_strobe() 1099 sensor->platform_data->strobe_setup->trigger = 0; in smiapp_setup_flash_strobe() 1121 if (sensor->platform_data->set_xclk) in smiapp_power_on() [all …]
|
/drivers/net/wireless/ath/ath5k/ |
D | ahb.c | 40 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/rtc/ |
D | rtc-ep93xx.c | 45 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() 171 pdev->dev.platform_data = NULL; in ep93xx_rtc_probe() 179 pdev->dev.platform_data = NULL; in ep93xx_rtc_remove()
|
D | rtc-m48t59.c | 71 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 …]
|
/drivers/w1/masters/ |
D | w1-gpio.c | 60 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; in w1_gpio_probe_dt() 72 pdev->dev.platform_data = pdata; in w1_gpio_probe_dt() 96 pdata = pdev->dev.platform_data; in w1_gpio_probe() 166 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; in w1_gpio_remove() 185 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; in w1_gpio_suspend() 195 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; in w1_gpio_resume()
|
/drivers/hwmon/ |
D | coretemp.c | 100 struct platform_data { struct 126 struct platform_data *pdata = dev_get_drvdata(dev); in show_label() argument 140 struct platform_data *pdata = dev_get_drvdata(dev); in show_crit_alarm() 152 struct platform_data *pdata = dev_get_drvdata(dev); in show_tjmax() 161 struct platform_data *pdata = dev_get_drvdata(dev); in show_ttarget() 171 struct platform_data *pdata = dev_get_drvdata(dev); in show_temp() 360 static int create_name_attr(struct platform_data *pdata, in create_name_attr() 460 struct platform_data *pdata = platform_get_drvdata(pdev); in create_core_data() 540 static void coretemp_remove_core(struct platform_data *pdata, in coretemp_remove_core() 556 struct platform_data *pdata; in coretemp_probe() [all …]
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 266 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() 1112 ahc->platform_data->host = host; in ahc_linux_register_host() 1117 host->irq = ahc->platform_data->irq; in ahc_linux_register_host() 1225 ahc->platform_data = in ahc_platform_alloc() 1227 if (ahc->platform_data == NULL) in ahc_platform_alloc() 1229 memset(ahc->platform_data, 0, sizeof(struct ahc_platform_data)); in ahc_platform_alloc() 1230 ahc->platform_data->irq = AHC_LINUX_NOIRQ; in ahc_platform_alloc() [all …]
|
D | aic7770_osm.c | 72 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()
|
/drivers/iio/dac/ |
D | max517.c | 164 struct max517_platform_data *platform_data = client->dev.platform_data; in max517_probe() local 192 if (id->driver_data == ID_MAX518 || !platform_data) { in max517_probe() 195 data->vref_mv[0] = platform_data->vref_mv[0]; in max517_probe() 196 data->vref_mv[1] = platform_data->vref_mv[1]; in max517_probe()
|
D | mcp4725.c | 149 struct mcp4725_platform_data *platform_data = client->dev.platform_data; in mcp4725_probe() local 153 if (!platform_data || !platform_data->vref_mv) { in mcp4725_probe() 174 data->vref_mv = platform_data->vref_mv; in mcp4725_probe()
|
/drivers/power/ |
D | wm97xx_battery.c | 35 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() 268 struct wm97xx_pdata *wmdata = dev->dev.platform_data; in wm97xx_bat_remove()
|
/drivers/i2c/busses/ |
D | i2c-pca-platform.c | 138 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()
|