/openbmc/linux/drivers/of/unittest-data/ |
H 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>; 33 phandle-map = <0 1 &provider1 3>, 39 phandle-map-mask = <0xff 0xf>; 40 phandle-map-pass-thru = <0x0 0xf0>; 44 #phandle-cells = <2>; [all …]
|
/openbmc/linux/drivers/of/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | intel,ixp4xx-hss.yaml | 27 $ref: /schemas/types.yaml#/definitions/phandle-array 30 - description: phandle to the NPE this HSS instance is using 32 description: phandle to the NPE this HSS instance is using 36 $ref: /schemas/types.yaml#/definitions/phandle-array 39 - description: phandle to the RX trigger queue on the NPE 41 description: phandle to the RX trigger queue on the NPE 44 $ref: /schemas/types.yaml#/definitions/phandle-array 47 - description: phandle to the TX ready queue on the NPE 49 description: phandle to the TX ready queue on the NPE 52 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
H 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
|
/openbmc/linux/arch/sparc/prom/ |
H A 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 …]
|
H 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() 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 …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A 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 …]
|
H 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); 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | tas571x.txt | 23 - clocks: clock phandle for the MCLK input 25 - AVDD-supply: regulator phandle for the AVDD supply (all chips) 26 - DVDD-supply: regulator phandle for the DVDD supply (all chips) 27 - HPVDD-supply: regulator phandle for the HPVDD supply (5717/5719) 28 - PVDD_AB-supply: regulator phandle for the PVDD_AB supply (5717/5719) 29 - PVDD_CD-supply: regulator phandle for the PVDD_CD supply (5717/5719) 30 - PVDD_A-supply: regulator phandle for the PVDD_A supply (5711) 31 - PVDD_B-supply: regulator phandle for the PVDD_B supply (5711) 32 - PVDD_C-supply: regulator phandle for the PVDD_C supply (5711) 33 - PVDD_D-supply: regulator phandle for the PVDD_D supply (5711) [all …]
|
H A D | mt8195-mt6359.yaml | 27 $ref: /schemas/types.yaml#/definitions/phandle 28 description: The phandle of MT8195 ASoC platform. 31 $ref: /schemas/types.yaml#/definitions/phandle 32 description: The phandle of MT8195 Display Port Tx codec node. 35 $ref: /schemas/types.yaml#/definitions/phandle 36 description: The phandle of MT8195 HDMI codec node. 39 $ref: /schemas/types.yaml#/definitions/phandle 40 description: The phandle of MT8195 ADSP platform.
|
H A D | samsung,tm2.yaml | 21 description: Phandle to the MAX98504 amplifier. 22 $ref: /schemas/types.yaml#/definitions/phandle 26 $ref: /schemas/types.yaml#/definitions/phandle-array 28 - description: Phandle to the WM5110 audio codec. 29 - description: Phandle to the HDMI transmitter node. 44 $ref: /schemas/types.yaml#/definitions/phandle-array 46 - description: Phandle to I2S0. 47 - description: Phandle to I2S1.
|
H A D | samsung,snow.yaml | 27 - description: Phandle to the MAX98090, MAX98091 or MAX98095 CODEC. 28 - description: Phandle to the HDMI IP block node. 37 description: Phandle to the Samsung I2S controller. 43 description: Phandle to the audio codec. 44 $ref: /schemas/types.yaml#/definitions/phandle 48 description: Phandle to the Samsung I2S controller. 49 $ref: /schemas/types.yaml#/definitions/phandle
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | samsung,exynos5250-sata-phy.yaml | 31 samsung,syscon-phandle: 32 $ref: /schemas/types.yaml#/definitions/phandle 34 Phandle to PMU system controller interface. 36 samsung,exynos-sataphy-i2c-phandle: 37 $ref: /schemas/types.yaml#/definitions/phandle 39 Phandle to I2C SATA interface. 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>;
|
H 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 56 Phandle to PMU system controller interface. 58 samsung,sysreg-phandle: 59 $ref: /schemas/types.yaml#/definitions/phandle 61 Phandle to system registers interface. 73 - samsung,pmureg-phandle 86 - samsung,sysreg-phandle 100 samsung,sysreg-phandle = <&sysreg_system_controller>; [all …]
|
H A D | samsung,mipi-video-phy.yaml | 37 $ref: /schemas/types.yaml#/definitions/phandle 40 Phandle to PMU system controller interface, valid only for 45 $ref: /schemas/types.yaml#/definitions/phandle 48 Phandle to PMU system controller interface, valid for 52 $ref: /schemas/types.yaml#/definitions/phandle 54 Phandle to DISP system controller interface, valid for 58 $ref: /schemas/types.yaml#/definitions/phandle 60 Phandle to CAM0 system controller interface, valid for 64 $ref: /schemas/types.yaml#/definitions/phandle 66 Phandle to CAM1 system controller interface, valid for
|
/openbmc/linux/include/linux/ |
H 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);
|
/openbmc/linux/arch/sparc/kernel/ |
H 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() 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/crypto/ |
H 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
|
/openbmc/linux/Documentation/devicetree/bindings/display/samsung/ |
H A D | samsung,exynos-hdmi.yaml | 32 $ref: /schemas/types.yaml#/definitions/phandle 34 Phandle to the HDMI DDC node. 52 $ref: /schemas/types.yaml#/definitions/phandle 53 description: Phandle to the HDMI PHY node. 66 samsung,syscon-phandle: 67 $ref: /schemas/types.yaml#/definitions/phandle 69 Phandle to the PMU system controller node. 71 samsung,sysreg-phandle: 72 $ref: /schemas/types.yaml#/definitions/phandle 74 Phandle to DISP system controller interface. [all …]
|
/openbmc/u-boot/include/dm/ |
H A D | of.h | 14 typedef u32 phandle; typedef 36 * @phandle: Phandle value of this none, or 0 if none 46 phandle phandle; member 58 * struct of_phandle_args - structure to hold phandle and arguments 60 * This is used when decoding a phandle in a device tree property. Typically 64 * phandle = <5>; 70 * Here &node is the phandle of the node 'wibble', i.e. 5. There are three 73 * So when decoding the phandle in some-prop, np will point to wibble, 76 * @np: Node that the phandle refers to
|
/openbmc/u-boot/tools/dtoc/ |
H A D | dtoc_test_phandle.dts | 11 phandle: phandle-target { label 31 phandle-source { 34 clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>; 37 phandle-source2 { 40 clocks = <&phandle>;
|
/openbmc/u-boot/doc/device-tree-bindings/phy/ |
H A D | sun4i-usb-phy.txt | 24 - clocks : phandle + clock specifier for the phy clocks 31 - resets : a list of phandle + reset specifier pairs 39 - usb0_id_det-gpios : gpio phandle for reading the otg id pin value 40 - usb0_vbus_det-gpios : gpio phandle for detecting the presence of usb0 vbus 41 - usb0_vbus_power-supply: power-supply phandle for usb0 vbus presence detect 42 - usb0_vbus-supply : regulator phandle for controller usb0 vbus 43 - usb1_vbus-supply : regulator phandle for controller usb1 vbus 44 - usb2_vbus-supply : regulator phandle for controller usb2 vbus 45 - usb3_vbus-supply : regulator phandle for controller usb3 vbus
|
/openbmc/phosphor-hwmon/ |
H A D | sysfs.hpp | 22 /** @brief Return the path to the phandle file matching value in io-channels. 26 * The other path is used to find the phandle file. 27 * The 4 byte phandle value is read from the phandle file(s). 28 * The 4 byte phandle value and 4 byte index value is read from io-channels. 29 * When a match is found, the path to the matching phandle file is returned. 31 * @param[in] iochanneldir - Path to file for getting phandle from io-channels 32 * @param[in] phandledir - Path to use for reading from phandle file 34 * @return Path to phandle file with value matching that in io-channels
|
/openbmc/linux/Documentation/devicetree/bindings/media/cec/ |
H A D | samsung,s5p-cec.yaml | 30 samsung,syscon-phandle: 31 $ref: /schemas/types.yaml#/definitions/phandle 33 Phandle to PMU system controller interface 42 - hdmi-phandle 44 - samsung,syscon-phandle 61 hdmi-phandle = <&hdmi>; 65 samsung,syscon-phandle = <&pmu_system_controller>;
|
/openbmc/qemu/hw/arm/ |
H A D | xlnx-versal-virt.c | 46 } phandle; member 68 s->phandle.gic = qemu_fdt_alloc_phandle(s->fdt); in fdt_create() 69 for (i = 0; i < ARRAY_SIZE(s->phandle.ethernet_phy); i++) { in fdt_create() 70 s->phandle.ethernet_phy[i] = qemu_fdt_alloc_phandle(s->fdt); in fdt_create() 72 s->phandle.clk_25Mhz = qemu_fdt_alloc_phandle(s->fdt); in fdt_create() 73 s->phandle.clk_125Mhz = qemu_fdt_alloc_phandle(s->fdt); in fdt_create() 75 s->phandle.usb = qemu_fdt_alloc_phandle(s->fdt); in fdt_create() 76 s->phandle.dwc = qemu_fdt_alloc_phandle(s->fdt); in fdt_create() 81 qemu_fdt_setprop_cell(s->fdt, "/", "interrupt-parent", s->phandle.gic); in fdt_create() 89 unsigned int freq_hz, uint32_t phandle) in fdt_add_clk_node() argument [all …]
|