Searched refs:of_id (Results 1 - 25 of 89) sorted by relevance

1234

/drivers/media/platform/exynos4-is/
H A Dfimc-is-sensor.c30 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 Dst_sensors_i2c.c96 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 Dstmpe-i2c.c72 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 Dmc13xxx-i2c.c81 const struct of_device_id *of_id = local
83 mc13xxx->variant = of_id->data;
H A Daxp20x.c164 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 Dtwl6030-irq.c397 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 Dmc13xxx-spi.c158 const struct of_device_id *of_id = local
161 mc13xxx->variant = of_id->data;
H A Dmax14577.c414 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 Dtc3589x.c344 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 Ddenali_dt.c48 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 Dclass.c173 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 Drtc-omap.c381 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 Drtc-sunxi.c441 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 Dcpsw-phy-sel.c181 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 Dphy-am335x-control.c140 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 Dgpio-ge.c100 const struct of_device_id *of_id = local
109 mmchip->gc.ngpio = (u16)(uintptr_t)of_id->data;
/drivers/bus/
H A Domap_l3_noc.c241 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 Dimx-weim.c141 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 Dmvebu-mbus.c732 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 Dphy-omap-control.c288 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 Dphy-omap-usb2.c204 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 Dsh_mobile_sdhi.c170 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 Dpci-host-generic.c324 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 Dpwm-imx.c274 const struct of_device_id *of_id = local
281 if (!of_id)
313 data = of_id->data;
/drivers/spi/
H A Dspi-orion.c419 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;

Completed in 902 milliseconds

1234