• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/acpi/acpica/

Lines Matching defs:op

112  *              out_op          - Where to return op if a new one is created
124 union acpi_parse_object *op;
133 op = walk_state->op;
134 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op,
139 if (op) {
141 *out_op = op;
147 if (op->common.node) {
148 *out_op = op;
160 "State=%p Op=%p [%s]\n", walk_state, op,
347 if (!op) {
349 /* Create a new op */
351 op = acpi_ps_alloc_op(walk_state->opcode);
352 if (!op) {
357 /* Initialize the op */
360 op->named.path = ACPI_CAST_PTR(u8, path);
365 * Put the Node in the "op" object that the parser uses, so we
368 op->common.node = node;
369 op->named.name = node->name.integer;
373 op);
374 *out_op = op;
393 union acpi_parse_object *op;
399 op = walk_state->op;
400 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op,
424 acpi_ds_init_field_objects(op, walk_state);
435 if (op->common.aml_opcode == AML_REGION_OP) {
437 acpi_ex_create_region(op->named.data,
438 op->named.length,
439 (acpi_adr_space_type) ((op->
450 } else if (op->common.aml_opcode == AML_DATA_REGION_OP) {
452 acpi_ex_create_region(op->named.data,
453 op->named.length,
463 if (op->common.aml_opcode == AML_NAME_OP) {
467 if (op->common.value.arg) {
468 object_type = (acpi_ps_get_opcode_info((op->common.
476 if (op->common.node) {
477 op->common.node->type = (u8) object_type;
487 if (op->common.aml_opcode == AML_METHOD_OP) {
498 walk_state, op, op->named.node));
500 if (!acpi_ns_get_attached_object(op->named.node)) {
502 ACPI_CAST_PTR(void, op->named.node);
507 op->common.value.
511 acpi_ex_create_method(op->named.
513 op->named.
533 acpi_ut_get_type_name(object_type), op));
546 * out_op - Wher to return op if a new one is created
558 union acpi_parse_object *op;
567 op = walk_state->op;
568 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op,
571 if (op) {
594 /* For Namepath op, get the path string */
596 buffer_ptr = op->common.value.string;
604 /* Get name from the op */
606 buffer_ptr = ACPI_CAST_PTR(char, &op->named.name);
620 "State=%p Op=%p Type=%X\n", walk_state, op,
648 if (op && (op->named.node == acpi_gbl_root_node)) {
649 node = op->named.node;
737 if (op && op->common.node) {
739 /* This op/node was previously entered into the namespace */
741 node = op->common.node;
806 if (!op) {
808 /* Create a new op */
810 op = acpi_ps_alloc_op(walk_state->opcode);
811 if (!op) {
815 /* Initialize the new op */
818 op->named.name = node->name.integer;
820 *out_op = op;
824 * Put the Node in the "op" object that the parser uses, so we
827 op->common.node = node;
846 union acpi_parse_object *op;
859 op = walk_state->op;
861 walk_state->op_info->name, op, walk_state));
869 if (op->common.aml_opcode == AML_SCOPE_OP) {
871 "Ending scope Op=%p State=%p\n", op,
879 * (It was saved in the *op structure)
881 node = op->common.node;
893 (op->common.aml_opcode != AML_INT_METHODCALL_OP)) {
896 acpi_ut_get_type_name(object_type), op));
934 acpi_ps_get_opcode_name(op->common.aml_opcode),
935 walk_state, op, node));
939 arg = op->common.value.arg;
949 status = acpi_ds_create_buffer_field(op, walk_state);
957 status = acpi_ds_init_field_objects(op, walk_state);
960 switch (op->common.aml_opcode) {
964 acpi_ds_create_index_field(op,
972 acpi_ds_create_bank_field(op, arg->common.node,
979 acpi_ds_create_field(op, arg->common.node,
996 switch (op->common.aml_opcode) {
1041 switch (op->common.aml_opcode) {
1046 if (op->common.aml_opcode == AML_REGION_OP) {
1048 ((op->common.value.arg)->common.value.
1072 acpi_ex_create_region(op->named.data,
1073 op->named.length,
1104 status = acpi_ds_create_node(walk_state, node, op);
1118 walk_state, op, op->named.node));
1120 if (!acpi_ns_get_attached_object(op->named.node)) {
1122 ACPI_CAST_PTR(void, op->named.node);
1127 op->common.value.
1131 acpi_ex_create_method(op->named.
1133 op->named.
1163 walk_state, op, node));
1186 * later, but for now, we will put it in the "op" object that the
1189 op->common.node = new_node;