Home
last modified time | relevance | path

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

/linux-4.4.14/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.c777 const struct of_device_id *of_id; in s5pcsis_probe() local
793 of_id = of_match_node(s5pcsis_of_match, dev->of_node); in s5pcsis_probe()
794 if (WARN_ON(of_id == NULL)) in s5pcsis_probe()
797 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.c1500 const struct of_device_id *of_id; in fimc_lite_probe() local
1512 of_id = of_match_node(flite_of_match, dev->of_node); in fimc_lite_probe()
1513 if (of_id) in fimc_lite_probe()
1514 drv_data = (struct flite_drvdata *)of_id->data; in fimc_lite_probe()
/linux-4.4.14/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.4.14/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.4.14/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.c439 const struct of_device_id *of_id; in sunxi_rtc_probe() local
466 of_id = of_match_device(sunxi_rtc_dt_ids, &pdev->dev); in sunxi_rtc_probe()
467 if (!of_id) { in sunxi_rtc_probe()
471 chip->data_year = (struct sunxi_rtc_data_year *) of_id->data; in sunxi_rtc_probe()
Drtc-mxc.c376 const struct of_device_id *of_id; in mxc_rtc_probe() local
382 of_id = of_match_device(imx_rtc_dt_ids, &pdev->dev); in mxc_rtc_probe()
383 if (of_id) in mxc_rtc_probe()
384 pdata->devtype = (enum imx_rtc_type)of_id->data; in mxc_rtc_probe()
Drtc-omap.c534 const struct of_device_id *of_id; in omap_rtc_probe() local
541 of_id = of_match_device(omap_rtc_of_match, &pdev->dev); in omap_rtc_probe()
542 if (of_id) { in omap_rtc_probe()
543 rtc->type = of_id->data; in omap_rtc_probe()
/linux-4.4.14/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()
Dvf610_nfc.c668 const struct of_device_id *of_id; in vf610_nfc_probe() local
704 of_id = of_match_device(vf610_nfc_dt_ids, &pdev->dev); in vf610_nfc_probe()
705 nfc->variant = (enum vf610_nfc_variant)of_id->data; in vf610_nfc_probe()
Dpxa3xx_nand.c381 const struct of_device_id *of_id = in pxa3xx_nand_get_variant() local
383 if (!of_id) in pxa3xx_nand_get_variant()
385 return (enum pxa3xx_nand_variant)of_id->data; in pxa3xx_nand_get_variant()
1856 const struct of_device_id *of_id = in pxa3xx_nand_probe_dt() local
1859 if (!of_id) in pxa3xx_nand_probe_dt()
Dmxc_nand.c1467 const struct of_device_id *of_id = in mxcnd_probe_dt() local
1485 host->devtype_data = of_id->data; in mxcnd_probe_dt()
/linux-4.4.14/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.c384 const struct of_device_id *of_id; in twl6030_init_irq() local
386 of_id = of_match_device(twl6030_of_match, dev); in twl6030_init_irq()
387 if (!of_id || !of_id->data) { in twl6030_init_irq()
427 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.c334 const struct of_device_id *of_id; in tc3589x_of_probe() local
340 of_id = of_match_device(tc3589x_match, dev); in tc3589x_of_probe()
341 if (!of_id) in tc3589x_of_probe()
343 *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()
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()
Daxp20x.c612 const struct of_device_id *of_id; in axp20x_match_device() local
615 of_id = of_match_device(axp20x_of_match, dev); in axp20x_match_device()
616 if (!of_id) { in axp20x_match_device()
620 axp20x->variant = (long) of_id->data; in axp20x_match_device()
/linux-4.4.14/drivers/gpio/
Dgpio-74xx-mmio.c116 const struct of_device_id *of_id; in mmio_74xx_gpio_probe() local
122 of_id = of_match_device(mmio_74xx_gpio_ids, &pdev->dev); in mmio_74xx_gpio_probe()
123 if (!of_id) in mmio_74xx_gpio_probe()
135 priv->flags = (uintptr_t) of_id->data; in mmio_74xx_gpio_probe()
Dgpio-syscon.c190 const struct of_device_id *of_id; in syscon_gpio_probe() local
195 of_id = of_match_device(syscon_gpio_ids, dev); in syscon_gpio_probe()
196 if (!of_id) in syscon_gpio_probe()
203 priv->data = of_id->data; in syscon_gpio_probe()
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-xlp.c302 const struct of_device_id *of_id; in xlp_gpio_probe() local
324 of_id = of_match_device(xlp_gpio_of_ids, &pdev->dev); in xlp_gpio_probe()
325 if (!of_id) { in xlp_gpio_probe()
330 soc_type = (uintptr_t) of_id->data; in xlp_gpio_probe()
Dgpio-mxc.c371 const struct of_device_id *of_id = in mxc_gpio_get_hw() local
375 if (of_id) in mxc_gpio_get_hw()
376 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.c269 const struct of_device_id *of_id = in mxs_gpio_probe() local
285 port->devid = (enum mxs_gpio_id) of_id->data; in mxs_gpio_probe()
/linux-4.4.14/drivers/net/ethernet/ti/
Dcpsw-phy-sel.c182 const struct of_device_id *of_id; in cpsw_phy_sel_probe() local
185 of_id = of_match_node(cpsw_phy_sel_id_table, pdev->dev.of_node); in cpsw_phy_sel_probe()
186 if (!of_id) in cpsw_phy_sel_probe()
196 priv->cpsw_phy_sel = of_id->data; in cpsw_phy_sel_probe()
Dcpsw.c2235 const struct of_device_id *of_id; in cpsw_probe() local
2434 of_id = of_match_device(cpsw_of_mtable, &pdev->dev); in cpsw_probe()
2435 if (of_id) { in cpsw_probe()
2436 pdev->id_entry = of_id->data; in cpsw_probe()
/linux-4.4.14/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.c460 const struct of_device_id *of_id; in mxs_phy_probe() local
463 of_id = of_match_device(mxs_phy_dt_ids, &pdev->dev); in mxs_phy_probe()
464 if (!of_id) in mxs_phy_probe()
511 mxs_phy->data = of_id->data; in mxs_phy_probe()
/linux-4.4.14/drivers/nvmem/
Dimx-ocotp.c99 const struct of_device_id *of_id; in imx_ocotp_probe() local
115 of_id = of_match_device(imx_ocotp_dt_ids, dev); in imx_ocotp_probe()
116 priv->nregs = (unsigned int)of_id->data; in imx_ocotp_probe()
/linux-4.4.14/drivers/ata/
Dahci_qoriq.c176 const struct of_device_id *of_id; in ahci_qoriq_probe() local
184 of_id = of_match_node(ahci_qoriq_of_match, np); in ahci_qoriq_probe()
185 if (!of_id) in ahci_qoriq_probe()
192 qoriq_priv->type = (enum ahci_qoriq_type)of_id->data; in ahci_qoriq_probe()
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.c870 const struct of_device_id *of_id; in sata_rcar_probe() local
886 of_id = of_match_device(sata_rcar_match, &pdev->dev); in sata_rcar_probe()
887 if (of_id) in sata_rcar_probe()
888 priv->type = (enum sata_rcar_type)of_id->data; in sata_rcar_probe()
/linux-4.4.14/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.4.14/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.4.14/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.c1377 const struct of_device_id *of_id; in fsl_ssi_probe() local
1384 of_id = of_match_device(fsl_ssi_ids, &pdev->dev); in fsl_ssi_probe()
1385 if (!of_id || !of_id->data) in fsl_ssi_probe()
1395 ssi_private->soc = of_id->data; in fsl_ssi_probe()
/linux-4.4.14/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()
Dsdhci-esdhc-imx.c1093 const struct of_device_id *of_id = in sdhci_esdhc_imx_probe() local
1112 imx_data->socdata = of_id ? of_id->data : (struct esdhc_soc_data *) in sdhci_esdhc_imx_probe()
1209 if (of_id) in sdhci_esdhc_imx_probe()
Dmxcmmc.c1011 const struct of_device_id *of_id; in mxcmci_probe() local
1016 of_id = of_match_device(mxcmci_of_match, &pdev->dev); in mxcmci_probe()
1054 if (of_id) { in mxcmci_probe()
1055 const struct platform_device_id *id_entry = of_id->data; in mxcmci_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.4.14/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.c280 const struct of_device_id *of_id; in brcmstb_gisb_arb_probe() local
301 of_id = of_match_node(brcmstb_gisb_arb_of_match, dn); in brcmstb_gisb_arb_probe()
302 if (!of_id) { in brcmstb_gisb_arb_probe()
306 gdev->gisb_offsets = of_id->data; in brcmstb_gisb_arb_probe()
Dmvebu-mbus.c1099 const struct of_device_id *of_id; in mvebu_mbus_init() local
1101 for (of_id = of_mvebu_mbus_ids; of_id->compatible[0]; of_id++) in mvebu_mbus_init()
1102 if (!strcmp(of_id->compatible, soc)) in mvebu_mbus_init()
1105 if (!of_id->compatible[0]) { in mvebu_mbus_init()
1110 mbus_state.soc = of_id->data; in mvebu_mbus_init()
1259 const struct of_device_id *of_id; in mvebu_mbus_dt_init() local
1263 np = of_find_matching_node_and_match(NULL, of_mvebu_mbus_ids, &of_id); in mvebu_mbus_dt_init()
1269 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.4.14/sound/soc/codecs/
Dak4613.c445 const struct of_device_id *of_id; in ak4613_i2c_probe() local
447 of_id = of_match_device(ak4613_of_match, dev); in ak4613_i2c_probe()
448 if (of_id) in ak4613_i2c_probe()
449 regmap_cfg = of_id->data; in ak4613_i2c_probe()
Dtas571x.c380 const struct of_device_id *of_id; in tas571x_i2c_probe() local
388 of_id = of_match_device(tas571x_of_match, dev); in tas571x_i2c_probe()
389 if (!of_id) { in tas571x_i2c_probe()
393 priv->chip = of_id->data; in tas571x_i2c_probe()
Dcs42xx8.c438 const struct of_device_id *of_id; in cs42xx8_probe() local
455 of_id = of_match_device(cs42xx8_of_match, dev); in cs42xx8_probe()
456 if (of_id) in cs42xx8_probe()
457 cs42xx8->drvdata = of_id->data; in cs42xx8_probe()
Dsti-sas.c550 const struct of_device_id *of_id; in sti_sas_driver_probe() local
559 of_id = of_match_node(sti_sas_dev_match, pnode); in sti_sas_driver_probe()
560 if (!of_id->data) { in sti_sas_driver_probe()
565 drvdata->dev_data = (struct sti_sas_dev_data *)of_id->data; in sti_sas_driver_probe()
Dak4642.c638 const struct of_device_id *of_id; in ak4642_i2c_probe() local
644 of_id = of_match_device(ak4642_of_match, dev); in ak4642_i2c_probe()
645 if (of_id) in ak4642_i2c_probe()
646 drvdata = of_id->data; in ak4642_i2c_probe()
/linux-4.4.14/arch/arm/mach-at91/
Dpm.c330 const struct of_device_id *of_id; in at91_dt_ramc() local
334 for_each_matching_node_and_match(np, ramc_ids, &of_id) { in at91_dt_ramc()
340 standby = of_id->data; in at91_dt_ramc()
/linux-4.4.14/drivers/usb/chipidea/
Dci_hdrc_imx.c250 const struct of_device_id *of_id; in ci_hdrc_imx_probe() local
253 of_id = of_match_device(ci_hdrc_imx_dt_ids, &pdev->dev); in ci_hdrc_imx_probe()
254 if (!of_id) in ci_hdrc_imx_probe()
257 imx_platform_flag = of_id->data; in ci_hdrc_imx_probe()
Dusbmisc_imx.c503 const struct of_device_id *of_id; in usbmisc_imx_probe() local
505 of_id = of_match_device(usbmisc_imx_dt_ids, &pdev->dev); in usbmisc_imx_probe()
506 if (!of_id) in usbmisc_imx_probe()
520 data->ops = (const struct usbmisc_ops *)of_id->data; in usbmisc_imx_probe()
/linux-4.4.14/drivers/pci/host/
Dpci-host-generic.c215 const struct of_device_id *of_id; in gen_pci_probe() local
232 of_id = of_match_node(gen_pci_of_match, np); in gen_pci_probe()
233 pci->cfg.ops = (struct gen_pci_cfg_bus_ops *)of_id->data; in gen_pci_probe()
Dpcie-rcar.c934 const struct of_device_id *of_id; in rcar_pcie_probe() local
986 of_id = of_match_device(rcar_pcie_of_match, pcie->dev); in rcar_pcie_probe()
987 if (!of_id || !of_id->data) in rcar_pcie_probe()
989 hw_init_fn = of_id->data; in rcar_pcie_probe()
/linux-4.4.14/drivers/pwm/
Dpwm-imx.c275 const struct of_device_id *of_id = in imx_pwm_probe() local
282 if (!of_id) in imx_pwm_probe()
314 data = of_id->data; in imx_pwm_probe()
/linux-4.4.14/drivers/irqchip/
Dirq-renesas-intc-irqpin.c382 const struct of_device_id *of_id; in intc_irqpin_probe() local
488 of_id = of_match_device(intc_irqpin_dt_ids, dev); in intc_irqpin_probe()
489 if (of_id && of_id->data) { in intc_irqpin_probe()
490 const struct intc_irqpin_irlm_config *irlm_config = of_id->data; in intc_irqpin_probe()
/linux-4.4.14/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.4.14/drivers/spi/
Dspi-orion.c500 const struct of_device_id *of_id; in orion_spi_probe() local
538 of_id = of_match_device(orion_spi_of_match_table, &pdev->dev); in orion_spi_probe()
539 devdata = (of_id) ? of_id->data : &orion_spi_dev_data; in orion_spi_probe()
Dspi-mt65xx.c488 const struct of_device_id *of_id; in mtk_spi_probe() local
508 of_id = of_match_node(mtk_spi_of_match, pdev->dev.of_node); in mtk_spi_probe()
509 if (!of_id) { in mtk_spi_probe()
516 mdata->dev_comp = of_id->data; in mtk_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-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-rspi.c1173 const struct of_device_id *of_id; in rspi_probe() local
1183 of_id = of_match_device(rspi_of_match, &pdev->dev); in rspi_probe()
1184 if (of_id) { in rspi_probe()
1185 ops = of_id->data; in rspi_probe()
Dspi-fsl-dspi.c650 const struct of_device_id *of_id = in dspi_probe() local
685 dspi->devtype_data = (struct fsl_dspi_devtype_data *)of_id->data; in dspi_probe()
Dspi-imx.c1084 const struct of_device_id *of_id = in spi_imx_probe() local
1148 spi_imx->devtype_data = of_id ? of_id->data : in spi_imx_probe()
/linux-4.4.14/drivers/i2c/busses/
Di2c-mt65xx.c615 const struct of_device_id *of_id; in mtk_i2c_probe() local
647 of_id = of_match_node(mtk_i2c_of_match, pdev->dev.of_node); in mtk_i2c_probe()
648 if (!of_id) in mtk_i2c_probe()
651 i2c->dev_comp = of_id->data; in mtk_i2c_probe()
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.c1035 const struct of_device_id *of_id = of_match_device(i2c_imx_dt_ids, in i2c_imx_probe() local
1062 if (of_id) in i2c_imx_probe()
1063 i2c_imx->hwdata = of_id->data; in i2c_imx_probe()
Di2c-pxa.c1148 const struct of_device_id *of_id = in i2c_pxa_probe_dt() local
1151 if (!of_id) in i2c_pxa_probe_dt()
1162 *i2c_types = (enum pxa_i2c_types)(of_id->data); in i2c_pxa_probe_dt()
/linux-4.4.14/drivers/dma/
Dmmp_tdma.c625 const struct of_device_id *of_id; in mmp_tdma_probe() local
633 of_id = of_match_device(mmp_tdma_dt_ids, &pdev->dev); in mmp_tdma_probe()
634 if (of_id) in mmp_tdma_probe()
635 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.c672 const struct of_device_id *of_id; in k3_dma_probe() local
688 of_id = of_match_device(k3_pdma_dt_ids, &op->dev); in k3_dma_probe()
689 if (of_id) { in k3_dma_probe()
Dmmp_pdma.c999 const struct of_device_id *of_id; in mmp_pdma_probe() local
1021 of_id = of_match_device(mmp_pdma_dt_ids, pdev->dev); in mmp_pdma_probe()
1022 if (of_id) in mmp_pdma_probe()
Dpxa_dma.c1388 const struct of_device_id *of_id; in pxad_probe() local
1407 of_id = of_match_device(pxad_dt_ids, &op->dev); in pxad_probe()
1408 if (of_id) { in pxad_probe()
Dimx-sdma.c1655 const struct of_device_id *of_id = in sdma_probe() local
1670 if (of_id) in sdma_probe()
1671 drvdata = of_id->data; in sdma_probe()
Dmv_xor.c1200 const struct of_device_id *of_id = in mv_xor_probe() local
1208 op_in_desc = (int)of_id->data; in mv_xor_probe()
/linux-4.4.14/drivers/input/misc/
Drotary_encoder.c204 const struct of_device_id *of_id = in rotary_encoder_parse_dt() local
211 if (!of_id || !np) in rotary_encoder_parse_dt()
/linux-4.4.14/drivers/tty/serial/
Dsc16is7xx.c1321 const struct of_device_id *of_id = in sc16is7xx_spi_probe() local
1324 if (!of_id) in sc16is7xx_spi_probe()
1327 devtype = (struct sc16is7xx_devtype *)of_id->data; in sc16is7xx_spi_probe()
1382 const struct of_device_id *of_id = in sc16is7xx_i2c_probe() local
1385 if (!of_id) in sc16is7xx_i2c_probe()
1388 devtype = (struct sc16is7xx_devtype *)of_id->data; in sc16is7xx_i2c_probe()
Dmxs-auart.c1261 const struct of_device_id *of_id = in mxs_auart_probe() local
1278 if (of_id) { in mxs_auart_probe()
1279 pdev->id_entry = of_id->data; in mxs_auart_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.c1860 const struct of_device_id *of_id = in serial_imx_probe_dt() local
1881 sport->devdata = of_id->data; in serial_imx_probe_dt()
/linux-4.4.14/drivers/usb/renesas_usbhs/
Dcommon.c492 const struct of_device_id *of_id = of_match_device(usbhs_of_match, dev); in usbhs_parse_dt() local
501 dparam->type = of_id ? (uintptr_t)of_id->data : 0; in usbhs_parse_dt()
/linux-4.4.14/drivers/media/platform/s5p-g2d/
Dg2d.c625 const struct of_device_id *of_id; in g2d_probe() local
725 of_id = of_match_node(exynos_g2d_match, pdev->dev.of_node); in g2d_probe()
726 if (!of_id) { in g2d_probe()
730 dev->variant = (struct g2d_variant *)of_id->data; in g2d_probe()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos5433_drm_decon.c599 const struct of_device_id *of_id; in exynos5433_decon_probe() local
613 of_id = of_match_device(exynos5433_decon_driver_dt_match, &pdev->dev); in exynos5433_decon_probe()
614 ctx->out_type = (enum decon_iftype)of_id->data; in exynos5433_decon_probe()
Dexynos_drm_fimd.c201 const struct of_device_id *of_id = in drm_fimd_get_driver_data() local
204 return (struct fimd_driver_data *)of_id->data; in drm_fimd_get_driver_data()
Dexynos_drm_dsi.c502 const struct of_device_id *of_id = in exynos_dsi_get_driver_data() local
505 return (struct exynos_dsi_driver_data *)of_id->data; in exynos_dsi_get_driver_data()
/linux-4.4.14/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.4.14/drivers/hwmon/
Dntc_thermistor.c542 const struct of_device_id *of_id = in ntc_thermistor_probe() local
589 pdev_id = of_id ? of_id->data : platform_get_device_id(pdev); in ntc_thermistor_probe()
/linux-4.4.14/drivers/perf/
Darm_pmu.c878 const struct of_device_id *of_id; in arm_pmu_device_probe() local
895 if (node && (of_id = of_match_node(of_table, pdev->dev.of_node))) { in arm_pmu_device_probe()
896 init_fn = of_id->data; in arm_pmu_device_probe()
/linux-4.4.14/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.4.14/drivers/net/can/
Dflexcan.c1152 const struct of_device_id *of_id; in flexcan_probe() local
1197 of_id = of_match_device(flexcan_of_match, &pdev->dev); in flexcan_probe()
1198 if (of_id) { in flexcan_probe()
1199 devtype_data = of_id->data; in flexcan_probe()
/linux-4.4.14/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c1205 const struct of_device_id *of_id; in ti_bandgap_build() local
1222 of_id = of_match_device(of_ti_bandgap_match, &pdev->dev); in ti_bandgap_build()
1223 if (of_id) in ti_bandgap_build()
1224 bgp->conf = of_id->data; in ti_bandgap_build()
/linux-4.4.14/drivers/thermal/
Dimx_thermal.c474 const struct of_device_id *of_id = in imx_thermal_probe() local
493 data->socdata = of_id->data; in imx_thermal_probe()
/linux-4.4.14/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.4.14/drivers/soc/mediatek/
Dmtk-pmic-wrap.c810 const struct of_device_id *of_id = in pwrap_probe() local
821 type = of_id->data; in pwrap_probe()
/linux-4.4.14/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c1433 const struct of_device_id *of_id; in xgene_enet_probe() local
1453 of_id = of_match_device(xgene_enet_of_match, &pdev->dev); in xgene_enet_probe()
1454 if (of_id) { in xgene_enet_probe()
1455 pdata->enet_id = (enum xgene_enet_id)of_id->data; in xgene_enet_probe()
/linux-4.4.14/drivers/net/can/spi/
Dmcp251x.c1028 const struct of_device_id *of_id = of_match_device(mcp251x_of_match, in mcp251x_can_probe() local
1070 if (of_id) in mcp251x_can_probe()
1071 priv->model = (enum mcp251x_model)of_id->data; in mcp251x_can_probe()
/linux-4.4.14/sound/soc/sh/
Dfsi.c1933 const struct of_device_id *of_id; in fsi_probe() local
1935 of_id = of_match_device(fsi_of_match, &pdev->dev); in fsi_probe()
1936 if (of_id) { in fsi_probe()
1937 core = of_id->data; in fsi_probe()
/linux-4.4.14/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.4.14/drivers/staging/iio/adc/
Dmxs-lradc.c1593 const struct of_device_id *of_id = in mxs_lradc_probe() local
1596 &mxs_lradc_of_config[(enum mxs_lradc_id)of_id->data]; in mxs_lradc_probe()
1614 lradc->soc = (enum mxs_lradc_id)of_id->data; in mxs_lradc_probe()
/linux-4.4.14/drivers/media/platform/coda/
Dcoda-common.c2106 const struct of_device_id *of_id = in coda_probe() local
2120 pdev_id = of_id ? of_id->data : platform_get_device_id(pdev); in coda_probe()
2122 if (of_id) in coda_probe()
2123 dev->devtype = of_id->data; in coda_probe()
/linux-4.4.14/drivers/mtd/spi-nor/
Dfsl-quadspi.c937 const struct of_device_id *of_id = in fsl_qspi_probe() local
949 q->devtype_data = (struct fsl_qspi_devtype_data *)of_id->data; in fsl_qspi_probe()
/linux-4.4.14/drivers/iommu/
Darm-smmu.c1705 const struct of_device_id *of_id; in arm_smmu_device_dt_probe() local
1720 of_id = of_match_node(arm_smmu_of_match, dev->of_node); in arm_smmu_device_dt_probe()
1721 smmu->version = (enum arm_smmu_arch_version)of_id->data; in arm_smmu_device_dt_probe()
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c1674 const struct of_device_id *of_id; in vop_bind() local
1682 of_id = of_match_device(vop_driver_dt_match, dev); in vop_bind()
1683 vop_data = of_id->data; in vop_bind()
/linux-4.4.14/sound/soc/sh/rcar/
Dcore.c1207 const struct of_device_id *of_id = of_match_device(rsnd_of_match, dev); in rsnd_probe() local
1228 of_data = of_id->data; in rsnd_probe()
/linux-4.4.14/drivers/gpu/ipu-v3/
Dipu-common.c1210 const struct of_device_id *of_id = in ipu_probe() local
1218 devtype = of_id->data; in ipu_probe()
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c3328 const struct of_device_id *of_id = NULL; in bcmgenet_probe() local
3344 of_id = of_match_node(bcmgenet_match, dn); in bcmgenet_probe()
3345 if (!of_id) in bcmgenet_probe()
3406 if (of_id) in bcmgenet_probe()
3407 priv->version = (enum bcmgenet_version)of_id->data; in bcmgenet_probe()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.c2956 const struct of_device_id *of_id; in velocity_platform_probe() local
2960 of_id = of_match_device(velocity_of_ids, &pdev->dev); in velocity_platform_probe()
2961 if (!of_id) in velocity_platform_probe()
2963 info = of_id->data; in velocity_platform_probe()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dfec_main.c3326 const struct of_device_id *of_id; in fec_probe() local
3345 of_id = of_match_device(fec_dt_ids, &pdev->dev); in fec_probe()
3346 if (of_id) in fec_probe()
3347 pdev->id_entry = of_id->data; in fec_probe()
/linux-4.4.14/drivers/memory/
Domap-gpmc.c2040 const struct of_device_id *of_id = in gpmc_probe_dt() local
2043 if (!of_id) in gpmc_probe_dt()