| /linux/drivers/acpi/acpica/ |
| A D | exdebug.c | 59 if (source_desc && in acpi_ex_do_debug_object() 98 if (!source_desc) { in acpi_ex_do_debug_object() 111 (source_desc)); in acpi_ex_do_debug_object() 116 source_desc); in acpi_ex_do_debug_object() 124 source_desc)->type), in acpi_ex_do_debug_object() 125 source_desc); in acpi_ex_do_debug_object() 133 switch (source_desc->common.type) { in acpi_ex_do_debug_object() 249 source_desc->reference. in acpi_ex_do_debug_object() 269 *source_desc->reference. in acpi_ex_do_debug_object() 271 *source_desc->reference. in acpi_ex_do_debug_object() [all …]
|
| A D | exresnte.c | 49 union acpi_operand_object *source_desc; in acpi_ex_resolve_node_to_value() local 65 node, source_desc, in acpi_ex_resolve_node_to_value() 92 if (!source_desc) { in acpi_ex_resolve_node_to_value() 116 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 134 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 149 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 163 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 174 node, source_desc, entry_type)); in acpi_ex_resolve_node_to_value() 191 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 213 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() [all …]
|
| A D | exstore.c | 63 if (!source_desc || !dest_desc) { in acpi_ex_store() 149 source_desc, walk_state); in acpi_ex_store() 159 source_desc, in acpi_ex_store() 162 ACPI_DEBUG_OBJECT(source_desc, 0, 0); in acpi_ex_store() 227 acpi_ut_add_reference(source_desc); in acpi_ex_store_object_to_index() 228 new_desc = source_desc; in acpi_ex_store_object_to_index() 289 switch (source_desc->common.type) { in acpi_ex_store_object_to_index() 379 source_desc, in acpi_ex_store_object_to_node() 412 if (source_desc->common.type != in acpi_ex_store_object_to_node() 418 (source_desc))); in acpi_ex_store_object_to_node() [all …]
|
| A D | exstoren.c | 38 union acpi_operand_object *source_desc = *source_desc_ptr; in acpi_ex_resolve_object() local 82 if ((source_desc->common.type != ACPI_TYPE_INTEGER) && in acpi_ex_resolve_object() 83 (source_desc->common.type != ACPI_TYPE_BUFFER) && in acpi_ex_resolve_object() 84 (source_desc->common.type != ACPI_TYPE_STRING) && in acpi_ex_resolve_object() 92 acpi_ut_get_object_type_name(source_desc), in acpi_ex_resolve_object() 167 actual_src_desc = source_desc; in acpi_ex_store_object_to_object() 180 if (source_desc->common.type != dest_desc->common.type) { in acpi_ex_store_object_to_object() 191 source_desc, in acpi_ex_store_object_to_object() 198 if (source_desc == actual_src_desc) { in acpi_ex_store_object_to_object() 203 *new_desc = source_desc; in acpi_ex_store_object_to_object() [all …]
|
| A D | exstorob.c | 30 acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc, in acpi_ex_store_buffer_to_buffer() argument 36 ACPI_FUNCTION_TRACE_PTR(ex_store_buffer_to_buffer, source_desc); in acpi_ex_store_buffer_to_buffer() 40 if (source_desc == target_desc) { in acpi_ex_store_buffer_to_buffer() 46 buffer = ACPI_CAST_PTR(u8, source_desc->buffer.pointer); in acpi_ex_store_buffer_to_buffer() 47 length = source_desc->buffer.length; in acpi_ex_store_buffer_to_buffer() 108 target_desc->buffer.flags = source_desc->buffer.flags; in acpi_ex_store_buffer_to_buffer() 127 acpi_ex_store_string_to_string(union acpi_operand_object *source_desc, in acpi_ex_store_string_to_string() argument 133 ACPI_FUNCTION_TRACE_PTR(ex_store_string_to_string, source_desc); in acpi_ex_store_string_to_string() 137 if (source_desc == target_desc) { in acpi_ex_store_string_to_string() 143 buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); in acpi_ex_store_string_to_string() [all …]
|
| A D | exfield.c | 279 if (!source_desc || !obj_desc) { in acpi_ex_write_data_to_field() 317 acpi_ex_write_serial_bus(source_desc, obj_desc, in acpi_ex_write_data_to_field() 335 source_desc->buffer.pointer, data_length); in acpi_ex_write_data_to_field() 357 switch (source_desc->common.type) { in acpi_ex_write_data_to_field() 360 buffer = &source_desc->integer.value; in acpi_ex_write_data_to_field() 361 buffer_length = sizeof(source_desc->integer.value); in acpi_ex_write_data_to_field() 366 buffer = source_desc->buffer.pointer; in acpi_ex_write_data_to_field() 367 buffer_length = source_desc->buffer.length; in acpi_ex_write_data_to_field() 372 buffer = source_desc->string.pointer; in acpi_ex_write_data_to_field() 373 buffer_length = source_desc->string.length; in acpi_ex_write_data_to_field() [all …]
|
| A D | exserial.c | 78 acpi_ex_write_gpio(union acpi_operand_object *source_desc, in acpi_ex_write_gpio() argument 95 if (source_desc->common.type != ACPI_TYPE_INTEGER) { in acpi_ex_write_gpio() 101 acpi_ut_get_type_name(source_desc->common.type), in acpi_ex_write_gpio() 102 source_desc->common.type, in acpi_ex_write_gpio() 103 (u32)source_desc->integer.value, in acpi_ex_write_gpio() 107 buffer = &source_desc->integer.value; in acpi_ex_write_gpio() 247 acpi_ex_write_serial_bus(union acpi_operand_object *source_desc, in acpi_ex_write_serial_bus() argument 278 if (source_desc->common.type != ACPI_TYPE_BUFFER) { in acpi_ex_write_serial_bus() 282 acpi_ut_get_object_type_name(source_desc))); in acpi_ex_write_serial_bus() 346 data_length = ACPI_MIN(buffer_length, source_desc->buffer.length); in acpi_ex_write_serial_bus() [all …]
|
| A D | utcopy.c | 663 ACPI_CAST_PTR(char, source_desc), copy_size); in acpi_ut_copy_simple_object() 683 if ((source_desc->buffer.pointer) && in acpi_ut_copy_simple_object() 684 (source_desc->buffer.length)) { in acpi_ut_copy_simple_object() 686 ACPI_ALLOCATE(source_desc->buffer.length); in acpi_ut_copy_simple_object() 694 source_desc->buffer.pointer, in acpi_ut_copy_simple_object() 695 source_desc->buffer.length); in acpi_ut_copy_simple_object() 705 if (source_desc->string.pointer) { in acpi_ut_copy_simple_object() 707 ACPI_ALLOCATE((acpi_size)source_desc->string. in acpi_ut_copy_simple_object() 716 source_desc->string.pointer, in acpi_ut_copy_simple_object() 717 (acpi_size)source_desc->string.length + 1); in acpi_ut_copy_simple_object() [all …]
|
| A D | acinterp.h | 90 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, 450 acpi_ex_copy_integer_to_bank_field(union acpi_operand_object *source_desc, [all …]
|
| A D | exconvrt.c | 618 union acpi_operand_object *source_desc, in acpi_ex_convert_to_target_type() argument 628 *result_desc = source_desc; in acpi_ex_convert_to_target_type() 650 if (destination_type != source_desc->common.type) { in acpi_ex_convert_to_target_type() 654 (source_desc), in acpi_ex_convert_to_target_type() 675 acpi_ex_convert_to_integer(source_desc, result_desc, in acpi_ex_convert_to_target_type() 685 acpi_ex_convert_to_string(source_desc, result_desc, in acpi_ex_convert_to_target_type() 695 acpi_ex_convert_to_buffer(source_desc, result_desc); in acpi_ex_convert_to_target_type()
|
| A D | acutils.h | 281 acpi_ut_copy_iobject_to_iobject(union acpi_operand_object *source_desc,
|
| /linux/drivers/usb/typec/tcpm/ |
| A D | tcpm.c | 307 struct usb_power_delivery_capabilities_desc source_desc; member 6917 if (data->source_desc.pdo[0]) { in tcpm_pd_set() 6918 for (i = 0; i < PDO_MAX_OBJECTS && data->source_desc.pdo[i]; i++) in tcpm_pd_set() 6919 port->src_pdo[i] = data->source_desc.pdo[i]; in tcpm_pd_set() 7028 if (port->pd_list[i]->source_desc.pdo[0]) { in tcpm_port_register_pd() 7030 &port->pd_list[i]->source_desc); in tcpm_port_register_pd() 7158 src_pdo = port->pd_list[i]->source_desc.pdo; in tcpm_fw_get_caps() 7159 port->pd_list[i]->source_desc.role = TYPEC_SOURCE; in tcpm_fw_get_caps() 7191 port->pd_list[0]->source_desc.pdo, in tcpm_fw_get_caps()
|