Home
last modified time | relevance | path

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

12

/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/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/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 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/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/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/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/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/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/bus/
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/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/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/media/platform/cadence/
H A Dcdns-csi2tx.c572 const struct of_device_id *of_id; in csi2tx_probe() local
587 of_id = of_match_node(csi2tx_of_table, pdev->dev.of_node); in csi2tx_probe()
588 csi2tx->vops = (struct csi2tx_vops *)of_id->data; in csi2tx_probe()
/linux/drivers/input/keyboard/
H A Dmtk-pmic-keys.c336 const struct of_device_id *of_id = in mtk_pmic_keys_probe() local
345 mtk_pmic_regs = of_id->data; in mtk_pmic_keys_probe()
/linux/drivers/media/platform/samsung/s5p-g2d/
H A Dg2d.c622 const struct of_device_id *of_id; in g2d_probe() local
702 of_id = of_match_node(exynos_g2d_match, pdev->dev.of_node); in g2d_probe()
703 if (!of_id) { in g2d_probe()
707 dev->variant = (struct g2d_variant *)of_id->data; in g2d_probe()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_disp_ovl_adaptor.c498 const struct of_device_id *of_id = of_match_node(mtk_ovl_adaptor_comp_dt_ids, node); in ovl_adaptor_of_get_ddp_comp_type() local
500 if (!of_id) in ovl_adaptor_of_get_ddp_comp_type()
503 *ctype = (enum mtk_ovl_adaptor_comp_type)((uintptr_t)of_id->data); in ovl_adaptor_of_get_ddp_comp_type()
/linux/drivers/net/dsa/
H A Dbcm_sf2.c1369 const struct of_device_id *of_id = NULL; in bcm_sf2_sw_probe() local
1398 of_id = of_match_node(bcm_sf2_of_match, dn); in bcm_sf2_sw_probe()
1399 if (!of_id || !of_id->data) in bcm_sf2_sw_probe()
1402 data = of_id->data; in bcm_sf2_sw_probe()

12