Home
last modified time | relevance | path

Searched refs:parser_state (Results 1 – 21 of 21) sorted by relevance

/drivers/acpi/acpica/
Dpsargs.c56 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 …]
Dpsscope.c63 *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 …]
Dpsloop.c104 acpi_ps_get_next_simple_arg(&(walk_state->parser_state), in acpi_ps_get_arguments()
113 &(walk_state->parser_state), in acpi_ps_get_arguments()
129 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_arguments()
133 &(walk_state->parser_state), in acpi_ps_get_arguments()
177 parser_state. in acpi_ps_get_arguments()
189 walk_state->parser_state.aml = in acpi_ps_get_arguments()
190 walk_state->parser_state.pkg_end; in acpi_ps_get_arguments()
219 parser_state. in acpi_ps_get_arguments()
239 op->named.data = walk_state->parser_state.aml; in acpi_ps_get_arguments()
241 (walk_state->parser_state.pkg_end - in acpi_ps_get_arguments()
[all …]
Dpsparse.c100 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()
334 struct acpi_parse_state *parser_state = &walk_state->parser_state; in acpi_ps_next_parse_state() local
345 parser_state->aml = parser_state->aml_end; in acpi_ps_next_parse_state()
351 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state()
358 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state()
364 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state()
370 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state()
380 parser_state->aml = acpi_ps_get_next_package_end(parser_state); in acpi_ps_next_parse_state()
392 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state()
[all …]
Dpsobject.c73 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_aml_opcode()
74 walk_state->opcode = acpi_ps_peek_opcode(&(walk_state->parser_state)); in acpi_ps_get_aml_opcode()
102 parser_state.aml_start); in acpi_ps_get_aml_opcode()
110 ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16), in acpi_ps_get_aml_opcode()
129 acpi_ut_dump_buffer(((u8 *)walk_state->parser_state. in acpi_ps_get_aml_opcode()
148 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
150 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
159 walk_state->parser_state.aml += in acpi_ps_get_aml_opcode()
206 &(walk_state->parser_state), in acpi_ps_build_named_op()
352 parent_scope = acpi_ps_get_parent_scope(&(walk_state->parser_state)); in acpi_ps_create_op()
[all …]
Ddswstate.c563 walk_state->parser_state.start_op = origin; in acpi_ds_create_walk_state()
607 struct acpi_parse_state *parser_state = &walk_state->parser_state; in acpi_ds_init_aml_walk() local
612 walk_state->parser_state.aml = in acpi_ds_init_aml_walk()
613 walk_state->parser_state.aml_start = aml_start; in acpi_ds_init_aml_walk()
614 walk_state->parser_state.aml_end = in acpi_ds_init_aml_walk()
615 walk_state->parser_state.pkg_end = aml_start + aml_length; in acpi_ds_init_aml_walk()
627 status = acpi_ps_init_scope(&walk_state->parser_state, op); in acpi_ds_init_aml_walk()
633 walk_state->parser_state.start_node = method_node; in acpi_ds_init_aml_walk()
663 extra_op = parser_state->start_op; in acpi_ds_init_aml_walk()
669 parser_state->start_node = NULL; in acpi_ds_init_aml_walk()
[all …]
Dacparser.h86 u8 *acpi_ps_get_next_package_end(struct acpi_parse_state *parser_state);
88 char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state);
91 acpi_ps_get_next_simple_arg(struct acpi_parse_state *parser_state,
96 struct acpi_parse_state *parser_state,
107 struct acpi_parse_state *parser_state,
175 acpi_ps_init_scope(struct acpi_parse_state *parser_state,
181 u8 acpi_ps_has_completed_scope(struct acpi_parse_state *parser_state);
184 acpi_ps_pop_scope(struct acpi_parse_state *parser_state,
188 acpi_ps_push_scope(struct acpi_parse_state *parser_state,
Dnsxfname.c550 struct acpi_parse_state parser_state; in ACPI_EXPORT_SYMBOL() local
571 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL()
572 opcode = acpi_ps_peek_opcode(&parser_state); in ACPI_EXPORT_SYMBOL()
579 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL()
580 parser_state.pkg_end = acpi_ps_get_next_package_end(&parser_state); in ACPI_EXPORT_SYMBOL()
581 path = acpi_ps_get_next_namestring(&parser_state); in ACPI_EXPORT_SYMBOL()
583 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL()
584 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL()
585 aml_length = ACPI_PTR_DIFF(parser_state.pkg_end, aml_start); in ACPI_EXPORT_SYMBOL()
Ddbutils.c388 walk_state->parser_state.aml = in acpi_db_second_pass_parse()
389 walk_state->parser_state.aml_start = in acpi_db_second_pass_parse()
391 walk_state->parser_state.aml_end = in acpi_db_second_pass_parse()
392 walk_state->parser_state.pkg_end = in acpi_db_second_pass_parse()
394 walk_state->parser_state.start_scope = op; in acpi_db_second_pass_parse()
Ddscontrol.c89 (walk_state->parser_state.aml - 1)) { in acpi_ds_exec_begin_control_op()
117 walk_state->parser_state.aml - 1; in acpi_ds_exec_begin_control_op()
119 walk_state->parser_state.pkg_end; in acpi_ds_exec_begin_control_op()
Ddswload.c172 path = acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load1_begin_op()
412 acpi_ps_append_arg(acpi_ps_get_parent_scope(&walk_state->parser_state), in acpi_ds_load1_begin_op()
Ddswexec.c744 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { in acpi_ds_exec_end_op()
Dacstruct.h94 struct acpi_parse_state parser_state; /* Current state of parser */ member
Dpsxface.c198 acpi_ps_cleanup_scope(&walk_state->parser_state); in acpi_ps_execute_method()
Ddbxface.c191 walk_state->parser_state.aml_start); in acpi_db_single_step()
Ddbmethod.c92 walk_state->parser_state.aml_start); in acpi_db_set_method_breakpoint()
Ddswload2.c126 acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load2_begin_op()
Ddsmethod.c237 walk_state->parser_state. in acpi_ds_method_error()
/drivers/media/rc/
Dfintek-cir.c301 switch (fintek->parser_state) { in fintek_process_rx_ir_data()
307 fintek->parser_state = SUBCMD; in fintek_process_rx_ir_data()
313 fintek->parser_state = PARSE_IRDATA; in fintek_process_rx_ir_data()
319 fintek->parser_state = CMD_DATA; in fintek_process_rx_ir_data()
340 if ((fintek->parser_state != CMD_HEADER) && !fintek->rem) in fintek_process_rx_ir_data()
341 fintek->parser_state = CMD_HEADER; in fintek_process_rx_ir_data()
Dmceusb.c446 } parser_state; member
1008 switch (ir->parser_state) { in mceusb_process_ir_data()
1014 ir->parser_state = CMD_DATA; in mceusb_process_ir_data()
1040 ir->parser_state = SUBCMD; in mceusb_process_ir_data()
1047 ir->parser_state = PARSE_IRDATA; in mceusb_process_ir_data()
1053 if (ir->parser_state != CMD_HEADER && !ir->rem) in mceusb_process_ir_data()
1054 ir->parser_state = CMD_HEADER; in mceusb_process_ir_data()
Dfintek-cir.h106 } parser_state; member