Home
last modified time | relevance | path

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

12

/linux/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()
/linux/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()
/linux/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()
H A 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()
H A 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/drivers/mtd/parsers/
H A Dofpart_core.c50 const struct of_device_id *of_id; in parse_fixed_partitions() local
81 of_id = of_match_node(parse_ofpart_match_table, ofpart_node); in parse_fixed_partitions()
82 if (dedicated && !of_id) { in parse_fixed_partitions()
88 quirks = of_id ? of_id->data : NULL; in parse_fixed_partitions()
/linux/drivers/rtc/
H A Dclass.c254 int of_id = -1, id = -1; in rtc_device_get_id() local
257 of_id = of_alias_get_id(dev->of_node, "rtc"); in rtc_device_get_id()
259 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); in rtc_device_get_id()
261 if (of_id >= 0) { in rtc_device_get_id()
262 id = ida_alloc_range(&rtc_ida, of_id, of_id, GFP_KERNEL); in rtc_device_get_id()
264 dev_warn(dev, "/aliases ID %d not available\n", of_id); in rtc_device_get_id()
/linux/drivers/usb/phy/
H A 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/drivers/bus/
H A 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()
H A 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()
H A Dmvebu-mbus.c1135 const struct of_device_id *of_id; in mvebu_mbus_init() local
1137 for (of_id = of_mvebu_mbus_ids; of_id->compatible[0]; of_id++) in mvebu_mbus_init()
1138 if (!strcmp(of_id->compatible, soc)) in mvebu_mbus_init()
1141 if (!of_id->compatible[0]) { in mvebu_mbus_init()
1146 mbus_state.soc = of_id->data; in mvebu_mbus_init()
1253 const struct of_device_id *of_id; in mvebu_mbus_dt_init() local
1257 np = of_find_matching_node_and_match(NULL, of_mvebu_mbus_ids, &of_id); in mvebu_mbus_dt_init()
1263 mbus_state.soc = of_id->data; in mvebu_mbus_dt_init()
H A Dbrcmstb_gisb.c416 const struct of_device_id *of_id; in brcmstb_gisb_arb_probe() local
436 of_id = of_match_node(brcmstb_gisb_arb_of_match, dn); in brcmstb_gisb_arb_probe()
437 if (!of_id) { in brcmstb_gisb_arb_probe()
441 gdev->gisb_offsets = of_id->data; in brcmstb_gisb_arb_probe()
/linux/drivers/net/ethernet/ti/
H A 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/drivers/nvmem/
H A 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/drivers/ata/
H A 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()
H A Dahci_brcm.c439 const struct of_device_id *of_id; in brcm_ahci_probe() local
449 of_id = of_match_node(ahci_of_match, pdev->dev.of_node); in brcm_ahci_probe()
450 if (!of_id) in brcm_ahci_probe()
453 priv->version = (unsigned long)of_id->data; in brcm_ahci_probe()
/linux/drivers/phy/marvell/
H A 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/drivers/phy/broadcom/
H A 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()
H A Dphy-brcm-sata.c755 const struct of_device_id *of_id; in brcm_sata_phy_probe() local
773 of_id = of_match_node(brcm_sata_phy_of_match, dn); in brcm_sata_phy_probe()
774 if (of_id) in brcm_sata_phy_probe()
775 priv->version = (uintptr_t)of_id->data; in brcm_sata_phy_probe()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_drv.c379 const struct of_device_id *of_id; in mtk_drm_get_all_drm_priv() local
388 of_id = of_match_node(mtk_drm_of_ids, node); in mtk_drm_get_all_drm_priv()
389 if (!of_id) in mtk_drm_get_all_drm_priv()
844 const struct of_device_id *of_id = of_match_node(mtk_ddp_comp_dt_ids, node); in mtk_drm_of_get_ddp_comp_type() local
846 if (!of_id) in mtk_drm_of_get_ddp_comp_type()
849 *ctype = (enum mtk_ddp_comp_type)((uintptr_t)of_id->data); in mtk_drm_of_get_ddp_comp_type()
1068 const struct of_device_id *of_id; in mtk_drm_probe() local
1087 of_id = of_match_node(mtk_drm_of_ids, phandle); in mtk_drm_probe()
1088 if (!of_id) in mtk_drm_probe()
1091 mtk_drm_data = (struct mtk_mmsys_driver_data *)of_id->data; in mtk_drm_probe()
/linux/sound/soc/codecs/
H A 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/drivers/mfd/
H A 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/sound/soc/sti/
H A Dsti_uniperif.c395 const struct of_device_id *of_id; in sti_uniperiph_cpu_dai_of() local
401 of_id = of_match_node(snd_soc_sti_match, node); in sti_uniperiph_cpu_dai_of()
402 if (!of_id->data) { in sti_uniperiph_cpu_dai_of()
406 dev_data = (struct sti_uniperiph_dev_data *)of_id->data; in sti_uniperiph_cpu_dai_of()
/linux/drivers/net/wireless/ti/wlcore/
H A Dspi.c440 const struct of_device_id *of_id; in wlcore_probe_of() local
442 of_id = of_match_node(wlcore_spi_of_match_table, dt_node); in wlcore_probe_of()
443 if (!of_id) in wlcore_probe_of()
446 pdev_data->family = of_id->data; in wlcore_probe_of()
/linux/drivers/phy/ti/
H A Dphy-gmii-sel.c469 const struct of_device_id *of_id; in phy_gmii_sel_probe() local
475 of_id = of_match_node(phy_gmii_sel_id_table, pdev->dev.of_node); in phy_gmii_sel_probe()
476 if (!of_id) in phy_gmii_sel_probe()
484 priv->soc_data = of_id->data; in phy_gmii_sel_probe()

12