/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-sensor.c | 27 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()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_hw.c | 42 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()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs42xx8-i2c.c | 27 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()
|
/openbmc/u-boot/drivers/usb/phy/ |
H A D | rockchip_usb2_phy.c | 69 struct rockchip_usb2_phy_dt_id *of_id; in otg_phy_init() local 73 of_id = &rockchip_usb2_phy_dt_ids[i]; in otg_phy_init() 75 of_id->compatible) == 0) { in otg_phy_init() 76 phy_cfg = (struct rockchip_usb2_phy_cfg *)of_id->data; in otg_phy_init()
|
/openbmc/linux/drivers/mfd/ |
H A D | wm831x-i2c.c | 28 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 D | wm831x-spi.c | 25 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 D | lp87565.c | 49 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()
|
H A D | stmpe-i2c.c | 74 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 D | sun4i-gpadc.c | 96 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 D | mxs-lradc.c | 128 const struct of_device_id *of_id; in mxs_lradc_probe() local 141 of_id = of_match_device(mxs_lradc_dt_ids, &pdev->dev); in mxs_lradc_probe() 142 if (!of_id) in mxs_lradc_probe() 145 lradc->soc = (uintptr_t)of_id->data; in mxs_lradc_probe()
|
H A D | rn5t618.c | 182 const struct of_device_id *of_id; in rn5t618_i2c_probe() local 186 of_id = of_match_device(rn5t618_of_match, &i2c->dev); in rn5t618_i2c_probe() 187 if (!of_id) { in rn5t618_i2c_probe() 197 priv->variant = (long)of_id->data; in rn5t618_i2c_probe()
|
/openbmc/linux/drivers/hwmon/ |
H A D | nct6775-i2c.c | 158 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()
|
/openbmc/linux/drivers/power/reset/ |
H A D | brcmstb-reboot.c | 93 const struct of_device_id *of_id; in brcmstb_reboot_probe() local 95 of_id = of_match_node(of_match, np); in brcmstb_reboot_probe() 96 if (!of_id) { in brcmstb_reboot_probe() 100 reset_masks = of_id->data; in brcmstb_reboot_probe()
|
/openbmc/linux/drivers/bus/ |
H A D | imx-weim.c | 205 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()
|
/openbmc/linux/drivers/ufs/host/ |
H A D | tc-dwc-g210-pltfrm.c | 57 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 D | ufs-sprd.c | 137 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()
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | ofpart_core.c | 46 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()
|
/openbmc/linux/drivers/usb/phy/ |
H A D | phy-am335x-control.c | 153 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()
|
/openbmc/linux/drivers/fpga/ |
H A D | altera-hps2fpga.c | 130 const struct of_device_id *of_id; in alt_fpga_bridge_probe() local 135 of_id = of_match_device(altera_fpga_of_match, dev); in alt_fpga_bridge_probe() 136 if (!of_id) { in alt_fpga_bridge_probe() 141 priv = (struct altera_hps2fpga_data *)of_id->data; in alt_fpga_bridge_probe()
|
/openbmc/linux/drivers/rtc/ |
H A D | class.c | 251 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()
|
/openbmc/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-ns-usb3.c | 192 const struct of_device_id *of_id; in bcm_ns_usb3_mdio_probe() local 206 of_id = of_match_device(bcm_ns_usb3_id_table, dev); in bcm_ns_usb3_mdio_probe() 207 if (!of_id) in bcm_ns_usb3_mdio_probe() 209 usb3->family = (uintptr_t)of_id->data; in bcm_ns_usb3_mdio_probe()
|
/openbmc/linux/drivers/nvmem/ |
H A D | nintendo-otp.c | 77 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()
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpsw-phy-sel.c | 208 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()
|
/openbmc/linux/drivers/regulator/ |
H A D | lochnagar-regulator.c | 246 const struct of_device_id *of_id; in lochnagar_regulator_probe() local 255 of_id = of_match_device(lochnagar_of_match, dev); in lochnagar_regulator_probe() 256 if (!of_id) in lochnagar_regulator_probe() 259 desc = of_id->data; in lochnagar_regulator_probe()
|
/openbmc/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_drv.c | 356 const struct of_device_id *of_id; in mtk_drm_get_all_drm_priv() local 365 of_id = of_match_node(mtk_drm_of_ids, node); in mtk_drm_get_all_drm_priv() 366 if (!of_id) in mtk_drm_get_all_drm_priv() 781 const struct of_device_id *of_id; in mtk_drm_probe() local 799 of_id = of_match_node(mtk_drm_of_ids, phandle); in mtk_drm_probe() 800 if (!of_id) in mtk_drm_probe() 803 private->data = of_id->data; in mtk_drm_probe() 825 const struct of_device_id *of_id; in mtk_drm_probe() local 829 of_id = of_match_node(mtk_ddp_comp_dt_ids, node); in mtk_drm_probe() 830 if (!of_id) in mtk_drm_probe() [all …]
|