Home
last modified time | relevance | path

Searched refs:of_id (Results 1 – 105 of 105) sorted by relevance

/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-is-sensor.c30 const struct of_device_id *of_id; in fimc_is_sensor_get_drvdata() local
32 of_id = of_match_node(fimc_is_sensor_of_ids, node); in fimc_is_sensor_get_drvdata()
33 return of_id ? of_id->data : NULL; in fimc_is_sensor_get_drvdata()
Dmipi-csis.c776 const struct of_device_id *of_id; in s5pcsis_probe() local
792 of_id = of_match_node(s5pcsis_of_match, dev->of_node); in s5pcsis_probe()
793 if (WARN_ON(of_id == NULL)) in s5pcsis_probe()
796 drv_data = of_id->data; in s5pcsis_probe()
Dfimc-core.c882 const struct of_device_id *of_id; in fimc_parse_dt() local
895 of_id = of_match_node(fimc_of_match, node); in fimc_parse_dt()
896 if (!of_id) in fimc_parse_dt()
898 fimc->drv_data = of_id->data; in fimc_parse_dt()
Dfimc-lite.c1503 const struct of_device_id *of_id; in fimc_lite_probe() local
1515 of_id = of_match_node(flite_of_match, dev->of_node); in fimc_lite_probe()
1516 if (of_id) in fimc_lite_probe()
1517 drv_data = (struct flite_drvdata *)of_id->data; in fimc_lite_probe()
/linux-4.1.27/drivers/iio/common/st_sensors/
Dst_sensors_i2c.c97 const struct of_device_id *of_id; in st_sensors_of_i2c_probe() local
99 of_id = of_match_device(match, &client->dev); in st_sensors_of_i2c_probe()
100 if (!of_id) in st_sensors_of_i2c_probe()
104 strncpy(client->name, of_id->data, sizeof(client->name)); in st_sensors_of_i2c_probe()
/linux-4.1.27/drivers/power/reset/
Dbrcmstb-reboot.c106 const struct of_device_id *of_id; in brcmstb_reboot_probe() local
108 of_id = of_match_node(of_match, np); in brcmstb_reboot_probe()
109 if (!of_id) { in brcmstb_reboot_probe()
113 reset_masks = of_id->data; in brcmstb_reboot_probe()
/linux-4.1.27/drivers/mtd/nand/
Ddenali_dt.c48 const struct of_device_id *of_id; in denali_dt_probe() local
50 of_id = of_match_device(denali_nand_dt_ids, &ofdev->dev); in denali_dt_probe()
51 if (of_id) { in denali_dt_probe()
52 ofdev->id_entry = of_id->data; in denali_dt_probe()
Dpxa3xx_nand.c356 const struct of_device_id *of_id = in pxa3xx_nand_get_variant() local
358 if (!of_id) in pxa3xx_nand_get_variant()
360 return (enum pxa3xx_nand_variant)of_id->data; in pxa3xx_nand_get_variant()
1775 const struct of_device_id *of_id = in pxa3xx_nand_probe_dt() local
1778 if (!of_id) in pxa3xx_nand_probe_dt()
Dmxc_nand.c1400 const struct of_device_id *of_id = in mxcnd_probe_dt() local
1418 host->devtype_data = of_id->data; in mxcnd_probe_dt()
/linux-4.1.27/drivers/mfd/
Dstmpe-i2c.c72 const struct of_device_id *of_id; in stmpe_i2c_probe() local
79 of_id = of_match_device(stmpe_of_match, &i2c->dev); in stmpe_i2c_probe()
80 if (!of_id) { in stmpe_i2c_probe()
88 partnum = (enum stmpe_partnum)of_id->data; in stmpe_i2c_probe()
Dtwl6030-irq.c397 const struct of_device_id *of_id; in twl6030_init_irq() local
399 of_id = of_match_device(twl6030_of_match, dev); in twl6030_init_irq()
400 if (!of_id || !of_id->data) { in twl6030_init_irq()
440 twl6030_irq->irq_mapping_tbl = of_id->data; in twl6030_init_irq()
Dmc13xxx-i2c.c81 const struct of_device_id *of_id = in mc13xxx_i2c_probe() local
83 mc13xxx->variant = of_id->data; in mc13xxx_i2c_probe()
Dtc3589x.c341 const struct of_device_id *of_id; in tc3589x_of_probe() local
347 of_id = of_match_device(tc3589x_match, dev); in tc3589x_of_probe()
348 if (!of_id) in tc3589x_of_probe()
350 *version = (enum tc3589x_version) of_id->data; in tc3589x_of_probe()
Dmc13xxx-spi.c158 const struct of_device_id *of_id = in mc13xxx_spi_probe() local
161 mc13xxx->variant = of_id->data; in mc13xxx_spi_probe()
Dmax14577.c414 const struct of_device_id *of_id; in max14577_i2c_probe() local
416 of_id = of_match_device(max14577_dt_match, &i2c->dev); in max14577_i2c_probe()
417 if (of_id) in max14577_i2c_probe()
419 (enum maxim_device_type)of_id->data; in max14577_i2c_probe()
Daxp20x.c403 const struct of_device_id *of_id; in axp20x_match_device() local
406 of_id = of_match_device(axp20x_of_match, dev); in axp20x_match_device()
407 if (!of_id) { in axp20x_match_device()
411 axp20x->variant = (long) of_id->data; in axp20x_match_device()
Dwm8994-core.c624 const struct of_device_id *of_id; in wm8994_i2c_probe() local
637 of_id = of_match_device(wm8994_of_match, &i2c->dev); in wm8994_i2c_probe()
638 if (of_id) in wm8994_i2c_probe()
639 wm8994->type = (enum wm8994_type)of_id->data; in wm8994_i2c_probe()
/linux-4.1.27/drivers/rtc/
Dclass.c169 int of_id = -1, id = -1, err; in rtc_device_register() local
172 of_id = of_alias_get_id(dev->of_node, "rtc"); in rtc_device_register()
174 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); in rtc_device_register()
176 if (of_id >= 0) { in rtc_device_register()
177 id = ida_simple_get(&rtc_ida, of_id, of_id + 1, in rtc_device_register()
181 of_id); in rtc_device_register()
Drtc-sunxi.c441 const struct of_device_id *of_id; in sunxi_rtc_probe() local
468 of_id = of_match_device(sunxi_rtc_dt_ids, &pdev->dev); in sunxi_rtc_probe()
469 if (!of_id) { in sunxi_rtc_probe()
473 chip->data_year = (struct sunxi_rtc_data_year *) of_id->data; in sunxi_rtc_probe()
Drtc-omap.c530 const struct of_device_id *of_id; in omap_rtc_probe() local
537 of_id = of_match_device(omap_rtc_of_match, &pdev->dev); in omap_rtc_probe()
538 if (of_id) { in omap_rtc_probe()
539 rtc->type = of_id->data; in omap_rtc_probe()
/linux-4.1.27/drivers/usb/phy/
Dphy-am335x-control.c143 const struct of_device_id *of_id; in am335x_control_usb_probe() local
146 of_id = of_match_node(omap_control_usb_id_table, pdev->dev.of_node); in am335x_control_usb_probe()
147 if (!of_id) in am335x_control_usb_probe()
150 phy_ctrl = of_id->data; in am335x_control_usb_probe()
Dphy-mxs-usb.c455 const struct of_device_id *of_id = in mxs_phy_probe() local
503 mxs_phy->data = of_id->data; in mxs_phy_probe()
/linux-4.1.27/drivers/net/ethernet/ti/
Dcpsw-phy-sel.c181 const struct of_device_id *of_id; in cpsw_phy_sel_probe() local
184 of_id = of_match_node(cpsw_phy_sel_id_table, pdev->dev.of_node); in cpsw_phy_sel_probe()
185 if (!of_id) in cpsw_phy_sel_probe()
195 priv->cpsw_phy_sel = of_id->data; in cpsw_phy_sel_probe()
/linux-4.1.27/sound/soc/samsung/
Dodroidx2_max98090.c101 const struct of_device_id *of_id; in odroidx2_audio_probe() local
104 of_id = of_match_node(odroidx2_audio_of_match, snd_node); in odroidx2_audio_probe()
105 dd = (struct odroidx2_drv_data *)of_id->data; in odroidx2_audio_probe()
/linux-4.1.27/drivers/phy/
Dphy-omap-control.c282 const struct of_device_id *of_id; in omap_control_phy_probe() local
285 of_id = of_match_device(omap_control_phy_id_table, &pdev->dev); in omap_control_phy_probe()
286 if (!of_id) in omap_control_phy_probe()
295 control_phy->type = *(enum omap_control_phy_type *)of_id->data; in omap_control_phy_probe()
Dphy-dm816x-usb.c191 const struct of_device_id *of_id; in dm816x_usb_phy_probe() local
195 of_id = of_match_device(of_match_ptr(dm816x_usb_phy_id_table), in dm816x_usb_phy_probe()
197 if (!of_id) in dm816x_usb_phy_probe()
223 phy_data = of_id->data; in dm816x_usb_phy_probe()
Dphy-omap-usb2.c198 const struct of_device_id *of_id; in omap_usb2_probe() local
201 of_id = of_match_device(omap_usb2_id_table, &pdev->dev); in omap_usb2_probe()
203 if (!of_id) in omap_usb2_probe()
206 phy_data = (struct usb_phy_data *)of_id->data; in omap_usb2_probe()
/linux-4.1.27/sound/soc/fsl/
Dimx-audmux.c318 const struct of_device_id *of_id = in imx_audmux_probe() local
333 if (of_id) in imx_audmux_probe()
334 pdev->id_entry = of_id->data; in imx_audmux_probe()
339 if (of_id) in imx_audmux_probe()
Dfsl_ssi.c1288 const struct of_device_id *of_id; in fsl_ssi_probe() local
1302 of_id = of_match_device(fsl_ssi_ids, &pdev->dev); in fsl_ssi_probe()
1303 if (!of_id || !of_id->data) in fsl_ssi_probe()
1313 ssi_private->soc = of_id->data; in fsl_ssi_probe()
/linux-4.1.27/drivers/gpio/
Dgpio-ge.c56 const struct of_device_id *of_id = in gef_gpio_probe() local
87 bgc->gc.ngpio = (u16)(uintptr_t)of_id->data; in gef_gpio_probe()
Dgpio-74xx-mmio.c116 const struct of_device_id *of_id = in mmio_74xx_gpio_probe() local
132 priv->flags = (unsigned)of_id->data; in mmio_74xx_gpio_probe()
Dgpio-syscon.c190 const struct of_device_id *of_id = of_match_device(syscon_gpio_ids, dev); in syscon_gpio_probe() local
199 priv->data = of_id->data; in syscon_gpio_probe()
Dgpio-mxc.c366 const struct of_device_id *of_id = in mxc_gpio_get_hw() local
370 if (of_id) in mxc_gpio_get_hw()
371 pdev->id_entry = of_id->data; in mxc_gpio_get_hw()
Dgpio-pxa.c540 const struct of_device_id *of_id = in pxa_gpio_probe_dt() local
544 if (!of_id || !of_id->data) { in pxa_gpio_probe_dt()
548 gpio_id = of_id->data; in pxa_gpio_probe_dt()
Dgpio-mxs.c264 const struct of_device_id *of_id = in mxs_gpio_probe() local
280 port->devid = (enum mxs_gpio_id) of_id->data; in mxs_gpio_probe()
/linux-4.1.27/drivers/mmc/host/
Dsh_mobile_sdhi.c200 const struct of_device_id *of_id = in sh_mobile_sdhi_probe() local
278 if (of_id && of_id->data) { in sh_mobile_sdhi_probe()
279 const struct sh_mobile_sdhi_of_data *of_data = of_id->data; in sh_mobile_sdhi_probe()
Dwmt-sdmmc.c757 const struct of_device_id *of_id = in wmt_mci_probe() local
763 if (!of_id || !of_id->data) { in wmt_mci_probe()
768 wmt_caps = of_id->data; in wmt_mci_probe()
Dmxcmmc.c1015 const struct of_device_id *of_id; in mxcmci_probe() local
1020 of_id = of_match_device(mxcmci_of_match, &pdev->dev); in mxcmci_probe()
1058 if (of_id) { in mxcmci_probe()
1059 const struct platform_device_id *id_entry = of_id->data; in mxcmci_probe()
Dsdhci-esdhc-imx.c929 const struct of_device_id *of_id = in sdhci_esdhc_imx_probe() local
950 imx_data->socdata = of_id ? of_id->data : (struct esdhc_soc_data *) in sdhci_esdhc_imx_probe()
Dmxs-mmc.c574 const struct of_device_id *of_id = in mxs_mmc_probe() local
602 ssp->devid = (enum mxs_ssp_id) of_id->data; in mxs_mmc_probe()
/linux-4.1.27/drivers/bus/
Domap_l3_noc.c246 const struct of_device_id *of_id; in omap_l3_probe() local
250 of_id = of_match_device(l3_noc_match, &pdev->dev); in omap_l3_probe()
251 if (!of_id) { in omap_l3_probe()
260 memcpy(l3, of_id->data, sizeof(*l3)); in omap_l3_probe()
Dbrcmstb_gisb.c272 const struct of_device_id *of_id; in brcmstb_gisb_arb_probe() local
293 of_id = of_match_node(brcmstb_gisb_arb_of_match, dn); in brcmstb_gisb_arb_probe()
294 if (!of_id) { in brcmstb_gisb_arb_probe()
298 gdev->gisb_offsets = of_id->data; in brcmstb_gisb_arb_probe()
Dmvebu-mbus.c982 const struct of_device_id *of_id; in mvebu_mbus_init() local
984 for (of_id = of_mvebu_mbus_ids; of_id->compatible[0]; of_id++) in mvebu_mbus_init()
985 if (!strcmp(of_id->compatible, soc)) in mvebu_mbus_init()
988 if (!of_id->compatible[0]) { in mvebu_mbus_init()
993 mbus_state.soc = of_id->data; in mvebu_mbus_init()
1142 const struct of_device_id *of_id; in mvebu_mbus_dt_init() local
1146 np = of_find_matching_node_and_match(NULL, of_mvebu_mbus_ids, &of_id); in mvebu_mbus_dt_init()
1152 mbus_state.soc = of_id->data; in mvebu_mbus_dt_init()
Dimx-weim.c141 const struct of_device_id *of_id = of_match_device(weim_id_table, in weim_parse_dt() local
143 const struct imx_weim_devtype *devtype = of_id->data; in weim_parse_dt()
/linux-4.1.27/arch/arm/mach-at91/
Dpm.c325 const struct of_device_id *of_id; in at91_dt_ramc() local
329 for_each_matching_node_and_match(np, ramc_ids, &of_id) { in at91_dt_ramc()
335 standby = of_id->data; in at91_dt_ramc()
/linux-4.1.27/drivers/pci/host/
Dpci-host-generic.c212 const struct of_device_id *of_id; in gen_pci_probe() local
242 of_id = of_match_node(gen_pci_of_match, np); in gen_pci_probe()
243 pci->cfg.ops = of_id->data; in gen_pci_probe()
Dpcie-rcar.c909 const struct of_device_id *of_id; in rcar_pcie_probe() local
961 of_id = of_match_device(rcar_pcie_of_match, pcie->dev); in rcar_pcie_probe()
962 if (!of_id || !of_id->data) in rcar_pcie_probe()
964 hw_init_fn = of_id->data; in rcar_pcie_probe()
/linux-4.1.27/sound/soc/codecs/
Dak4642.c597 const struct of_device_id *of_id; in ak4642_i2c_probe() local
599 of_id = of_match_device(ak4642_of_match, &i2c->dev); in ak4642_i2c_probe()
600 if (of_id) in ak4642_i2c_probe()
601 drvdata = of_id->data; in ak4642_i2c_probe()
Dcs42xx8.c438 const struct of_device_id *of_id = of_match_device(cs42xx8_of_match, dev); in cs42xx8_probe() local
448 if (of_id) in cs42xx8_probe()
449 cs42xx8->drvdata = of_id->data; in cs42xx8_probe()
/linux-4.1.27/drivers/irqchip/
Dirq-renesas-intc-irqpin.c371 const struct of_device_id *of_id; in intc_irqpin_probe() local
477 of_id = of_match_device(intc_irqpin_dt_ids, dev); in intc_irqpin_probe()
478 if (of_id && of_id->data) { in intc_irqpin_probe()
479 const struct intc_irqpin_irlm_config *irlm_config = of_id->data; in intc_irqpin_probe()
/linux-4.1.27/drivers/pwm/
Dpwm-imx.c274 const struct of_device_id *of_id = in imx_pwm_probe() local
281 if (!of_id) in imx_pwm_probe()
313 data = of_id->data; in imx_pwm_probe()
/linux-4.1.27/arch/arm/kernel/
Dperf_event_cpu.c354 const struct of_device_id *of_id; in cpu_pmu_device_probe() local
374 if (node && (of_id = of_match_node(cpu_pmu_of_device_ids, pdev->dev.of_node))) { in cpu_pmu_device_probe()
375 init_fn = of_id->data; in cpu_pmu_device_probe()
/linux-4.1.27/drivers/spi/
Dspi-orion.c411 const struct of_device_id *of_id; in orion_spi_probe() local
449 of_id = of_match_device(orion_spi_of_match_table, &pdev->dev); in orion_spi_probe()
450 devdata = (of_id) ? of_id->data : &orion_spi_dev_data; in orion_spi_probe()
Dspi-gpio.c351 const struct of_device_id *of_id = in spi_gpio_probe_dt() local
354 if (!of_id) in spi_gpio_probe_dt()
Dspi-mxs.c454 const struct of_device_id *of_id = in mxs_spi_probe() local
486 devid = (enum mxs_ssp_id) of_id->data; in mxs_spi_probe()
Dspi-rspi.c1179 const struct of_device_id *of_id; in rspi_probe() local
1189 of_id = of_match_device(rspi_of_match, &pdev->dev); in rspi_probe()
1190 if (of_id) { in rspi_probe()
1191 ops = of_id->data; in rspi_probe()
Dspi-sh-msiof.c1155 const struct of_device_id *of_id; in sh_msiof_spi_probe() local
1171 of_id = of_match_device(sh_msiof_match, &pdev->dev); in sh_msiof_spi_probe()
1172 if (of_id) { in sh_msiof_spi_probe()
1173 p->chipdata = of_id->data; in sh_msiof_spi_probe()
Dspi-imx.c1077 const struct of_device_id *of_id = in spi_imx_probe() local
1141 spi_imx->devtype_data = of_id ? of_id->data : in spi_imx_probe()
/linux-4.1.27/drivers/uio/
Duio_pdrv_genirq.c260 module_param_string(of_id, uio_of_genirq_match[0].compatible, 128, 0);
261 MODULE_PARM_DESC(of_id, "Openfirmware id of the device to be handled by uio");
/linux-4.1.27/drivers/ata/
Dahci_imx.c532 const struct of_device_id *of_id; in imx_ahci_probe() local
538 of_id = of_match_device(imx_ahci_of_match, dev); in imx_ahci_probe()
539 if (!of_id) in imx_ahci_probe()
549 imxpriv->type = (enum ahci_imx_type)of_id->data; in imx_ahci_probe()
Dsata_rcar.c874 const struct of_device_id *of_id; in sata_rcar_probe() local
890 of_id = of_match_device(sata_rcar_match, &pdev->dev); in sata_rcar_probe()
891 if (of_id) in sata_rcar_probe()
892 priv->type = (enum sata_rcar_type)of_id->data; in sata_rcar_probe()
/linux-4.1.27/drivers/dma/
Dmmp_tdma.c626 const struct of_device_id *of_id; in mmp_tdma_probe() local
634 of_id = of_match_device(mmp_tdma_dt_ids, &pdev->dev); in mmp_tdma_probe()
635 if (of_id) in mmp_tdma_probe()
636 type = (enum mmp_tdma_type) of_id->data; in mmp_tdma_probe()
Dmxs-dma.c775 const struct of_device_id *of_id; in mxs_dma_probe() local
791 of_id = of_match_device(mxs_dma_dt_ids, &pdev->dev); in mxs_dma_probe()
792 if (of_id) in mxs_dma_probe()
793 id_entry = of_id->data; in mxs_dma_probe()
Dcppi41.c898 const struct of_device_id *of_id; in get_glue_info() local
900 of_id = of_match_node(cppi41_dma_ids, dev->of_node); in get_glue_info()
901 if (!of_id) in get_glue_info()
903 return of_id->data; in get_glue_info()
Dnbpfaxi.c1281 const struct of_device_id *of_id = of_match_device(nbpf_match, dev); in nbpf_probe() local
1295 if (!np || !of_id || !of_id->data) in nbpf_probe()
1298 cfg = of_id->data; in nbpf_probe()
Dimx-dma.c1054 const struct of_device_id *of_id; in imxdma_probe() local
1058 of_id = of_match_device(imx_dma_of_dev_id, &pdev->dev); in imxdma_probe()
1059 if (of_id) in imxdma_probe()
1060 pdev->id_entry = of_id->data; in imxdma_probe()
Dk3dma.c673 const struct of_device_id *of_id; in k3_dma_probe() local
689 of_id = of_match_device(k3_pdma_dt_ids, &op->dev); in k3_dma_probe()
690 if (of_id) { in k3_dma_probe()
Dmmp_pdma.c1000 const struct of_device_id *of_id; in mmp_pdma_probe() local
1022 of_id = of_match_device(mmp_pdma_dt_ids, pdev->dev); in mmp_pdma_probe()
1023 if (of_id) in mmp_pdma_probe()
Dimx-sdma.c1453 const struct of_device_id *of_id = in sdma_probe() local
1466 if (of_id) in sdma_probe()
1467 drvdata = of_id->data; in sdma_probe()
/linux-4.1.27/drivers/input/misc/
Drotary_encoder.c154 const struct of_device_id *of_id = in rotary_encoder_parse_dt() local
160 if (!of_id || !np) in rotary_encoder_parse_dt()
/linux-4.1.27/drivers/hwmon/
Dntc_thermistor.c504 const struct of_device_id *of_id = in ntc_thermistor_probe() local
551 pdev_id = of_id ? of_id->data : platform_get_device_id(pdev); in ntc_thermistor_probe()
/linux-4.1.27/drivers/usb/renesas_usbhs/
Dcommon.c483 const struct of_device_id *of_id = of_match_device(usbhs_of_match, dev); in usbhs_parse_dt() local
492 dparam->type = of_id ? (u32)of_id->data : 0; in usbhs_parse_dt()
/linux-4.1.27/drivers/usb/chipidea/
Dci_hdrc_imx.c234 const struct of_device_id *of_id = in ci_hdrc_imx_probe() local
236 const struct ci_hdrc_imx_platform_flag *imx_platform_flag = of_id->data; in ci_hdrc_imx_probe()
/linux-4.1.27/drivers/gpu/drm/imx/
Dimx-ldb.c510 const struct of_device_id *of_id = in imx_ldb_bind() local
531 if (of_id) in imx_ldb_bind()
532 imx_ldb->lvds_mux = of_id->data; in imx_ldb_bind()
/linux-4.1.27/drivers/media/platform/s5p-g2d/
Dg2d.c624 const struct of_device_id *of_id; in g2d_probe() local
724 of_id = of_match_node(exynos_g2d_match, pdev->dev.of_node); in g2d_probe()
725 if (!of_id) { in g2d_probe()
729 dev->variant = (struct g2d_variant *)of_id->data; in g2d_probe()
/linux-4.1.27/drivers/i2c/busses/
Di2c-mxs.c807 const struct of_device_id *of_id = in mxs_i2c_probe() local
819 if (of_id) { in mxs_i2c_probe()
820 const struct platform_device_id *device_id = of_id->data; in mxs_i2c_probe()
Di2c-imx.c972 const struct of_device_id *of_id = of_match_device(i2c_imx_dt_ids, in i2c_imx_probe() local
999 if (of_id) in i2c_imx_probe()
1000 i2c_imx->hwdata = of_id->data; in i2c_imx_probe()
Di2c-pxa.c1104 const struct of_device_id *of_id = in i2c_pxa_probe_dt() local
1107 if (!of_id) in i2c_pxa_probe_dt()
1117 *i2c_types = (u32)(of_id->data); in i2c_pxa_probe_dt()
/linux-4.1.27/drivers/video/fbdev/
Dimxfb.c817 const struct of_device_id *of_id; in imxfb_probe() local
827 of_id = of_match_device(imxfb_of_dev_id, &pdev->dev); in imxfb_probe()
828 if (of_id) in imxfb_probe()
829 pdev->id_entry = of_id->data; in imxfb_probe()
Dmxsfb.c873 const struct of_device_id *of_id = in mxsfb_probe() local
881 if (of_id) in mxsfb_probe()
882 pdev->id_entry = of_id->data; in mxsfb_probe()
/linux-4.1.27/drivers/thermal/
Dimx_thermal.c453 const struct of_device_id *of_id = in imx_thermal_probe() local
472 data->socdata = of_id->data; in imx_thermal_probe()
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c1208 const struct of_device_id *of_id; in ti_bandgap_build() local
1225 of_id = of_match_device(of_ti_bandgap_match, &pdev->dev); in ti_bandgap_build()
1226 if (of_id) in ti_bandgap_build()
1227 bgp->conf = of_id->data; in ti_bandgap_build()
/linux-4.1.27/drivers/net/can/
Dflexcan.c1156 const struct of_device_id *of_id; in flexcan_probe() local
1201 of_id = of_match_device(flexcan_of_match, &pdev->dev); in flexcan_probe()
1202 if (of_id) { in flexcan_probe()
1203 devtype_data = of_id->data; in flexcan_probe()
/linux-4.1.27/sound/soc/sh/rcar/
Dcore.c998 const struct of_device_id *of_id = of_match_device(rsnd_of_match, dev); in rsnd_probe() local
1015 if (of_id) { in rsnd_probe()
1018 of_data = of_id->data; in rsnd_probe()
/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_tse_main.c1308 const struct of_device_id *of_id = NULL; in altera_tse_probe() local
1323 of_id = of_match_device(altera_tse_ids, &pdev->dev); in altera_tse_probe()
1325 if (of_id) in altera_tse_probe()
1326 priv->dmaops = (struct altera_dmaops *)of_id->data; in altera_tse_probe()
/linux-4.1.27/drivers/soc/mediatek/
Dmtk-pmic-wrap.c814 const struct of_device_id *of_id = in pwrap_probe() local
825 type = of_id->data; in pwrap_probe()
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c1988 const struct of_device_id *of_id; in gpmi_nand_probe() local
1995 of_id = of_match_device(gpmi_nand_id_table, &pdev->dev); in gpmi_nand_probe()
1996 if (of_id) { in gpmi_nand_probe()
1997 this->devdata = of_id->data; in gpmi_nand_probe()
/linux-4.1.27/drivers/net/can/spi/
Dmcp251x.c1027 const struct of_device_id *of_id = of_match_device(mcp251x_of_match, in mcp251x_can_probe() local
1069 if (of_id) in mcp251x_can_probe()
1070 priv->model = (enum mcp251x_model)of_id->data; in mcp251x_can_probe()
/linux-4.1.27/drivers/tty/serial/
Dmxs-auart.c1225 const struct of_device_id *of_id = in mxs_auart_probe() local
1242 if (of_id) { in mxs_auart_probe()
1243 pdev->id_entry = of_id->data; in mxs_auart_probe()
Dsc16is7xx.c1215 const struct of_device_id *of_id = in sc16is7xx_i2c_probe() local
1218 devtype = (struct sc16is7xx_devtype *)of_id->data; in sc16is7xx_i2c_probe()
Dmax310x.c1307 const struct of_device_id *of_id = in max310x_spi_probe() local
1310 devtype = (struct max310x_devtype *)of_id->data; in max310x_spi_probe()
Dimx.c1854 const struct of_device_id *of_id = in serial_imx_probe_dt() local
1875 sport->devdata = of_id->data; in serial_imx_probe_dt()
/linux-4.1.27/drivers/staging/iio/adc/
Dmxs-lradc.c1542 const struct of_device_id *of_id = in mxs_lradc_probe() local
1545 &mxs_lradc_of_config[(enum mxs_lradc_id)of_id->data]; in mxs_lradc_probe()
1563 lradc->soc = (enum mxs_lradc_id)of_id->data; in mxs_lradc_probe()
/linux-4.1.27/sound/soc/sh/
Dfsi.c1934 const struct of_device_id *of_id; in fsi_probe() local
1936 of_id = of_match_device(fsi_of_match, &pdev->dev); in fsi_probe()
1937 if (of_id) { in fsi_probe()
1938 core = of_id->data; in fsi_probe()
/linux-4.1.27/drivers/mtd/spi-nor/
Dfsl-quadspi.c796 const struct of_device_id *of_id = in fsl_qspi_probe() local
857 q->devtype_data = (struct fsl_qspi_devtype_data *)of_id->data; in fsl_qspi_probe()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1406 const struct of_device_id *of_id; in vop_bind() local
1414 of_id = of_match_device(vop_driver_dt_match, dev); in vop_bind()
1415 vop_data = of_id->data; in vop_bind()
/linux-4.1.27/drivers/media/platform/coda/
Dcoda-common.c2087 const struct of_device_id *of_id = in coda_probe() local
2101 pdev_id = of_id ? of_id->data : platform_get_device_id(pdev); in coda_probe()
2103 if (of_id) { in coda_probe()
2104 dev->devtype = of_id->data; in coda_probe()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_fimd.c193 const struct of_device_id *of_id = in drm_fimd_get_driver_data() local
196 return (struct fimd_driver_data *)of_id->data; in drm_fimd_get_driver_data()
Dexynos_drm_dsi.c348 const struct of_device_id *of_id = in exynos_dsi_get_driver_data() local
351 return (struct exynos_dsi_driver_data *)of_id->data; in exynos_dsi_get_driver_data()
/linux-4.1.27/drivers/iommu/
Darm-smmu.c1697 const struct of_device_id *of_id; in arm_smmu_device_dt_probe() local
1712 of_id = of_match_node(arm_smmu_of_match, dev->of_node); in arm_smmu_device_dt_probe()
1713 smmu->version = (enum arm_smmu_arch_version)of_id->data; in arm_smmu_device_dt_probe()
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c3070 const struct of_device_id *of_id = NULL; in bcmgenet_probe() local
3086 of_id = of_match_node(bcmgenet_match, dn); in bcmgenet_probe()
3087 if (!of_id) in bcmgenet_probe()
3148 if (of_id) in bcmgenet_probe()
3149 priv->version = (enum bcmgenet_version)of_id->data; in bcmgenet_probe()
/linux-4.1.27/drivers/gpu/ipu-v3/
Dipu-common.c1190 const struct of_device_id *of_id = in ipu_probe() local
1198 devtype = of_id->data; in ipu_probe()
/linux-4.1.27/drivers/net/ethernet/via/
Dvia-velocity.c2974 const struct of_device_id *of_id; in velocity_platform_probe() local
2978 of_id = of_match_device(velocity_of_ids, &pdev->dev); in velocity_platform_probe()
2979 if (!of_id) in velocity_platform_probe()
2981 info = of_id->data; in velocity_platform_probe()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dfec_main.c3195 const struct of_device_id *of_id; in fec_probe() local
3214 of_id = of_match_device(fec_dt_ids, &pdev->dev); in fec_probe()
3215 if (of_id) in fec_probe()
3216 pdev->id_entry = of_id->data; in fec_probe()
/linux-4.1.27/drivers/memory/
Domap-gpmc.c2041 const struct of_device_id *of_id = in gpmc_probe_dt() local
2044 if (!of_id) in gpmc_probe_dt()