Home
last modified time | relevance | path

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

/linux-4.1.27/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.c103 acpi_ps_get_next_simple_arg(&(walk_state->parser_state), in acpi_ps_get_arguments()
113 &(walk_state->parser_state), op, in acpi_ps_get_arguments()
129 (u32) ACPI_PTR_DIFF(walk_state->parser_state.aml, in acpi_ps_get_arguments()
130 walk_state->parser_state. in acpi_ps_get_arguments()
135 &(walk_state->parser_state), in acpi_ps_get_arguments()
180 parser_state. in acpi_ps_get_arguments()
192 walk_state->parser_state.aml = in acpi_ps_get_arguments()
193 walk_state->parser_state.pkg_end; in acpi_ps_get_arguments()
222 parser_state. in acpi_ps_get_arguments()
242 op->named.data = walk_state->parser_state.aml; 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()
328 struct acpi_parse_state *parser_state = &walk_state->parser_state; in acpi_ps_next_parse_state() local
339 parser_state->aml = parser_state->aml_end; in acpi_ps_next_parse_state()
345 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state()
352 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 = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state()
374 parser_state->aml = acpi_ps_get_next_package_end(parser_state); in acpi_ps_next_parse_state()
386 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state()
[all …]
Dpsobject.c73 (u32)ACPI_PTR_DIFF(walk_state->parser_state.aml, in acpi_ps_get_aml_opcode()
74 walk_state->parser_state.aml_start); in acpi_ps_get_aml_opcode()
75 walk_state->opcode = acpi_ps_peek_opcode(&(walk_state->parser_state)); in acpi_ps_get_aml_opcode()
107 ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16), in acpi_ps_get_aml_opcode()
123 acpi_ut_dump_buffer(((u8 *)walk_state->parser_state. in acpi_ps_get_aml_opcode()
134 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
136 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode()
145 walk_state->parser_state.aml += in acpi_ps_get_aml_opcode()
192 &(walk_state->parser_state), in acpi_ps_build_named_op()
335 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.h81 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,
164 acpi_ps_init_scope(struct acpi_parse_state *parser_state,
170 u8 acpi_ps_has_completed_scope(struct acpi_parse_state *parser_state);
173 acpi_ps_pop_scope(struct acpi_parse_state *parser_state,
177 acpi_ps_push_scope(struct acpi_parse_state *parser_state,
Dnsxfname.c541 struct acpi_parse_state parser_state; in ACPI_EXPORT_SYMBOL() local
562 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL()
563 opcode = acpi_ps_peek_opcode(&parser_state); in ACPI_EXPORT_SYMBOL()
570 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL()
571 parser_state.pkg_end = acpi_ps_get_next_package_end(&parser_state); in ACPI_EXPORT_SYMBOL()
572 path = acpi_ps_get_next_namestring(&parser_state); in ACPI_EXPORT_SYMBOL()
573 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL()
574 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL()
575 aml_length = ACPI_PTR_DIFF(parser_state.pkg_end, aml_start); in ACPI_EXPORT_SYMBOL()
Ddscontrol.c88 (walk_state->parser_state.aml - 1)) { in acpi_ds_exec_begin_control_op()
116 walk_state->parser_state.aml - 1; in acpi_ds_exec_begin_control_op()
118 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()
403 acpi_ps_append_arg(acpi_ps_get_parent_scope(&walk_state->parser_state), in acpi_ds_load1_begin_op()
Dacstruct.h93 struct acpi_parse_state parser_state; /* Current state of parser */ member
Ddswexec.c744 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { in acpi_ds_exec_end_op()
Dpsxface.c299 acpi_ps_cleanup_scope(&walk_state->parser_state); in acpi_ps_execute_method()
Ddswload2.c126 acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load2_begin_op()
/linux-4.1.27/drivers/media/rc/
Dfintek-cir.c302 switch (fintek->parser_state) { in fintek_process_rx_ir_data()
308 fintek->parser_state = SUBCMD; in fintek_process_rx_ir_data()
314 fintek->parser_state = PARSE_IRDATA; in fintek_process_rx_ir_data()
320 fintek->parser_state = CMD_DATA; in fintek_process_rx_ir_data()
341 if ((fintek->parser_state != CMD_HEADER) && !fintek->rem) in fintek_process_rx_ir_data()
342 fintek->parser_state = CMD_HEADER; in fintek_process_rx_ir_data()
Dmceusb.c440 } parser_state; member
997 switch (ir->parser_state) { in mceusb_process_ir_data()
1003 ir->parser_state = CMD_DATA; in mceusb_process_ir_data()
1029 ir->parser_state = SUBCMD; in mceusb_process_ir_data()
1036 ir->parser_state = PARSE_IRDATA; in mceusb_process_ir_data()
1042 if (ir->parser_state != CMD_HEADER && !ir->rem) in mceusb_process_ir_data()
1043 ir->parser_state = CMD_HEADER; in mceusb_process_ir_data()
Dfintek-cir.h106 } parser_state; member