/drivers/media/platform/exynos4-is/ |
D | fimc-is-sensor.c | 27 const struct of_device_id *of_id; in fimc_is_sensor_get_drvdata() local 29 of_id = of_match_node(fimc_is_sensor_of_ids, node); in fimc_is_sensor_get_drvdata() 30 return of_id ? of_id->data : NULL; in fimc_is_sensor_get_drvdata()
|
/drivers/phy/broadcom/ |
D | phy-bcm-ns-usb3.c | 200 const struct of_device_id *of_id; in bcm_ns_usb3_mdio_probe() local 214 of_id = of_match_device(bcm_ns_usb3_id_table, dev); in bcm_ns_usb3_mdio_probe() 215 if (!of_id) in bcm_ns_usb3_mdio_probe() 217 usb3->family = (enum bcm_ns_family)of_id->data; in bcm_ns_usb3_mdio_probe() 310 const struct of_device_id *of_id; in bcm_ns_usb3_probe() local 321 of_id = of_match_device(bcm_ns_usb3_id_table, dev); in bcm_ns_usb3_probe() 322 if (!of_id) in bcm_ns_usb3_probe() 324 usb3->family = (enum bcm_ns_family)of_id->data; in bcm_ns_usb3_probe()
|
/drivers/mfd/ |
D | lp87565.c | 45 const struct of_device_id *of_id; in lp87565_probe() local 71 of_id = of_match_device(of_lp87565_match_table, &client->dev); in lp87565_probe() 72 if (of_id) in lp87565_probe() 73 lp87565->dev_type = (enum lp87565_device_type)of_id->data; in lp87565_probe()
|
D | wm831x-i2c.c | 28 const struct of_device_id *of_id; in wm831x_i2c_probe() local 34 of_id = of_match_device(wm831x_of_match, &i2c->dev); in wm831x_i2c_probe() 35 if (!of_id) { in wm831x_i2c_probe() 39 type = (enum wm831x_parent)of_id->data; in wm831x_i2c_probe()
|
D | wm831x-spi.c | 25 const struct of_device_id *of_id; in wm831x_spi_probe() local 31 of_id = of_match_device(wm831x_of_match, &spi->dev); in wm831x_spi_probe() 32 if (!of_id) { in wm831x_spi_probe() 36 type = (enum wm831x_parent)of_id->data; in wm831x_spi_probe()
|
D | stmpe-i2c.c | 73 const struct of_device_id *of_id; in stmpe_i2c_probe() local 80 of_id = of_match_device(stmpe_of_match, &i2c->dev); in stmpe_i2c_probe() 81 if (!of_id) { in stmpe_i2c_probe() 89 partnum = (enum stmpe_partnum)of_id->data; in stmpe_i2c_probe()
|
D | rn5t618.c | 92 const struct of_device_id *of_id; in rn5t618_i2c_probe() local 96 of_id = of_match_device(rn5t618_of_match, &i2c->dev); in rn5t618_i2c_probe() 97 if (!of_id) { in rn5t618_i2c_probe() 107 priv->variant = (long)of_id->data; in rn5t618_i2c_probe()
|
D | sun4i-gpadc.c | 98 const struct of_device_id *of_id; in sun4i_gpadc_probe() local 103 of_id = of_match_node(sun4i_gpadc_of_match, pdev->dev.of_node); in sun4i_gpadc_probe() 104 if (!of_id) in sun4i_gpadc_probe() 107 switch ((long)of_id->data) { in sun4i_gpadc_probe()
|
D | mxs-lradc.c | 128 const struct of_device_id *of_id; in mxs_lradc_probe() local 141 of_id = of_match_device(mxs_lradc_dt_ids, &pdev->dev); in mxs_lradc_probe() 142 if (!of_id) in mxs_lradc_probe() 145 lradc->soc = (enum mxs_lradc_id)of_id->data; in mxs_lradc_probe()
|
D | twl6030-irq.c | 371 const struct of_device_id *of_id; in twl6030_init_irq() local 373 of_id = of_match_device(twl6030_of_match, dev); in twl6030_init_irq() 374 if (!of_id || !of_id->data) { in twl6030_init_irq() 412 twl6030_irq->irq_mapping_tbl = of_id->data; in twl6030_init_irq()
|
/drivers/power/reset/ |
D | brcmstb-reboot.c | 106 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()
|
/drivers/nvmem/ |
D | imx-iim.c | 99 const struct of_device_id *of_id; in imx_iim_probe() local 114 of_id = of_match_device(imx_iim_dt_ids, dev); in imx_iim_probe() 115 if (!of_id) in imx_iim_probe() 118 drvdata = of_id->data; in imx_iim_probe()
|
/drivers/rtc/ |
D | class.c | 189 int of_id = -1, id = -1; in rtc_device_get_id() local 192 of_id = of_alias_get_id(dev->of_node, "rtc"); in rtc_device_get_id() 194 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); in rtc_device_get_id() 196 if (of_id >= 0) { in rtc_device_get_id() 197 id = ida_simple_get(&rtc_ida, of_id, of_id + 1, GFP_KERNEL); in rtc_device_get_id() 199 dev_warn(dev, "/aliases ID %d not available\n", of_id); in rtc_device_get_id()
|
/drivers/pci/controller/ |
D | pci-host-generic.c | 82 const struct of_device_id *of_id; in gen_pci_probe() local 85 of_id = of_match_node(gen_pci_of_match, pdev->dev.of_node); in gen_pci_probe() 86 ops = (struct pci_ecam_ops *)of_id->data; in gen_pci_probe()
|
/drivers/scsi/ufs/ |
D | tc-dwc-g210-pltfrm.c | 56 const struct of_device_id *of_id; in tc_dwc_g210_pltfm_probe() local 60 of_id = of_match_node(tc_dwc_g210_pltfm_match, dev->of_node); in tc_dwc_g210_pltfm_probe() 61 vops = (struct ufs_hba_variant_ops *)of_id->data; in tc_dwc_g210_pltfm_probe()
|
D | cdns-pltfrm.c | 182 const struct of_device_id *of_id; in cdns_ufs_pltfrm_probe() local 186 of_id = of_match_node(cdns_ufs_of_match, dev->of_node); in cdns_ufs_pltfrm_probe() 187 vops = (struct ufs_hba_variant_ops *)of_id->data; in cdns_ufs_pltfrm_probe()
|
/drivers/usb/phy/ |
D | phy-am335x-control.c | 154 const struct of_device_id *of_id; in am335x_control_usb_probe() local 157 of_id = of_match_node(omap_control_usb_id_table, pdev->dev.of_node); in am335x_control_usb_probe() 158 if (!of_id) in am335x_control_usb_probe() 161 phy_ctrl = of_id->data; in am335x_control_usb_probe()
|
/drivers/fpga/ |
D | altera-hps2fpga.c | 130 const struct of_device_id *of_id; in alt_fpga_bridge_probe() local 135 of_id = of_match_device(altera_fpga_of_match, dev); in alt_fpga_bridge_probe() 136 if (!of_id) { in alt_fpga_bridge_probe() 141 priv = (struct altera_hps2fpga_data *)of_id->data; in alt_fpga_bridge_probe()
|
/drivers/net/ethernet/ti/ |
D | cpsw-phy-sel.c | 210 const struct of_device_id *of_id; in cpsw_phy_sel_probe() local 213 of_id = of_match_node(cpsw_phy_sel_id_table, pdev->dev.of_node); in cpsw_phy_sel_probe() 214 if (!of_id) in cpsw_phy_sel_probe() 224 priv->cpsw_phy_sel = of_id->data; in cpsw_phy_sel_probe()
|
/drivers/regulator/ |
D | lochnagar-regulator.c | 245 const struct of_device_id *of_id; in lochnagar_regulator_probe() local 254 of_id = of_match_device(lochnagar_of_match, dev); in lochnagar_regulator_probe() 255 if (!of_id) in lochnagar_regulator_probe() 258 desc = of_id->data; in lochnagar_regulator_probe()
|
/drivers/watchdog/ |
D | meson_wdt.c | 165 const struct of_device_id *of_id; in meson_wdt_probe() local 176 of_id = of_match_device(meson_wdt_dt_ids, dev); in meson_wdt_probe() 177 if (!of_id) { in meson_wdt_probe() 181 meson_wdt->data = of_id->data; in meson_wdt_probe()
|
/drivers/net/can/sja1000/ |
D | sja1000_platform.c | 214 const struct of_device_id *of_id; in sp_probe() local 245 of_id = of_match_device(sp_of_table, &pdev->dev); in sp_probe() 246 if (of_id && of_id->data) { in sp_probe() 247 of_data = of_id->data; in sp_probe()
|
/drivers/phy/ti/ |
D | phy-omap-control.c | 272 const struct of_device_id *of_id; in omap_control_phy_probe() local 275 of_id = of_match_device(omap_control_phy_id_table, &pdev->dev); in omap_control_phy_probe() 276 if (!of_id) in omap_control_phy_probe() 285 control_phy->type = *(enum omap_control_phy_type *)of_id->data; in omap_control_phy_probe()
|
D | phy-dm816x-usb.c | 191 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()
|
/drivers/phy/marvell/ |
D | phy-pxa-usb.c | 292 const struct of_device_id *of_id; in pxa_usb_phy_probe() local 298 of_id = of_match_node(pxa_usb_phy_of_match, dev->of_node); in pxa_usb_phy_probe() 299 if (of_id) in pxa_usb_phy_probe() 300 pxa_usb_phy->version = (enum pxa_usb_phy_version)of_id->data; in pxa_usb_phy_probe()
|