| /linux/drivers/of/unittest-data/ |
| A D | tests-phandle.dtsi | 14 phandle-tests { 16 #phandle-cells = <0>; 20 #phandle-cells = <1>; 24 #phandle-cells = <2>; 28 #phandle-cells = <3>; 32 #phandle-cells = <2>; 39 phandle-map-mask = <0xff 0xf>; 44 #phandle-cells = <2>; 46 phandle-map-mask = <0xff 0xf>; 60 phandle-list-bad-phandle = <12345678 0 0>; [all …]
|
| /linux/arch/sparc/include/asm/ |
| A D | oplib_32.h | 34 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 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); 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 D | openprom.h | 32 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 D | tree_64.c | 20 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 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() 184 phandle prom_searchsiblings(phandle node_start, char *nodename) in prom_searchsiblings() 187 phandle thisnode; in prom_searchsiblings() [all …]
|
| /linux/drivers/of/ |
| A D | resolver.c | 26 phandle phandle; in live_tree_max_phandle() local 30 phandle = 0; in live_tree_max_phandle() 33 node->phandle > phandle) in live_tree_max_phandle() 34 phandle = node->phandle; in live_tree_max_phandle() 38 return phandle; in live_tree_max_phandle() 46 phandle phandle; in adjust_overlay_phandles() local 49 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles() 50 overlay->phandle += phandle_delta; in adjust_overlay_phandles() 74 struct property *prop_fixup, phandle phandle) in update_usages_of_a_phandle_reference() argument 256 phandle phandle, phandle_delta; in of_resolve_phandles() local [all …]
|
| A D | pdt.c | 49 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/include/linux/ |
| A 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/arch/sparc/kernel/ |
| A 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() 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/Documentation/devicetree/bindings/net/ |
| A D | intel,ixp4xx-hss.yaml | 27 $ref: /schemas/types.yaml#/definitions/phandle-array 36 $ref: /schemas/types.yaml#/definitions/phandle-array 41 description: phandle to the RX trigger queue on the NPE 44 $ref: /schemas/types.yaml#/definitions/phandle-array 49 description: phandle to the TX ready queue on the NPE 52 $ref: /schemas/types.yaml#/definitions/phandle-array 57 description: phandle to the packet RX queue on the NPE 60 $ref: /schemas/types.yaml#/definitions/phandle-array 64 - description: phandle to the TX queue on the NPE 69 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
| A D | intel,ixp4xx-ethernet.yaml | 31 $ref: /schemas/types.yaml#/definitions/phandle-array 34 - description: phandle to the RX queue node 36 description: phandle to the RX queue on the NPE 39 $ref: /schemas/types.yaml#/definitions/phandle-array 42 - description: phandle to the TX READY queue node 44 description: phandle to the TX READY queue on the NPE 51 $ref: /schemas/types.yaml#/definitions/phandle-array 54 - description: phandle to the NPE this ethernet instance is using 56 description: phandle to the NPE this ethernet instance is using
|
| A D | ti,icssg-prueth.yaml | 24 $ref: /schemas/types.yaml#/definitions/phandle 26 phandle to MSMC SRAM node 49 $ref: /schemas/types.yaml#/definitions/phandle 51 phandle to MII_G_RT module's syscon regmap. 54 $ref: /schemas/types.yaml#/definitions/phandle 56 phandle to MII_RT module's syscon regmap 59 $ref: /schemas/types.yaml#/definitions/phandle 67 $ref: /schemas/types.yaml#/definitions/phandle-array 72 phandle to IEP (Industrial Ethernet Peripheral) for ICSSG 113 - description: phandle to system controller node [all …]
|
| /linux/arch/x86/platform/olpc/ |
| A 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() 239 phandle node; in olpc_dt_fixup() [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| A D | samsung,exynos5250-sata-phy.yaml | 31 samsung,syscon-phandle: 32 $ref: /schemas/types.yaml#/definitions/phandle 36 samsung,exynos-sataphy-i2c-phandle: 37 $ref: /schemas/types.yaml#/definitions/phandle 47 - samsung,syscon-phandle 48 - samsung,exynos-sataphy-i2c-phandle 62 samsung,syscon-phandle = <&pmu_system_controller>; 63 samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
|
| A D | samsung,usb2-phy.yaml | 15 The first phandle argument in the PHY specifier identifies the PHY, its 53 samsung,pmureg-phandle: 54 $ref: /schemas/types.yaml#/definitions/phandle 58 samsung,sysreg-phandle: 59 $ref: /schemas/types.yaml#/definitions/phandle 73 - samsung,pmureg-phandle 86 - samsung,sysreg-phandle 100 samsung,sysreg-phandle = <&sysreg_system_controller>; 101 samsung,pmureg-phandle = <&pmu_system_controller>;
|
| A D | hisilicon,hi3670-usb3.yaml | 23 $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.
|
| A D | starfive,jh7110-pcie-phy.yaml | 23 $ref: /schemas/types.yaml#/definitions/phandle-array 26 - description: phandle to System Register Controller sys_syscon node. 29 The phandle to System Register Controller syscon node and the PHY connect offset 33 $ref: /schemas/types.yaml#/definitions/phandle-array 36 - description: phandle to System Register Controller stg_syscon node. 40 The phandle to System Register Controller syscon node and the offset
|
| /linux/Documentation/devicetree/bindings/crypto/ |
| A D | intel,ixp4xx-crypto.yaml | 24 $ref: /schemas/types.yaml#/definitions/phandle-array 27 - description: phandle to the NPE this crypto engine 29 description: phandle to the NPE this crypto engine is using, the cell 33 $ref: /schemas/types.yaml#/definitions/phandle-array 36 - description: phandle to the RX queue on the NPE 38 description: phandle to the RX queue on the NPE, the cell describing 42 $ref: /schemas/types.yaml#/definitions/phandle-array 45 - description: phandle to the TX READY queue on the NPE 47 description: phandle to the TX READY queue on the NPE, the cell describing
|
| /linux/Documentation/devicetree/bindings/media/cec/ |
| A D | samsung,s5p-cec.yaml | 30 samsung,syscon-phandle: 31 $ref: /schemas/types.yaml#/definitions/phandle 42 - hdmi-phandle 44 - samsung,syscon-phandle 61 hdmi-phandle = <&hdmi>; 65 samsung,syscon-phandle = <&pmu_system_controller>;
|
| /linux/arch/powerpc/boot/ |
| A D | oflib.c | 115 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/dma/ |
| A D | qcom,adm.yaml | 32 - description: phandle to the core clock 33 - description: phandle to the iface clock 42 - description: phandle to the clk reset 43 - description: phandle to the pbus reset 44 - description: phandle to the c0 reset 45 - description: phandle to the c1 reset 46 - description: phandle to the c2 reset
|
| /linux/Documentation/devicetree/bindings/display/tegra/ |
| A D | nvidia,tegra20-dsi.yaml | 56 description: phandle of a supply that powers the DSI controller 59 description: Should contain a phandle and a specifier specifying 62 $ref: /schemas/types.yaml#/definitions/phandle-array 65 description: phandle of an I2C controller used for DDC EDID 67 $ref: /schemas/types.yaml#/definitions/phandle 78 description: phandle of a display panel 79 $ref: /schemas/types.yaml#/definitions/phandle 82 description: contains a phandle to a second DSI controller to 84 $ref: /schemas/types.yaml#/definitions/phandle
|
| /linux/drivers/char/tpm/ |
| A D | tpm2-space.c | 233 u32 phandle; in tpm2_map_to_phandle() local 240 phandle = space->context_tbl[i]; in tpm2_map_to_phandle() 367 space->context_tbl[i] = phandle; in tpm2_map_to_vhandle() 385 u32 phandle; in tpm2_map_response_header() local 404 phandle_type = phandle & 0xFF000000; in tpm2_map_response_header() 416 if (!tpm2_add_session(chip, phandle)) in tpm2_map_response_header() 421 __func__, phandle); in tpm2_map_response_header() 427 tpm2_flush_context(chip, phandle); in tpm2_map_response_header() 429 phandle); in tpm2_map_response_header() 446 u32 phandle; in tpm2_map_response_body() local [all …]
|
| /linux/Documentation/devicetree/bindings/media/ |
| A D | nuvoton,npcm-vcd.yaml | 32 $ref: /schemas/types.yaml#/definitions/phandle 33 description: phandle to access GCR (Global Control Register) registers. 36 $ref: /schemas/types.yaml#/definitions/phandle 37 description: phandle to access GFXI (Graphics Core Information) registers. 40 $ref: /schemas/types.yaml#/definitions/phandle 41 description: phandle to access ECE (Encoding Compression Engine) registers.
|