Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
H A Dfimc-is-sensor.c27 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()
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-is-sensor.c27 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()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_hw.c42 const struct of_device_id *of_id; in mtk_vdec_hw_prob_done() local
46 of_id = &mtk_vdec_hw_match[i]; in mtk_vdec_hw_prob_done()
48 of_id->compatible); in mtk_vdec_hw_prob_done()
54 hw_idx = (enum mtk_vdec_hw_id)(uintptr_t)of_id->data; in mtk_vdec_hw_prob_done()
125 const struct of_device_id *of_id; in mtk_vdec_hw_probe() local
153 of_id = of_match_device(mtk_vdec_hw_match, dev); in mtk_vdec_hw_probe()
154 if (!of_id) { in mtk_vdec_hw_probe()
159 hw_idx = (enum mtk_vdec_hw_id)(uintptr_t)of_id->data; in mtk_vdec_hw_probe()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dcs42xx8-i2c.c27 const struct of_device_id *of_id; in cs42xx8_i2c_probe() local
29 of_id = of_match_device(cs42xx8_of_match, &i2c->dev); in cs42xx8_i2c_probe()
30 if (!of_id) { in cs42xx8_i2c_probe()
35 drvdata = (struct cs42xx8_driver_data *)of_id->data; in cs42xx8_i2c_probe()
/kernel/linux/linux-5.10/drivers/mfd/
H A Dlp87565.c49 const struct of_device_id *of_id; in lp87565_probe() local
75 of_id = of_match_device(of_lp87565_match_table, &client->dev); in lp87565_probe()
76 if (of_id) in lp87565_probe()
77 lp87565->dev_type = (enum lp87565_device_type)of_id->data; in lp87565_probe()
H A Dsun4i-gpadc.c98 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()
H A Dwm831x-spi.c25 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()
H A 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()
H A Dwm831x-i2c.c28 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()
/kernel/linux/linux-5.10/drivers/phy/broadcom/
H A Dphy-bcm-ns-usb3.c201 const struct of_device_id *of_id; in bcm_ns_usb3_mdio_probe() local
215 of_id = of_match_device(bcm_ns_usb3_id_table, dev); in bcm_ns_usb3_mdio_probe()
216 if (!of_id) in bcm_ns_usb3_mdio_probe()
218 usb3->family = (enum bcm_ns_family)of_id->data; in bcm_ns_usb3_mdio_probe()
306 const struct of_device_id *of_id; in bcm_ns_usb3_probe() local
317 of_id = of_match_device(bcm_ns_usb3_id_table, dev); in bcm_ns_usb3_probe()
318 if (!of_id) in bcm_ns_usb3_probe()
320 usb3->family = (enum bcm_ns_family)of_id->data; in bcm_ns_usb3_probe()
/kernel/linux/linux-6.6/drivers/bus/
H A Dimx-weim.c205 const struct of_device_id *of_id = of_match_device(weim_id_table, in weim_parse_dt() local
207 const struct imx_weim_devtype *devtype = of_id->data; in weim_parse_dt()
308 const struct of_device_id *of_id; in of_weim_notify() local
314 of_id = of_match_node(weim_id_table, rd->dn->parent); in of_weim_notify()
315 if (!of_id) in of_weim_notify()
318 devtype = of_id->data; in of_weim_notify()
354 of_id = of_match_node(weim_id_table, rd->dn->parent); in of_weim_notify()
355 if (!of_id) in of_weim_notify()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dnct6775-i2c.c158 const struct of_device_id *of_id; in nct6775_i2c_probe() local
162 of_id = of_match_device(nct6775_i2c_of_match, dev); in nct6775_i2c_probe()
165 if (of_id && (unsigned long)of_id->data != i2c_id->driver_data) in nct6775_i2c_probe()
167 of_id->name, i2c_id->name); in nct6775_i2c_probe()
/kernel/linux/linux-6.6/drivers/ufs/host/
H A Dtc-dwc-g210-pltfrm.c57 const struct of_device_id *of_id; in tc_dwc_g210_pltfm_probe() local
61 of_id = of_match_node(tc_dwc_g210_pltfm_match, dev->of_node); in tc_dwc_g210_pltfm_probe()
62 vops = (struct ufs_hba_variant_ops *)of_id->data; in tc_dwc_g210_pltfm_probe()
/kernel/linux/linux-5.10/drivers/nvmem/
H A Dimx-iim.c99 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()
/kernel/linux/linux-5.10/drivers/power/reset/
H A 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()
/kernel/linux/linux-6.6/drivers/mfd/
H A Dwm831x-spi.c25 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 = (uintptr_t)of_id->data; in wm831x_spi_probe()
H A Dwm831x-i2c.c28 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 = (uintptr_t)of_id->data; in wm831x_i2c_probe()
H A Dsun4i-gpadc.c96 const struct of_device_id *of_id; in sun4i_gpadc_probe() local
101 of_id = of_match_node(sun4i_gpadc_of_match, pdev->dev.of_node); in sun4i_gpadc_probe()
102 if (!of_id) in sun4i_gpadc_probe()
105 switch ((long)of_id->data) { in sun4i_gpadc_probe()
H A Dstmpe-i2c.c74 const struct of_device_id *of_id; in stmpe_i2c_probe() local
81 of_id = of_match_device(stmpe_of_match, &i2c->dev); in stmpe_i2c_probe()
82 if (!of_id) { in stmpe_i2c_probe()
90 partnum = (uintptr_t)of_id->data; in stmpe_i2c_probe()
H A Dlp87565.c49 const struct of_device_id *of_id; in lp87565_probe() local
93 of_id = of_match_device(of_lp87565_match_table, &client->dev); in lp87565_probe()
94 if (of_id) in lp87565_probe()
95 lp87565->dev_type = (uintptr_t)of_id->data; in lp87565_probe()
/kernel/linux/linux-6.6/drivers/power/reset/
H A Dbrcmstb-reboot.c96 const struct of_device_id *of_id; in brcmstb_reboot_probe() local
98 of_id = of_match_node(of_match, np); in brcmstb_reboot_probe()
99 if (!of_id) { in brcmstb_reboot_probe()
103 reset_masks = of_id->data; in brcmstb_reboot_probe()
/kernel/linux/linux-5.10/drivers/rtc/
H A Dclass.c242 int of_id = -1, id = -1; in rtc_device_get_id() local
245 of_id = of_alias_get_id(dev->of_node, "rtc"); in rtc_device_get_id()
247 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); in rtc_device_get_id()
249 if (of_id >= 0) { in rtc_device_get_id()
250 id = ida_simple_get(&rtc_ida, of_id, of_id + 1, GFP_KERNEL); in rtc_device_get_id()
252 dev_warn(dev, "/aliases ID %d not available\n", of_id); in rtc_device_get_id()
/kernel/linux/linux-6.6/drivers/rtc/
H A Dclass.c251 int of_id = -1, id = -1; in rtc_device_get_id() local
254 of_id = of_alias_get_id(dev->of_node, "rtc"); in rtc_device_get_id()
256 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); in rtc_device_get_id()
258 if (of_id >= 0) { in rtc_device_get_id()
259 id = ida_simple_get(&rtc_ida, of_id, of_id + 1, GFP_KERNEL); in rtc_device_get_id()
261 dev_warn(dev, "/aliases ID %d not available\n", of_id); in rtc_device_get_id()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A Dtc-dwc-g210-pltfrm.c56 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()
/kernel/linux/linux-6.6/drivers/mtd/parsers/
H A Dofpart_core.c46 const struct of_device_id *of_id; in parse_fixed_partitions() local
77 of_id = of_match_node(parse_ofpart_match_table, ofpart_node); in parse_fixed_partitions()
78 if (dedicated && !of_id) { in parse_fixed_partitions()
83 quirks = of_id ? of_id->data : NULL; in parse_fixed_partitions()

Completed in 9 milliseconds

12345678910>>...12