Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/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()
/Linux-v4.19/drivers/mfd/
Dlp87565.c44 const struct of_device_id *of_id; in lp87565_probe() local
70 of_id = of_match_device(of_lp87565_match_table, &client->dev); in lp87565_probe()
71 if (of_id) in lp87565_probe()
72 lp87565->dev_type = (enum lp87565_device_type)of_id->data; in lp87565_probe()
Dwm831x-i2c.c33 const struct of_device_id *of_id; in wm831x_i2c_probe() local
39 of_id = of_match_device(wm831x_of_match, &i2c->dev); in wm831x_i2c_probe()
40 if (!of_id) { in wm831x_i2c_probe()
44 type = (enum wm831x_parent)of_id->data; in wm831x_i2c_probe()
Dwm831x-spi.c30 const struct of_device_id *of_id; in wm831x_spi_probe() local
36 of_id = of_match_device(wm831x_of_match, &spi->dev); in wm831x_spi_probe()
37 if (!of_id) { in wm831x_spi_probe()
41 type = (enum wm831x_parent)of_id->data; in wm831x_spi_probe()
Dstmpe-i2c.c73 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()
Drn5t618.c98 const struct of_device_id *of_id; in rn5t618_i2c_probe() local
102 of_id = of_match_device(rn5t618_of_match, &i2c->dev); in rn5t618_i2c_probe()
103 if (!of_id) { in rn5t618_i2c_probe()
113 priv->variant = (long)of_id->data; in rn5t618_i2c_probe()
Dsun4i-gpadc.c101 const struct of_device_id *of_id; in sun4i_gpadc_probe() local
106 of_id = of_match_node(sun4i_gpadc_of_match, pdev->dev.of_node); in sun4i_gpadc_probe()
107 if (!of_id) in sun4i_gpadc_probe()
110 switch ((long)of_id->data) { in sun4i_gpadc_probe()
Dmxs-lradc.c137 const struct of_device_id *of_id; in mxs_lradc_probe() local
150 of_id = of_match_device(mxs_lradc_dt_ids, &pdev->dev); in mxs_lradc_probe()
151 if (!of_id) in mxs_lradc_probe()
154 lradc->soc = (enum mxs_lradc_id)of_id->data; in mxs_lradc_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()
425 twl6030_irq->irq_mapping_tbl = of_id->data; in twl6030_init_irq()
/Linux-v4.19/drivers/phy/broadcom/
Dphy-bcm-ns-usb3.c203 const struct of_device_id *of_id; in bcm_ns_usb3_mdio_probe() local
217 of_id = of_match_device(bcm_ns_usb3_id_table, dev); in bcm_ns_usb3_mdio_probe()
218 if (!of_id) in bcm_ns_usb3_mdio_probe()
220 usb3->family = (enum bcm_ns_family)of_id->data; in bcm_ns_usb3_mdio_probe()
313 const struct of_device_id *of_id; in bcm_ns_usb3_probe() local
324 of_id = of_match_device(bcm_ns_usb3_id_table, dev); in bcm_ns_usb3_probe()
325 if (!of_id) in bcm_ns_usb3_probe()
327 usb3->family = (enum bcm_ns_family)of_id->data; in bcm_ns_usb3_probe()
/Linux-v4.19/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-v4.19/drivers/nvmem/
Dimx-iim.c105 const struct of_device_id *of_id; in imx_iim_probe() local
122 of_id = of_match_device(imx_iim_dt_ids, dev); in imx_iim_probe()
123 if (!of_id) in imx_iim_probe()
126 drvdata = of_id->data; in imx_iim_probe()
/Linux-v4.19/drivers/pci/controller/
Dpci-host-generic.c82 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()
/Linux-v4.19/drivers/scsi/ufs/
Dtc-dwc-g210-pltfrm.c59 const struct of_device_id *of_id; in tc_dwc_g210_pltfm_probe() local
63 of_id = of_match_node(tc_dwc_g210_pltfm_match, dev->of_node); in tc_dwc_g210_pltfm_probe()
64 vops = (struct ufs_hba_variant_ops *)of_id->data; in tc_dwc_g210_pltfm_probe()
/Linux-v4.19/drivers/usb/phy/
Dphy-am335x-control.c154 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()
/Linux-v4.19/drivers/fpga/
Daltera-hps2fpga.c130 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()
Daltera-ps-spi.c240 const struct of_device_id *of_id; in altera_ps_probe() local
248 of_id = of_match_device(of_ef_match, &spi->dev); in altera_ps_probe()
249 if (!of_id) in altera_ps_probe()
252 conf->data = of_id->data; in altera_ps_probe()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpsw-phy-sel.c217 const struct of_device_id *of_id; in cpsw_phy_sel_probe() local
220 of_id = of_match_node(cpsw_phy_sel_id_table, pdev->dev.of_node); in cpsw_phy_sel_probe()
221 if (!of_id) in cpsw_phy_sel_probe()
231 priv->cpsw_phy_sel = of_id->data; in cpsw_phy_sel_probe()
/Linux-v4.19/sound/soc/stm/
Dstm32_sai.c132 const struct of_device_id *of_id; in stm32_sai_probe() local
143 of_id = of_match_device(stm32_sai_ids, &pdev->dev); in stm32_sai_probe()
144 if (of_id) in stm32_sai_probe()
145 sai->conf = (struct stm32_sai_conf *)of_id->data; in stm32_sai_probe()
/Linux-v4.19/drivers/rtc/
Dclass.c194 int of_id = -1, id = -1; in rtc_device_get_id() local
197 of_id = of_alias_get_id(dev->of_node, "rtc"); in rtc_device_get_id()
199 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); in rtc_device_get_id()
201 if (of_id >= 0) { in rtc_device_get_id()
202 id = ida_simple_get(&rtc_ida, of_id, of_id + 1, GFP_KERNEL); in rtc_device_get_id()
204 dev_warn(dev, "/aliases ID %d not available\n", of_id); in rtc_device_get_id()
/Linux-v4.19/drivers/watchdog/
Dmeson_wdt.c169 const struct of_device_id *of_id; in meson_wdt_probe() local
181 of_id = of_match_device(meson_wdt_dt_ids, &pdev->dev); in meson_wdt_probe()
182 if (!of_id) { in meson_wdt_probe()
186 meson_wdt->data = of_id->data; in meson_wdt_probe()
/Linux-v4.19/drivers/net/can/sja1000/
Dsja1000_platform.c225 const struct of_device_id *of_id; in sp_probe() local
256 of_id = of_match_device(sp_of_table, &pdev->dev); in sp_probe()
257 if (of_id && of_id->data) { in sp_probe()
258 of_data = of_id->data; in sp_probe()
/Linux-v4.19/drivers/media/platform/mtk-mdp/
Dmtk_mdp_core.c130 const struct of_device_id *of_id; in mtk_mdp_probe() local
135 of_id = of_match_node(mtk_mdp_comp_dt_ids, node); in mtk_mdp_probe()
136 if (!of_id) in mtk_mdp_probe()
145 comp_type = (enum mtk_mdp_comp_type)of_id->data; in mtk_mdp_probe()
/Linux-v4.19/drivers/phy/ti/
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-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()

1234567