Searched refs:of_node (Results 51 - 75 of 3330) sorted by relevance

1234567891011>>

/linux-master/drivers/irqchip/
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,
H A Dirq-gic-v3-its-fsl-mc-msi.c29 struct device_node *of_node; local
32 of_node = irq_domain_get_of_node(domain);
33 out_id = of_node ? of_msi_map_id(&mc_dev->dev, of_node, mc_dev->icid) :
H A Dirq-mips-cpu.c236 static void mips_cpu_register_ipi_domain(struct device_node *of_node) argument
243 2, of_node,
253 static inline void mips_cpu_register_ipi_domain(struct device_node *of_node) {} argument
257 static void __init __mips_cpu_irq_init(struct device_node *of_node) argument
263 irq_domain = irq_domain_add_legacy(of_node, 8, MIPS_CPU_IRQ_BASE, 0,
274 mips_cpu_register_ipi_domain(of_node);
282 int __init mips_cpu_irq_of_init(struct device_node *of_node, argument
285 __mips_cpu_irq_init(of_node);
/linux-master/arch/powerpc/platforms/pasemi/
H A Dmsi.c138 struct device_node *of_node; local
140 of_node = irq_domain_get_of_node(mpic->irqhost);
141 if (!of_node ||
142 !of_device_is_compatible(of_node,
/linux-master/drivers/regulator/
H A Dsy8106a-regulator.c74 error = of_property_read_u32(dev->of_node, "silergy,fixed-microvolt",
93 config.of_node = dev->of_node;
94 config.init_data = of_get_regulator_init_data(dev, dev->of_node,
H A Dqcom_usb_vbus-regulator.c54 ret = of_property_read_u32(dev->of_node, "reg", &base);
66 init_data = of_get_regulator_init_data(dev, dev->of_node,
77 config.of_node = dev->of_node;
/linux-master/drivers/staging/media/tegra-video/
H A Dvip.h27 * @of_node: vip device tree node
32 struct device_node *of_node; member in struct:tegra_vip_channel
/linux-master/drivers/gpu/drm/logicvc/
H A Dlogicvc_drm.c91 struct device_node *of_node = dev->of_node; local
96 logicvc_of_property_parse_bool(of_node, LOGICVC_OF_PROPERTY_DITHERING,
98 logicvc_of_property_parse_bool(of_node,
101 logicvc_of_property_parse_bool(of_node,
105 ret = logicvc_of_property_parse_u32(of_node,
111 ret = logicvc_of_property_parse_u32(of_node,
117 ret = logicvc_of_property_parse_u32(of_node,
123 ret = logicvc_of_property_parse_u32(of_node,
129 layers_node = of_get_child_by_name(of_node, "layer
294 struct device_node *of_node = pdev->dev.of_node; local
[all...]
/linux-master/drivers/bus/
H A Dsun50i-de2.c14 struct device_node *np = pdev->dev.of_node;
/linux-master/sound/soc/mediatek/mt7986/
H A Dmt7986-wm8960.c95 platform = of_get_child_by_name(pdev->dev.of_node, "platform");
113 dai_link->platforms->of_node = platform_dai_node;
116 codec = of_get_child_by_name(pdev->dev.of_node, "codec");
136 dai_link->codecs->of_node = codec_dai_node;
/linux-master/drivers/net/ethernet/ti/
H A Dcpsw-common.c21 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon");
48 syscon = syscon_regmap_lookup_by_phandle(dev->of_node, "syscon");
76 if (of_device_is_compatible(dev->of_node, "ti,am3517-emac"))
79 if (of_device_is_compatible(dev->of_node, "ti,dm816-emac"))
/linux-master/drivers/video/backlight/
H A Dgpio_backlight.c51 struct device_node *of_node = dev->of_node; local
82 if (!of_node || !of_node->phandle)
/linux-master/drivers/misc/
H A Datmel-ssc.c33 if (ssc->pdev->dev.of_node) {
34 if (of_alias_get_id(ssc->pdev->dev.of_node, "ssc")
135 if (pdev->dev.of_node) {
137 match = of_match_node(atmel_ssc_dt_ids, pdev->dev.of_node);
150 struct device_node *np = ssc->pdev->dev.of_node;
174 atmel_ssc_put_audio(of_alias_get_id(ssc->pdev->dev.of_node, "ssc"));
179 if (of_property_read_bool(ssc->pdev->dev.of_node, "#sound-dai-cells"))
209 if (pdev->dev.of_node) {
210 struct device_node *np = pdev->dev.of_node;
/linux-master/sound/soc/mediatek/common/
H A Dmtk-soundcard-driver.c97 for_each_available_child_of_node(dev->of_node, sub_node) {
224 needs_legacy_probe = !of_property_read_bool(pdev->dev.of_node, "audio-routing");
253 platform_node = of_parse_phandle(pdev->dev.of_node, "mediatek,platform", 0);
260 adsp_node = of_parse_phandle(pdev->dev.of_node, "mediatek,adsp", 0);
265 if (of_property_read_bool(pdev->dev.of_node, "mediatek,dai-link")) {
266 ret = mtk_sof_dailink_parse_of(card, pdev->dev.of_node,
290 * link is present, we have to make sure that the platforms->of_node
295 dai_link->platforms->of_node = adsp_node;
296 else if (!dai_link->platforms->name && !dai_link->platforms->of_node)
297 dai_link->platforms->of_node
[all...]
/linux-master/sound/soc/qcom/
H A Dcommon.c37 if (of_property_read_bool(dev->of_node, "widgets")) {
44 if (of_property_read_bool(dev->of_node, "audio-routing")) {
50 if (of_property_read_bool(dev->of_node, "qcom,audio-routing")) {
65 num_links = of_get_available_child_count(dev->of_node);
75 for_each_available_child_of_node(dev->of_node, np) {
114 link->platforms->of_node = of_parse_phandle(platform,
117 if (!link->platforms->of_node) {
123 link->platforms->of_node = link->cpus->of_node;
/linux-master/drivers/gpu/drm/tiny/
H A Dsimpledrm.c123 simplefb_read_u32_of(struct drm_device *dev, struct device_node *of_node, argument
126 int ret = of_property_read_u32(of_node, name, value);
135 simplefb_read_string_of(struct drm_device *dev, struct device_node *of_node, argument
138 int ret = of_property_read_string(of_node, name, value);
147 simplefb_get_width_of(struct drm_device *dev, struct device_node *of_node) argument
150 int ret = simplefb_read_u32_of(dev, of_node, "width", &width);
158 simplefb_get_height_of(struct drm_device *dev, struct device_node *of_node) argument
161 int ret = simplefb_read_u32_of(dev, of_node, "height", &height);
169 simplefb_get_stride_of(struct drm_device *dev, struct device_node *of_node) argument
172 int ret = simplefb_read_u32_of(dev, of_node, "strid
180 simplefb_get_format_of(struct drm_device *dev, struct device_node *of_node) argument
191 simplefb_get_memory_of(struct drm_device *dev, struct device_node *of_node) argument
302 struct device_node *of_node = pdev->dev.of_node; local
400 struct device_node *of_node = pdev->dev.of_node; local
780 struct device_node *of_node = pdev->dev.of_node; local
[all...]
/linux-master/drivers/pci/
H A Dof.c23 * Returns 0 on success with of_node set or when no device is described in the
30 if (!dev->bus->dev.of_node)
33 node = of_pci_find_child_device(dev->bus->dev.of_node, dev->devfn);
43 of_node_put(dev->dev.of_node);
54 node = of_node_get(bus->self->dev.of_node);
64 of_node_put(bus->dev.of_node);
79 if (bus->bridge->of_node)
80 return of_node_get(bus->bridge->of_node);
81 if (bus->bridge->parent && bus->bridge->parent->of_node)
82 return of_node_get(bus->bridge->parent->of_node);
[all...]
/linux-master/drivers/soc/lantiq/
H A Dfpi-bus.c30 struct device_node *np = dev->of_node;
63 return of_platform_populate(dev->of_node, NULL, NULL, dev);
/linux-master/include/linux/soc/qcom/
H A Dsmem_state.h22 struct qcom_smem_state *qcom_smem_state_register(struct device_node *of_node, const struct qcom_smem_state_ops *ops, void *data);
50 static inline struct qcom_smem_state *qcom_smem_state_register(struct device_node *of_node, argument
/linux-master/arch/powerpc/platforms/cell/
H A Dspider-pic.c217 struct device_node *of_node; local
219 of_node = irq_domain_get_of_node(pic->host);
224 virq = irq_of_parse_and_map(of_node, 0);
229 tmp = of_get_property(of_node, "#interrupt-cells", NULL);
233 imap = of_get_property(of_node, "interrupt-map", &imaplen);
273 static void __init spider_init_one(struct device_node *of_node, int chip, argument
285 pic->host = irq_domain_add_linear(of_node, SPIDER_SRC_COUNT,
310 pic->node_id, addr, of_node);
/linux-master/drivers/clk/mvebu/
H A Darmada-37xx-xtal.c21 struct device_node *np = pdev->dev.of_node;
70 of_clk_del_provider(pdev->dev.of_node);
/linux-master/drivers/reset/
H A Dreset-axs10x.c60 rst->rcdev.of_node = pdev->dev.of_node;
/linux-master/arch/sparc/kernel/
H A Dpower.c46 op->dev.of_node, res->start);
48 if (has_button_interrupt(irq, op->dev.of_node)) {
/linux-master/drivers/net/ethernet/arc/
H A Demac_arc.c27 if (!dev->of_node)
39 err = of_get_phy_mode(dev->of_node, &interface);
/linux-master/drivers/clk/qcom/
H A Dkpss-xcc.c44 if (of_property_read_string_index(dev->of_node,
61 of_clk_add_hw_provider(dev->of_node, of_clk_hw_simple_get, hw);

Completed in 307 milliseconds

1234567891011>>