/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 | 104 acpi_ps_get_next_simple_arg(&(walk_state->parser_state), in acpi_ps_get_arguments() 114 &(walk_state->parser_state), op, 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 …]
|
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() 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 …]
|
D | psobject.c | 73 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 …]
|
D | dswstate.c | 563 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 …]
|
D | acparser.h | 84 u8 *acpi_ps_get_next_package_end(struct acpi_parse_state *parser_state); 86 char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state); 89 acpi_ps_get_next_simple_arg(struct acpi_parse_state *parser_state, 94 struct acpi_parse_state *parser_state, 99 struct acpi_parse_state *parser_state, 167 acpi_ps_init_scope(struct acpi_parse_state *parser_state, 173 u8 acpi_ps_has_completed_scope(struct acpi_parse_state *parser_state); 176 acpi_ps_pop_scope(struct acpi_parse_state *parser_state, 180 acpi_ps_push_scope(struct acpi_parse_state *parser_state,
|
D | nsxfname.c | 562 struct acpi_parse_state parser_state; in ACPI_EXPORT_SYMBOL() local 583 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL() 584 opcode = acpi_ps_peek_opcode(&parser_state); in ACPI_EXPORT_SYMBOL() 591 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL() 592 parser_state.pkg_end = acpi_ps_get_next_package_end(&parser_state); in ACPI_EXPORT_SYMBOL() 593 path = acpi_ps_get_next_namestring(&parser_state); in ACPI_EXPORT_SYMBOL() 594 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL() 595 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL() 596 aml_length = ACPI_PTR_DIFF(parser_state.pkg_end, aml_start); in ACPI_EXPORT_SYMBOL()
|
D | dbutils.c | 388 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()
|
D | dscontrol.c | 88 (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()
|
D | dswload.c | 172 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()
|
D | dswexec.c | 744 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { in acpi_ds_exec_end_op()
|
D | psxface.c | 198 acpi_ps_cleanup_scope(&walk_state->parser_state); in acpi_ps_execute_method()
|
D | acstruct.h | 94 struct acpi_parse_state parser_state; /* Current state of parser */ member
|
D | dbmethod.c | 86 walk_state->parser_state.aml_start); in acpi_db_set_method_breakpoint()
|
D | dbxface.c | 181 walk_state->parser_state.aml_start); in acpi_db_single_step()
|
D | dswload2.c | 126 acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load2_begin_op()
|
D | dsmethod.c | 238 walk_state->parser_state. in acpi_ds_method_error()
|
/drivers/media/rc/ |
D | fintek-cir.c | 301 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()
|
D | mceusb.c | 440 } 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()
|
D | fintek-cir.h | 106 } parser_state; member
|