Lines Matching refs:op
54 union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op);
70 union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn) in acpi_ps_get_arg() argument
85 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); in acpi_ps_get_arg()
104 arg = op->common.value.arg; in acpi_ps_get_arg()
127 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg) in acpi_ps_append_arg() argument
134 if (!op) { in acpi_ps_append_arg()
140 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); in acpi_ps_append_arg()
146 op->common.aml_opcode)); in acpi_ps_append_arg()
161 if (op->common.value.arg) { in acpi_ps_append_arg()
165 prev_arg = op->common.value.arg; in acpi_ps_append_arg()
173 op->common.value.arg = arg; in acpi_ps_append_arg()
179 arg->common.parent = op; in acpi_ps_append_arg()
182 op->common.arg_list_length++; in acpi_ps_append_arg()
201 union acpi_parse_object *op) in acpi_ps_get_depth_next() argument
209 if (!op) { in acpi_ps_get_depth_next()
215 next = acpi_ps_get_arg(op, 0); in acpi_ps_get_depth_next()
222 next = op->common.next; in acpi_ps_get_depth_next()
229 parent = op->common.parent; in acpi_ps_get_depth_next()
233 while (arg && (arg != origin) && (arg != op)) { in acpi_ps_get_depth_next()
251 op = parent; in acpi_ps_get_depth_next()
271 union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op) in acpi_ps_get_child() argument
277 switch (op->common.aml_opcode) { in acpi_ps_get_child()
284 child = acpi_ps_get_arg(op, 0); in acpi_ps_get_child()
294 child = acpi_ps_get_arg(op, 1); in acpi_ps_get_child()
300 child = acpi_ps_get_arg(op, 2); in acpi_ps_get_child()
306 child = acpi_ps_get_arg(op, 3); in acpi_ps_get_child()