Lines Matching refs:acpi_ctx
17 struct acpi_ctx;
145 u8 *acpigen_get_current(struct acpi_ctx *ctx);
153 void acpigen_emit_byte(struct acpi_ctx *ctx, uint data);
161 void acpigen_emit_word(struct acpi_ctx *ctx, uint data);
169 void acpigen_emit_dword(struct acpi_ctx *ctx, uint data);
178 void acpigen_emit_stream(struct acpi_ctx *ctx, const char *data, int size);
188 void acpigen_emit_string(struct acpi_ctx *ctx, const char *str);
216 void acpigen_write_len_f(struct acpi_ctx *ctx);
226 void acpigen_pop_len(struct acpi_ctx *ctx);
253 char *acpigen_write_package(struct acpi_ctx *ctx, int nr_el);
261 void acpigen_write_byte(struct acpi_ctx *ctx, unsigned int data);
269 void acpigen_write_word(struct acpi_ctx *ctx, unsigned int data);
277 void acpigen_write_dword(struct acpi_ctx *ctx, unsigned int data);
285 void acpigen_write_qword(struct acpi_ctx *ctx, u64 data);
292 void acpigen_write_zero(struct acpi_ctx *ctx);
299 void acpigen_write_one(struct acpi_ctx *ctx);
310 void acpigen_write_integer(struct acpi_ctx *ctx, u64 data);
318 void acpigen_write_name_zero(struct acpi_ctx *ctx, const char *name);
326 void acpigen_write_name_one(struct acpi_ctx *ctx, const char *name);
335 void acpigen_write_name_byte(struct acpi_ctx *ctx, const char *name, uint val);
344 void acpigen_write_name_word(struct acpi_ctx *ctx, const char *name, uint val);
353 void acpigen_write_name_dword(struct acpi_ctx *ctx, const char *name, uint val);
362 void acpigen_write_name_qword(struct acpi_ctx *ctx, const char *name, u64 val);
371 void acpigen_write_name_integer(struct acpi_ctx *ctx, const char *name,
381 void acpigen_write_name_string(struct acpi_ctx *ctx, const char *name,
392 void acpigen_write_string(struct acpi_ctx *ctx, const char *str);
403 void acpigen_emit_namestring(struct acpi_ctx *ctx, const char *namepath);
414 void acpigen_write_name(struct acpi_ctx *ctx, const char *namepath);
422 void acpigen_write_scope(struct acpi_ctx *ctx, const char *scope);
433 int acpigen_write_uuid(struct acpi_ctx *ctx, const char *uuid);
441 void acpigen_emit_ext_op(struct acpi_ctx *ctx, uint op);
450 void acpigen_write_method(struct acpi_ctx *ctx, const char *name, int nargs);
461 void acpigen_write_method_serialized(struct acpi_ctx *ctx, const char *name,
470 void acpigen_write_device(struct acpi_ctx *ctx, const char *name);
478 void acpigen_write_sta(struct acpi_ctx *ctx, uint status);
485 void acpigen_write_resourcetemplate_header(struct acpi_ctx *ctx);
492 void acpigen_write_resourcetemplate_footer(struct acpi_ctx *ctx);
502 void acpigen_write_register_resource(struct acpi_ctx *ctx,
511 void acpigen_write_sleep(struct acpi_ctx *ctx, u64 sleep_ms);
518 void acpigen_write_store(struct acpi_ctx *ctx);
528 void acpigen_write_debug_string(struct acpi_ctx *ctx, const char *str);
540 void acpigen_write_or(struct acpi_ctx *ctx, u8 arg1, u8 arg2, u8 res);
552 void acpigen_write_and(struct acpi_ctx *ctx, u8 arg1, u8 arg2, u8 res);
563 void acpigen_write_not(struct acpi_ctx *ctx, u8 arg, u8 res);
582 void acpigen_write_power_res(struct acpi_ctx *ctx, const char *name, uint level,
637 int acpigen_set_enable_tx_gpio(struct acpi_ctx *ctx, u32 tx_state_val,
649 void acpigen_write_prw(struct acpi_ctx *ctx, uint wake, uint level);
658 void acpigen_write_if(struct acpi_ctx *ctx);
671 void acpigen_write_if_lequal_op_int(struct acpi_ctx *ctx, uint op, u64 val);
680 void acpigen_write_else(struct acpi_ctx *ctx);
692 void acpigen_write_to_buffer(struct acpi_ctx *ctx, uint src, uint dst);
704 void acpigen_write_to_integer(struct acpi_ctx *ctx, uint src, uint dst);
713 void acpigen_write_return_byte_buffer(struct acpi_ctx *ctx, u8 *arr,
722 void acpigen_write_return_singleton_buffer(struct acpi_ctx *ctx, uint arg);
730 void acpigen_write_return_byte(struct acpi_ctx *ctx, uint arg);
771 void acpigen_write_dsm_start(struct acpi_ctx *ctx);
783 int acpigen_write_dsm_uuid_start(struct acpi_ctx *ctx, const char *uuid);
795 void acpigen_write_dsm_uuid_start_cond(struct acpi_ctx *ctx, int seq);
807 void acpigen_write_dsm_uuid_end_cond(struct acpi_ctx *ctx);
818 void acpigen_write_dsm_uuid_end(struct acpi_ctx *ctx);
829 void acpigen_write_dsm_end(struct acpi_ctx *ctx);
842 void acpigen_write_processor(struct acpi_ctx *ctx, uint cpuindex,
855 void acpigen_write_processor_package(struct acpi_ctx *ctx, const char *name,
866 void acpigen_write_processor_cnot(struct acpi_ctx *ctx, const uint num_cores);
874 void acpigen_write_ppc(struct acpi_ctx *ctx, uint num_pstates);
884 void acpigen_write_ppc_nvs(struct acpi_ctx *ctx);
892 void acpigen_write_tpc(struct acpi_ctx *ctx, const char *gnvs_tpc_limit);
909 void acpigen_write_pss_package(struct acpi_ctx *ctx, uint corefreq, uint power,
926 void acpigen_write_psd_package(struct acpi_ctx *ctx, uint domain, uint numprocs,
938 void acpigen_write_cst_package(struct acpi_ctx *ctx,
954 void acpigen_write_csd_package(struct acpi_ctx *ctx, uint domain, uint numprocs,
964 void acpigen_write_tss_package(struct acpi_ctx *ctx,
978 void acpigen_write_tsd_package(struct acpi_ctx *ctx, uint domain, uint numprocs,