Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/acpica/
Dpsargs.c23 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 …]
Dpsscope.c29 *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 …]
Dpsloop.c71 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 …]
Dpsparse.c67 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 …]
Dpsobject.c41 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 …]
Ddswstate.c529 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 = 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 + aml_length; in acpi_ds_init_aml_walk()
593 status = acpi_ps_init_scope(&walk_state->parser_state, op); in acpi_ds_init_aml_walk()
599 walk_state->parser_state.start_node = method_node; in acpi_ds_init_aml_walk()
629 extra_op = parser_state->start_op; in acpi_ds_init_aml_walk()
635 parser_state->start_node = NULL; in acpi_ds_init_aml_walk()
[all …]
Dacparser.h52 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,
Dnsxfname.c484 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()
Ddbutils.c352 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()
Ddscontrol.c55 (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()
Dacconvert.h78 cv_capture_list_comments(struct acpi_parse_state *parser_state,
82 void cv_capture_comments_only(struct acpi_parse_state *parser_state);
Ddswload.c135 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()
Dacstruct.h60 struct acpi_parse_state parser_state; /* Current state of parser */ member
Ddswexec.c743 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { in acpi_ds_exec_end_op()
Dpsxface.c167 acpi_ps_cleanup_scope(&walk_state->parser_state); in acpi_ps_execute_method()
Ddbxface.c226 walk_state->parser_state.aml_start); in acpi_db_single_step()
Ddbmethod.c58 walk_state->parser_state.aml_start); in acpi_db_set_method_breakpoint()
Ddswload2.c95 acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load2_begin_op()
Ddsmethod.c204 walk_state->parser_state. in acpi_ds_method_error()
/linux-6.1.9/drivers/media/rc/
Dfintek-cir.c276 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()
Dmceusb.c481 } 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()
Dfintek-cir.h92 } parser_state; member