/Linux-v5.15/drivers/of/ |
D | resolver.c | 22 static phandle live_tree_max_phandle(void) in live_tree_max_phandle() 25 phandle phandle; in live_tree_max_phandle() local 29 phandle = 0; in live_tree_max_phandle() 31 if (node->phandle != OF_PHANDLE_ILLEGAL && 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 47 /* adjust node's phandle in node */ in adjust_overlay_phandles() 48 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles() [all …]
|
D | unittest.c | 82 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a"); in of_unittest_find_node_by_name() 84 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", name), in of_unittest_find_node_by_name() 85 "find /testcase-data/phandle-tests/consumer-a failed\n"); in of_unittest_find_node_by_name() 100 np = of_find_node_by_path("testcase-alias/phandle-tests/consumer-a"); in of_unittest_find_node_by_name() 102 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", name), in of_unittest_find_node_by_name() 103 "find testcase-alias/phandle-tests/consumer-a failed\n"); in of_unittest_find_node_by_name() 316 num_to_str(phandle_str, sizeof(phandle_str), np->phandle, 0); in of_unittest_printf() 352 if (!np->phandle) in of_unittest_check_phandles() 355 hash_for_each_possible(phandle_ht, nh, node, np->phandle) { in of_unittest_check_phandles() 356 if (nh->np->phandle == np->phandle) { in of_unittest_check_phandles() [all …]
|
/Linux-v5.15/drivers/of/unittest-data/ |
D | tests-phandle.dtsi | 12 phandle-tests { 14 #phandle-cells = <0>; 18 #phandle-cells = <1>; 22 #phandle-cells = <2>; 26 #phandle-cells = <3>; 30 #phandle-cells = <2>; 31 phandle-map = <0 1 &provider1 3>, 37 phandle-map-mask = <0xff 0xf>; 38 phandle-map-pass-thru = <0x0 0xf0>; 42 phandle-list = <&provider1 1>, [all …]
|
/Linux-v5.15/arch/sparc/prom/ |
D | tree_64.c | 20 static phandle prom_node_to_node(const char *type, phandle node) in prom_node_to_node() 32 return (phandle) args[4]; 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() [all …]
|
D | tree_32.c | 24 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() 90 int prom_getproplen(phandle node, const char *prop) in prom_getproplen() 110 int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) in prom_getproperty() [all …]
|
/Linux-v5.15/arch/sparc/include/asm/ |
D | oplib_32.h | 34 extern phandle prom_root_node; 115 phandle prom_getchild(phandle parent_node); 120 phandle prom_getsibling(phandle node); 125 int prom_getproplen(phandle thisnode, const char *property); 130 int __must_check prom_getproperty(phandle thisnode, const char *property, 134 int prom_getint(phandle node, char *property); 137 int prom_getintdefault(phandle node, char *property, int defval); 140 int prom_getbool(phandle node, char *prop); 143 void prom_getstring(phandle node, char *prop, char *buf, int bufsize); 148 phandle prom_searchsiblings(phandle node_start, char *name); [all …]
|
D | oplib_64.h | 20 extern phandle prom_root_node; 28 extern phandle prom_chosen_node; 183 phandle prom_getchild(phandle parent_node); 188 phandle prom_getsibling(phandle node); 193 int prom_getproplen(phandle thisnode, const char *property); 198 int prom_getproperty(phandle thisnode, const char *property, 202 int prom_getint(phandle node, const char *property); 205 int prom_getintdefault(phandle node, const char *property, int defval); 208 int prom_getbool(phandle node, const char *prop); 211 void prom_getstring(phandle node, const char *prop, char *buf, [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/sound/ |
D | tas571x.txt | 22 - 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) 28 - PVDD_CD-supply: regulator phandle for the PVDD_CD 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) [all …]
|
D | mt8195-mt6359-rt1019-rt5682.yaml | 20 $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.
|
D | ti,j721e-cpb-ivi-audio.yaml | 54 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
|
D | qcom,wcd9335.txt | 44 Value type: <phandle> 60 Value type: <phandle> 65 Value type: <phandle> 70 Value type: <phandle> 75 Value type: <phandle> 80 Value type: <phandle> 85 Value type: <phandle> 90 Value type: <phandle>
|
/Linux-v5.15/include/linux/ |
D | of_pdt.h | 18 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-v5.15/arch/sparc/kernel/ |
D | devices.c | 34 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() 74 static int cpu_instance_compare(phandle nd, int instance, void *_arg) in cpu_instance_compare() 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() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/phy/ |
D | samsung-phy.txt | 12 - 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 18 - samsung,cam1-sysreg - phandle to the CAM1 system registers controller 37 - samsung,pmu-syscon: phandle for PMU system controller interface, used to 54 - samsung,sysreg-phandle - handle to syscon used to control the system registers 55 - samsung,pmureg-phandle - handle to syscon used to control PMU registers 63 - vbus-supply: power-supply phandle for vbus power source 65 The first phandle argument in the PHY specifier identifies the PHY, its [all …]
|
D | qcom,usb-8x16-phy.txt | 27 Value type: <phandle> 28 Definition: phandle to the regulator VDCCX supply node. 32 Value type: <phandle> 33 Definition: phandle to the regulator 1.8V supply node. 37 Value type: <phandle> 38 Definition: phandle to the regulator 3.3V supply node.
|
/Linux-v5.15/Documentation/devicetree/bindings/power/avs/ |
D | qcom,cpr.txt | 28 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-v5.15/scripts/dtc/libfdt/ |
D | fdt_overlay.c | 15 * overlay_get_target_phandle - retrieves the target phandle of a fragment 19 * overlay_get_target_phandle() retrieves the target phandle of an 20 * overlay fragment when that fragment uses a phandle (target 24 * the phandle pointed by the target property 25 * 0, if the phandle was not found 26 * -1, if the phandle was malformed 52 * done (through a phandle or a path) 61 uint32_t phandle; in overlay_get_target() local 65 /* Try first to do a phandle based lookup */ in overlay_get_target() 66 phandle = overlay_get_target_phandle(fdto, fragment); in overlay_get_target() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/usb/ |
D | msm-hsusb.txt | 8 - usb-phy: phandle for the PHY device 28 - clocks: A list of phandle + clock-specifier pairs for the 37 - vdccx-supply: phandle to the regulator for the vdd supply for 39 - v1p8-supply: phandle to the regulator for the 1.8V supply 40 - v3p3-supply: phandle to the regulator for the 3.3V supply 42 - resets: A list of phandle + reset-specifier pairs for the 55 - switch-gpio: A phandle + gpio-specifier pair. Some boards are using Dual 80 - extcon: phandles to external connector devices. First phandle 85 phandle should be specified.
|
/Linux-v5.15/Documentation/devicetree/bindings/media/ |
D | s5p-cec.txt | 17 - 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-v5.15/arch/x86/platform/olpc/ |
D | olpc_dt.c | 22 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() 219 static int __init olpc_dt_compatible_match(phandle node, const char *compat) in olpc_dt_compatible_match() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/crypto/ |
D | intel,ixp4xx-crypto.yaml | 24 $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-v5.15/Documentation/devicetree/bindings/remoteproc/ |
D | qcom,q6v5.txt | 63 Value type: <phandle> 96 Value type: <phandle> 116 Value type: <phandle> 127 Value type: <phandle> 138 Value type: <phandle> 146 Value type: <phandle> 154 Value type: <phandle> 160 Value type: <phandle> 181 Value type: <phandle> 193 Definition: a phandle reference to a syscon representing TCSR followed [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/power/ |
D | mediatek,power-controller.yaml | 18 property that is a phandle for SCPSYS node representing the domain. 91 $ref: /schemas/types.yaml#/definitions/phandle 92 description: phandle to the device containing the INFRACFG register range. 95 $ref: /schemas/types.yaml#/definitions/phandle 96 description: phandle to the device containing the SMI register range. 142 $ref: /schemas/types.yaml#/definitions/phandle 143 description: phandle to the device containing the INFRACFG register range. 146 $ref: /schemas/types.yaml#/definitions/phandle 147 description: phandle to the device containing the SMI register range. 193 $ref: /schemas/types.yaml#/definitions/phandle [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/pci/ |
D | qcom,pcie.txt | 82 Definition: List of phandle and clock specifier pairs as listed 174 Definition: List of phandle and reset specifier pairs as listed 256 Definition: A phandle and power domain specifier pair to the 262 Value type: <phandle> 263 Definition: A phandle to the core analog power supply 267 Value type: <phandle> 268 Definition: A phandle to the analog power supply for PHY 272 Value type: <phandle> 273 Definition: A phandle to the analog power supply for IC which generates 277 Value type: <phandle> [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/net/ |
D | sff,sfp.txt | 10 - i2c-bus : phandle of an I2C bus controller for the SFP two wire serial 15 - mod-def0-gpios : GPIO phandle and a specifier of the MOD-DEF0 (AKA Mod_ABS) 19 - los-gpios : GPIO phandle and a specifier of the Receiver Loss of Signal 22 - tx-fault-gpios : GPIO phandle and a specifier of the Module Transmitter 25 - tx-disable-gpios : GPIO phandle and a specifier of the Transmitter Disable 28 - rate-select0-gpios : GPIO phandle and a specifier of the Rx Signaling Rate 32 - rate-select1-gpios : GPIO phandle and a specifier of the Tx Signaling Rate
|