Home
last modified time | relevance | path

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

/linux/drivers/acpi/acpica/
H A Dpsargs.c23 acpi_ps_get_next_package_length(struct acpi_parse_state *parser_state);
26 *parser_state);
45 acpi_ps_get_next_package_length(struct acpi_parse_state *parser_state) in acpi_ps_get_next_package_length() argument
47 u8 *aml = parser_state->aml; in acpi_ps_get_next_package_length()
59 parser_state->aml += ((acpi_size)byte_count + 1); in acpi_ps_get_next_package_length()
96 u8 *acpi_ps_get_next_package_end(struct acpi_parse_state *parser_state) in acpi_ps_get_next_package_end() argument
98 u8 *start = parser_state->aml; in acpi_ps_get_next_package_end()
105 package_length = acpi_ps_get_next_package_length(parser_state); in acpi_ps_get_next_package_end()
125 char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state) in acpi_ps_get_next_namestring() argument
127 u8 *start = parser_state->aml; in acpi_ps_get_next_namestring()
[all …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 = 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 …]
H A 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 …]
H A 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,
H A 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()
H A 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()
H A 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()
H A Dacconvert.h78 cv_capture_list_comments(struct acpi_parse_state *parser_state,
82 void cv_capture_comments_only(struct acpi_parse_state *parser_state);
H A 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()
H A Ddswexec.c745 if (walk_state->parser_state.aml == walk_state->parser_state.aml_end) { in acpi_ds_exec_end_op()
H A Dacstruct.h60 struct acpi_parse_state parser_state; /* Current state of parser */ member
H A Dpsxface.c167 acpi_ps_cleanup_scope(&walk_state->parser_state); in acpi_ps_execute_method()
H A Ddbxface.c226 walk_state->parser_state.aml_start); in acpi_db_single_step()
H A Ddbmethod.c58 walk_state->parser_state.aml_start); in acpi_db_set_method_breakpoint()
H A Ddswload2.c95 acpi_ps_get_next_namestring(&walk_state->parser_state); in acpi_ds_load2_begin_op()
H A Ddsmethod.c204 walk_state->parser_state. in acpi_ds_method_error()
/linux/arch/arm64/kvm/
H A Dptdump.c22 struct ptdump_pg_state parser_state; member
118 st->parser_state = (struct ptdump_pg_state) { in kvm_ptdump_parser_create()
135 struct ptdump_pg_state *parser_state = &st->parser_state; in kvm_ptdump_guest_show() local
138 .arg = parser_state, in kvm_ptdump_guest_show()
142 parser_state->seq = m; in kvm_ptdump_guest_show()
/linux/drivers/media/rc/
H A 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()
H A Dmceusb.c481 } parser_state; member
1278 switch (ir->parser_state) { in mceusb_process_ir_data()
1285 ir->parser_state = CMD_DATA; in mceusb_process_ir_data()
1321 ir->parser_state = SUBCMD; in mceusb_process_ir_data()
1333 ir->parser_state = PARSE_IRDATA; in mceusb_process_ir_data()
1349 if (ir->parser_state != CMD_HEADER && !ir->rem) in mceusb_process_ir_data()
1350 ir->parser_state = CMD_HEADER; in mceusb_process_ir_data()
1357 if (ir->parser_state != PARSE_IRDATA || !ir->rem) in mceusb_process_ir_data()
1358 ir->parser_state = CMD_HEADER; in mceusb_process_ir_data()
H A Dfintek-cir.h92 } parser_state; member