/drivers/media/platform/exynos4-is/ |
H A D | fimc-is-sensor.c | 30 const struct of_device_id *of_id; local 32 of_id = of_match_node(fimc_is_sensor_of_ids, node); 33 return of_id ? of_id->data : NULL;
|
/drivers/iio/common/st_sensors/ |
H A D | st_sensors_i2c.c | 96 const struct of_device_id *of_id; local 98 of_id = of_match_device(match, &client->dev); 99 if (!of_id) 103 strncpy(client->name, of_id->data, sizeof(client->name));
|
/drivers/mfd/ |
H A D | stmpe-i2c.c | 72 const struct of_device_id *of_id; local 79 of_id = of_match_device(stmpe_of_match, &i2c->dev); 80 if (!of_id) { 88 partnum = (enum stmpe_partnum)of_id->data;
|
H A D | mc13xxx-i2c.c | 81 const struct of_device_id *of_id = local 83 mc13xxx->variant = of_id->data;
|
H A D | axp20x.c | 164 const struct of_device_id *of_id; local 171 of_id = of_match_device(axp20x_of_match, &i2c->dev); 172 if (!of_id) { 176 axp20x->variant = (long) of_id->data;
|
H A D | twl6030-irq.c | 397 const struct of_device_id *of_id; local 399 of_id = of_match_device(twl6030_of_match, dev); 400 if (!of_id || !of_id->data) { 440 twl6030_irq->irq_mapping_tbl = of_id->data;
|
H A D | mc13xxx-spi.c | 158 const struct of_device_id *of_id = local 161 mc13xxx->variant = of_id->data;
|
H A D | max14577.c | 414 const struct of_device_id *of_id; local 416 of_id = of_match_device(max14577_dt_match, &i2c->dev); 417 if (of_id) 419 (enum maxim_device_type)of_id->data;
|
H A D | tc3589x.c | 344 const struct of_device_id *of_id; local 350 of_id = of_match_device(tc3589x_match, dev); 351 if (!of_id) 353 *version = (enum tc3589x_version) of_id->data;
|
/drivers/mtd/nand/ |
H A D | denali_dt.c | 48 const struct of_device_id *of_id; local 50 of_id = of_match_device(denali_nand_dt_ids, &ofdev->dev); 51 if (of_id) { 52 ofdev->id_entry = of_id->data;
|
/drivers/rtc/ |
H A D | class.c | 173 int of_id = -1, id = -1, err; local 176 of_id = of_alias_get_id(dev->of_node, "rtc"); 178 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); 180 if (of_id >= 0) { 181 id = ida_simple_get(&rtc_ida, of_id, of_id + 1, 185 of_id);
|
H A D | rtc-omap.c | 381 const struct of_device_id *of_id; local 383 of_id = of_match_device(omap_rtc_of_match, &pdev->dev); 384 if (of_id) 385 pdev->id_entry = of_id->data;
|
H A D | rtc-sunxi.c | 441 const struct of_device_id *of_id; local 468 of_id = of_match_device(sunxi_rtc_dt_ids, &pdev->dev); 469 if (!of_id) { 473 chip->data_year = (struct sunxi_rtc_data_year *) of_id->data;
|
/drivers/net/ethernet/ti/ |
H A D | cpsw-phy-sel.c | 181 const struct of_device_id *of_id; local 184 of_id = of_match_node(cpsw_phy_sel_id_table, pdev->dev.of_node); 185 if (!of_id) 195 priv->cpsw_phy_sel = of_id->data;
|
/drivers/usb/phy/ |
H A D | phy-am335x-control.c | 140 const struct of_device_id *of_id; local 143 of_id = of_match_node(omap_control_usb_id_table, pdev->dev.of_node); 144 if (!of_id) 147 phy_ctrl = of_id->data;
|
/drivers/gpio/ |
H A D | gpio-ge.c | 100 const struct of_device_id *of_id = local 109 mmchip->gc.ngpio = (u16)(uintptr_t)of_id->data;
|
/drivers/bus/ |
H A D | omap_l3_noc.c | 241 const struct of_device_id *of_id; local 245 of_id = of_match_device(l3_noc_match, &pdev->dev); 246 if (!of_id) { 255 memcpy(l3, of_id->data, sizeof(*l3));
|
H A D | imx-weim.c | 141 const struct of_device_id *of_id = of_match_device(weim_id_table, local 143 const struct imx_weim_devtype *devtype = of_id->data;
|
H A D | mvebu-mbus.c | 732 const struct of_device_id *of_id; local 734 for (of_id = of_mvebu_mbus_ids; of_id->compatible[0]; of_id++) 735 if (!strcmp(of_id->compatible, soc)) 738 if (!of_id->compatible[0]) { 743 mbus_state.soc = of_id->data; 892 const struct of_device_id *of_id; local 896 np = of_find_matching_node_and_match(NULL, of_mvebu_mbus_ids, &of_id); 902 mbus_state.soc = of_id [all...] |
/drivers/phy/ |
H A D | phy-omap-control.c | 288 const struct of_device_id *of_id; local 291 of_id = of_match_device(of_match_ptr(omap_control_phy_id_table), 293 if (!of_id) 302 control_phy->type = *(enum omap_control_phy_type *)of_id->data;
|
H A D | phy-omap-usb2.c | 204 const struct of_device_id *of_id; local 207 of_id = of_match_device(of_match_ptr(omap_usb2_id_table), &pdev->dev); 209 if (!of_id) 212 phy_data = (struct usb_phy_data *)of_id->data;
|
/drivers/mmc/host/ |
H A D | sh_mobile_sdhi.c | 170 const struct of_device_id *of_id = local 266 if (of_id && of_id->data) { 267 const struct sh_mobile_sdhi_of_data *of_data = of_id->data;
|
/drivers/pci/host/ |
H A D | pci-host-generic.c | 324 const struct of_device_id *of_id; local 354 of_id = of_match_node(gen_pci_of_match, np); 355 pci->cfg.ops = of_id->data;
|
/drivers/pwm/ |
H A D | pwm-imx.c | 274 const struct of_device_id *of_id = local 281 if (!of_id) 313 data = of_id->data;
|
/drivers/spi/ |
H A D | spi-orion.c | 419 const struct of_device_id *of_id; local 456 of_id = of_match_device(orion_spi_of_match_table, &pdev->dev); 457 devdata = (of_id) ? of_id->data : &orion_spi_dev_data;
|