Home
last modified time | relevance | path

Searched refs:phandle (Results 1 – 25 of 1165) sorted by relevance

12345678910>>...47

/linux/arch/sparc/include/asm/
A Doplib_32.h34 extern phandle prom_root_node;
115 phandle prom_getchild(phandle parent_node);
120 phandle prom_getsibling(phandle node);
134 int prom_getint(phandle node, char *property);
140 int prom_getbool(phandle node, char *prop);
148 phandle prom_searchsiblings(phandle node_start, char *name);
156 phandle prom_finddevice(char *name);
164 phandle prom_inst2pkg(int);
172 void prom_apply_generic_ranges(phandle node, phandle parent,
179 int cpu_find_by_mid(int mid, phandle *prom_node);
[all …]
A Doplib_64.h20 extern phandle prom_root_node;
28 extern phandle prom_chosen_node;
183 phandle prom_getchild(phandle parent_node);
188 phandle prom_getsibling(phandle node);
202 int prom_getint(phandle node, const char *property);
208 int prom_getbool(phandle node, const char *prop);
215 int prom_nodematch(phandle thisnode, const char *name);
220 phandle prom_searchsiblings(phandle node_start, const char *name);
225 char *prom_firstprop(phandle node, char *buffer);
236 phandle prom_finddevice(const char *name);
[all …]
A Dopenprom.h32 phandle (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */
174 phandle (*no_nextnode)(phandle node);
175 phandle (*no_child)(phandle node);
176 int (*no_proplen)(phandle node, const char *name);
177 int (*no_getprop)(phandle node, const char *name, char *val);
178 int (*no_setprop)(phandle node, const char *name, char *val, int len);
179 char * (*no_nextprop)(phandle node, char *name);
/linux/arch/sparc/prom/
A Dtree_64.c20 static phandle prom_node_to_node(const char *type, phandle node) in prom_node_to_node()
38 inline phandle __prom_getchild(phandle node) in __prom_getchild()
43 phandle prom_getchild(phandle node) in prom_getchild()
45 phandle cnode; in prom_getchild()
56 inline phandle prom_getparent(phandle node) in prom_getparent()
58 phandle cnode; in prom_getparent()
71 inline phandle __prom_getsibling(phandle node) in __prom_getsibling()
76 phandle prom_getsibling(phandle node) in prom_getsibling()
78 phandle sibnode; in prom_getsibling()
217 phandle thisnode; in prom_searchsiblings()
[all …]
A Dtree_32.c24 static phandle __prom_getchild(phandle node) in __prom_getchild()
27 phandle cnode; in __prom_getchild()
40 phandle prom_getchild(phandle node) in prom_getchild()
42 phandle cnode; in prom_getchild()
56 static phandle __prom_getsibling(phandle node) in __prom_getsibling()
59 phandle cnode; in __prom_getsibling()
72 phandle prom_getsibling(phandle node) in prom_getsibling()
74 phandle sibnode; in prom_getsibling()
184 phandle prom_searchsiblings(phandle node_start, char *nodename) in prom_searchsiblings()
187 phandle thisnode; in prom_searchsiblings()
[all …]
/linux/drivers/of/unittest-data/
A Dtests-phandle.dtsi12 phandle-tests {
14 #phandle-cells = <0>;
18 #phandle-cells = <1>;
22 #phandle-cells = <2>;
26 #phandle-cells = <3>;
30 #phandle-cells = <2>;
37 phandle-map-mask = <0xff 0xf>;
42 phandle-list = <&provider1 1>,
51 phandle-list-bad-phandle = <12345678 0 0>;
61 phandle-list = <&provider1 1>,
[all …]
/linux/drivers/of/
A Dresolver.c25 phandle phandle; in live_tree_max_phandle() local
29 phandle = 0; in live_tree_max_phandle()
32 node->phandle > phandle) in live_tree_max_phandle()
33 phandle = node->phandle; in live_tree_max_phandle()
37 return phandle; in live_tree_max_phandle()
45 phandle phandle; in adjust_overlay_phandles() local
48 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles()
49 overlay->phandle += phandle_delta; in adjust_overlay_phandles()
73 struct property *prop_fixup, phandle phandle) in update_usages_of_a_phandle_reference() argument
269 phandle phandle, phandle_delta; in of_resolve_phandles() local
[all …]
A Dpdt.c49 if (!of_pdt_prom_ops->pkg2path(dp->phandle, path, sizeof(path), &len)) { in of_pdt_build_full_name()
65 static struct property * __init of_pdt_build_one_prop(phandle node, char *prev, in of_pdt_build_one_prop()
112 static struct property * __init of_pdt_build_prop_list(phandle node) in of_pdt_build_prop_list()
130 static char * __init of_pdt_get_one_property(phandle node, const char *name) in of_pdt_get_one_property()
144 static struct device_node * __init of_pdt_create_node(phandle node, in of_pdt_create_node()
158 dp->phandle = node; in of_pdt_create_node()
170 phandle node) in of_pdt_build_tree()
200 void __init of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops) in of_pdt_build_devicetree()
209 of_pdt_prom_ops->getchild(of_root->phandle)); in of_pdt_build_devicetree()
/linux/arch/sparc/kernel/
A Ddevices.c34 static int check_cpu_node(phandle nd, int *cur_inst, in check_cpu_node()
35 int (*compare)(phandle, int, void *), void *compare_arg, in check_cpu_node() argument
36 phandle *prom_node, int *mid) in check_cpu_node()
54 static int __cpu_find_by(int (*compare)(phandle, int, void *), in __cpu_find_by() argument
55 void *compare_arg, phandle *prom_node, int *mid) in __cpu_find_by()
62 int err = check_cpu_node(dp->phandle, &cur_inst, in __cpu_find_by()
83 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid) in cpu_find_by_instance()
89 static int cpu_mid_compare(phandle nd, int instance, void *_arg) in cpu_mid_compare()
101 int cpu_find_by_mid(int mid, phandle *prom_node) in cpu_find_by_mid()
111 int cpu_get_hwmid(phandle prom_node) in cpu_get_hwmid()
[all …]
/linux/include/linux/
A Dof_pdt.h18 int (*nextprop)(phandle node, char *prev, char *buf);
21 int (*getproplen)(phandle node, const char *prop);
22 int (*getproperty)(phandle node, const char *prop, char *buf,
26 phandle (*getchild)(phandle parent);
27 phandle (*getsibling)(phandle node);
30 int (*pkg2path)(phandle node, char *buf, const int buflen, int *len);
36 extern void of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops);
/linux/Documentation/devicetree/bindings/sound/
A Dtas571x.txt22 - clocks: clock phandle for the MCLK input
24 - AVDD-supply: regulator phandle for the AVDD supply (all chips)
25 - DVDD-supply: regulator phandle for the DVDD supply (all chips)
26 - HPVDD-supply: regulator phandle for the HPVDD supply (5717/5719)
27 - PVDD_AB-supply: regulator phandle for the PVDD_AB supply (5717/5719)
29 - PVDD_A-supply: regulator phandle for the PVDD_A supply (5711)
30 - PVDD_B-supply: regulator phandle for the PVDD_B supply (5711)
31 - PVDD_C-supply: regulator phandle for the PVDD_C supply (5711)
32 - PVDD_D-supply: regulator phandle for the PVDD_D supply (5711)
33 - DRVDD-supply: regulator phandle for the DRVDD supply (5721)
[all …]
A Dmt8195-mt6359-rt1019-rt5682.yaml20 $ref: "/schemas/types.yaml#/definitions/phandle"
21 description: The phandle of MT8195 ASoC platform.
24 $ref: "/schemas/types.yaml#/definitions/phandle"
25 description: The phandle of MT8195 Display Port Tx codec node.
28 $ref: "/schemas/types.yaml#/definitions/phandle"
29 description: The phandle of MT8195 HDMI codec node.
A Dmt8195-mt6359-rt1011-rt5682.yaml20 $ref: "/schemas/types.yaml#/definitions/phandle"
21 description: The phandle of MT8195 ASoC platform.
24 $ref: "/schemas/types.yaml#/definitions/phandle"
25 description: The phandle of MT8195 Display Port Tx codec node.
28 $ref: "/schemas/types.yaml#/definitions/phandle"
29 description: The phandle of MT8195 HDMI codec node.
A Dti,j721e-cpb-ivi-audio.yaml54 description: phandle to McASP used on CPB
55 $ref: /schemas/types.yaml#/definitions/phandle
58 description: phandle to the pcm3168a codec used on the CPB
59 $ref: /schemas/types.yaml#/definitions/phandle
62 description: phandle to McASP used on IVI
63 $ref: /schemas/types.yaml#/definitions/phandle
66 description: phandle to the pcm3168a-A codec on the expansion board
67 $ref: /schemas/types.yaml#/definitions/phandle
70 description: phandle to the pcm3168a-B codec on the expansion board
71 $ref: /schemas/types.yaml#/definitions/phandle
A Dsnow.txt8 - samsung,i2s-controller (deprecated): The phandle of the Samsung I2S controller
9 - samsung,audio-codec (deprecated): The phandle of the audio codec
13 - 'cpu' subnode with a 'sound-dai' property containing the phandle of the I2S
16 to the CODEC nodes, first entry must be the phandle of the MAX98090,
18 string) and the second entry must be the phandle of the HDMI IP block node
/linux/arch/x86/platform/olpc/
A Dolpc_dt.c22 static phandle __init olpc_dt_getsibling(phandle node) in olpc_dt_getsibling()
36 static phandle __init olpc_dt_getchild(phandle node) in olpc_dt_getchild()
52 static int __init olpc_dt_getproplen(phandle node, const char *prop) in olpc_dt_getproplen()
69 static int __init olpc_dt_getproperty(phandle node, const char *prop, in olpc_dt_getproperty()
90 static int __init olpc_dt_nextprop(phandle node, char *prev, char *buf) in olpc_dt_nextprop()
107 static int __init olpc_dt_pkg2path(phandle node, char *buf, in olpc_dt_pkg2path()
166 static phandle __init olpc_dt_finddevice(const char *path) in olpc_dt_finddevice()
168 phandle node; in olpc_dt_finddevice()
203 phandle node; in olpc_dt_get_board_revision()
239 phandle node; in olpc_dt_fixup()
[all …]
/linux/drivers/char/tpm/
A Dtpm2-space.c227 u32 phandle; in tpm2_map_to_phandle() local
234 phandle = space->context_tbl[i]; in tpm2_map_to_phandle()
361 space->context_tbl[i] = phandle; in tpm2_map_to_vhandle()
379 u32 phandle; in tpm2_map_response_header() local
398 phandle_type = phandle & 0xFF000000; in tpm2_map_response_header()
410 if (!tpm2_add_session(chip, phandle)) in tpm2_map_response_header()
415 __func__, phandle); in tpm2_map_response_header()
421 tpm2_flush_context(chip, phandle); in tpm2_map_response_header()
423 phandle); in tpm2_map_response_header()
440 u32 phandle; in tpm2_map_response_body() local
[all …]
/linux/Documentation/devicetree/bindings/phy/
A Dsamsung-phy.txt12 - syscon - phandle to the PMU system controller
15 - samsung,pmu-syscon - phandle to the PMU system controller
16 - samsung,disp-sysreg - phandle to the DISP system registers controller
17 - samsung,cam0-sysreg - phandle to the CAM0 system registers controller
63 - vbus-supply: power-supply phandle for vbus power source
87 samsung,sysreg-phandle = <&sys_reg>;
88 samsung,pmureg-phandle = <&pmu_reg>;
113 - samsung,exynos-sataphy-i2c-phandle : a phandle to the I2C device, no arguments
114 - samsung,syscon-phandle : a phandle to the PMU system controller, no arguments
123 samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
[all …]
A Dhisilicon,hi3670-usb3.yaml23 $ref: '/schemas/types.yaml#/definitions/phandle'
24 description: phandle of syscon used to control iso refclk.
27 $ref: '/schemas/types.yaml#/definitions/phandle'
28 description: phandle of syscon used to control usb tcxo.
31 $ref: '/schemas/types.yaml#/definitions/phandle'
32 description: phandle of syscon used to control phy deep sleep.
/linux/Documentation/devicetree/bindings/power/avs/
A Dqcom,cpr.txt28 Definition: phandle to the reference clock
37 Value type: <phandle>
38 Definition: phandle to the vdd-apc-supply regulator
47 Value type: <phandle>
48 Definition: A phandle to the OPP table containing the
54 Value type: <phandle>
55 Definition: phandle to syscon for writing ACC settings
59 Value type: <phandle>
60 Definition: phandle to nvmem cells containing the data
/linux/arch/powerpc/boot/
A Doflib.c115 phandle oprom, chosen; in check_of_version()
119 if (oprom == (phandle) -1) in check_of_version()
129 if (chosen == (phandle) -1) { in check_of_version()
131 if (chosen == (phandle) -1) { in check_of_version()
209 int of_getprop(const void *phandle, const char *name, void *buf, in of_getprop() argument
212 return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen); in of_getprop()
215 int of_setprop(const void *phandle, const char *name, const void *buf, in of_setprop() argument
218 return of_call_prom("setprop", 4, 1, phandle, name, buf, buflen); in of_setprop()
/linux/Documentation/devicetree/bindings/media/
A Ds5p-cec.txt17 - samsung,syscon-phandle - phandle to the PMU system controller
18 - hdmi-phandle - phandle to the HDMI controller, see also cec.txt.
32 samsung,syscon-phandle = <&pmu_system_controller>;
33 hdmi-phandle = <&hdmi>;
/linux/drivers/sbus/char/
A Dopenprom.c187 phandle ph; in opromnext()
189 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); in opromnext()
191 if (bufsize < sizeof(phandle)) in opromnext()
223 ph = dp->phandle; in opromnext()
227 op->oprom_size = sizeof(phandle); in opromnext()
247 *((int *)op->oprom_array) = dp->phandle; in oprompci2node()
260 phandle ph = 0; in oprompath2node()
264 ph = dp->phandle; in oprompath2node()
498 phandle nd; in opiocgetnext()
520 nd = dp->phandle; in opiocgetnext()
[all …]
/linux/Documentation/devicetree/bindings/crypto/
A Dintel,ixp4xx-crypto.yaml24 $ref: '/schemas/types.yaml#/definitions/phandle-array'
26 description: phandle to the NPE this crypto engine is using, the cell
30 $ref: /schemas/types.yaml#/definitions/phandle-array
32 description: phandle to the RX queue on the NPE, the cell describing
36 $ref: /schemas/types.yaml#/definitions/phandle-array
38 description: phandle to the TX READY queue on the NPE, the cell describing
/linux/Documentation/devicetree/bindings/remoteproc/
A Dqcom,q6v5.txt65 Value type: <phandle>
100 Value type: <phandle>
120 Value type: <phandle>
131 Value type: <phandle>
142 Value type: <phandle>
150 Value type: <phandle>
158 Value type: <phandle>
164 Value type: <phandle>
188 Value type: <phandle>
193 Value type: <phandle>
[all …]

Completed in 36 milliseconds

12345678910>>...47