Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/
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()
/linux-6.12.1/drivers/media/platform/samsung/exynos4-is/
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()
/linux-6.12.1/drivers/mfd/
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()
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()
Dtwl6030-irq.c371 const struct of_device_id *of_id; in twl6030_init_irq() local
373 of_id = of_match_device(twl6030_of_match, dev); in twl6030_init_irq()
374 if (!of_id || !of_id->data) { in twl6030_init_irq()
412 twl6030_irq->irq_mapping_tbl = of_id->data; in twl6030_init_irq()
Dtc3589x.c332 const struct of_device_id *of_id; in tc3589x_of_probe() local
338 of_id = of_match_device(tc3589x_match, dev); in tc3589x_of_probe()
339 if (!of_id) in tc3589x_of_probe()
341 *version = (uintptr_t) of_id->data; in tc3589x_of_probe()
/linux-6.12.1/drivers/ufs/host/
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()
Dufs-sprd.c137 const struct of_device_id *of_id; in ufs_sprd_common_init() local
144 of_id = of_match_node(ufs_sprd_of_match, pdev->dev.of_node); in ufs_sprd_common_init()
145 if (of_id->data != NULL) in ufs_sprd_common_init()
146 host->priv = container_of(of_id->data, struct ufs_sprd_priv, in ufs_sprd_common_init()
418 const struct of_device_id *of_id; in ufs_sprd_probe() local
420 of_id = of_match_node(ufs_sprd_of_match, dev->of_node); in ufs_sprd_probe()
421 err = ufshcd_pltfrm_init(pdev, of_id->data); in ufs_sprd_probe()
Dcdns-pltfrm.c287 const struct of_device_id *of_id; in cdns_ufs_pltfrm_probe() local
291 of_id = of_match_node(cdns_ufs_of_match, dev->of_node); in cdns_ufs_pltfrm_probe()
292 vops = (struct ufs_hba_variant_ops *)of_id->data; in cdns_ufs_pltfrm_probe()
/linux-6.12.1/drivers/mtd/parsers/
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()
/linux-6.12.1/drivers/rtc/
Dclass.c255 int of_id = -1, id = -1; in rtc_device_get_id() local
258 of_id = of_alias_get_id(dev->of_node, "rtc"); in rtc_device_get_id()
260 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); in rtc_device_get_id()
262 if (of_id >= 0) { in rtc_device_get_id()
263 id = ida_alloc_range(&rtc_ida, of_id, of_id, GFP_KERNEL); in rtc_device_get_id()
265 dev_warn(dev, "/aliases ID %d not available\n", of_id); in rtc_device_get_id()
/linux-6.12.1/drivers/usb/phy/
Dphy-am335x-control.c153 const struct of_device_id *of_id; in am335x_control_usb_probe() local
156 of_id = of_match_node(omap_control_usb_id_table, pdev->dev.of_node); in am335x_control_usb_probe()
157 if (!of_id) in am335x_control_usb_probe()
160 phy_ctrl = of_id->data; in am335x_control_usb_probe()
/linux-6.12.1/drivers/bus/
Dimx-weim.c305 const struct of_device_id *of_id; in of_weim_notify() local
311 of_id = of_match_node(weim_id_table, rd->dn->parent); in of_weim_notify()
312 if (!of_id) in of_weim_notify()
315 devtype = of_id->data; in of_weim_notify()
351 of_id = of_match_node(weim_id_table, rd->dn->parent); in of_weim_notify()
352 if (!of_id) in of_weim_notify()
Domap_l3_noc.c238 const struct of_device_id *of_id; in omap_l3_probe() local
242 of_id = of_match_device(l3_noc_match, &pdev->dev); in omap_l3_probe()
243 if (!of_id) { in omap_l3_probe()
252 memcpy(l3, of_id->data, sizeof(*l3)); in omap_l3_probe()
Dmvebu-mbus.c1131 const struct of_device_id *of_id; in mvebu_mbus_init() local
1133 for (of_id = of_mvebu_mbus_ids; of_id->compatible[0]; of_id++) in mvebu_mbus_init()
1134 if (!strcmp(of_id->compatible, soc)) in mvebu_mbus_init()
1137 if (!of_id->compatible[0]) { in mvebu_mbus_init()
1142 mbus_state.soc = of_id->data; in mvebu_mbus_init()
1249 const struct of_device_id *of_id; in mvebu_mbus_dt_init() local
1253 np = of_find_matching_node_and_match(NULL, of_mvebu_mbus_ids, &of_id); in mvebu_mbus_dt_init()
1259 mbus_state.soc = of_id->data; in mvebu_mbus_dt_init()
/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw-phy-sel.c208 const struct of_device_id *of_id; in cpsw_phy_sel_probe() local
211 of_id = of_match_node(cpsw_phy_sel_id_table, pdev->dev.of_node); in cpsw_phy_sel_probe()
212 if (!of_id) in cpsw_phy_sel_probe()
222 priv->cpsw_phy_sel = of_id->data; in cpsw_phy_sel_probe()
/linux-6.12.1/drivers/nvmem/
Dnintendo-otp.c77 const struct of_device_id *of_id = in nintendo_otp_probe() local
98 if (of_id->data) { in nintendo_otp_probe()
99 const struct nintendo_otp_devtype_data *data = of_id->data; in nintendo_otp_probe()
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_drm_drv.c373 const struct of_device_id *of_id; in mtk_drm_get_all_drm_priv() local
382 of_id = of_match_node(mtk_drm_of_ids, node); in mtk_drm_get_all_drm_priv()
383 if (!of_id) in mtk_drm_get_all_drm_priv()
825 const struct of_device_id *of_id; in mtk_drm_probe() local
843 of_id = of_match_node(mtk_drm_of_ids, phandle); in mtk_drm_probe()
844 if (!of_id) in mtk_drm_probe()
847 private->data = of_id->data; in mtk_drm_probe()
869 const struct of_device_id *of_id; in mtk_drm_probe() local
873 of_id = of_match_node(mtk_ddp_comp_dt_ids, node); in mtk_drm_probe()
874 if (!of_id) in mtk_drm_probe()
[all …]
/linux-6.12.1/drivers/ata/
Dahci_qoriq.c263 const struct of_device_id *of_id; in ahci_qoriq_probe() local
271 of_id = of_match_node(ahci_qoriq_of_match, np); in ahci_qoriq_probe()
273 if (!(of_id || acpi_id)) in ahci_qoriq_probe()
280 if (of_id) in ahci_qoriq_probe()
281 qoriq_priv->type = (unsigned long)of_id->data; in ahci_qoriq_probe()
/linux-6.12.1/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_core.c137 const struct of_device_id *of_id; in mtk_mdp_probe() local
140 of_id = of_match_node(mtk_mdp_comp_dt_ids, node); in mtk_mdp_probe()
141 if (!of_id) in mtk_mdp_probe()
150 comp_type = (uintptr_t)of_id->data; in mtk_mdp_probe()
/linux-6.12.1/drivers/phy/marvell/
Dphy-pxa-usb.c291 const struct of_device_id *of_id; in pxa_usb_phy_probe() local
297 of_id = of_match_node(pxa_usb_phy_of_match, dev->of_node); in pxa_usb_phy_probe()
298 if (of_id) in pxa_usb_phy_probe()
299 pxa_usb_phy->version = (uintptr_t)of_id->data; in pxa_usb_phy_probe()
/linux-6.12.1/drivers/phy/broadcom/
Dphy-bcm-sr-usb.c302 const struct of_device_id *of_id; in bcm_usb_phy_probe() local
312 of_id = of_match_node(bcm_usb_phy_of_match, dn); in bcm_usb_phy_probe()
313 if (of_id) in bcm_usb_phy_probe()
314 version = (uintptr_t)of_id->data; in bcm_usb_phy_probe()
/linux-6.12.1/sound/soc/codecs/
Dsti-sas.c406 const struct of_device_id *of_id; in sti_sas_driver_probe() local
415 of_id = of_match_node(sti_sas_dev_match, pnode); in sti_sas_driver_probe()
416 if (!of_id->data) { in sti_sas_driver_probe()
421 drvdata->dev_data = (struct sti_sas_dev_data *)of_id->data; in sti_sas_driver_probe()
/linux-6.12.1/drivers/net/wireless/ti/wlcore/
Dsdio.c223 const struct of_device_id *of_id; in wlcore_probe_of() local
225 of_id = of_match_node(wlcore_sdio_of_match_table, np); in wlcore_probe_of()
226 if (!of_id) in wlcore_probe_of()
229 pdev_data->family = of_id->data; in wlcore_probe_of()
/linux-6.12.1/drivers/iio/adc/
Drcar-gyroadc.c316 const struct of_device_id *of_id; in rcar_gyroadc_parse_subdevs() local
329 of_id = of_match_node(rcar_gyroadc_child_match, child); in rcar_gyroadc_parse_subdevs()
330 if (!of_id) { in rcar_gyroadc_parse_subdevs()
336 childmode = (uintptr_t)of_id->data; in rcar_gyroadc_parse_subdevs()

123