Searched refs:of_node (Results 26 - 50 of 3324) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/tiny/
H A Dofdrm.c149 static int display_read_u32_of(struct drm_device *dev, struct device_node *of_node, argument
152 int ret = of_property_read_u32(of_node, name, value);
159 static bool display_get_big_endian_of(struct drm_device *dev, struct device_node *of_node) argument
164 big_endian = !of_property_read_bool(of_node, "little-endian");
166 big_endian = of_property_read_bool(of_node, "big-endian");
172 static int display_get_width_of(struct drm_device *dev, struct device_node *of_node) argument
175 int ret = display_read_u32_of(dev, of_node, "width", &width);
182 static int display_get_height_of(struct drm_device *dev, struct device_node *of_node) argument
185 int ret = display_read_u32_of(dev, of_node, "height", &height);
192 static int display_get_depth_of(struct drm_device *dev, struct device_node *of_node) argument
202 display_get_linebytes_of(struct drm_device *dev, struct device_node *of_node) argument
212 display_get_address_of(struct drm_device *dev, struct device_node *of_node) argument
237 display_get_model_of(struct drm_device *dev, struct device_node *of_node) argument
325 display_get_pci_dev_of(struct drm_device *dev, struct device_node *of_node) argument
359 struct device_node *of_node = pdev->dev.of_node; local
423 get_cmap_address_of(struct ofdrm_device *odev, struct device_node *of_node, int bar_no, unsigned long offset, unsigned long size) argument
455 ofdrm_mach64_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) argument
485 ofdrm_rage128_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) argument
503 ofdrm_rage_m3a_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) argument
529 ofdrm_rage_m3b_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) argument
555 ofdrm_radeon_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) argument
562 ofdrm_gxt2000_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) argument
578 ofdrm_avivo_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) argument
611 ofdrm_qemu_cmap_ioremap(struct ofdrm_device *odev, struct device_node *of_node, u64 fb_base) argument
1093 struct device_node *of_node = pdev->dev.of_node; local
[all...]
/linux-master/arch/powerpc/kernel/
H A Dof_platform.c41 pr_info("Setting up PCI bus %pOF\n", dev->dev.of_node);
44 phb = pcibios_alloc_controller(dev->dev.of_node);
58 pci_process_bridge_OF_ranges(phb, dev->dev.of_node, 0);
/linux-master/sound/soc/rockchip/
H A Drockchip_max98090.c363 rk_98090_headset_dev.dlc.of_node = of_parse_phandle(
365 if (!rk_98090_headset_dev.dlc.of_node) {
378 struct device_node *np = pdev->dev.of_node;
393 * and hdmi codec in device property. Set their of_node accordingly.
399 card->dai_link[DAILINK_MAX98090].codecs->of_node = np_audio;
400 card->dai_link[DAILINK_HDMI].codecs->of_node = np_hdmi;
401 card->dai_link[DAILINK_MAX98090].cpus->of_node = np_cpu;
402 card->dai_link[DAILINK_MAX98090].platforms->of_node = np_cpu;
403 card->dai_link[DAILINK_HDMI].cpus->of_node = np_cpu;
404 card->dai_link[DAILINK_HDMI].platforms->of_node
[all...]
/linux-master/sound/soc/samsung/
H A Dsmdk_wm8994.c138 struct device_node *np = pdev->dev.of_node;
145 smdk_dai[0].cpus->of_node = of_parse_phandle(np,
147 if (!smdk_dai[0].cpus->of_node) {
155 smdk_dai[0].platforms->of_node = smdk_dai[0].cpus->of_node;
/linux-master/drivers/gpu/drm/bridge/
H A Daux-bridge.c61 adev->dev.of_node = of_node_get(parent->of_node);
115 data->next_bridge = devm_drm_of_get_bridge(&auxdev->dev, auxdev->dev.of_node, 0, 0);
121 data->bridge.of_node = data->dev->of_node;
/linux-master/drivers/power/reset/
H A Dgpio-restart.c61 open_source = of_property_read_bool(pdev->dev.of_node, "open-source");
76 ret = of_property_read_u32(pdev->dev.of_node, "priority", &property);
85 of_property_read_u32(pdev->dev.of_node, "active-delay",
87 of_property_read_u32(pdev->dev.of_node, "inactive-delay",
89 of_property_read_u32(pdev->dev.of_node, "wait-delay",
H A Dsyscon-reboot-mode.c52 syscon_rbm->map = syscon_node_to_regmap(pdev->dev.parent->of_node);
56 if (of_property_read_u32(pdev->dev.of_node, "offset",
60 of_property_read_u32(pdev->dev.of_node, "mask", &syscon_rbm->mask);
/linux-master/drivers/usb/host/
H A Dohci-exynos.c32 struct device_node *of_node; member in struct:exynos_ohci_hcd
46 num_phys = of_count_phandle_with_args(dev->of_node, "phys",
49 phy = devm_of_phy_get_by_index(dev, dev->of_node, phy_number);
58 for_each_available_child_of_node(dev->of_node, child) {
175 * Workaround: reset of_node pointer to avoid conflict between legacy
178 exynos_ohci->of_node = pdev->dev.of_node;
180 pdev->dev.of_node = NULL;
192 pdev->dev.of_node = exynos_ohci->of_node;
[all...]
/linux-master/sound/soc/mediatek/mt8173/
H A Dmt8173-rt5650.c276 platform_node = of_parse_phandle(pdev->dev.of_node,
286 dai_link->platforms->of_node = platform_node;
289 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node =
290 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0);
291 if (!mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) {
297 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node =
298 mt8173_rt5650_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node;
300 np = of_get_child_by_name(pdev->dev.of_node, "codec-capture");
325 mt8173_rt5650_dais[DAI_LINK_HDMI_I2S].codecs->of_node =
326 of_parse_phandle(pdev->dev.of_node, "mediate
[all...]
H A Dmt8173-rt5650-rt5514.c196 platform_node = of_parse_phandle(pdev->dev.of_node,
206 dai_link->platforms->of_node = platform_node;
209 mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node =
210 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0);
211 if (!mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) {
217 mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node =
218 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1);
219 if (!mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node) {
225 mt8173_rt5650_rt5514_codec_conf[0].dlc.of_node =
226 mt8173_rt5650_rt5514_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node;
[all...]
/linux-master/drivers/video/fbdev/
H A Dsunxvr1000.c20 struct device_node *of_node; member in struct:gfb_info
32 gp->width = of_getintprop_default(gp->of_node, "width", 0);
33 gp->height = of_getintprop_default(gp->of_node, "height", 0);
34 gp->depth = of_getintprop_default(gp->of_node, "depth", 32);
38 gp->of_node);
115 struct device_node *dp = op->dev.of_node;
128 gp->of_node = dp;
/linux-master/drivers/regulator/
H A Das3711-regulator.c173 struct device_node **of_node, const int count)
177 of_get_child_by_name(dev->parent->of_node, "regulators");
195 if (match->of_node) {
197 of_node[i] = match->of_node;
208 struct device_node *of_node[AS3711_REGULATOR_NUM] = {}; local
218 if (pdev->dev.parent->of_node) {
219 ret = as3711_regulator_parse_dt(&pdev->dev, of_node, AS3711_REGULATOR_NUM);
229 config.of_node = of_node[i
172 as3711_regulator_parse_dt(struct device *dev, struct device_node **of_node, const int count) argument
[all...]
H A Dmax20411-regulator.c29 struct device_node *of_node; member in struct:max20411
117 max20411->of_node = dev->of_node;
120 init_data = of_get_regulator_init_data(max20411->dev, max20411->of_node, &max20411->desc);
126 cfg.of_node = max20411->of_node;
H A Dstw481x-vmmc.c74 config.of_node = pdev->dev.of_node;
76 pdev->dev.of_node,
H A Dvqmmc-ipq4019-regulator.c54 init_data = of_get_regulator_init_data(dev, dev->of_node,
69 cfg.of_node = dev->of_node;
/linux-master/sound/soc/ux500/
H A Dmop500.c65 of_node_put(mop500_dai_links[i].cpus->of_node);
68 of_node_put(mop500_dai_links[0].codecs->of_node);
90 mop500_dai_links[i].cpus->of_node = msp_np[i];
92 mop500_dai_links[i].platforms->of_node = msp_np[i];
94 mop500_dai_links[i].codecs->of_node = codec_np;
105 struct device_node *np = pdev->dev.of_node;
/linux-master/sound/soc/atmel/
H A Datmel_wm8904.c85 struct device_node *np = pdev->dev.of_node;
114 dailink->cpus->of_node = cpu_np;
115 dailink->platforms->of_node = cpu_np;
124 dailink->codecs->of_node = codec_np;
143 id = of_alias_get_id((struct device_node *)dailink->cpus->of_node, "ssc");
169 id = of_alias_get_id((struct device_node *)dailink->cpus->of_node, "ssc");
/linux-master/drivers/reset/
H A Dreset-raspberrypi.c79 np = of_get_parent(dev->of_node);
100 priv->rcdev.of_node = dev->of_node;
H A Dreset-berlin.c71 struct device_node *parent_np = of_get_parent(pdev->dev.of_node);
85 priv->rcdev.of_node = pdev->dev.of_node;
/linux-master/drivers/clk/meson/
H A Dmeson-aoclk.c53 np = of_get_parent(dev->of_node);
66 rstc->reset.of_node = dev->of_node;
/linux-master/include/linux/regulator/
H A Dof_regulator.h16 struct device_node *of_node; member in struct:of_regulator_match
H A Dact8865.h64 * @of_node: device tree node (optional)
70 struct device_node *of_node; member in struct:act8865_regulator_data
/linux-master/drivers/mtd/parsers/
H A Dofpart_linksys_ns.c41 if (of_device_is_compatible(parts[i].of_node, "linksys,ns-firmware")) {
/linux-master/drivers/irqchip/
H A Dirq-idt3243x.c46 static int idt_pic_init(struct device_node *of_node, struct device_node *parent) argument
61 parent_irq = irq_of_parse_and_map(of_node, 0);
68 idtpic->base = of_iomap(of_node, 0);
75 domain = irq_domain_add_linear(of_node, IDT_PIC_NR_IRQS,
H A Dirq-goldfish-pic.c55 static int __init goldfish_pic_of_init(struct device_node *of_node, argument
70 parent_irq = irq_of_parse_and_map(of_node, 0);
77 gfpic->base = of_iomap(of_node, 0);
104 gfpic->irq_domain = irq_domain_add_legacy(of_node, GFPIC_NR_IRQS,

Completed in 287 milliseconds

1234567891011>>