/drivers/media/platform/exynos4-is/ |
D | fimc-is-sensor.c | 30 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()
|
/drivers/rtc/ |
D | class.c | 169 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()
|
/drivers/iio/common/st_sensors/ |
D | st_sensors_i2c.c | 97 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()
|
/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/mtd/nand/ |
D | denali_dt.c | 48 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()
|
/drivers/mfd/ |
D | stmpe-i2c.c | 72 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()
|
D | twl6030-irq.c | 384 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()
|
D | mc13xxx-i2c.c | 81 const struct of_device_id *of_id = in mc13xxx_i2c_probe() local 83 mc13xxx->variant = of_id->data; in mc13xxx_i2c_probe()
|
D | tc3589x.c | 334 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()
|
/drivers/gpio/ |
D | gpio-74xx-mmio.c | 116 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()
|
D | gpio-syscon.c | 190 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()
|
D | gpio-ge.c | 56 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()
|
D | gpio-xlp.c | 302 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()
|
/drivers/net/ethernet/ti/ |
D | cpsw-phy-sel.c | 185 const struct of_device_id *of_id; in cpsw_phy_sel_probe() local 188 of_id = of_match_node(cpsw_phy_sel_id_table, pdev->dev.of_node); in cpsw_phy_sel_probe() 189 if (!of_id) in cpsw_phy_sel_probe() 199 priv->cpsw_phy_sel = of_id->data; in cpsw_phy_sel_probe()
|
/drivers/usb/phy/ |
D | phy-am335x-control.c | 145 const struct of_device_id *of_id; in am335x_control_usb_probe() local 148 of_id = of_match_node(omap_control_usb_id_table, pdev->dev.of_node); in am335x_control_usb_probe() 149 if (!of_id) in am335x_control_usb_probe() 152 phy_ctrl = of_id->data; in am335x_control_usb_probe()
|
/drivers/nvmem/ |
D | imx-ocotp.c | 99 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()
|
/drivers/ata/ |
D | ahci_qoriq.c | 176 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()
|
/drivers/phy/ |
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()
|
D | phy-omap-control.c | 282 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()
|
D | phy-omap-usb2.c | 198 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()
|
/drivers/mmc/host/ |
D | sh_mobile_sdhi.c | 200 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()
|
/drivers/bus/ |
D | omap_l3_noc.c | 246 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()
|
D | brcmstb_gisb.c | 284 const struct of_device_id *of_id; in brcmstb_gisb_arb_probe() local 305 of_id = of_match_node(brcmstb_gisb_arb_of_match, dn); in brcmstb_gisb_arb_probe() 306 if (!of_id) { in brcmstb_gisb_arb_probe() 310 gdev->gisb_offsets = of_id->data; in brcmstb_gisb_arb_probe()
|
D | mvebu-mbus.c | 1099 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()
|
/drivers/usb/chipidea/ |
D | ci_hdrc_imx.c | 254 const struct of_device_id *of_id; in ci_hdrc_imx_probe() local 257 of_id = of_match_device(ci_hdrc_imx_dt_ids, &pdev->dev); in ci_hdrc_imx_probe() 258 if (!of_id) in ci_hdrc_imx_probe() 261 imx_platform_flag = of_id->data; in ci_hdrc_imx_probe()
|