/drivers/acpi/acpica/ |
D | psargs.c | 23 acpi_ps_get_next_package_length(struct acpi_parse_state *parser_state); 26 *parser_state); 43 acpi_ps_get_next_package_length(struct acpi_parse_state *parser_state) in acpi_ps_get_next_package_length() argument 45 u8 *aml = parser_state->aml; in acpi_ps_get_next_package_length() 57 parser_state->aml += ((acpi_size)byte_count + 1); in acpi_ps_get_next_package_length() 94 u8 *acpi_ps_get_next_package_end(struct acpi_parse_state *parser_state) in acpi_ps_get_next_package_end() argument 96 u8 *start = parser_state->aml; in acpi_ps_get_next_package_end() 103 package_length = acpi_ps_get_next_package_length(parser_state); in acpi_ps_get_next_package_end() 123 char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state) in acpi_ps_get_next_namestring() argument 125 u8 *start = parser_state->aml; in acpi_ps_get_next_namestring() [all …]
|
D | psscope.c | 29 *parser_state) in acpi_ps_get_parent_scope() 32 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope() 49 u8 acpi_ps_has_completed_scope(struct acpi_parse_state * parser_state) in acpi_ps_has_completed_scope() argument 53 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end in acpi_ps_has_completed_scope() 54 || !parser_state->scope->parse_scope.arg_count))); in acpi_ps_has_completed_scope() 71 acpi_ps_init_scope(struct acpi_parse_state * parser_state, in acpi_ps_init_scope() argument 86 scope->parse_scope.arg_end = parser_state->aml_end; in acpi_ps_init_scope() 87 scope->parse_scope.pkg_end = parser_state->aml_end; in acpi_ps_init_scope() 89 parser_state->scope = scope; in acpi_ps_init_scope() 90 parser_state->start_op = root_op; in acpi_ps_init_scope() [all …]
|
D | psloop.c | 71 acpi_ps_get_next_simple_arg(&(walk_state->parser_state), in acpi_ps_get_arguments() 80 &(walk_state->parser_state), in acpi_ps_get_arguments() 96 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_arguments() 115 &(walk_state->parser_state), in acpi_ps_get_arguments() 144 op->named.data = walk_state->parser_state.aml; in acpi_ps_get_arguments() 146 (walk_state->parser_state.pkg_end - in acpi_ps_get_arguments() 147 walk_state->parser_state.aml); in acpi_ps_get_arguments() 151 walk_state->parser_state.aml = in acpi_ps_get_arguments() 152 walk_state->parser_state.pkg_end; in acpi_ps_get_arguments() 176 (walk_state->parser_state.pkg_end - in acpi_ps_get_arguments() [all …]
|
D | dswstate.c | 529 walk_state->parser_state.start_op = origin; in acpi_ds_create_walk_state() 573 struct acpi_parse_state *parser_state = &walk_state->parser_state; in acpi_ds_init_aml_walk() local 578 walk_state->parser_state.aml = in acpi_ds_init_aml_walk() 579 walk_state->parser_state.aml_start = in acpi_ds_init_aml_walk() 580 walk_state->parser_state.aml_end = in acpi_ds_init_aml_walk() 581 walk_state->parser_state.pkg_end = aml_start; in acpi_ds_init_aml_walk() 584 walk_state->parser_state.aml_end += aml_length; in acpi_ds_init_aml_walk() 585 walk_state->parser_state.pkg_end += aml_length; in acpi_ds_init_aml_walk() 598 status = acpi_ps_init_scope(&walk_state->parser_state, op); in acpi_ds_init_aml_walk() 604 walk_state->parser_state.start_node = method_node; in acpi_ds_init_aml_walk() [all …]
|
D | psparse.c | 67 u16 acpi_ps_peek_opcode(struct acpi_parse_state * parser_state) in acpi_ps_peek_opcode() argument 72 aml = parser_state->aml; in acpi_ps_peek_opcode() 301 struct acpi_parse_state *parser_state = &walk_state->parser_state; in acpi_ps_next_parse_state() local 312 parser_state->aml = parser_state->aml_end; in acpi_ps_next_parse_state() 318 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state() 325 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state() 331 parser_state->aml = walk_state->aml_last_while; in acpi_ps_next_parse_state() 337 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state() 347 parser_state->aml = acpi_ps_get_next_package_end(parser_state); in acpi_ps_next_parse_state() 359 parser_state->aml = parser_state->scope->parse_scope.pkg_end; in acpi_ps_next_parse_state() [all …]
|
D | psobject.c | 41 walk_state->aml = walk_state->parser_state.aml; in acpi_ps_get_aml_opcode() 42 walk_state->opcode = acpi_ps_peek_opcode(&(walk_state->parser_state)); in acpi_ps_get_aml_opcode() 71 parser_state. in acpi_ps_get_aml_opcode() 80 ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16), in acpi_ps_get_aml_opcode() 99 acpi_ut_dump_buffer(((u8 *)walk_state->parser_state. in acpi_ps_get_aml_opcode() 118 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode() 120 walk_state->parser_state.aml++; in acpi_ps_get_aml_opcode() 129 walk_state->parser_state.aml += in acpi_ps_get_aml_opcode() 177 &(walk_state->parser_state), in acpi_ps_build_named_op() 346 walk_state->aml = walk_state->parser_state.aml + 2; in acpi_ps_create_op() [all …]
|
D | acparser.h | 52 u8 *acpi_ps_get_next_package_end(struct acpi_parse_state *parser_state); 54 char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state); 57 acpi_ps_get_next_simple_arg(struct acpi_parse_state *parser_state, 62 struct acpi_parse_state *parser_state, 73 struct acpi_parse_state *parser_state, 141 acpi_ps_init_scope(struct acpi_parse_state *parser_state, 147 u8 acpi_ps_has_completed_scope(struct acpi_parse_state *parser_state); 150 acpi_ps_pop_scope(struct acpi_parse_state *parser_state, 154 acpi_ps_push_scope(struct acpi_parse_state *parser_state,
|
D | nsxfname.c | 484 struct acpi_parse_state parser_state; in ACPI_EXPORT_SYMBOL() local 505 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL() 506 opcode = acpi_ps_peek_opcode(&parser_state); in ACPI_EXPORT_SYMBOL() 513 parser_state.aml += acpi_ps_get_opcode_size(opcode); in ACPI_EXPORT_SYMBOL() 514 parser_state.pkg_end = acpi_ps_get_next_package_end(&parser_state); in ACPI_EXPORT_SYMBOL() 515 path = acpi_ps_get_next_namestring(&parser_state); in ACPI_EXPORT_SYMBOL() 517 method_flags = *parser_state.aml++; in ACPI_EXPORT_SYMBOL() 518 aml_start = parser_state.aml; in ACPI_EXPORT_SYMBOL() 519 aml_length = (u32)ACPI_PTR_DIFF(parser_state.pkg_end, aml_start); in ACPI_EXPORT_SYMBOL()
|
D | dbutils.c | 352 walk_state->parser_state.aml = in acpi_db_second_pass_parse() 353 walk_state->parser_state.aml_start = in acpi_db_second_pass_parse() 355 walk_state->parser_state.aml_end = in acpi_db_second_pass_parse() 356 walk_state->parser_state.pkg_end = in acpi_db_second_pass_parse() 358 walk_state->parser_state.start_scope = op; in acpi_db_second_pass_parse()
|
D | dscontrol.c | 55 (walk_state->parser_state.aml - 1)) { in acpi_ds_exec_begin_control_op() 83 walk_state->parser_state.aml - 1; in acpi_ds_exec_begin_control_op() 85 walk_state->parser_state.pkg_end; in acpi_ds_exec_begin_control_op()
|
D | acconvert.h | 78 cv_capture_list_comments(struct acpi_parse_state *parser_state, 82 void cv_capture_comments_only(struct acpi_parse_state *parser_state);
|
D | dswload.c | 135 path = acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load1_begin_op() 377 acpi_ps_append_arg(acpi_ps_get_parent_scope(&walk_state->parser_state), in acpi_ds_load1_begin_op()
|
D | dswexec.c | 743 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { in acpi_ds_exec_end_op()
|
D | acstruct.h | 60 struct acpi_parse_state parser_state; /* Current state of parser */ member
|
D | psxface.c | 167 acpi_ps_cleanup_scope(&walk_state->parser_state); in acpi_ps_execute_method()
|
D | dbxface.c | 226 walk_state->parser_state.aml_start); in acpi_db_single_step()
|
D | dbmethod.c | 58 walk_state->parser_state.aml_start); in acpi_db_set_method_breakpoint()
|
D | dswload2.c | 95 acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load2_begin_op()
|
D | dsmethod.c | 204 walk_state->parser_state. in acpi_ds_method_error()
|
/drivers/media/rc/ |
D | fintek-cir.c | 276 switch (fintek->parser_state) { in fintek_process_rx_ir_data() 282 fintek->parser_state = SUBCMD; in fintek_process_rx_ir_data() 288 fintek->parser_state = PARSE_IRDATA; in fintek_process_rx_ir_data() 294 fintek->parser_state = CMD_DATA; in fintek_process_rx_ir_data() 314 if ((fintek->parser_state != CMD_HEADER) && !fintek->rem) in fintek_process_rx_ir_data() 315 fintek->parser_state = CMD_HEADER; in fintek_process_rx_ir_data()
|
D | mceusb.c | 481 } parser_state; member 1279 switch (ir->parser_state) { in mceusb_process_ir_data() 1286 ir->parser_state = CMD_DATA; in mceusb_process_ir_data() 1322 ir->parser_state = SUBCMD; in mceusb_process_ir_data() 1334 ir->parser_state = PARSE_IRDATA; in mceusb_process_ir_data() 1350 if (ir->parser_state != CMD_HEADER && !ir->rem) in mceusb_process_ir_data() 1351 ir->parser_state = CMD_HEADER; in mceusb_process_ir_data() 1358 if (ir->parser_state != PARSE_IRDATA || !ir->rem) in mceusb_process_ir_data() 1359 ir->parser_state = CMD_HEADER; in mceusb_process_ir_data()
|
D | fintek-cir.h | 92 } parser_state; member
|