Home
last modified time | relevance | path

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

12345678910>>...43

/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_power_handle.c41 static void dpu_power_event_trigger_locked(struct dpu_power_handle *phandle, in dpu_power_event_trigger_locked() argument
46 list_for_each_entry(event, &phandle->event_list, list) { in dpu_power_event_trigger_locked()
53 struct dpu_power_handle *phandle, char *client_name) in dpu_power_client_create() argument
58 if (!client_name || !phandle) { in dpu_power_client_create()
67 mutex_lock(&phandle->phandle_lock); in dpu_power_client_create()
75 list_add(&client->list, &phandle->power_client_clist); in dpu_power_client_create()
76 mutex_unlock(&phandle->phandle_lock); in dpu_power_client_create()
81 void dpu_power_client_destroy(struct dpu_power_handle *phandle, in dpu_power_client_destroy() argument
84 if (!client || !phandle) { in dpu_power_client_destroy()
92 mutex_lock(&phandle->phandle_lock); in dpu_power_client_destroy()
[all …]
/Linux-v4.19/arch/sparc/include/asm/
Doplib_32.h34 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 …]
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);
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 …]
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-v4.19/arch/sparc/prom/
Dtree_64.c20 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 …]
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()
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-v4.19/drivers/of/unittest-data/
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>;
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-v4.19/drivers/of/
Dresolver.c22 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
48 if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL) in adjust_overlay_phandles()
49 overlay->phandle += phandle_delta; in adjust_overlay_phandles()
[all …]
Dpdt.c66 if (of_pdt_prom_ops->pkg2path(dp->phandle, NULL, 0, &len)) in of_pdt_build_full_name()
70 if (of_pdt_prom_ops->pkg2path(dp->phandle, buf, len, &len)) in of_pdt_build_full_name()
86 static struct property * __init of_pdt_build_one_prop(phandle node, char *prev, in of_pdt_build_one_prop()
133 static struct property * __init of_pdt_build_prop_list(phandle node) in of_pdt_build_prop_list()
151 static char * __init of_pdt_get_one_property(phandle node, const char *name) in of_pdt_get_one_property()
165 static struct device_node * __init of_pdt_create_node(phandle node, in of_pdt_create_node()
180 dp->phandle = node; in of_pdt_create_node()
190 phandle node) in of_pdt_build_tree()
225 void __init of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops) in of_pdt_build_devicetree()
237 of_pdt_prom_ops->getchild(of_root->phandle)); in of_pdt_build_devicetree()
/Linux-v4.19/include/linux/
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-v4.19/arch/sparc/kernel/
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()
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-v4.19/Documentation/devicetree/bindings/sound/
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)
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 …]
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-v4.19/arch/x86/platform/olpc/
Dolpc_dt.c27 static phandle __init olpc_dt_getsibling(phandle node) in olpc_dt_getsibling()
41 static phandle __init olpc_dt_getchild(phandle node) in olpc_dt_getchild()
57 static int __init olpc_dt_getproplen(phandle node, const char *prop) in olpc_dt_getproplen()
74 static int __init olpc_dt_getproperty(phandle node, const char *prop, in olpc_dt_getproperty()
95 static int __init olpc_dt_nextprop(phandle node, char *prev, char *buf) in olpc_dt_nextprop()
112 static int __init olpc_dt_pkg2path(phandle node, char *buf, in olpc_dt_pkg2path()
168 static phandle __init olpc_dt_finddevice(const char *path) in olpc_dt_finddevice()
170 phandle node; in olpc_dt_finddevice()
205 phandle node; in olpc_dt_get_board_revision()
225 phandle node; in olpc_dt_fixup()
[all …]
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dmobility.c29 __be32 phandle; member
59 static int delete_dt_node(__be32 phandle) in delete_dt_node() argument
63 dn = of_find_node_by_phandle(be32_to_cpu(phandle)); in delete_dt_node()
132 static int update_dt_node(__be32 phandle, s32 scope) in update_dt_node() argument
152 dn = of_find_node_by_phandle(be32_to_cpu(phandle)); in update_dt_node()
159 upwa->phandle = phandle; in update_dt_node()
243 static void prrn_update_node(__be32 phandle) in prrn_update_node() argument
252 dn = of_find_node_by_phandle(be32_to_cpu(phandle)); in prrn_update_node()
265 hp_elog->_drc_u.drc_index = phandle; in prrn_update_node()
301 __be32 phandle = *data++; in pseries_devicetree_update() local
[all …]
/Linux-v4.19/drivers/char/tpm/
Dtpm2-space.c229 u32 phandle; in tpm2_map_to_phandle() local
236 phandle = space->context_tbl[i]; in tpm2_map_to_phandle()
237 *((__be32 *)handle) = cpu_to_be32(phandle); in tpm2_map_to_phandle()
313 static u32 tpm2_map_to_vhandle(struct tpm_space *space, u32 phandle, bool alloc) in tpm2_map_to_vhandle() argument
320 space->context_tbl[i] = phandle; in tpm2_map_to_vhandle()
323 } else if (space->context_tbl[i] == phandle) in tpm2_map_to_vhandle()
338 u32 phandle; in tpm2_map_response_header() local
356 phandle = be32_to_cpup((__be32 *)&rsp[TPM_HEADER_SIZE]); in tpm2_map_response_header()
357 phandle_type = phandle & 0xFF000000; in tpm2_map_response_header()
361 vhandle = tpm2_map_to_vhandle(space, phandle, true); in tpm2_map_response_header()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/phy/
Dsun4i-usb-phy.txt25 - clocks : phandle + clock specifier for the phy clocks
32 - resets : a list of phandle + reset specifier pairs
40 - usb0_id_det-gpios : gpio phandle for reading the otg id pin value
41 - usb0_vbus_det-gpios : gpio phandle for detecting the presence of usb0 vbus
42 - usb0_vbus_power-supply: power-supply phandle for usb0 vbus presence detect
43 - usb0_vbus-supply : regulator phandle for controller usb0 vbus
44 - usb1_vbus-supply : regulator phandle for controller usb1 vbus
45 - usb2_vbus-supply : regulator phandle for controller usb2 vbus
46 - usb3_vbus-supply : regulator phandle for controller usb3 vbus
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
18 - samsung,cam1-sysreg - phandle to the CAM1 system registers controller
37 - samsung,pmu-syscon: phandle for PMU system controller interface, used to
53 - samsung,sysreg-phandle - handle to syscon used to control the system registers
54 - samsung,pmureg-phandle - handle to syscon used to control PMU registers
62 - vbus-supply: power-supply phandle for vbus power source
64 The first phandle argument in the PHY specifier identifies the PHY, its
[all …]
Dqcom,usb-8x16-phy.txt27 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-v4.19/Documentation/devicetree/bindings/media/
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-v4.19/arch/powerpc/boot/
Doflib.c119 phandle oprom, chosen; in check_of_version()
123 if (oprom == (phandle) -1) in check_of_version()
133 if (chosen == (phandle) -1) { in check_of_version()
135 if (chosen == (phandle) -1) { in check_of_version()
213 int of_getprop(const void *phandle, const char *name, void *buf, in of_getprop() argument
216 return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen); in of_getprop()
219 int of_setprop(const void *phandle, const char *name, const void *buf, in of_setprop() argument
222 return of_call_prom("setprop", 4, 1, phandle, name, buf, buflen); in of_setprop()
/Linux-v4.19/drivers/clk/imx/
Dclk.c23 struct of_phandle_args phandle; in imx_obtain_fixed_clock_from_dt() local
31 phandle.np = of_find_node_by_path(path); in imx_obtain_fixed_clock_from_dt()
34 if (phandle.np) { in imx_obtain_fixed_clock_from_dt()
35 clk = of_clk_get_from_provider(&phandle); in imx_obtain_fixed_clock_from_dt()
36 of_node_put(phandle.np); in imx_obtain_fixed_clock_from_dt()
/Linux-v4.19/Documentation/devicetree/bindings/display/panel/
Djdi,lt070me05000.txt5 - vddp-supply: phandle of the regulator that provides the supply voltage
7 - iovcc-supply: phandle of the regulator that provides the supply voltage
9 - enable-gpios: phandle of gpio for enable line
11 - reset-gpios: phandle of gpio for reset line
14 - dcdc-en-gpios: phandle of the gpio for power ic line
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Deeprom.c31 phandle phandle; in mt76_get_of_eeprom() local
44 phandle = be32_to_cpup(list++); in mt76_get_of_eeprom()
45 if (!phandle) in mt76_get_of_eeprom()
48 np = of_find_node_by_phandle(phandle); in mt76_get_of_eeprom()
/Linux-v4.19/drivers/sbus/char/
Dopenprom.c200 phandle ph; in opromnext()
202 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); in opromnext()
204 if (bufsize < sizeof(phandle)) in opromnext()
236 ph = dp->phandle; in opromnext()
240 op->oprom_size = sizeof(phandle); in opromnext()
260 *((int *)op->oprom_array) = dp->phandle; in oprompci2node()
273 phandle ph = 0; in oprompath2node()
277 ph = dp->phandle; in oprompath2node()
376 static struct device_node *get_node(phandle n, DATA *data) in get_node()
511 phandle nd; in opiocgetnext()
[all …]

12345678910>>...43