Lines Matching refs:op
55 union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op);
71 union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn) in acpi_ps_get_arg() argument
86 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); in acpi_ps_get_arg()
105 arg = op->common.value.arg; in acpi_ps_get_arg()
128 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg) in acpi_ps_append_arg() argument
135 if (!op) { in acpi_ps_append_arg()
141 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); in acpi_ps_append_arg()
147 op->common.aml_opcode)); in acpi_ps_append_arg()
162 if (op->common.value.arg) { in acpi_ps_append_arg()
166 prev_arg = op->common.value.arg; in acpi_ps_append_arg()
174 op->common.value.arg = arg; in acpi_ps_append_arg()
180 arg->common.parent = op; in acpi_ps_append_arg()
183 op->common.arg_list_length++; in acpi_ps_append_arg()
204 union acpi_parse_object *op) in acpi_ps_get_depth_next() argument
212 if (!op) { in acpi_ps_get_depth_next()
218 next = acpi_ps_get_arg(op, 0); in acpi_ps_get_depth_next()
226 next = op->common.next; in acpi_ps_get_depth_next()
234 parent = op->common.parent; in acpi_ps_get_depth_next()
238 while (arg && (arg != origin) && (arg != op)) { in acpi_ps_get_depth_next()
259 op = parent; in acpi_ps_get_depth_next()
280 union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op) in acpi_ps_get_child() argument
286 switch (op->common.aml_opcode) { in acpi_ps_get_child()
293 child = acpi_ps_get_arg(op, 0); in acpi_ps_get_child()
303 child = acpi_ps_get_arg(op, 1); in acpi_ps_get_child()
309 child = acpi_ps_get_arg(op, 2); in acpi_ps_get_child()
315 child = acpi_ps_get_arg(op, 3); in acpi_ps_get_child()