Searched refs:parser_state (Results 1 – 14 of 14) sorted by relevance
/linux-2.6.39/drivers/acpi/acpica/ |
D | psargs.c | 56 acpi_ps_get_next_package_length(struct acpi_parse_state *parser_state); 59 *parser_state); 76 acpi_ps_get_next_package_length(struct acpi_parse_state *parser_state) in acpi_ps_get_next_package_length() argument 78 u8 *aml = parser_state->aml; in acpi_ps_get_next_package_length() 90 parser_state->aml += ((acpi_size) byte_count + 1); in acpi_ps_get_next_package_length() 127 u8 *acpi_ps_get_next_package_end(struct acpi_parse_state *parser_state) in acpi_ps_get_next_package_end() argument 129 u8 *start = parser_state->aml; in acpi_ps_get_next_package_end() 136 package_length = acpi_ps_get_next_package_length(parser_state); in acpi_ps_get_next_package_end() 156 char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state) in acpi_ps_get_next_namestring() argument 158 u8 *start = parser_state->aml; in acpi_ps_get_next_namestring() [all …]
|
D | psscope.c | 63 *parser_state) in acpi_ps_get_parent_scope() 66 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope() 83 u8 acpi_ps_has_completed_scope(struct acpi_parse_state * parser_state) in acpi_ps_has_completed_scope() argument 87 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end in acpi_ps_has_completed_scope() 88 || !parser_state->scope->parse_scope.arg_count))); in acpi_ps_has_completed_scope() 105 acpi_ps_init_scope(struct acpi_parse_state * parser_state, in acpi_ps_init_scope() argument 120 scope->parse_scope.arg_end = parser_state->aml_end; in acpi_ps_init_scope() 121 scope->parse_scope.pkg_end = parser_state->aml_end; in acpi_ps_init_scope() 123 parser_state->scope = scope; in acpi_ps_init_scope() 124 parser_state->start_op = root_op; in acpi_ps_init_scope() [all …]
|
D | psloop.c | 111 (u32) ACPI_PTR_DIFF(walk_state->parser_state.aml, in acpi_ps_get_aml_opcode() 112 walk_state->parser_state.aml_start); in acpi_ps_get_aml_opcode() 113 walk_state->opcode = acpi_ps_peek_opcode(&(walk_state->parser_state)); in acpi_ps_get_aml_opcode() 140 walk_state->opcode, walk_state->parser_state.aml, in acpi_ps_get_aml_opcode() 143 ACPI_DUMP_BUFFER(walk_state->parser_state.aml, 128); in acpi_ps_get_aml_opcode() 147 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode() 154 walk_state->parser_state.aml += in acpi_ps_get_aml_opcode() 201 &(walk_state->parser_state), in acpi_ps_build_named_op() 342 parent_scope = acpi_ps_get_parent_scope(&(walk_state->parser_state)); in acpi_ps_create_op() 410 acpi_ps_get_next_simple_arg(&(walk_state->parser_state), in acpi_ps_get_arguments() [all …]
|
D | psparse.c | 100 u16 acpi_ps_peek_opcode(struct acpi_parse_state * parser_state) in acpi_ps_peek_opcode() argument 105 aml = parser_state->aml; in acpi_ps_peek_opcode() 329 struct acpi_parse_state *parser_state = &walk_state->parser_state; in acpi_ps_next_parse_state() local 340 parser_state->aml = parser_state->aml_end; in acpi_ps_next_parse_state() 346 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state() 353 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state() 359 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state() 365 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state() 375 parser_state->aml = acpi_ps_get_next_package_end(parser_state); in acpi_ps_next_parse_state() 387 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state() [all …]
|
D | dswstate.c | 559 walk_state->parser_state.start_op = origin; in acpi_ds_create_walk_state() 603 struct acpi_parse_state *parser_state = &walk_state->parser_state; in acpi_ds_init_aml_walk() local 608 walk_state->parser_state.aml = in acpi_ds_init_aml_walk() 609 walk_state->parser_state.aml_start = aml_start; in acpi_ds_init_aml_walk() 610 walk_state->parser_state.aml_end = in acpi_ds_init_aml_walk() 611 walk_state->parser_state.pkg_end = aml_start + aml_length; in acpi_ds_init_aml_walk() 623 status = acpi_ps_init_scope(&walk_state->parser_state, op); in acpi_ds_init_aml_walk() 629 walk_state->parser_state.start_node = method_node; in acpi_ds_init_aml_walk() 659 extra_op = parser_state->start_op; in acpi_ds_init_aml_walk() 665 parser_state->start_node = NULL; in acpi_ds_init_aml_walk() [all …]
|
D | acparser.h | 81 u8 *acpi_ps_get_next_package_end(struct acpi_parse_state *parser_state); 83 char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state); 86 acpi_ps_get_next_simple_arg(struct acpi_parse_state *parser_state, 91 struct acpi_parse_state *parser_state, 96 struct acpi_parse_state *parser_state, 143 acpi_ps_init_scope(struct acpi_parse_state *parser_state, 149 u8 acpi_ps_has_completed_scope(struct acpi_parse_state *parser_state); 152 acpi_ps_pop_scope(struct acpi_parse_state *parser_state, 157 acpi_ps_push_scope(struct acpi_parse_state *parser_state,
|
D | nsxfname.c | 514 struct acpi_parse_state parser_state; in ACPI_EXPORT_SYMBOL() local 535 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL() 536 opcode = acpi_ps_peek_opcode(&parser_state); in ACPI_EXPORT_SYMBOL() 543 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL() 544 parser_state.pkg_end = acpi_ps_get_next_package_end(&parser_state); in ACPI_EXPORT_SYMBOL() 545 path = acpi_ps_get_next_namestring(&parser_state); in ACPI_EXPORT_SYMBOL() 546 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL() 547 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL() 548 aml_length = ACPI_PTR_DIFF(parser_state.pkg_end, aml_start); in ACPI_EXPORT_SYMBOL()
|
D | dscontrol.c | 89 (walk_state->parser_state.aml - 1)) { in acpi_ds_exec_begin_control_op() 118 walk_state->parser_state.aml - 1; in acpi_ds_exec_begin_control_op() 120 walk_state->parser_state.pkg_end; in acpi_ds_exec_begin_control_op()
|
D | dswload.c | 152 path = acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load1_begin_op() 371 acpi_ps_append_arg(acpi_ps_get_parent_scope(&walk_state->parser_state), in acpi_ds_load1_begin_op()
|
D | acstruct.h | 98 struct acpi_parse_state parser_state; /* Current state of parser */ member
|
D | dswexec.c | 745 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { in acpi_ds_exec_end_op()
|
D | psxface.c | 301 acpi_ps_cleanup_scope(&walk_state->parser_state); in acpi_ps_execute_method()
|
D | dswload2.c | 126 acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load2_begin_op()
|
/linux-2.6.39/drivers/media/rc/ |
D | mceusb.c | 351 } parser_state; member 855 switch (ir->parser_state) { in mceusb_process_ir_data() 861 ir->parser_state = CMD_DATA; in mceusb_process_ir_data() 886 ir->parser_state = SUBCMD; in mceusb_process_ir_data() 893 ir->parser_state = PARSE_IRDATA; in mceusb_process_ir_data() 899 if (ir->parser_state != CMD_HEADER && !ir->rem) in mceusb_process_ir_data() 900 ir->parser_state = CMD_HEADER; in mceusb_process_ir_data()
|