Lines Matching refs:s
26 node-macro =/ %s"DT_N" path-id %s"_EXISTS" macro
27 ; Bus macros: the plain BUS is a way to access a node's bus controller.
28 ; The additional dt-name suffix is added to match that node's bus type;
30 node-macro =/ %s"DT_N" path-id %s"_BUS" ["_" dt-name] macro
32 node-macro =/ %s"DT_N" path-id %s"_REG_NUM" macro
33 node-macro =/ %s"DT_N" path-id %s"_REG_IDX_" DIGIT "_EXISTS" macro
34 node-macro =/ %s"DT_N" path-id %s"_REG_IDX_" DIGIT macro
35 %s"_VAL_" ( %s"ADDRESS" / %s"SIZE") macro
36 node-macro =/ %s"DT_N" path-id %s"_REG_NAME_" dt-name macro
37 %s"_VAL_" ( %s"ADDRESS" / %s"SIZE") macro
38 node-macro =/ %s"DT_N" path-id %s"_REG_NAME_" dt-name "_EXISTS" macro
40 node-macro =/ %s"DT_N" path-id %s"_IRQ_NUM" macro
41 node-macro =/ %s"DT_N" path-id %s"_IRQ_LEVEL" macro
42 node-macro =/ %s"DT_N" path-id %s"_IRQ_IDX_" DIGIT "_EXISTS" macro
43 node-macro =/ %s"DT_N" path-id %s"_IRQ_IDX_" DIGIT macro
44 %s"_VAL_" dt-name [ %s"_EXISTS" ] macro
45 node-macro =/ %s"DT_N" path-id %s"_CONTROLLER" macro
46 node-macro =/ %s"DT_N" path-id %s"_IRQ_NAME_" dt-name macro
47 %s"_VAL_" dt-name [ %s"_EXISTS" ] macro
48 node-macro =/ %s"DT_N" path-id %s"_IRQ_NAME_" dt-name "_CONTROLLER" macro
50 node-macro =/ %s"DT_N" path-id %s"_RANGES_NUM" macro
51 node-macro =/ %s"DT_N" path-id %s"_RANGES_IDX_" DIGIT "_EXISTS" macro
52 node-macro =/ %s"DT_N" path-id %s"_RANGES_IDX_" DIGIT macro
53 %s"_VAL_" ( %s"CHILD_BUS_FLAGS" / %s"CHILD_BUS_ADDRESS" / macro
54 %s"PARENT_BUS_ADDRESS" / %s"LENGTH") macro
55 node-macro =/ %s"DT_N" path-id %s"_RANGES_IDX_" DIGIT macro
56 %s"_VAL_CHILD_BUS_FLAGS_EXISTS" macro
57 node-macro =/ %s"DT_N" path-id %s"_FOREACH_RANGE" macro
60 node-macro =/ %s"DT_N" path-id %s"_PARTITION_ID" DIGIT macro
61 ; Macros are generated for each of a node's compatibles;
63 node-macro =/ %s"DT_N" path-id %s"_COMPAT_MATCHES_" dt-name macro
64 node-macro =/ %s"DT_N" path-id %s"_COMPAT_VENDOR_IDX_" DIGIT "_EXISTS" macro
65 node-macro =/ %s"DT_N" path-id %s"_COMPAT_VENDOR_IDX_" DIGIT macro
66 node-macro =/ %s"DT_N" path-id %s"_COMPAT_MODEL_IDX_" DIGIT "_EXISTS" macro
67 node-macro =/ %s"DT_N" path-id %s"_COMPAT_MODEL_IDX_" DIGIT macro
69 ; identifier for that node's parent in the devicetree.
70 node-macro =/ %s"DT_N" path-id %s"_PARENT" macro
73 node-macro =/ %s"DT_N" path-id %s"_P_" prop-id %s"_FOREACH_PROP_ELEM" macro
74 node-macro =/ %s"DT_N" path-id %s"_P_" prop-id %s"_FOREACH_PROP_ELEM_SEP" macro
75 node-macro =/ %s"DT_N" path-id %s"_P_" prop-id %s"_FOREACH_PROP_ELEM_VARGS" macro
76 node-macro =/ %s"DT_N" path-id %s"_P_" prop-id %s"_FOREACH_PROP_ELEM_SEP_VARGS" macro
78 node-macro =/ %s"DT_N" path-id %s"_CHILD_NUM" macro
79 node-macro =/ %s"DT_N" path-id %s"_CHILD_NUM_STATUS_OKAY" macro
82 node-macro =/ %s"DT_N" path-id %s"_FOREACH_CHILD" macro
83 node-macro =/ %s"DT_N" path-id %s"_FOREACH_CHILD_SEP" macro
84 node-macro =/ %s"DT_N" path-id %s"_FOREACH_CHILD_VARGS" macro
85 node-macro =/ %s"DT_N" path-id %s"_FOREACH_CHILD_SEP_VARGS" macro
88 node-macro =/ %s"DT_N" path-id %s"_FOREACH_CHILD_STATUS_OKAY" macro
89 node-macro =/ %s"DT_N" path-id %s"_FOREACH_CHILD_STATUS_OKAY_SEP" macro
90 node-macro =/ %s"DT_N" path-id %s"_FOREACH_CHILD_STATUS_OKAY_VARGS" macro
91 node-macro =/ %s"DT_N" path-id %s"_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS" macro
93 ; DT_FOREACH_NODELABEL_VARGS, which iterate over a node's node labels.
94 node-macro =/ %s"DT_N" path-id %s"_FOREACH_NODELABEL" [ %s"_VARGS" ] macro
96 node-macro =/ %s"DT_N" path-id %s"_NODELABEL_NUM" macro
97 ; The node's zero-based index in the list of it's parent's child nodes.
98 node-macro =/ %s"DT_N" path-id %s"_CHILD_IDX" macro
99 ; The node's status macro; dt-name in this case is something like "okay"
101 node-macro =/ %s"DT_N" path-id %s"_STATUS_" dt-name macro
102 ; The node's dependency ordinal. This is a non-negative integer
104 node-macro =/ %s"DT_N" path-id %s"_ORD" macro
105 ; The node's path, as a string literal
106 node-macro =/ %s"DT_N" path-id %s"_PATH" macro
107 ; The node's name@unit-addr, as a string literal
108 node-macro =/ %s"DT_N" path-id %s"_FULL_NAME" macro
109 ; The dependency ordinals of a node's requirements (direct dependencies).
110 node-macro =/ %s"DT_N" path-id %s"_REQUIRES_ORDS" macro
112 node-macro =/ %s"DT_N" path-id %s"_SUPPORTS_ORDS" macro
133 pinctrl-macro = %s"DT_N" path-id %s"_PINCTRL_NUM" macro
138 pinctrl-macro =/ %s"DT_N" path-id %s"_PINCTRL_IDX_" DIGIT %s"_EXISTS" macro
143 pinctrl-macro =/ %s"DT_N" path-id %s"_PINCTRL_NAME_" dt-name %s"_EXISTS" macro
148 pinctrl-macro =/ %s"DT_N" path-id %s"_PINCTRL_NAME_" dt-name %s"_IDX" macro
153 ; There's no need for a separate macro for access by index: that's
156 pinctrl-macro =/ %s"DT_N" path-id %s"_PINCTRL_NAME_" dt-name %s"_IDX_" DIGIT %s"_PH" macro
190 gpioshogs-macro = %s"DT_N" path-id %s"_GPIO_HOGS_EXISTS" macro
195 gpioshogs-macro =/ %s"DT_N" path-id %s"_GPIO_HOGS_NUM" macro
201 gpiohogs-macro =/ %s"DT_N" path-id %s"_GPIO_HOGS_IDX_" DIGIT %s"_EXISTS" macro
208 gpiohogs-macro =/ %s"DT_N" path-id %s"_GPIO_HOGS_IDX_" DIGIT %s"_PH" macro
214 gpiohogs-macro =/ %s"DT_N" path-id %s"_GPIO_HOGS_IDX_" DIGIT %s"_VAL_pin_EXISTS" macro
220 gpiohogs-macro =/ %s"DT_N" path-id %s"_GPIO_HOGS_IDX_" DIGIT %s"_VAL_pin" macro
226 gpiohogs-macro =/ %s"DT_N" path-id %s"_GPIO_HOGS_IDX_" DIGIT %s"_VAL_flags_EXISTS" macro
232 gpiohogs-macro =/ %s"DT_N" path-id %s"_GPIO_HOGS_IDX_" DIGIT %s"_VAL_flags" macro
238 ; property name. The value expands to something related to the property's
241 ; The optional prop-suf suffix is when there's some specialized
243 ; property's individual elements
245 ; The "plain vanilla" macro for a property's value, with no prop-suf,
252 ; - path-id: node's devicetree path converted to a C token
253 ; - prop-id: node's property name converted to a C token
255 property-macro = %s"DT_N" path-id %s"_P_" prop-id [prop-suf] macro
258 ; path-id: a node's path-based macro identifier
261 ; the node's devicetree path converted to a C token by changing:
276 path-id = 1*( %s"_S_" dt-name ) macro
327 other-macro = %s"DT_N_" alternate-id macro
329 other-macro =/ %s"DT_N_INST_" dt-name %s"_NUM_OKAY" macro
332 other-macro =/ %s"DT_FOREACH_HELPER" macro
333 other-macro =/ %s"DT_FOREACH_OKAY_HELPER" macro
336 other-macro =/ %s"DT_FOREACH_OKAY_" dt-name macro
337 other-macro =/ %s"DT_FOREACH_OKAY_VARGS_" dt-name macro
340 other-macro =/ %s"DT_FOREACH_OKAY_INST_" dt-name macro
341 other-macro =/ %s"DT_FOREACH_OKAY_INST_VARGS_" dt-name macro
343 other-macro =/ %s"DT_CHOSEN_" dt-name macro
348 other-macro =/ %s"DT_COMPAT_" dt-name %s"_BUS_" dt-name macro
353 other-macro =/ %s"DT_COMPAT_HAS_OKAY_" dt-name macro
357 other-macro =/ %s"DT_COMPAT_" dt-name %s"_LABEL_" dt-name macro
389 ; "_P_<prop-id>" to access node properties given a node's alias, etc.
394 alternate-id = ( %s"ALIAS" / %s"NODELABEL" ) dt-name macro
395 alternate-id =/ %s"INST_" 1*DIGIT "_" dt-name macro