Searched refs:of_node (Results 1 - 25 of 3324) sorted by relevance

1234567891011>>

/linux-master/include/linux/fsl/
H A Dedac.h6 struct device_node *of_node; member in struct:mpc85xx_edac_pci_plat_data
/linux-master/arch/mips/include/asm/
H A Dirq_cpu.h16 extern int mips_cpu_irq_of_init(struct device_node *of_node,
/linux-master/sound/soc/kirkwood/
H A Darmada-370-db.c111 a370db_dai[0].cpus->of_node =
112 of_parse_phandle(pdev->dev.of_node,
114 a370db_dai[0].platforms->of_node = a370db_dai[0].cpus->of_node;
116 a370db_dai[0].codecs->of_node =
117 of_parse_phandle(pdev->dev.of_node,
120 a370db_dai[1].cpus->of_node = a370db_dai[0].cpus->of_node;
121 a370db_dai[1].platforms->of_node = a370db_dai[0].cpus->of_node;
[all...]
/linux-master/drivers/gpu/drm/logicvc/
H A Dlogicvc_of.h40 int logicvc_of_property_parse_u32(struct device_node *of_node,
42 void logicvc_of_property_parse_bool(struct device_node *of_node,
44 bool logicvc_of_node_is_layer(struct device_node *of_node);
H A Dlogicvc_of.c126 int logicvc_of_property_parse_u32(struct device_node *of_node, argument
140 !of_property_read_bool(of_node, property->name))
144 ret = of_property_read_string(of_node, property->name, &string);
153 ret = of_property_read_u32(of_node, property->name, &value);
167 void logicvc_of_property_parse_bool(struct device_node *of_node, argument
179 *target = of_property_read_bool(of_node, property->name);
182 bool logicvc_of_node_is_layer(struct device_node *of_node) argument
184 return !of_node_cmp(of_node->name, "layer");
/linux-master/drivers/reset/starfive/
H A Dreset-starfive-jh71x0.h9 int reset_starfive_jh71x0_register(struct device *dev, struct device_node *of_node,
/linux-master/arch/powerpc/include/asm/
H A Dmsi_bitmap.h13 struct device_node *of_node; member in struct:msi_bitmap
28 struct device_node *of_node);
/linux-master/drivers/of/
H A Ddevice.c29 if (!matches || !dev->of_node || dev->of_node_reused)
31 return of_match_node(matches, dev->of_node);
38 struct device_node *node, *of_node = dev->of_node; local
44 count = of_property_count_elems_of_size(of_node, "memory-region",
47 * If dev->of_node doesn't exist or doesn't contain memory-region, try
51 of_node = np;
53 of_node, "memory-region", sizeof(u32));
57 node = of_parse_phandle(of_node, "memory-region", i);
74 if (i < count && of_reserved_mem_device_init_by_idx(dev, of_node,
[all...]
/linux-master/sound/soc/samsung/
H A Dsnow.c157 cpu = of_get_child_by_name(dev->of_node, "cpu");
162 link->cpus->of_node = of_parse_phandle(cpu, "sound-dai", 0);
165 if (!link->cpus->of_node) {
170 codec = of_get_child_by_name(dev->of_node, "codec");
175 of_node_put(link->cpus->of_node);
180 priv->clk_i2s_bus = of_clk_get_by_name(link->cpus->of_node,
184 of_node_put(link->cpus->of_node);
190 link->cpus->of_node = of_parse_phandle(dev->of_node,
192 if (!link->cpus->of_node) {
[all...]
H A Darndale.c141 of_node_put(dai_link->cpus->of_node);
142 of_node_put(dai_link->codecs->of_node);
148 struct device_node *np = pdev->dev.of_node;
157 dai_link->cpus->of_node = of_parse_phandle(np, "samsung,audio-cpu", 0);
158 if (!dai_link->cpus->of_node) {
165 dai_link->platforms->of_node = dai_link->cpus->of_node;
167 dai_link->codecs->of_node = of_parse_phandle(np, "samsung,audio-codec", 0);
168 if (!dai_link->codecs->of_node) {
/linux-master/sound/aoa/soundbus/
H A Dsysfs.c18 of->dev.of_node, 'T',
19 of_node_get_device_type(of->dev.of_node));
29 return sysfs_emit(buf, "%pOFn\n", of->dev.of_node);
39 return sysfs_emit(buf, "%s\n", of_node_get_device_type(of->dev.of_node));
/linux-master/arch/sparc/video/
H A Dfbdev.c17 node = dev->of_node;
/linux-master/sound/soc/qcom/
H A Dstorm.c71 struct device_node *np = card->dev->of_node;
73 dai_link->cpus->of_node = of_parse_phandle(np, "cpu", 0);
74 if (!dai_link->cpus->of_node) {
78 dai_link->platforms->of_node = dai_link->cpus->of_node;
80 dai_link->codecs->of_node = of_parse_phandle(np, "codec", 0);
81 if (!dai_link->codecs->of_node) {
/linux-master/drivers/power/reset/
H A Dsyscon-poweroff.c50 data->map = syscon_regmap_lookup_by_phandle(dev->of_node, "regmap");
52 data->map = syscon_node_to_regmap(dev->parent->of_node);
59 if (of_property_read_u32(dev->of_node, "offset", &data->offset)) {
64 value_err = of_property_read_u32(dev->of_node, "value", &data->value);
65 mask_err = of_property_read_u32(dev->of_node, "mask", &data->mask);
H A Dsyscon-reboot.c53 ctx->map = syscon_regmap_lookup_by_phandle(dev->of_node, "regmap");
55 ctx->map = syscon_node_to_regmap(dev->parent->of_node);
60 if (of_property_read_s32(pdev->dev.of_node, "priority", &priority))
63 if (of_property_read_u32(pdev->dev.of_node, "offset", &ctx->offset))
66 value_err = of_property_read_u32(pdev->dev.of_node, "value", &ctx->value);
67 mask_err = of_property_read_u32(pdev->dev.of_node, "mask", &ctx->mask);
/linux-master/drivers/usb/core/
H A Dof.c30 for_each_child_of_node(hub->dev.of_node, node) {
62 if (!udev->dev.of_node)
81 const struct device_node *np = hub->dev.of_node;
120 np = hub->dev.of_node;
167 for_each_child_of_node(udev->dev.of_node, node) {
/linux-master/arch/powerpc/sysdev/
H A Dmsi_bitmap.c80 if (!bmp->of_node)
83 p = of_get_property(bmp->of_node, "msi-available-ranges", &len);
86 "found on %pOF\n", bmp->of_node);
92 " property on %pOF\n", bmp->of_node);
113 struct device_node *of_node)
142 bmp->of_node = of_node_get(of_node);
152 of_node_put(bmp->of_node);
166 /* of_node may be NULL */
224 struct device_node of_node; local
112 msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, struct device_node *of_node) argument
[all...]
/linux-master/sound/soc/mediatek/mt8173/
H A Dmt8173-rt5650-rt5676.c252 platform_node = of_parse_phandle(pdev->dev.of_node,
262 dai_link->platforms->of_node = platform_node;
265 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node =
266 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 0);
267 if (!mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[0].of_node) {
273 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node =
274 of_parse_phandle(pdev->dev.of_node, "mediatek,audio-codec", 1);
275 if (!mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node) {
281 mt8173_rt5650_rt5676_codec_conf[0].dlc.of_node =
282 mt8173_rt5650_rt5676_dais[DAI_LINK_CODEC_I2S].codecs[1].of_node;
[all...]
/linux-master/sound/soc/rockchip/
H A Drockchip_rt5645.c169 struct device_node *np = pdev->dev.of_node;
174 rk_dailink.codecs->of_node = of_parse_phandle(np,
176 if (!rk_dailink.codecs->of_node) {
182 rk_dailink.cpus->of_node = of_parse_phandle(np,
184 if (!rk_dailink.cpus->of_node) {
191 rk_dailink.platforms->of_node = rk_dailink.cpus->of_node;
210 of_node_put(rk_dailink.cpus->of_node);
211 rk_dailink.cpus->of_node = NULL;
213 of_node_put(rk_dailink.codecs->of_node);
[all...]
/linux-master/drivers/soc/qcom/
H A Dsmem_state.c21 * @of_node: of_node to use for matching the state in DT
30 struct device_node *of_node; member in struct:qcom_smem_state
66 if (state->of_node == np) {
98 index = of_property_match_string(dev->of_node,
107 ret = of_parse_phandle_with_args(dev->of_node,
139 of_node_put(state->of_node);
193 * @of_node: of_node used for matching client lookups
197 struct qcom_smem_state *qcom_smem_state_register(struct device_node *of_node, argument
[all...]
/linux-master/drivers/soc/sunxi/
H A Dsunxi_mbus.c74 if (!of_device_compatible_match(dev->of_node, sunxi_mbus_devices))
85 if (of_property_present(dev->of_node, "interconnects"))
/linux-master/drivers/remoteproc/
H A Dqcom_wcnss_iris.c109 of_node_put(iris->dev.of_node);
117 struct device_node *of_node; local
122 of_node = of_get_child_by_name(parent->of_node, "iris");
123 if (!of_node) {
130 of_node_put(of_node);
137 iris->dev.of_node = of_node;
/linux-master/include/linux/platform_data/
H A Ddsa.h31 struct device_node *of_node; member in struct:dsa_chip_data
H A Dmtd-nand-s3c2410.h40 struct device_node *of_node; member in struct:s3c2410_nand_set
/linux-master/drivers/macintosh/
H A Dmacio_sysfs.c17 compat = of_get_property(of->dev.of_node, "compatible", &cplen);
47 return sprintf(buf, "%pOF\n", ofdev->dev.of_node);
55 return sprintf(buf, "%pOFn\n", dev->of_node);
62 return sprintf(buf, "%s\n", of_node_get_device_type(dev->of_node));

Completed in 207 milliseconds

1234567891011>>