/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-sensor.c | 27 const struct of_device_id *of_id; local 29 of_id = of_match_node(fimc_is_sensor_of_ids, node); 30 return of_id ? of_id->data : NULL;
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_hw.c | 42 const struct of_device_id *of_id; local 46 of_id = &mtk_vdec_hw_match[i]; 48 of_id->compatible); 54 hw_idx = (enum mtk_vdec_hw_id)(uintptr_t)of_id->data; 125 const struct of_device_id *of_id; local 153 of_id = of_match_device(mtk_vdec_hw_match, dev); 154 if (!of_id) { 159 hw_idx = (enum mtk_vdec_hw_id)(uintptr_t)of_id->data;
|
/linux-master/drivers/ufs/host/ |
H A D | tc-dwc-g210-pltfrm.c | 57 const struct of_device_id *of_id; local 61 of_id = of_match_node(tc_dwc_g210_pltfm_match, dev->of_node); 62 vops = (struct ufs_hba_variant_ops *)of_id->data;
|
H A D | ufs-sprd.c | 137 const struct of_device_id *of_id; local 144 of_id = of_match_node(ufs_sprd_of_match, pdev->dev.of_node); 145 if (of_id->data != NULL) 146 host->priv = container_of(of_id->data, struct ufs_sprd_priv, 418 const struct of_device_id *of_id; local 420 of_id = of_match_node(ufs_sprd_of_match, dev->of_node); 421 err = ufshcd_pltfrm_init(pdev, of_id->data);
|
H A D | cdns-pltfrm.c | 287 const struct of_device_id *of_id; local 291 of_id = of_match_node(cdns_ufs_of_match, dev->of_node); 292 vops = (struct ufs_hba_variant_ops *)of_id->data;
|
/linux-master/drivers/power/reset/ |
H A D | brcmstb-reboot.c | 96 const struct of_device_id *of_id; local 98 of_id = of_match_node(of_match, np); 99 if (!of_id) { 103 reset_masks = of_id->data;
|
/linux-master/drivers/mfd/ |
H A D | stmpe-i2c.c | 74 const struct of_device_id *of_id; local 81 of_id = of_match_device(stmpe_of_match, &i2c->dev); 82 if (!of_id) { 90 partnum = (uintptr_t)of_id->data;
|
H A D | sun4i-gpadc.c | 96 const struct of_device_id *of_id; local 101 of_id = of_match_node(sun4i_gpadc_of_match, pdev->dev.of_node); 102 if (!of_id) 105 switch ((long)of_id->data) {
|
H A D | twl6030-irq.c | 371 const struct of_device_id *of_id; local 373 of_id = of_match_device(twl6030_of_match, dev); 374 if (!of_id || !of_id->data) { 412 twl6030_irq->irq_mapping_tbl = of_id->data;
|
H A D | tc3589x.c | 334 const struct of_device_id *of_id; local 340 of_id = of_match_device(tc3589x_match, dev); 341 if (!of_id) 343 *version = (uintptr_t) of_id->data;
|
/linux-master/drivers/nvmem/ |
H A D | nintendo-otp.c | 77 const struct of_device_id *of_id = local 98 if (of_id->data) { 99 const struct nintendo_otp_devtype_data *data = of_id->data;
|
/linux-master/drivers/usb/phy/ |
H A D | phy-am335x-control.c | 153 const struct of_device_id *of_id; local 156 of_id = of_match_node(omap_control_usb_id_table, pdev->dev.of_node); 157 if (!of_id) 160 phy_ctrl = of_id->data;
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | cpsw-phy-sel.c | 208 const struct of_device_id *of_id; local 211 of_id = of_match_node(cpsw_phy_sel_id_table, pdev->dev.of_node); 212 if (!of_id) 222 priv->cpsw_phy_sel = of_id->data;
|
/linux-master/drivers/rtc/ |
H A D | class.c | 255 int of_id = -1, id = -1; local 258 of_id = of_alias_get_id(dev->of_node, "rtc"); 260 of_id = of_alias_get_id(dev->parent->of_node, "rtc"); 262 if (of_id >= 0) { 263 id = ida_alloc_range(&rtc_ida, of_id, of_id, GFP_KERNEL); 265 dev_warn(dev, "/aliases ID %d not available\n", of_id);
|
/linux-master/drivers/mtd/parsers/ |
H A D | ofpart_core.c | 46 const struct of_device_id *of_id; local 77 of_id = of_match_node(parse_ofpart_match_table, ofpart_node); 78 if (dedicated && !of_id) { 83 quirks = of_id ? of_id->data : NULL;
|
/linux-master/drivers/bus/ |
H A D | imx-weim.c | 309 const struct of_device_id *of_id; local 315 of_id = of_match_node(weim_id_table, rd->dn->parent); 316 if (!of_id) 319 devtype = of_id->data; 355 of_id = of_match_node(weim_id_table, rd->dn->parent); 356 if (!of_id)
|
H A D | omap_l3_noc.c | 238 const struct of_device_id *of_id; local 242 of_id = of_match_device(l3_noc_match, &pdev->dev); 243 if (!of_id) { 252 memcpy(l3, of_id->data, sizeof(*l3));
|
H A D | mvebu-mbus.c | 1131 const struct of_device_id *of_id; local 1133 for (of_id = of_mvebu_mbus_ids; of_id->compatible[0]; of_id++) 1134 if (!strcmp(of_id->compatible, soc)) 1137 if (!of_id->compatible[0]) { 1142 mbus_state.soc = of_id->data; 1249 const struct of_device_id *of_id; local 1253 np = of_find_matching_node_and_match(NULL, of_mvebu_mbus_ids, &of_id); 1259 mbus_state.soc = of_id [all...] |
/linux-master/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_core.c | 137 const struct of_device_id *of_id; local 140 of_id = of_match_node(mtk_mdp_comp_dt_ids, node); 141 if (!of_id) 150 comp_type = (uintptr_t)of_id->data;
|
/linux-master/drivers/phy/marvell/ |
H A D | phy-pxa-usb.c | 291 const struct of_device_id *of_id; local 297 of_id = of_match_node(pxa_usb_phy_of_match, dev->of_node); 298 if (of_id) 299 pxa_usb_phy->version = (uintptr_t)of_id->data;
|
/linux-master/drivers/ata/ |
H A D | ahci_qoriq.c | 263 const struct of_device_id *of_id; local 271 of_id = of_match_node(ahci_qoriq_of_match, np); 273 if (!(of_id || acpi_id)) 280 if (of_id) 281 qoriq_priv->type = (unsigned long)of_id->data;
|
/linux-master/sound/soc/codecs/ |
H A D | sti-sas.c | 410 const struct of_device_id *of_id; local 419 of_id = of_match_node(sti_sas_dev_match, pnode); 420 if (!of_id->data) { 425 drvdata->dev_data = (struct sti_sas_dev_data *)of_id->data;
|
/linux-master/drivers/phy/broadcom/ |
H A D | phy-bcm-sr-usb.c | 302 const struct of_device_id *of_id; local 312 of_id = of_match_node(bcm_usb_phy_of_match, dn); 313 if (of_id) 314 version = (uintptr_t)of_id->data;
|
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_drv.c | 364 const struct of_device_id *of_id; local 373 of_id = of_match_node(mtk_drm_of_ids, node); 374 if (!of_id) 803 const struct of_device_id *of_id; local 821 of_id = of_match_node(mtk_drm_of_ids, phandle); 822 if (!of_id) 825 private->data = of_id->data; 847 const struct of_device_id *of_id; local 851 of_id = of_match_node(mtk_ddp_comp_dt_ids, node); 852 if (!of_id) [all...] |
/linux-master/drivers/iio/adc/ |
H A D | rcar-gyroadc.c | 316 const struct of_device_id *of_id; local 330 of_id = of_match_node(rcar_gyroadc_child_match, child); 331 if (!of_id) { 337 childmode = (uintptr_t)of_id->data;
|