Searched refs:source_desc (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/acpi/acpica/
H A Dexdebug.c22 * PARAMETERS: source_desc - Object to be output to "Debug Object"
40 acpi_ex_do_debug_object(union acpi_operand_object *source_desc, argument
48 ACPI_FUNCTION_TRACE_PTR(ex_do_debug_object, source_desc);
59 if (source_desc &&
60 (ACPI_GET_DESCRIPTOR_TYPE(source_desc) == ACPI_DESC_TYPE_OPERAND) &&
61 (source_desc->common.type == ACPI_TYPE_STRING)) {
62 if ((source_desc->string.length == 1) &&
63 (*source_desc->string.pointer == '\n')) {
98 if (!source_desc) {
103 if (ACPI_GET_DESCRIPTOR_TYPE(source_desc)
[all...]
H A Dexresnte.c49 union acpi_operand_object *source_desc; local
61 source_desc = acpi_ns_get_attached_object(node);
65 node, source_desc,
74 source_desc = acpi_ns_get_attached_object(node);
92 if (!source_desc) {
105 if (source_desc->common.type != ACPI_TYPE_PACKAGE) {
107 acpi_ut_get_object_type_name(source_desc)));
111 status = acpi_ds_get_package_arguments(source_desc);
116 obj_desc = source_desc;
123 if (source_desc
[all...]
H A Dexstoren.c38 union acpi_operand_object *source_desc = *source_desc_ptr; local
62 if (source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) {
82 if ((source_desc->common.type != ACPI_TYPE_INTEGER) &&
83 (source_desc->common.type != ACPI_TYPE_BUFFER) &&
84 (source_desc->common.type != ACPI_TYPE_STRING) &&
85 !((source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) &&
86 (source_desc->reference.class == ACPI_REFCLASS_TABLE))) {
92 acpi_ut_get_object_type_name(source_desc),
125 * PARAMETERS: source_desc - Object to store
150 * Assumes parameters are already validated. NOTE: source_desc
157 acpi_ex_store_object_to_object(union acpi_operand_object *source_desc, union acpi_operand_object *dest_desc, union acpi_operand_object **new_desc, struct acpi_walk_state *walk_state) argument
[all...]
H A Dexstore.c27 acpi_ex_store_direct_to_node(union acpi_operand_object *source_desc,
35 * PARAMETERS: *source_desc - Value to be stored
43 * DESCRIPTION: Store the value described by source_desc into the location
52 acpi_ex_store(union acpi_operand_object *source_desc, argument
63 if (!source_desc || !dest_desc) {
75 status = acpi_ex_store_object_to_node(source_desc,
126 status = acpi_ex_store_object_to_node(source_desc,
137 acpi_ex_store_object_to_index(source_desc, ref_desc,
149 source_desc, walk_state);
159 source_desc,
193 acpi_ex_store_object_to_index(union acpi_operand_object *source_desc, union acpi_operand_object *index_desc, struct acpi_walk_state *walk_state) argument
361 acpi_ex_store_object_to_node(union acpi_operand_object *source_desc, struct acpi_namespace_node *node, struct acpi_walk_state *walk_state, u8 implicit_conversion) argument
560 acpi_ex_store_direct_to_node(union acpi_operand_object *source_desc, struct acpi_namespace_node *node, struct acpi_walk_state *walk_state) argument
[all...]
H A Dexstorob.c21 * PARAMETERS: source_desc - Source object to copy
30 acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc, argument
36 ACPI_FUNCTION_TRACE_PTR(ex_store_buffer_to_buffer, source_desc);
40 if (source_desc == target_desc) {
44 /* We know that source_desc is a buffer by now */
46 buffer = ACPI_CAST_PTR(u8, source_desc->buffer.pointer);
47 length = source_desc->buffer.length;
108 target_desc->buffer.flags = source_desc->buffer.flags;
117 * PARAMETERS: source_desc - Source object to copy
127 acpi_ex_store_string_to_string(union acpi_operand_object *source_desc, argument
[all...]
H A Dexserial.c65 * PARAMETERS: source_desc - Contains data to write. Expect to be
78 acpi_ex_write_gpio(union acpi_operand_object *source_desc, argument
95 if (source_desc->common.type != ACPI_TYPE_INTEGER) {
101 acpi_ut_get_type_name(source_desc->common.type),
102 source_desc->common.type,
103 (u32)source_desc->integer.value,
107 buffer = &source_desc->integer.value;
235 * PARAMETERS: source_desc - Contains data to write
247 acpi_ex_write_serial_bus(union acpi_operand_object *source_desc, argument
278 if (source_desc
[all...]
H A Dexfield.c255 * PARAMETERS: source_desc - Contains data to write
266 acpi_ex_write_data_to_field(union acpi_operand_object *source_desc, argument
279 if (!source_desc || !obj_desc) {
300 status = acpi_ex_write_gpio(source_desc, obj_desc, result_desc);
317 acpi_ex_write_serial_bus(source_desc, obj_desc,
335 source_desc->buffer.pointer, data_length);
357 switch (source_desc->common.type) {
360 buffer = &source_desc->integer.value;
361 buffer_length = sizeof(source_desc->integer.value);
366 buffer = source_desc
[all...]
H A Dutcopy.c43 acpi_ut_copy_simple_object(union acpi_operand_object *source_desc,
629 * PARAMETERS: source_desc - The internal object to be copied
640 acpi_ut_copy_simple_object(union acpi_operand_object *source_desc, argument
658 if (ACPI_GET_DESCRIPTOR_TYPE(source_desc) == ACPI_DESC_TYPE_NAMED) {
663 ACPI_CAST_PTR(char, source_desc), copy_size);
683 if ((source_desc->buffer.pointer) &&
684 (source_desc->buffer.length)) {
686 ACPI_ALLOCATE(source_desc->buffer.length);
694 source_desc->buffer.pointer,
695 source_desc
937 acpi_ut_copy_iobject_to_iobject(union acpi_operand_object *source_desc, union acpi_operand_object **dest_desc, struct acpi_walk_state *walk_state) argument
[all...]
H A Dacinterp.h90 union acpi_operand_object *source_desc,
98 acpi_ex_do_debug_object(union acpi_operand_object *source_desc,
156 acpi_ex_write_data_to_field(union acpi_operand_object *source_desc,
281 acpi_ex_write_serial_bus(union acpi_operand_object *source_desc,
289 acpi_ex_write_gpio(union acpi_operand_object *source_desc,
412 acpi_ex_store_object_to_node(union acpi_operand_object *source_desc,
426 acpi_ex_store_object_to_object(union acpi_operand_object *source_desc,
435 acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc,
439 acpi_ex_store_string_to_string(union acpi_operand_object *source_desc,
446 acpi_ex_copy_integer_to_index_field(union acpi_operand_object *source_desc,
[all...]
H A Dexconvrt.c562 * source_desc - Source object to be converted.
574 union acpi_operand_object *source_desc,
584 *result_desc = source_desc;
606 if (destination_type != source_desc->common.type) {
610 (source_desc),
631 acpi_ex_convert_to_integer(source_desc, result_desc,
641 acpi_ex_convert_to_string(source_desc, result_desc,
651 acpi_ex_convert_to_buffer(source_desc, result_desc);
573 acpi_ex_convert_to_target_type(acpi_object_type destination_type, union acpi_operand_object *source_desc, union acpi_operand_object **result_desc, struct acpi_walk_state *walk_state) argument
H A Dacutils.h281 acpi_ut_copy_iobject_to_iobject(union acpi_operand_object *source_desc,
/linux-master/drivers/usb/typec/tcpm/
H A Dtcpm.c306 struct usb_power_delivery_capabilities_desc source_desc; member in struct:pd_data
6862 if (data->source_desc.pdo[0]) {
6863 for (i = 0; i < PDO_MAX_OBJECTS && data->source_desc.pdo[i]; i++)
6864 port->src_pdo[i] = data->source_desc.pdo[i];
6973 if (port->pd_list[i]->source_desc.pdo[0]) {
6975 &port->pd_list[i]->source_desc);
7103 src_pdo = port->pd_list[i]->source_desc.pdo;
7104 port->pd_list[i]->source_desc.role = TYPEC_SOURCE;
7136 port->pd_list[0]->source_desc.pdo,

Completed in 167 milliseconds