Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 200 of 767) sorted by relevance

1234

/linux-4.1.27/drivers/acpi/acpica/
Dexstorob.c80 buffer = ACPI_CAST_PTR(u8, source_desc->buffer.pointer); in acpi_ex_store_buffer_to_buffer()
89 target_desc->buffer.pointer = ACPI_ALLOCATE(length); in acpi_ex_store_buffer_to_buffer()
90 if (!target_desc->buffer.pointer) { in acpi_ex_store_buffer_to_buffer()
103 ACPI_MEMSET(target_desc->buffer.pointer, 0, in acpi_ex_store_buffer_to_buffer()
105 ACPI_MEMCPY(target_desc->buffer.pointer, buffer, length); in acpi_ex_store_buffer_to_buffer()
132 ACPI_MEMCPY(target_desc->buffer.pointer, buffer, in acpi_ex_store_buffer_to_buffer()
177 buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); in acpi_ex_store_string_to_string()
190 ACPI_MEMSET(target_desc->string.pointer, 0, in acpi_ex_store_string_to_string()
192 ACPI_MEMCPY(target_desc->string.pointer, buffer, length); in acpi_ex_store_string_to_string()
198 if (target_desc->string.pointer && in acpi_ex_store_string_to_string()
[all …]
Dutcopy.c145 external_object->string.pointer = (char *)data_space; in acpi_ut_copy_isimple_to_esimple()
153 (void *)internal_object->string.pointer, in acpi_ut_copy_isimple_to_esimple()
159 external_object->buffer.pointer = data_space; in acpi_ut_copy_isimple_to_esimple()
166 (void *)internal_object->buffer.pointer, in acpi_ut_copy_isimple_to_esimple()
406 ret_buffer->pointer, in acpi_ut_copy_iobject_to_eobject()
416 pointer), in acpi_ut_copy_iobject_to_eobject()
419 pointer, in acpi_ut_copy_iobject_to_eobject()
497 internal_object->string.pointer = in acpi_ut_copy_esimple_to_isimple()
501 if (!internal_object->string.pointer) { in acpi_ut_copy_esimple_to_isimple()
505 ACPI_MEMCPY(internal_object->string.pointer, in acpi_ut_copy_esimple_to_isimple()
[all …]
Dnsconvert.c81 status = acpi_ut_strtoul64(original_object->string.pointer, in acpi_ns_convert_to_integer()
101 pointer[i] << (i * 8)); in acpi_ns_convert_to_integer()
175 (original_object->buffer.pointer[length])) { in acpi_ns_convert_to_string()
190 ACPI_MEMCPY(new_object->string.pointer, in acpi_ns_convert_to_string()
191 original_object->buffer.pointer, length); in acpi_ns_convert_to_string()
254 ACPI_MEMCPY(new_object->buffer.pointer, in acpi_ns_convert_to_buffer()
255 original_object->string.pointer, in acpi_ns_convert_to_buffer()
289 dword_buffer = ACPI_CAST_PTR(u32, new_object->buffer.pointer); in acpi_ns_convert_to_buffer()
349 ascii_string = original_object->string.pointer; in acpi_ns_convert_to_unicode()
359 unicode_buffer = ACPI_CAST_PTR(u16, new_object->buffer.pointer); in acpi_ns_convert_to_unicode()
[all …]
Drscreate.c155 aml_start = aml_buffer->buffer.pointer; in ACPI_EXPORT_SYMBOL()
179 resource = output_buffer->pointer; in ACPI_EXPORT_SYMBOL()
188 output_buffer->pointer, (u32) output_buffer->length)); in ACPI_EXPORT_SYMBOL()
258 buffer = output_buffer->pointer; in acpi_rs_create_pci_routing_table()
345 (u8 *) output_buffer->pointer); in acpi_rs_create_pci_routing_table()
346 path_buffer.pointer = user_prt->source; in acpi_rs_create_pci_routing_table()
362 obj_desc->string.pointer); in acpi_rs_create_pci_routing_table()
416 output_buffer->pointer, (u32) output_buffer->length)); in acpi_rs_create_pci_routing_table()
449 resource_list->pointer)); in acpi_rs_create_aml_resources()
453 status = acpi_rs_get_aml_length(resource_list->pointer, in acpi_rs_create_aml_resources()
[all …]
Dexconvrt.c76 u8 *pointer; in acpi_ex_convert_to_integer() local
97 pointer = obj_desc->buffer.pointer; in acpi_ex_convert_to_integer()
127 status = acpi_ut_strtoul64((char *)pointer, flags, &result); in acpi_ex_convert_to_integer()
157 result |= (((u64) pointer[i]) << (i * 8)); in acpi_ex_convert_to_integer()
229 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer()
254 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer()
255 ACPI_STRNCPY((char *)new_buf, (char *)obj_desc->string.pointer, in acpi_ex_convert_to_buffer()
449 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_string()
481 if (obj_desc->buffer.pointer[i] >= 100) { in acpi_ex_convert_to_string()
483 } else if (obj_desc->buffer.pointer[i] >= 10) { in acpi_ex_convert_to_string()
[all …]
Dexmisc.c185 length0 = ACPI_PTR_DIFF(end_tag, operand0->buffer.pointer); in acpi_ex_concat_template()
194 length1 = ACPI_PTR_DIFF(end_tag, operand1->buffer.pointer); in acpi_ex_concat_template()
211 new_buf = return_desc->buffer.pointer; in acpi_ex_concat_template()
212 ACPI_MEMCPY(new_buf, operand0->buffer.pointer, length0); in acpi_ex_concat_template()
213 ACPI_MEMCPY(new_buf + length0, operand1->buffer.pointer, length1); in acpi_ex_concat_template()
317 new_buf = (char *)return_desc->buffer.pointer; in acpi_ex_do_concatenate()
345 new_buf = return_desc->string.pointer; in acpi_ex_do_concatenate()
349 ACPI_STRCPY(new_buf, operand0->string.pointer); in acpi_ex_do_concatenate()
351 local_operand1->string.pointer); in acpi_ex_do_concatenate()
368 new_buf = (char *)return_desc->buffer.pointer; in acpi_ex_do_concatenate()
[all …]
Dtbfind.c97 if (!acpi_gbl_root_table_list.tables[i].pointer) { in acpi_tb_find_table()
108 if (!acpi_gbl_root_table_list.tables[i].pointer) { in acpi_tb_find_table()
116 (acpi_gbl_root_table_list.tables[i].pointer->signature, in acpi_tb_find_table()
121 tables[i].pointer-> in acpi_tb_find_table()
127 pointer->oem_table_id, in acpi_tb_find_table()
Dutalloc.c253 if (!buffer->pointer) { in acpi_ut_validate_buffer()
312 buffer->pointer = acpi_os_allocate(required_length); in acpi_ut_initialize_buffer()
319 buffer->pointer = ACPI_ALLOCATE(required_length); in acpi_ut_initialize_buffer()
334 if (!buffer->pointer) { in acpi_ut_initialize_buffer()
340 ACPI_MEMSET(buffer->pointer, 0, required_length); in acpi_ut_initialize_buffer()
Dtbinstal.c90 ACPI_MEMCMP(table_desc->pointer, table, in acpi_tb_compare_tables()
141 new_table_desc->pointer); in acpi_tb_install_table_with_override()
144 new_table_desc->pointer); in acpi_tb_install_table_with_override()
149 acpi_ut_set_integer_width(new_table_desc->pointer->revision); in acpi_tb_install_table_with_override()
403 status = acpi_os_table_override(old_table_desc->pointer, &table); in acpi_tb_override_table()
414 status = acpi_os_physical_table_override(old_table_desc->pointer, in acpi_tb_override_table()
450 new_table_desc.pointer); in acpi_tb_override_table()
Dtbxface.c233 if (!acpi_gbl_root_table_list.tables[i].pointer) { in ACPI_EXPORT_SYMBOL_INIT()
255 acpi_gbl_root_table_list.tables[i].pointer, in ACPI_EXPORT_SYMBOL_INIT()
312 *out_table = acpi_gbl_root_table_list.tables[i].pointer; in ACPI_EXPORT_SYMBOL()
317 acpi_gbl_root_table_list.tables[i].pointer = NULL; in ACPI_EXPORT_SYMBOL()
375 if (!acpi_gbl_root_table_list.tables[table_index].pointer) { in ACPI_EXPORT_SYMBOL()
388 *table = acpi_gbl_root_table_list.tables[table_index].pointer; in ACPI_EXPORT_SYMBOL()
Dexconfig.c175 status = acpi_tb_find_table(operand[0]->string.pointer, in acpi_ex_load_table_op()
176 operand[1]->string.pointer, in acpi_ex_load_table_op()
177 operand[2]->string.pointer, &table_index); in acpi_ex_load_table_op()
207 acpi_ns_get_node(start_node, operand[3]->string.pointer, in acpi_ex_load_table_op()
217 if ((operand[4]->string.pointer[0] != AML_ROOT_PREFIX) && in acpi_ex_load_table_op()
218 (operand[4]->string.pointer[0] != AML_PARENT_PREFIX)) { in acpi_ex_load_table_op()
229 acpi_ns_get_node(start_node, operand[4]->string.pointer, in acpi_ex_load_table_op()
452 obj_desc->buffer.pointer); in acpi_ex_load_op()
Dtbdata.c281 if (!table_desc->pointer) { in acpi_tb_validate_table()
282 status = acpi_tb_acquire_table(table_desc, &table_desc->pointer, in acpi_tb_validate_table()
285 if (!table_desc->pointer) { in acpi_tb_validate_table()
313 if (!table_desc->pointer) { in acpi_tb_invalidate_table()
317 acpi_tb_release_table(table_desc->pointer, table_desc->length, in acpi_tb_invalidate_table()
319 table_desc->pointer = NULL; in acpi_tb_invalidate_table()
340 if (!table_desc->pointer && !acpi_gbl_verify_table_checksum) { in acpi_tb_validate_temp_table()
398 acpi_tb_verify_checksum(table_desc->pointer, in acpi_tb_verify_temp_table()
Drsdump.c239 ACPI_CAST_PTR(char, table->pointer)); in acpi_rs_dump_descriptor()
251 if (table->pointer) { in acpi_rs_dump_descriptor()
254 pointer in acpi_rs_dump_descriptor()
282 pointer[*target & in acpi_rs_dump_descriptor()
290 pointer[*target & in acpi_rs_dump_descriptor()
298 pointer[*target & in acpi_rs_dump_descriptor()
Dexdump.c89 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(string.pointer), "Pointer"},
96 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(buffer.pointer), "Pointer"},
273 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(data.pointer), "Raw Data"}
433 acpi_ut_print_string(obj_desc->string.pointer, in acpi_ex_dump_object()
440 ACPI_DUMP_BUFFER(obj_desc->buffer.pointer, in acpi_ex_dump_object()
711 obj_desc->buffer.pointer); in acpi_ex_dump_operand()
715 if (obj_desc->buffer.pointer) { in acpi_ex_dump_operand()
724 ACPI_DUMP_BUFFER(obj_desc->buffer.pointer, length); in acpi_ex_dump_operand()
780 obj_desc->string.pointer); in acpi_ex_dump_operand()
782 acpi_ut_print_string(obj_desc->string.pointer, ACPI_UINT8_MAX); in acpi_ex_dump_operand()
[all …]
Drsxface.c294 if ((!in_buffer) || (!in_buffer->pointer) || (!in_buffer->length)) { in ACPI_EXPORT_SYMBOL()
516 ACPI_MEMCPY(buffer->pointer, resource, resource->length); in ACPI_EXPORT_SYMBOL()
554 if (!buffer || !buffer->pointer || !user_function) { in acpi_walk_resource_buffer()
560 resource = ACPI_CAST_PTR(struct acpi_resource, buffer->pointer); in acpi_walk_resource_buffer()
562 ACPI_ADD_PTR(struct acpi_resource, buffer->pointer, buffer->length); in acpi_walk_resource_buffer()
659 ACPI_FREE(buffer.pointer); in ACPI_EXPORT_SYMBOL()
Dexfield.c217 buffer.pointer), in acpi_ex_read_data_from_field()
243 buffer = buffer_desc->buffer.pointer; in acpi_ex_read_data_from_field()
430 buffer = buffer_desc->buffer.pointer; in acpi_ex_write_data_to_field()
431 ACPI_MEMCPY(buffer, source_desc->buffer.pointer, length); in acpi_ex_write_data_to_field()
496 buffer = source_desc->buffer.pointer; in acpi_ex_write_data_to_field()
502 buffer = source_desc->string.pointer; in acpi_ex_write_data_to_field()
Dutids.c114 ACPI_STRCPY(hid->string, obj_desc->string.pointer); in acpi_ut_execute_HID()
183 ACPI_STRCPY(sub->string, obj_desc->string.pointer); in acpi_ut_execute_SUB()
259 ACPI_STRCPY(uid->string, obj_desc->string.pointer); in acpi_ut_execute_UID()
397 cid_objects[i]->string.pointer); in acpi_ut_execute_CID()
Dnsxfeval.c125 if (((union acpi_object *)return_buffer->pointer)->type == return_type) { in acpi_evaluate_object_typed()
134 pointer)->type), in acpi_evaluate_object_typed()
145 acpi_os_free(return_buffer->pointer); in acpi_evaluate_object_typed()
146 return_buffer->pointer = NULL; in acpi_evaluate_object_typed()
272 pointer[i], in ACPI_EXPORT_SYMBOL()
340 (&external_params->pointer[i], in ACPI_EXPORT_SYMBOL()
Dutosi.c436 interface_info = acpi_ut_get_interface(string_desc->string.pointer); in acpi_ut_osi_implementation()
460 interface_handler(string_desc->string.pointer, in acpi_ut_osi_implementation()
466 string_desc->string.pointer, in acpi_ut_osi_implementation()
Dnsdump.c326 pointer[i]); in acpi_ns_dump_one_object()
338 acpi_ut_print_string(obj_desc->string.pointer, 32); in acpi_ns_dump_one_object()
485 acpi_os_printf(" S:%p-%X\n", obj_desc->string.pointer, in acpi_ns_dump_one_object()
491 acpi_os_printf(" B:%p-%X\n", obj_desc->buffer.pointer, in acpi_ns_dump_one_object()
577 obj_desc = (void *)obj_desc->string.pointer; in acpi_ns_dump_one_object()
Dnsnames.c258 acpi_ns_build_external_path(node, required_size, buffer->pointer); in acpi_ns_handle_to_pathname()
264 (char *)buffer->pointer, (u32) required_size)); in acpi_ns_handle_to_pathname()
Dutdelete.c96 object->string.pointer)); in acpi_ut_delete_internal_obj()
104 obj_pointer = object->string.pointer; in acpi_ut_delete_internal_obj()
112 object->buffer.pointer)); in acpi_ut_delete_internal_obj()
120 obj_pointer = object->buffer.pointer; in acpi_ut_delete_internal_obj()
Ddsobject.c328 obj_desc->buffer.pointer = NULL; in acpi_ds_build_internal_buffer_obj()
332 obj_desc->buffer.pointer = in acpi_ds_build_internal_buffer_obj()
334 if (!obj_desc->buffer.pointer) { in acpi_ds_build_internal_buffer_obj()
342 ACPI_MEMCPY(obj_desc->buffer.pointer, in acpi_ds_build_internal_buffer_obj()
752 obj_desc->string.pointer = op->common.value.string; in acpi_ds_init_object_from_op()
Dexdebug.c157 acpi_ut_dump_buffer(source_desc->buffer.pointer, in acpi_ex_do_debug_object()
167 source_desc->string.pointer); in acpi_ex_do_debug_object()
Dexoparg3.c240 ACPI_MEMCPY(buffer, operand[0]->string.pointer + index, in acpi_ex_opcode_3A_1T_1R()
246 return_desc->string.pointer = buffer; in acpi_ex_opcode_3A_1T_1R()
Dutmisc.c400 acpi_ut_get_type_name(type), (char *)buffer.pointer); in acpi_ut_display_init_pathname()
409 ACPI_FREE(buffer.pointer); in acpi_ut_display_init_pathname()
Drsutils.c769 ACPI_FREE(buffer.pointer); in acpi_rs_set_srs_method_data()
775 args[0]->buffer.pointer = buffer.pointer; in acpi_rs_set_srs_method_data()
Dexoparg2.c324 (operand[0]->buffer.pointer[length])) { in acpi_ex_opcode_2A_1T_1R()
340 ACPI_MEMCPY(return_desc->string.pointer, in acpi_ex_opcode_2A_1T_1R()
341 operand[0]->buffer.pointer, length); in acpi_ex_opcode_2A_1T_1R()
Dtbxfload.c134 acpi_gbl_root_table_list.tables[ACPI_TABLE_INDEX_DSDT].pointer; in ACPI_EXPORT_SYMBOL_INIT()
395 tables[i].pointer, in ACPI_EXPORT_SYMBOL()
Dutdebug.c314 const char *module_name, u32 component_id, void *pointer) in ACPI_EXPORT_SYMBOL()
326 pointer); in ACPI_EXPORT_SYMBOL()
Dnsrepair2.c323 byte_buffer = return_object->buffer.pointer; in acpi_ns_repair_FDE()
325 ACPI_CAST_PTR(u32, buffer_object->buffer.pointer); in acpi_ns_repair_FDE()
564 source = return_object->string.pointer; in acpi_ns_repair_HID()
582 for (dest = new_string->string.pointer; *source; dest++, source++) { in acpi_ns_repair_HID()
Dacobject.h121 _type *pointer; \
374 void *pointer; member
Dnsdumpdv.c85 info = buffer.pointer; in acpi_ns_dump_one_device()
Dutresrc.c819 *end_tag = obj_desc->buffer.pointer; in acpi_ut_get_resource_end_tag()
825 status = acpi_ut_walk_aml_resources(NULL, obj_desc->buffer.pointer, in acpi_ut_get_resource_end_tag()
Dexstore.c336 value = source_desc->buffer.pointer[0]; in acpi_ex_store_object_to_index()
351 obj_desc->buffer.pointer[index_desc->reference.value] = value; in acpi_ex_store_object_to_index()
Dnsobject.c374 data_desc->data.pointer = data; in acpi_ns_attach_data()
456 *data = obj_desc->data.pointer; in acpi_ns_get_attached_data()
Ddsopcode.c521 status = acpi_tb_find_table(operand[0]->string.pointer, in acpi_ds_eval_table_region_operands()
522 operand[1]->string.pointer, in acpi_ds_eval_table_region_operands()
523 operand[2]->string.pointer, &table_index); in acpi_ds_eval_table_region_operands()
/linux-4.1.27/arch/ia64/sn/kernel/
Dio_acpi_init.c86 (char *)name_buffer.pointer); in sn_acpi_hubdev_init()
87 kfree(name_buffer.pointer); in sn_acpi_hubdev_init()
91 resource = buffer.pointer; in sn_acpi_hubdev_init()
99 vendor->byte_length, (char *)name_buffer.pointer); in sn_acpi_hubdev_init()
100 kfree(name_buffer.pointer); in sn_acpi_hubdev_init()
114 kfree(buffer.pointer); in sn_acpi_hubdev_init()
142 __func__, status, (char *)name_buffer.pointer); in sn_get_bussoft_ptr()
143 kfree(name_buffer.pointer); in sn_get_bussoft_ptr()
146 resource = buffer.pointer; in sn_get_bussoft_ptr()
154 kfree(buffer.pointer); in sn_get_bussoft_ptr()
[all …]
/linux-4.1.27/drivers/acpi/
Dutils.c76 if (!format || !format->pointer || (format->length < 1)) { in acpi_extract_package()
94 format_string = format->pointer; in acpi_extract_package()
182 buffer->pointer = ACPI_ALLOCATE_ZEROED(size_required); in acpi_extract_package()
183 if (!buffer->pointer) in acpi_extract_package()
191 !buffer->pointer) { in acpi_extract_package()
196 head = buffer->pointer; in acpi_extract_package()
197 tail = buffer->pointer + tail_offset; in acpi_extract_package()
204 u8 **pointer = NULL; in acpi_extract_package() local
221 pointer = (u8 **) head; in acpi_extract_package()
222 *pointer = tail; in acpi_extract_package()
[all …]
Dbus.c189 printk(KERN_DEBUG "%s:%s\n", (char *)buffer.pointer, error); in acpi_print_osc_error()
190 kfree(buffer.pointer); in acpi_print_osc_error()
194 printk("%x ", *((u32 *)(context->cap.pointer + i))); in acpi_print_osc_error()
236 context->ret.pointer = NULL; in acpi_run_osc()
240 input.pointer = in_params; in acpi_run_osc()
243 in_params[0].buffer.pointer = uuid; in acpi_run_osc()
250 in_params[3].buffer.pointer = context->cap.pointer; in acpi_run_osc()
259 out_obj = output.pointer; in acpi_run_osc()
268 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc()
280 if (((u32 *)context->cap.pointer)[OSC_QUERY_DWORD] in acpi_run_osc()
[all …]
Dprocessor_pdc.c101 obj->buffer.pointer = (u8 *) buf; in acpi_processor_alloc_pdc()
103 obj_list->pointer = obj; in acpi_processor_alloc_pdc()
129 obj = pdc_in->pointer; in acpi_processor_eval_pdc()
130 buffer = (u32 *)(obj->buffer.pointer); in acpi_processor_eval_pdc()
156 kfree(obj_list->pointer->buffer.pointer); in acpi_processor_set_pdc()
157 kfree(obj_list->pointer); in acpi_processor_set_pdc()
Dproperty.c127 desc = buf.pointer; in acpi_init_properties()
146 if (memcmp(uuid->buffer.pointer, prp_uuid, sizeof(prp_uuid))) in acpi_init_properties()
156 adev->data.pointer = buf.pointer; in acpi_init_properties()
165 ACPI_FREE(buf.pointer); in acpi_init_properties()
170 ACPI_FREE((void *)adev->data.pointer); in acpi_free_properties()
172 adev->data.pointer = NULL; in acpi_free_properties()
203 if (!adev->data.pointer || !adev->data.properties) in acpi_dev_get_property()
216 if (!strcmp(name, propname->string.pointer)) { in acpi_dev_get_property()
421 *(char **)val = obj->string.pointer; in acpi_dev_prop_read_single()
499 val[i] = items[i].string.pointer; in acpi_copy_property_array_string()
Dprocessor_core.c158 if (!buffer.length || !buffer.pointer) in map_mat_entry()
161 obj = buffer.pointer; in map_mat_entry()
167 header = (struct acpi_subtable_header *)obj->buffer.pointer; in map_mat_entry()
178 kfree(buffer.pointer); in map_mat_entry()
302 if (!buffer.length || !buffer.pointer) in parse_mat_ioapic_entry()
305 obj = buffer.pointer; in parse_mat_ioapic_entry()
310 header = (struct acpi_subtable_header *)obj->buffer.pointer; in parse_mat_ioapic_entry()
315 kfree(buffer.pointer); in parse_mat_ioapic_entry()
Dprocessor_perflib.c242 pct = (union acpi_object *)buffer.pointer; in acpi_processor_get_performance_control()
258 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_performance_control()
263 memcpy(&pr->performance->control_register, obj.buffer.pointer, in acpi_processor_get_performance_control()
274 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_performance_control()
280 memcpy(&pr->performance->status_register, obj.buffer.pointer, in acpi_processor_get_performance_control()
284 kfree(buffer.pointer); in acpi_processor_get_performance_control()
342 pss = buffer.pointer; in acpi_processor_get_performance_states()
366 state.pointer = px; in acpi_processor_get_performance_states()
425 kfree(buffer.pointer); in acpi_processor_get_performance_states()
548 psd = buffer.pointer; in acpi_processor_get_psd()
[all …]
Dpci_slot.c83 dbg("Checking slot on path: %s\n", (char *)buffer.pointer); in check_slot()
94 dbg("_ADR returned %d on %s\n", status, (char *)buffer.pointer); in check_slot()
101 dbg("_SUN returned %d on %s\n", status, (char *)buffer.pointer); in check_slot()
107 kfree(buffer.pointer); in check_slot()
Dprocessor_throttling.c444 ptc = (union acpi_object *)buffer.pointer; in acpi_processor_get_throttling_control()
460 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control()
466 memcpy(&pr->throttling.control_register, obj.buffer.pointer, in acpi_processor_get_throttling_control()
477 || (obj.buffer.pointer == NULL)) { in acpi_processor_get_throttling_control()
483 memcpy(&pr->throttling.status_register, obj.buffer.pointer, in acpi_processor_get_throttling_control()
503 kfree(buffer.pointer); in acpi_processor_get_throttling_control()
529 tss = buffer.pointer; in acpi_processor_get_throttling_states()
555 state.pointer = tx; in acpi_processor_get_throttling_states()
578 kfree(buffer.pointer); in acpi_processor_get_throttling_states()
608 tsd = buffer.pointer; in acpi_processor_get_tsd()
[all …]
Dscan.c193 for (c = buf.pointer; *c != '\0'; c++) in create_of_modalias()
196 len = snprintf(modalias, size, "of:N%sT", (char *)buf.pointer); in create_of_modalias()
197 ACPI_FREE(buf.pointer); in create_of_modalias()
212 obj->string.pointer); in create_of_modalias()
796 result = sprintf(buf, "%s\n", (char*)path.pointer); in acpi_device_path_show()
797 kfree(path.pointer); in acpi_device_path_show()
818 (wchar_t *)acpi_dev->pnp.str_obj->buffer.pointer, in description_show()
890 buffer.pointer = NULL; in acpi_device_setup_files()
891 dev->pnp.str_obj = buffer.pointer; in acpi_device_setup_files()
1012 if (!strcasecmp(obj->string.pointer, id->compatible)) in acpi_of_match_device()
[all …]
Dacpi_pad.c383 if (!buffer.length || !buffer.pointer) in acpi_pad_pur()
386 package = buffer.pointer; in acpi_pad_pur()
394 kfree(buffer.pointer); in acpi_pad_pur()
404 .pointer = (void *)&idle_cpus, in acpi_pad_handle_notify()
Dacpi_lpat.c110 obj_p = (union acpi_object *)buffer.pointer; in acpi_lpat_get_conversion_table()
138 kfree(buffer.pointer); in acpi_lpat_get_conversion_table()
Dpci_irq.c243 kfree(buffer.pointer); in acpi_pci_irq_find_prt_entry()
247 entry = buffer.pointer; in acpi_pci_irq_find_prt_entry()
256 kfree(buffer.pointer); in acpi_pci_irq_find_prt_entry()
Dfan.c125 obj = buffer.pointer; in fan_get_state_acpi4()
249 obj = buffer.pointer; in acpi_fan_get_fif()
286 obj = buffer.pointer; in acpi_fan_get_fps()
Dbattery.c419 strncpy(ptr, element->string.pointer, 32); in extract_package()
466 result = extract_package(battery, buffer.pointer, in acpi_battery_get_info()
470 result = extract_package(battery, buffer.pointer, in acpi_battery_get_info()
474 result = extract_package(battery, buffer.pointer, in acpi_battery_get_info()
476 kfree(buffer.pointer); in acpi_battery_get_info()
521 result = extract_package(battery, buffer.pointer, in acpi_battery_get_state()
524 kfree(buffer.pointer); in acpi_battery_get_state()
/linux-4.1.27/drivers/ide/
Dide-acpi.c245 output.pointer = NULL; /* ACPI-CA sets this; save/free it later */ in do_drive_get_GTF()
258 if (!output.length || !output.pointer) { in do_drive_get_GTF()
262 output.pointer); in do_drive_get_GTF()
266 out_obj = output.pointer; in do_drive_get_GTF()
272 kfree(output.pointer); in do_drive_get_GTF()
276 if (!out_obj->buffer.length || !out_obj->buffer.pointer || in do_drive_get_GTF()
281 out_obj->buffer.pointer); in do_drive_get_GTF()
283 kfree(output.pointer); in do_drive_get_GTF()
288 *gtf_address = (unsigned long)out_obj->buffer.pointer; in do_drive_get_GTF()
404 output.pointer = NULL; /* ACPI-CA sets this; save/free it later */ in ide_acpi_get_timing()
[all …]
/linux-4.1.27/sound/soc/au1x/
Ddma.c44 struct pcm_period *pointer; in au1000_release_dma_link() local
49 pointer = stream->buffer; in au1000_release_dma_link()
50 if (!pointer) in au1000_release_dma_link()
53 pointer_next = pointer->next; in au1000_release_dma_link()
54 kfree(pointer); in au1000_release_dma_link()
55 pointer = pointer_next; in au1000_release_dma_link()
56 } while (pointer != stream->buffer); in au1000_release_dma_link()
66 struct pcm_period *pointer; in au1000_setup_dma_link() local
84 pointer = stream->buffer; in au1000_setup_dma_link()
86 pointer->start = (u32)(dma_start + (i * period_bytes)); in au1000_setup_dma_link()
[all …]
/linux-4.1.27/drivers/pci/hotplug/
Dacpi_pcihp.c65 __func__, (char *)string.pointer, status); in acpi_run_oshp()
68 __func__, (char *)string.pointer); in acpi_run_oshp()
71 (char *)string.pointer); in acpi_run_oshp()
73 kfree(string.pointer); in acpi_run_oshp()
109 (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware()
115 kfree(string.pointer); in acpi_get_hp_hw_control_from_firmware()
136 (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware()
150 kfree(string.pointer); in acpi_get_hp_hw_control_from_firmware()
154 pci_name(pdev), (char *)string.pointer); in acpi_get_hp_hw_control_from_firmware()
155 kfree(string.pointer); in acpi_get_hp_hw_control_from_firmware()
Dacpiphp_ibm.c174 struct acpi_object_list params = { .pointer = args, .count = 2 }; in ibm_set_attention_status()
297 package = (union acpi_object *) buffer.pointer; in ibm_get_table_from_acpi()
330 package->package.elements[i].buffer.pointer, in ibm_get_table_from_acpi()
336 kfree(buffer.pointer); in ibm_get_table_from_acpi()
/linux-4.1.27/Documentation/metag/
Dkernel-ABI.txt65 D0.4 (D0FrT) Frame temp D1.4 (D1RtP) Return pointer
72 A0.0 (A0StP) Stack pointer A1.0 (A1GbP) Global base pointer
73 A0.1 (A0FrP) Frame pointer A1.1 (A1LbP) Local base pointer
94 kernel stack pointer and saving
96 A0.15 !SMP Protected Stores kernel stack pointer.
97 A1.15 ALWAYS Protected Stores kernel base pointer.
99 On UP A0.15 is used to store the kernel stack pointer for storing the userland
103 pointer to be loaded for storing the rest of the context.
117 A1.0 (A1GbP) ALWAYS Preserved Reserved (kernel base pointer).
166 from low addresses to high addresses in the metag ABI. The stack pointer (A0StP)
[all …]
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_acpi.c114 atif_arg.pointer = &atif_arg_elements[0]; in radeon_atif_call()
122 atif_arg_elements[1].buffer.pointer = params->pointer; in radeon_atif_call()
135 kfree(buffer.pointer); in radeon_atif_call()
139 return buffer.pointer; in radeon_atif_call()
214 size = *(u16 *) info->buffer.pointer; in radeon_atif_verify_interface()
222 memcpy(&output, info->buffer.pointer, size); in radeon_atif_verify_interface()
261 size = *(u16 *) info->buffer.pointer; in radeon_atif_get_notification_params()
269 memcpy(&params, info->buffer.pointer, size); in radeon_atif_get_notification_params()
320 size = *(u16 *)info->buffer.pointer; in radeon_atif_get_sbios_requests()
328 memcpy(req, info->buffer.pointer, size); in radeon_atif_get_sbios_requests()
[all …]
Dradeon_atpx_handler.c84 atpx_arg.pointer = &atpx_arg_elements[0]; in radeon_atpx_call()
92 atpx_arg_elements[1].buffer.pointer = params->pointer; in radeon_atpx_call()
105 kfree(buffer.pointer); in radeon_atpx_call()
109 return buffer.pointer; in radeon_atpx_call()
160 size = *(u16 *) info->buffer.pointer; in radeon_atpx_validate()
168 memcpy(&output, info->buffer.pointer, size); in radeon_atpx_validate()
210 size = *(u16 *) info->buffer.pointer; in radeon_atpx_verify_interface()
218 memcpy(&output, info->buffer.pointer, size); in radeon_atpx_verify_interface()
251 params.pointer = &input; in radeon_atpx_set_discrete_state()
283 params.pointer = &input; in radeon_atpx_switch_disp_mux()
[all …]
/linux-4.1.27/fs/cifs/
Dasn1.c95 unsigned char *pointer; /* Octet just to be decoded */ member
113 ctx->pointer = buf; in asn1_open()
120 if (ctx->pointer >= ctx->end) { in asn1_octet_decode()
124 *ch = *(ctx->pointer)++; in asn1_octet_decode()
134 if (ctx->pointer >= ctx->end) {
139 ch = *(ctx->pointer)++; /* ch has 0xa, ptr points to length octet */
141 *val = *(++(ctx->pointer)); /* value has enum value */
145 ctx->pointer++;
216 if (*len > ctx->end - ctx->pointer) in asn1_length_decode()
241 *eoc = ctx->pointer + len; in asn1_header_decode()
[all …]
/linux-4.1.27/drivers/cpufreq/
Dpcc-cpufreq.c267 pccp = buffer.pointer; in pcc_get_offset()
296 kfree(buffer.pointer); in pcc_get_offset()
313 input.pointer = in_params; in pcc_cpufreq_do_osc()
316 in_params[0].buffer.pointer = OSC_UUID; in pcc_cpufreq_do_osc()
323 in_params[3].buffer.pointer = (u8 *)&capabilities; in pcc_cpufreq_do_osc()
335 out_obj = output.pointer; in pcc_cpufreq_do_osc()
341 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
347 supported = *((u32 *)(out_obj->buffer.pointer + 4)); in pcc_cpufreq_do_osc()
353 kfree(output.pointer); in pcc_cpufreq_do_osc()
364 out_obj = output.pointer; in pcc_cpufreq_do_osc()
[all …]
/linux-4.1.27/arch/xtensa/lib/
Dstrncpy_user.S43 # a1/ stack pointer
79 addi a3, a3, 1 # advance src pointer
82 addi a11, a11, 1 # advance dst pointer
92 addi a11, a11, 1 # advance dst pointer
96 addi a3, a3, 2 # advance src pointer
99 addi a11, a11, 1 # advance dst pointer
121 addi a3, a3, 4 # advance src pointer
127 addi a11, a11, 4 # advance dst pointer
136 addi a3, a3, 2 # advance src pointer
145 addi a11, a11, 2 # advance dst pointer
[all …]
Dstrnlen_user.S81 addi a4, a4, 4 # advance string pointer
95 addi a4, a4, 2 # advance string pointer
104 addi a4, a4, 1 # advance string pointer
129 addi a4, a4, 1 # advance string pointer
131 bbci.l a4, 1, .Laligned # if string pointer is now word-aligned
/linux-4.1.27/net/wireless/
Dwext-priv.c147 if (!iwp->pointer && iwp->length != 0) in ioctl_private_iw_point()
152 } else if (!iwp->pointer) in ioctl_private_iw_point()
161 if (copy_from_user(extra, iwp->pointer, extra_size)) { in ioctl_private_iw_point()
178 if (copy_to_user(iwp->pointer, extra, extra_size)) in ioctl_private_iw_point()
231 iwp.pointer = compat_ptr(iwp_compat->pointer); in compat_private_call()
238 iwp_compat->pointer = ptr_to_compat(iwp.pointer); in compat_private_call()
Dwext-core.c614 memcpy(&compat_event->pointer, in wireless_send_event()
622 memcpy(&compat_event->pointer, wrqu, in wireless_send_event()
744 err = copy_from_user(essid, iwp->pointer, len); in ioctl_standard_iw_point()
761 if (!iwp->pointer && iwp->length != 0) in ioctl_standard_iw_point()
770 if (!iwp->pointer) in ioctl_standard_iw_point()
804 if (copy_from_user(extra, iwp->pointer, in ioctl_standard_iw_point()
849 if (copy_to_user(iwp->pointer, extra, in ioctl_standard_iw_point()
966 iwr_lcl.u.data.pointer = compat_ptr(iwp_compat->pointer); in wireless_process_ioctl()
972 iwp_compat->pointer = ptr_to_compat(iwr_lcl.u.data.pointer); in wireless_process_ioctl()
1095 iwp.pointer = compat_ptr(iwp_compat->pointer); in compat_standard_call()
[all …]
/linux-4.1.27/scripts/coccinelle/null/
Dbadzero.cocci1 /// Compare pointer-typed values to NULL rather than 0
73 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0")
79 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0")
171 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0, suggest !E")
177 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0")
183 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0, suggest !E")
189 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0")
232 coccilib.org.print_todo(p[0], "WARNING comparing pointer to 0")
238 coccilib.report.print_report(p[0], "WARNING comparing pointer to 0")
/linux-4.1.27/Documentation/hwmon/
Dhwmon-kernel-api.txt41 of this function is a pointer to the parent device.
42 This function returns a pointer to the newly created hardware monitoring device
49 it has additional parameters. The name parameter is a pointer to the hwmon
51 pointing to this name. The drvdata parameter is the pointer to the local
52 driver data. hwmon_device_register_with_groups will attach this pointer
53 to the newly allocated hwmon device. The pointer can be retrieved by the driver
54 using dev_get_drvdata() on the hwmon device pointer. The groups parameter is
55 a pointer to a list of sysfs attribute groups. The list must be NULL terminated.
64 The parameter of this function is the pointer to the registered hardware
93 You can use to_sensor_dev_attr to get the pointer to this structure from the
[all …]
/linux-4.1.27/sound/mips/
Dau1x00.c136 struct au1000_period * pointer; in au1000_release_dma_link() local
141 pointer = stream->buffer; in au1000_release_dma_link()
142 if (! pointer) in au1000_release_dma_link()
145 pointer_next = pointer->next; in au1000_release_dma_link()
146 kfree(pointer); in au1000_release_dma_link()
147 pointer = pointer_next; in au1000_release_dma_link()
148 } while (pointer != stream->buffer); in au1000_release_dma_link()
158 struct au1000_period *pointer; in au1000_setup_dma_link() local
176 pointer = stream->buffer; in au1000_setup_dma_link()
178 pointer->start = (u32)(dma_start + (i * period_bytes)); in au1000_setup_dma_link()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c82 .buffer.pointer = args_buff in nouveau_optimus_dsm()
97 *result |= obj->buffer.pointer[0]; in nouveau_optimus_dsm()
98 *result |= (obj->buffer.pointer[1] << 8); in nouveau_optimus_dsm()
99 *result |= (obj->buffer.pointer[2] << 16); in nouveau_optimus_dsm()
100 *result |= (obj->buffer.pointer[3] << 24); in nouveau_optimus_dsm()
356 rom_arg.pointer = &rom_arg_elements[0]; in nouveau_rom_call()
369 obj = (union acpi_object *)buffer.pointer; in nouveau_rom_call()
370 memcpy(bios+offset, obj->buffer.pointer, len); in nouveau_rom_call()
371 kfree(buffer.pointer); in nouveau_rom_call()
/linux-4.1.27/include/linux/
Dwireless.h19 compat_caddr_t pointer; member
28 compat_caddr_t pointer; member
30 #define IW_EV_COMPAT_LCP_LEN offsetof(struct __compat_iw_event, pointer)
/linux-4.1.27/drivers/platform/x86/
Ddell-wmi-aio.c99 obj = (union acpi_object *)response.pointer; in dell_wmi_aio_notify()
111 if (dell_wmi_aio_event_check(obj->buffer.pointer, in dell_wmi_aio_notify()
114 obj->buffer.pointer; in dell_wmi_aio_notify()
119 if (obj->buffer.pointer && in dell_wmi_aio_notify()
121 scancode = obj->buffer.pointer[0]; in dell_wmi_aio_notify()
Dacer-wmi.c647 input.pointer = (u8 *)regbuf; in wmab_execute()
779 obj = (union acpi_object *) out.pointer; in AMW0_find_mailled()
782 ret = *((struct wmab_ret *) obj->buffer.pointer); in AMW0_find_mailled()
784 kfree(out.pointer); in AMW0_find_mailled()
791 kfree(out.pointer); in AMW0_find_mailled()
852 obj = out.pointer; in AMW0_set_capabilities()
855 ret = *((struct wmab_ret *) obj->buffer.pointer); in AMW0_set_capabilities()
875 obj = (union acpi_object *) out.pointer; in AMW0_set_capabilities()
878 ret = *((struct wmab_ret *) obj->buffer.pointer); in AMW0_set_capabilities()
897 kfree(out.pointer); in AMW0_set_capabilities()
[all …]
Dclassmate-laptop.c101 input.pointer = param; in cmpc_start_accel_v4()
121 input.pointer = param; in cmpc_stop_accel_v4()
140 input.pointer = param; in cmpc_accel_set_sensitivity_v4()
158 input.pointer = param; in cmpc_accel_set_g_select_v4()
182 input.pointer = param; in cmpc_get_accel_v4()
186 obj = output.pointer; in cmpc_get_accel_v4()
187 locs = (int16_t *) obj->buffer.pointer; in cmpc_get_accel_v4()
191 kfree(output.pointer); in cmpc_get_accel_v4()
482 input.pointer = param; in cmpc_start_accel()
497 input.pointer = param; in cmpc_stop_accel()
[all …]
Dwmi.c304 input.pointer = params; in wmi_evaluate_method()
319 params[2].buffer.pointer = in->pointer; in wmi_evaluate_method()
367 input.pointer = wq_params; in wmi_query_block()
440 input.pointer = params; in wmi_set_block()
450 params[1].buffer.pointer = in->pointer; in wmi_set_block()
496 obj = (union acpi_object *)response.pointer; in wmi_notify_debug()
507 pr_cont("STRING_TYPE - %s\n", obj->string.pointer); in wmi_notify_debug()
628 input.pointer = params; in wmi_get_event_data()
778 obj = (union acpi_object *) out.pointer; in parse_wdg()
787 gblock = (const struct guid_block *)obj->buffer.pointer; in parse_wdg()
[all …]
Dtc1100-wmi.c78 obj = (union acpi_object *) result.pointer; in get_state()
85 if (result.length > 0 && result.pointer) in get_state()
86 kfree(result.pointer); in get_state()
124 input.pointer = &value; in set_state()
Dalienware-wmi.c230 input.pointer = &wmax_args; in alienware_update_led()
244 input.pointer = &legacy_args; in alienware_update_led()
296 input.pointer = &args; in wmax_brightness()
451 input.pointer = in_args; in alienware_hdmi_command()
454 output.pointer = NULL; in alienware_hdmi_command()
462 obj = (union acpi_object *)output.pointer; in alienware_hdmi_command()
Ddell-wmi.c182 obj = (union acpi_object *)response.pointer; in dell_wmi_notify()
195 obj->buffer.length, obj->buffer.pointer); in dell_wmi_notify()
197 buffer_entry = (u16 *)obj->buffer.pointer; in dell_wmi_notify()
Dmsi-wmi.c112 obj = output.pointer; in msi_wmi_query_block()
196 obj = (union acpi_object *)response.pointer; in msi_wmi_notify()
236 kfree(response.pointer); in msi_wmi_notify()
Dintel_menlow.c74 arg_list.pointer = &arg; in memory_get_max_bandwidth()
100 arg_list.pointer = &arg; in memory_get_cur_bandwidth()
130 arg_list.pointer = &arg; in memory_set_cur_bandwidth()
Dhp-wmi.c214 obj = output.pointer; in hp_wmi_perform_query()
223 bios_return = (struct bios_return *)obj->buffer.pointer; in hp_wmi_perform_query()
240 memcpy(buffer, obj->buffer.pointer + sizeof(*bios_return), actual_outsize); in hp_wmi_perform_query()
546 obj = (union acpi_object *)response.pointer; in hp_wmi_notify()
560 location = (u32 *)obj->buffer.pointer; in hp_wmi_notify()
Dpanasonic-laptop.c246 .pointer = in_objs, in acpi_pcc_write_sset()
287 hkey = buffer.pointer; in acpi_pcc_retrieve_biosdata()
312 kfree(buffer.pointer); in acpi_pcc_retrieve_biosdata()
/linux-4.1.27/scripts/coccinelle/misc/
Dnoderef.cocci1 /// sizeof when applied to a pointer typed expression gives the size of
2 /// the pointer
58 cocci.print_main("application of sizeof to pointer",p)
64 msg = "ERROR: application of sizeof to pointer"
Dbadty.cocci5 //# when it is a double pointer and ensuring the sizeof argument takes a pointer
68 coccilib.org.print_todo(p[0], "WARNING sizeof argument should be pointer type, not structure type")
74 msg="WARNING: Use correct pointer type argument for sizeof"
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_acpi.c102 intel_dsm_port_name(info->buffer.pointer[0])); in intel_dsm_platform_mux_info()
104 intel_dsm_mux_type(info->buffer.pointer[1])); in intel_dsm_platform_mux_info()
106 intel_dsm_mux_type(info->buffer.pointer[2])); in intel_dsm_platform_mux_info()
108 intel_dsm_mux_type(info->buffer.pointer[3])); in intel_dsm_platform_mux_info()
/linux-4.1.27/arch/x86/crypto/sha-mb/
Dsha1_mb_mgr_datastruct.S61 #FIELD _plaintext, 8, 8 # pointer to plaintext
62 #FIELD _ciphertext, 8, 8 # pointer to ciphertext
64 #FIELD _keys, 8, 8 # pointer to keys
67 #FIELD _user_data, 8, 8 # pointer to user data
/linux-4.1.27/Documentation/driver-model/
Ddesign-patterns.txt46 pass around a pointer to struct foo like this:
62 This way you always get a pointer back to the correct instance of foo in
103 return a single argument which is a pointer to a struct member in the
108 What container_of() does is to obtain a pointer to the containing struct from
109 a pointer to a member by a simple subtraction using the offsetof() macro from
111 Notice that the contained member must not be a pointer, but an actual member
116 work function to a single pointer.
Ddevice.txt28 get_device() will return a pointer to the struct device passed to it
86 group pointer in struct device before device_register() is invoked:
91 The device_register() function will use the 'groups' pointer to create the
92 device attributes and the device_unregister() function will use this pointer
/linux-4.1.27/Documentation/trace/
Dring-buffer-design.txt32 head_page - a pointer to the page that the reader will use next
34 tail_page - a pointer to the page that will be written to next
36 commit_page - a pointer to the page with the last finished non-nested write.
99 The reader page is initialized to have its next pointer pointing to
100 the head page, and its previous pointer pointing to a page before
229 +---------+ <--- tail pointer
254 +---------+ <--- tail pointer
267 +---------+ <--- tail pointer
278 +---------+ <--(last full commit and tail pointer)
281 The commit pointer points to the last write location that was
[all …]
Dftrace-design.txt50 The mcount function should check the function pointer ftrace_trace_function
123 but the first argument should be a pointer to the "frompc". Typically this is
156 /* passing frame pointer up is optional -- see below */
164 x86 version (the frame pointer passing is optional; see the next section for
193 An arch may pass in a unique value (frame pointer) to both the entering and
197 pointer under different optimization levels, then ignore this option.
200 that calls prepare_ftrace_return(), pass the frame pointer as the 3rd argument.
204 Similarly, when you call ftrace_return_to_handler(), pass it the frame pointer.
/linux-4.1.27/arch/arm/lib/
Dfindbit.S34 add r2, r2, #8 @ next bit pointer
57 add r2, r2, #1 @ align bit pointer
75 add r2, r2, #8 @ next bit pointer
97 add r2, r2, #1 @ align bit pointer
113 add r2, r2, #8 @ next bit pointer
133 add r2, r2, #1 @ align bit pointer
147 add r2, r2, #8 @ next bit pointer
166 add r2, r2, #1 @ align bit pointer
/linux-4.1.27/drivers/thermal/int340x_thermal/
Dacpi_thermal_rel.c91 p = buffer.pointer; in acpi_parse_trt()
109 element.pointer = trt; in acpi_parse_trt()
136 kfree(buffer.pointer); in acpi_parse_trt()
172 p = buffer.pointer; in acpi_parse_art()
191 element.pointer = art; in acpi_parse_art()
219 kfree(buffer.pointer); in acpi_parse_art()
233 memcpy(name, buffer.pointer, ACPI_NAME_SIZE); in get_single_name()
234 kfree(buffer.pointer); in get_single_name()
Dint3400_thermal.c124 obja = (union acpi_object *)buf.pointer; in int3400_thermal_get_uuids()
147 if (!strncmp(uuid, objb->buffer.pointer, 16)) { in int3400_thermal_get_uuids()
155 kfree(buf.pointer); in int3400_thermal_get_uuids()
174 context.cap.pointer = buf; in int3400_thermal_run_osc()
178 ret = *((u32 *)(context.ret.pointer + 4)); in int3400_thermal_run_osc()
184 kfree(context.ret.pointer); in int3400_thermal_run_osc()
Dint3403_thermal.c183 p = buf.pointer; in int3403_cdev_add()
186 kfree(buf.pointer); in int3403_cdev_add()
199 kfree(buf.pointer); in int3403_cdev_add()
/linux-4.1.27/drivers/net/wireless/zd1211rw/
Dzd_def.h64 # define ZD_MEMCLEAR(pointer, size) memset((pointer), 0xff, (size)) argument
66 # define ZD_MEMCLEAR(pointer, size) do { } while (0) argument
/linux-4.1.27/drivers/xen/
Dxen-acpi-pad.c66 if (!buffer.length || !buffer.pointer) in acpi_pad_pur()
69 package = buffer.pointer; in acpi_pad_pur()
76 kfree(buffer.pointer); in acpi_pad_pur()
85 .pointer = (void *)&idle_nums, in acpi_pad_handle_notify()
Dxen-acpi-cpuhotplug.c165 if (!buffer.length || !buffer.pointer) in xen_apic_id()
168 obj = buffer.pointer; in xen_apic_id()
171 kfree(buffer.pointer); in xen_apic_id()
175 lapic = (struct acpi_madt_local_apic *)obj->buffer.pointer; in xen_apic_id()
179 kfree(buffer.pointer); in xen_apic_id()
184 kfree(buffer.pointer); in xen_apic_id()
186 buffer.pointer = NULL; in xen_apic_id()
/linux-4.1.27/drivers/i2c/busses/
Di2c-scmi.c151 mt_params[4].buffer.pointer = data->block + 1; in acpi_smbus_cmi_access()
170 input.pointer = mt_params; in acpi_smbus_cmi_access()
185 pkg = buffer.pointer; in acpi_smbus_cmi_access()
256 memcpy(data->block + 1, obj->buffer.pointer, len); in acpi_smbus_cmi_access()
261 kfree(buffer.pointer); in acpi_smbus_cmi_access()
312 obj = buffer.pointer; in acpi_smbus_cmi_add_cap()
317 kfree(buffer.pointer); in acpi_smbus_cmi_add_cap()
323 kfree(buffer.pointer); in acpi_smbus_cmi_add_cap()
329 kfree(buffer.pointer); in acpi_smbus_cmi_add_cap()
/linux-4.1.27/Documentation/networking/
Dspider_net.txt23 describe the received data. This includes a pointer to a buffer
42 descriptor pointer (GDACTDPA). The GDACTDPA points at the descr
50 The tail pointer tails or trails the hardware pointer. When the
51 hardware is ahead, the tail pointer will be pointing at a "full"
53 and advance the tail pointer. Thus, when there is flowing RX traffic,
54 all of the descrs in front of the tail pointer should be "full", and
56 flowing, then the tail pointer can catch up to the hardware pointer.
60 The head pointer (somewhat mis-named) follows after the tail pointer.
61 When traffic is flowing, then the head pointer will be pointing at
66 is flowing RX traffic, everything in front of the head pointer should
[all …]
Dradiotap-headers.txt66 dereference, eg, a u16 pointer that is pointing to an odd address. Instead
67 you have to use a kernel API get_unaligned() to dereference the pointer,
116 * for multibyte types... the pointer is not aligned. Use
Dtcp.txt36 tcp_ca(tp) returns a pointer to this space. This is preallocated space - it
38 alternatively space could be allocated elsewhere and a pointer to it could
87 sk->transmit_new First new frame pointer
/linux-4.1.27/drivers/leds/
Ddell-led.c88 input.pointer = args; in dell_wmi_perform_query()
94 obj = output.pointer; in dell_wmi_perform_query()
101 bios_return = (struct app_wmi_args *)obj->buffer.pointer; in dell_wmi_perform_query()
220 input.pointer = &args; in dell_led_perform_fn()
231 obj = output.pointer; in dell_led_perform_fn()
240 bios_return = ((struct bios_args *)obj->buffer.pointer); in dell_led_perform_fn()
/linux-4.1.27/drivers/hwmon/
Dasus_atk0110.c449 name->string.pointer, in atk_print_sensor()
482 params.pointer = &id; in atk_read_value_old()
506 params.pointer = &id; in atk_ggrp()
515 pack = buf.pointer; in atk_ggrp()
545 tmp.buffer.pointer = (u8 *)&buf; in atk_gitm()
549 params.pointer = (void *)&tmp; in atk_gitm()
559 obj = ret.pointer; in atk_gitm()
582 tmp.buffer.pointer = (u8 *)buf; in atk_sitm()
586 params.pointer = &tmp; in atk_sitm()
596 obj = ret.pointer; in atk_sitm()
[all …]
Dacpi_power_meter.c566 pss = buffer.pointer; in read_domain_devices()
625 kfree(buffer.pointer); in read_domain_devices()
759 pss = buffer.pointer; in read_capabilities()
771 state.pointer = &resource->caps; in read_capabilities()
806 strncpy(*str, element->string.pointer, element->string.length); in read_capabilities()
817 kfree(buffer.pointer); in read_capabilities()
/linux-4.1.27/mm/
Dkmemleak.c150 unsigned long pointer; member
297 const u8 *ptr = (const u8 *)object->pointer; in hex_dump_object()
362 object->pointer, object->size); in print_unreferenced()
388 object->pointer, object->size); in dump_object_info()
412 if (ptr < object->pointer) in lookup_object()
414 else if (object->pointer + object->size <= ptr) in lookup_object()
416 else if (object->pointer == ptr || alias) in lookup_object()
540 object->pointer = ptr; in create_object()
577 if (ptr + size <= parent->pointer) in create_object()
579 else if (parent->pointer + parent->size <= ptr) in create_object()
[all …]
/linux-4.1.27/net/ipv4/netfilter/
Dnf_nat_snmp_basic.c138 unsigned char *pointer; /* Octet just to be decoded */ member
158 ctx->pointer = buf; in asn1_open()
164 if (ctx->pointer >= ctx->end) { in asn1_octet_decode()
168 *ch = *(ctx->pointer)++; in asn1_octet_decode()
240 if (*len > ctx->end - ctx->pointer) in asn1_length_decode()
266 *eoc = ctx->pointer + len; in asn1_header_decode()
294 if (ctx->pointer != eoc) { in asn1_eoc_decode()
304 ctx->pointer = eoc; in asn1_null_decode()
321 while (ctx->pointer < eoc) { in asn1_long_decode()
350 while (ctx->pointer < eoc) { in asn1_uint_decode()
[all …]
/linux-4.1.27/Documentation/mn10300/
DABI.txt13 separate stack pointer registers for userspace and the kernel.
40 word, but won't actually modify the stack pointer; similarly, the RET
42 pointer beyond it.
72 or A0 for a pointer.
101 A3: Frame pointer
102 E2: TLS pointer
113 If CONFIG_MN10300_CURRENT_IN_E2 is defined, then the current task pointer
/linux-4.1.27/Documentation/vm/
Dsplit_page_table_lock15 maps pte and takes PTE table lock, returns pointer to the taken
20 allocates PTE table if needed and take the lock, returns pointer
23 returns pointer to PTE table lock;
25 takes PMD table lock, returns pointer to taken lock;
27 returns pointer to PMD table lock;
47 returns pointer to table lock;
87 pointer to spinlock_t and allocate it dynamically. This allows to use
Dzsmalloc.txt24 Additionally, zs_malloc() does not return a dereferenceable pointer.
30 be mapped using zs_map_object() to get a usable pointer and subsequently
/linux-4.1.27/Documentation/RCU/
Drcu_dereference.txt12 to load an RCU-protected pointer, otherwise CONFIG_PROVE_RCU
17 different values for a single pointer! Without rcu_dereference(),
18 DEC Alpha can load a pointer, dereference that pointer, and
20 the pointer.
23 compiler from deducing the resulting pointer value. Please see
26 value of the pointer, and thus cause misordering.
48 Of course, if "p" is a pointer from rcu_dereference(), and "a"
115 substitute the pointer you are comparing against for the pointer
136 o The comparison was against the NULL pointer. If the
137 compiler knows that the pointer is NULL, you had better
[all …]
DNMI-RCU.txt25 This nmi_callback variable is a global function pointer to the current
46 function pointer. If this handler returns zero, do_nmi() invokes the
57 given that the code referenced by the pointer is read-only?
104 that the code referenced by the pointer is read-only?
110 just after the new handler was set might see the pointer
115 a compiler with aggressive pointer-value speculation
119 clear to someone reading the code that the pointer is
DarrayRCU.txt26 Static arrays, where the data (rather than a pointer to the data) is
47 the remainder of the new, updates the ids->entries pointer to point to
49 Note that rcu_assign_pointer() is used to update the ids->entries pointer,
95 using rcu_dereference() to pick up the pointer to the array so
99 a simple check suffices. The pointer to the structure corresponding
103 deleted, and, if not, the pointer is returned.
Dlockdep.txt63 Return the value of the pointer and omit all barriers,
66 value of the pointer itself, for example, against NULL.
82 This expression picks up the pointer "fdt->fd[fd]" in an RCU-safe manner,
90 In case (1), the pointer is picked up in an RCU-safe manner for vanilla
106 to use rcu_dereference_protected() if either the RCU-protected pointer
Dlockdep-splat.txt4 family to access an RCU-protected pointer without the proper protection.
102 But in this particular case, we don't actually deference the pointer
103 returned from rcu_dereference(). Instead, that pointer is just compared
104 to the cic pointer, which means that the rcu_dereference() can be replaced
Dchecklist.txt53 pointer must be covered by rcu_read_lock(), rcu_read_lock_bh(),
82 pointer updates to properly aligned fields will
100 to appear atomic by updating a pointer to reference
110 the CPU picks up the pointer before it picks up the data
111 that the pointer points to. This really is necessary
146 structure initialization and pointer planting.
151 primitive must be used to keep list_del()'s pointer
166 when publicizing a pointer to a structure that can
431 __rcu sparse checks: tag the pointer to the RCU-protected data
433 access that pointer without the services of one of the
/linux-4.1.27/drivers/ata/
Dlibata-acpi.c310 out_obj = output.pointer; in ata_acpi_gtm()
324 memcpy(gtm, out_obj->buffer.pointer, sizeof(struct ata_acpi_gtm)); in ata_acpi_gtm()
327 kfree(output.pointer); in ata_acpi_gtm()
355 in_params[0].buffer.pointer = (u8 *)&stm_buf; in ata_acpi_stm()
359 in_params[1].buffer.pointer = (u8 *)ap->link.device[0].id; in ata_acpi_stm()
362 in_params[2].buffer.pointer = (u8 *)ap->link.device[1].id; in ata_acpi_stm()
365 input.pointer = in_params; in ata_acpi_stm()
418 output.pointer = NULL; /* ACPI-CA sets this; save/free it later */ in ata_dev_get_GTF()
427 out_obj = dev->gtf_cache = output.pointer; in ata_dev_get_GTF()
438 if (!output.length || !output.pointer) { in ata_dev_get_GTF()
[all …]
/linux-4.1.27/arch/unicore32/lib/
Dfindbit.S27 add r2, r2, #8 @ next bit pointer
49 add r2, r2, #1 @ align bit pointer
65 add r2, r2, #8 @ next bit pointer
86 add r2, r2, #1 @ align bit pointer
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dbase.c91 .buffer.pointer = (char *)mxms_args, in mxm_shadow_dsm()
114 mxm->mxms = kmemdup(obj->buffer.pointer, in mxm_shadow_dsm()
144 obj = retn.pointer; in wmi_wmmx_mxmi()
184 obj = retn.pointer; in mxm_shadow_wmi()
186 mxm->mxms = kmemdup(obj->buffer.pointer, in mxm_shadow_wmi()
/linux-4.1.27/arch/mips/netlogic/
DKconfig11 pointer to the kernel. The corresponding DTS file is at
21 pointer to the kernel. The corresponding DTS file is at
31 pointer to the kernel. The corresponding DTS file is at
41 pointer to the kernel. The corresponding DTS file is at
50 pointer to the kernel. The corresponding DTS file is at
/linux-4.1.27/arch/arm/mach-netx/include/mach/
Dpfifo.h24 static inline int pfifo_push(int no, unsigned int pointer) in pfifo_push() argument
26 writel(pointer, NETX_PFIFO_BASE(no)); in pfifo_push()
/linux-4.1.27/Documentation/parisc/
Dregisters27 CR27 (TR 3) Thread descriptor pointer
102 r2: This is the return pointer. In general you don't want to
103 use this, since you need the pointer to get back to your
120 r30: stack pointer
122 r31: the ble instruction puts the return pointer in here.
126 general purpose registers. r27 is the data pointer, and is
128 the stack pointer.
/linux-4.1.27/Documentation/
Dkref.txt35 1) If you make a non-temporary copy of a pointer, especially if
39 If you already have a valid pointer to a kref-ed structure (the
42 2) When you are done with a pointer, you must call kref_put():
44 If this is the last reference to the pointer, the release
46 a valid pointer to a kref-ed structure without already
47 holding a valid pointer, it is safe to do this without
51 without already holding a valid pointer, it must serialize access
101 since we already have a valid pointer that we own a refcount for. The
103 already holding a pointer.
143 holding a valid pointer. You must add a mutex (or some other lock).
[all …]
Dassoc_array.txt66 The implementation uses a tree of 16-pointer nodes internally that are indexed
102 The script appears as outside of the API as a pointer of the type:
204 significant bit of the pointer must be zero as it's used to type-mark
376 (*) A NULL pointer, indicating that the slot is empty.
378 (*) A pointer to an object (a leaf).
380 (*) A pointer to a node at the next level.
382 (*) A pointer to a shortcut.
459 space. The leaves can be in any slot not occupied by a metadata pointer. It
461 metadata pointer. If the metadata pointer is there, any leaf whose key matches
462 the metadata key prefix must be in the subtree that the metadata pointer points
[all …]
Dvme_api.txt16 A pointer to a structure of type 'vme_driver' must be provided to the
32 should be correctly set. The '.name' element is a pointer to a string holding
49 The '.probe' element should contain a pointer to the probe routine. The
50 probe routine is passed a 'struct vme_dev' pointer as an argument. The
78 driver is called. The probe routine is passed a pointer to the devices
79 device structure. This pointer should be saved, it will be required for
101 the core will assign a window that meets the requirements, returning a pointer
108 pointer will be returned.
111 required. These functions should be passed the pointer to the resource provided
314 callback function. A void pointer parameter is provided, the value of which is
[all …]
Dkobject.txt20 and a reference count. A kobject also has a parent pointer (allowing
77 often have the opposite problem, however: given a struct kobject pointer,
78 what is the pointer to the containing structure? You must avoid tricks
82 container_of(pointer, type, member)
86 * "pointer" is the pointer to the embedded kobject,
88 * "member" is the name of the structure field to which "pointer" points.
90 The return value from container_of() is a pointer to the corresponding
91 container type. So, for example, a pointer "kp" to a struct kobject
92 embedded *within* a struct uio_map could be converted to a pointer to the
108 where the macro argument "map" is a pointer to the struct kobject in
[all …]
Dkmemleak.txt78 An allocated block of memory is considered orphan if no pointer to its
91 a pointer to a white object is found, the object is added to the
154 kmemleak_erase - erase an old value in a pointer variable
193 Another source of false negatives is the data stored in non-pointer
194 values. In a future version, kmemleak could only scan the pointer
200 the pointer is calculated by other methods than the usual container_of
201 macro or the pointer is stored in a location not scanned by kmemleak.
Drobust-futex-ABI.txt40 The pointer 'head' points to a structure in the threads address space
54 pointer to a single linked list of 'lock entries', one per lock,
55 as described below. If the list is empty, the pointer will point
93 pointer for that task. The task may retrieve that value later on by
110 pointer known to the kernel, the kernel can provide to a thread the
170 1) the 'head' pointer or an subsequent linked list pointer
Dcircular-buffers.txt47 Typically when the tail pointer is equal to the head pointer, the buffer is
48 empty; and the buffer is full when the head pointer is one less than the tail
49 pointer.
223 before it writes the new tail pointer, which will erase the item.
/linux-4.1.27/drivers/net/ethernet/intel/igb/
De1000_nvm.c509 u16 pointer; in igb_read_part_string() local
525 ret_val = hw->nvm.ops.read(hw, NVM_PBA_OFFSET_1, 1, &pointer); in igb_read_part_string()
549 part_num[4] = (pointer >> 12) & 0xF; in igb_read_part_string()
550 part_num[5] = (pointer >> 8) & 0xF; in igb_read_part_string()
553 part_num[8] = (pointer >> 4) & 0xF; in igb_read_part_string()
554 part_num[9] = pointer & 0xF; in igb_read_part_string()
570 ret_val = hw->nvm.ops.read(hw, pointer, 1, &length); in igb_read_part_string()
589 pointer++; in igb_read_part_string()
593 ret_val = hw->nvm.ops.read(hw, pointer + offset, 1, &nvm_data); in igb_read_part_string()
/linux-4.1.27/Documentation/thermal/
Dcpu-cooling-api.txt14 the user. The registration APIs returns the cooling device pointer.
36 np: pointer to the cooling device device tree node
43 cdev: Cooling device pointer which has to be unregistered.
/linux-4.1.27/arch/s390/kernel/
Dentry.S99 lg %r14,__SF_EMPTY(%r15) # get control block pointer
210 la %r11,STACK_FRAME_OVERHEAD(%r15) # pointer to pt_regs
309 lgr %r2,%r11 # pass pointer to pt_regs
326 lgr %r2,%r11 # pass pointer to pt_regs
335 lgr %r2,%r11 # pass pointer to pt_regs
345 lgr %r2,%r11 # pass pointer to pt_regs
354 lgr %r2,%r11 # pass pointer to pt_regs
373 lgr %r2,%r11 # pass pointer to pt_regs
448 lgr %r2,%r11 # pass pointer to pt_regs
458 lgr %r2,%r11 # pass pointer to pt_regs
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x540.c320 u16 pointer = 0; in ixgbe_calc_eeprom_checksum_X540() local
348 if (ixgbe_read_eerd_generic(hw, i, &pointer)) { in ixgbe_calc_eeprom_checksum_X540()
354 if (pointer == 0xFFFF || pointer == 0 || in ixgbe_calc_eeprom_checksum_X540()
355 pointer >= hw->eeprom.word_size) in ixgbe_calc_eeprom_checksum_X540()
358 if (ixgbe_read_eerd_generic(hw, pointer, &length)) { in ixgbe_calc_eeprom_checksum_X540()
366 (pointer + length) >= hw->eeprom.word_size) in ixgbe_calc_eeprom_checksum_X540()
369 for (j = pointer + 1; j <= pointer + length; j++) { in ixgbe_calc_eeprom_checksum_X540()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-platform-msi-laptop4 Contact: "Lennart Poettering <mzxreary@0pointer.de>"
11 Contact: "Lennart Poettering <mzxreary@0pointer.de>"
20 Contact: "Lennart Poettering <mzxreary@0pointer.de>"
27 Contact: "Lennart Poettering <mzxreary@0pointer.de>"
/linux-4.1.27/Documentation/isdn/
DINTERFACE.CAPI27 Kernel CAPI function register_capi_driver() with a pointer to a struct
29 driver, and optionally a pointer to a callback function, add_card(). The
31 with a pointer to the same struct capi_driver.
34 CAPI by calling the Kernel CAPI function attach_capi_ctr() with a pointer to a
39 detach_capi_ctr() with a pointer to the same struct capi_ctr.
87 a callback function pointer (may be NULL)
102 pointer to the driver module owning the device
105 an opaque pointer to driver specific data, not touched by Kernel CAPI
114 (optional) pointer to a callback function for sending firmware and
122 (optional) pointer to a callback function for stopping the device,
[all …]
/linux-4.1.27/Documentation/device-mapper/
Dkcopyd.txt28 pointer, pointers to the source and destination io_regions, the name of a
29 completion callback routine, and a pointer to some context data for the copy.
39 passing back the user's context pointer. It will also indicate if a read or
/linux-4.1.27/arch/c6x/kernel/
Dhead.S17 ;; Save magic and pointer
26 ;; Set the stack pointer
58 ;; pass DTB pointer to machine_init (or zero if none)
/linux-4.1.27/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_acpi.c64 cpm = buffer.pointer; in asus_acpi_get_sensor_info()
75 strlcpy(info->type, sub_elem->string.pointer, in asus_acpi_get_sensor_info()
86 kfree(buffer.pointer); in asus_acpi_get_sensor_info()
/linux-4.1.27/scripts/gdb/linux/
Dtasks.py23 task_ptr_type = task_type.get_type().pointer()
75 thread_info_ptr_type = thread_info_type.get_type().pointer()
Dmodules.py24 module_ptr_type = module_type.get_type().pointer()
83 t = self._module_use_type.get_type().pointer()
Dcpus.py49 pointer = var_ptr.cast(utils.get_long_type()) + offset
50 return pointer.cast(var_ptr.type).dereference()
/linux-4.1.27/arch/mips/lib/
Dstrnlen_user.S30 LONG_L v0, TI_ADDR_LIMIT($28) # pointer ok?
36 PTR_ADDU a1, a0 # stop pointer
Dstrlen_user.S27 LONG_L v0, TI_ADDR_LIMIT($28) # pointer ok?
/linux-4.1.27/Documentation/filesystems/
Dfiles.txt26 files_struct contains a pointer to struct fdtable through
52 The fdtable pointer must be read within the read-side
105 7. While updating, the fdtable pointer must be looked up while
108 fdtable and making the earlier fdtable pointer stale.
122 the fdtable pointer (fdt) must be loaded after locate_fd().
Ddirectory-locking7 that "inode pointer" order in the following.
21 lock both, lock them in inode pointer order.
40 do so in inode pointer order.
67 directory objects, and are acquired in inode pointer order.
70 target in inode pointer order in the case they are not directories.)
Dsysv-fs.txt81 since it is not true that every free block contains a pointer to
162 1 double-indirect block (pointer to pointers to blocks)
166 1 double-indirect block (pointer to pointers to blocks)
167 1 triple-indirect block (pointer to pointers to pointers to blocks)
/linux-4.1.27/arch/arm/kvm/
Dinterrupts.S107 @ Save the vcpu pointer
287 load_vcpu @ Load VCPU pointer
407 load_vcpu @ Load VCPU pointer to r0
460 3: load_vcpu @ Load VCPU pointer to r0
480 load_vcpu @ Load VCPU pointer to r0
Dinit.S74 @ Set the HTTBR to point to the hypervisor PGD pointer passed
132 @ Set stack pointer
/linux-4.1.27/Documentation/scsi/
Dscsi_mid_low_api.txt105 pointer members not explicitly initialized.
184 (a pointer is returned by scsi_host_alloc()). Such instances are "owned"
226 (a pointer is passed as the parameter to slave_alloc() and
315 - scsi_host_alloc(): returns a pointer to new instance of struct
327 a copy of a pointer to a Scsi_device instance it should use scsi_device_get()
328 to bump its reference count. When it is finished with the pointer it can
392 * @shost: pointer to scsi host instance
397 * Returns pointer to new struct scsi_device instance or
398 * ERR_PTR(-ENODEV) (or some other bent pointer) if something is
419 * @shost: pointer to scsi host instance
[all …]
Dhptiop.txt142 Set up the inbound list write pointer with the index of previous unit,
145 - Post the inbound list writer pointer to IOP.
150 put into the copy pointer shadow register. An outbound interrupt will be
153 - The host read the outbound list copy pointer shadow register and compare
154 with previous saved read pointer N. If they are different, the host will
/linux-4.1.27/Documentation/devicetree/bindings/thermal/
Dimx-thermal.txt8 - fsl,tempmon : phandle pointer to system controller that contains TEMPMON
10 - fsl,tempmon-data : phandle pointer to fuse controller that contains TEMPMON
/linux-4.1.27/Documentation/frv/
Dkernel-ABI.txt10 supervisor stack pointer, and most of them do not have any scratch
93 GR1 Supervisor stack pointer
94 GR15 Current thread info pointer
96 GR28 Current exception frame pointer (__frame)
97 GR29 Current task pointer (current)
118 GR2 Function call frame pointer
142 (including the stack pointer) may be changed.
146 GR1 Debug stack pointer
148 GR31 Current debug exception frame pointer
/linux-4.1.27/arch/ia64/kernel/
Dacpi-ext.c42 resource = buffer.pointer; in hp_ccsr_locate()
54 kfree(buffer.pointer); in hp_ccsr_locate()
Dacpi.c924 if (!buffer.length || !buffer.pointer) in acpi_map_iosapic()
927 obj = buffer.pointer; in acpi_map_iosapic()
930 kfree(buffer.pointer); in acpi_map_iosapic()
934 iosapic = (struct acpi_madt_io_sapic *)obj->buffer.pointer; in acpi_map_iosapic()
937 kfree(buffer.pointer); in acpi_map_iosapic()
943 kfree(buffer.pointer); in acpi_map_iosapic()
/linux-4.1.27/Documentation/watchdog/
Dwatchdog-kernel-api.txt32 The parameter of this routine is a pointer to a watchdog_device structure.
36 device. The parameter of this routine is the pointer to the registered
67 * info: a pointer to a watchdog_info structure. This structure gives some
69 * ops: a pointer to the list of watchdog operations that the watchdog supports.
75 * driver_data: a pointer to the drivers private data of a watchdog device.
122 * start: this is a pointer to the routine that starts the watchdog timer
124 The routine needs a pointer to the watchdog timer device structure as a
127 The routine needs a pointer to the watchdog timer device structure as a
139 The routine needs a pointer to the watchdog timer device structure as a
210 driver specific data to and a pointer to the data itself.
[all …]
/linux-4.1.27/Documentation/sound/alsa/
Dhdspm.txt65 Hardware-pointer -- 2 Modi
68 The Card supports the readout of the actual Buffer-pointer,
74 precise-pointer.
77 (Hint: Experimenting I found that the pointer is maximum 64 to
79 safe pointer for writing, which is used on this mode inside
84 interrupt used for pointer-calculation
87 hardware pointer used.
344 "Enable precise pointer, or disable."
/linux-4.1.27/include/acpi/
Dacoutput.h337 #define ACPI_FUNCTION_TRACE_PTR(name, pointer) \ argument
338 ACPI_TRACE_ENTRY (name, acpi_ut_trace_ptr, void *, pointer)
400 #define return_PTR(pointer) \ argument
401 ACPI_TRACE_EXIT (acpi_ut_ptr_exit, void *, pointer)
Dacpiosxf.h320 u8 acpi_os_readable(void *pointer, acpi_size length);
324 u8 acpi_os_writable(void *pointer, acpi_size length);
Dactypes.h922 char *pointer; /* points to the string value */ member
928 u8 *pointer; /* points to the buffer */ member
962 union acpi_object *pointer; member
984 void *pointer; /* pointer to buffer */ member
/linux-4.1.27/arch/m68k/fpsp040/
Dskeleton.S74 movel %sp,%sp@- | stack frame pointer argument
165 movel %sp,%sp@- | stack frame pointer argument
191 movel %sp,%sp@- | stack frame pointer argument
217 movel %sp,%sp@- | stack frame pointer argument
239 movel %sp,%sp@- | stack frame pointer argument
261 movel %sp,%sp@- | stack frame pointer argument
289 movel %sp,%sp@- | stack frame pointer argument
Dbinstr.S8 | d0, and a pointer to start in memory for bcd characters
9 | in d0. (This pointer must point to byte 4 of the first
57 | a0: pointer into memory for packed bcd string formation
Ddecbin.S136 | (*) d3: offset pointer
138 | ( ) a0: pointer to working bcd value
139 | ( ) a6: pointer to original bcd value
477 | ( ) a0: pointer to working bcd value
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
Ddavinci-vpfe-mc.txt68 accepts a pointer to struct vpfe_isif_raw_config as its argument. Similarly
69 VIDIOC_VPFE_IPIPE_S_CONFIG accepts a pointer to struct vpfe_ipipe_config. And
70 VIDIOC_VPFE_RSZ_S_CONFIG accepts a pointer to struct vpfe_rsz_config as its
92 VIDIOC_VPFE_IPIPEIF_G_CONFIG accepts a pointer to struct ipipeif_params
/linux-4.1.27/arch/s390/net/
Dbpf_jit.S85 lgr %r2,%r7 # Arg1 = skb pointer
87 la %r4,STK_OFF_TMP(%r15) # Arg3 = pointer to temp buffer
/linux-4.1.27/drivers/i2c/
Di2c-stub.c78 u8 pointer; member
159 chip->pointer = command; in stub_xfer()
164 wordp = stub_get_wordp(chip, chip->pointer++); in stub_xfer()
198 chip->pointer = command + 1; in stub_xfer()
/linux-4.1.27/Documentation/power/
Dopp.txt54 OPP layer expects each domain to be represented by a unique device pointer. SoC
72 dev_pm_opp_find_freq_exact is meant to be used to find the opp pointer which can then
107 dev_pm_opp_add - Add a new OPP for a specific domain represented by the device pointer.
136 functions return the matching pointer representing the opp if a match is
149 /* dont operate on the pointer.. just do a sanity check.. */
240 information from the OPP structure is necessary. Once an OPP pointer is
244 dev_pm_opp_get_voltage - Retrieve the voltage represented by the opp pointer.
261 dev_pm_opp_get_freq - Retrieve the freq represented by the opp pointer.
311 domain is represented by a device pointer. The relationship to OPP can be
335 WARNING: The struct dev_pm_opp pointer should not be parsed or modified by the
/linux-4.1.27/arch/cris/
DMakefile56 KBUILD_CFLAGS := $(subst -fomit-frame-pointer,,$(KBUILD_CFLAGS)) -g
57 KBUILD_CFLAGS += -fno-omit-frame-pointer
/linux-4.1.27/drivers/staging/i2o/
DREADME.ioctl53 EFAULT Invalid user space pointer was passed
79 EFAULT Invalid user space pointer was passed
108 EFAULT Invalid user space pointer was passed
143 EFAULT Invalid user space pointer was passed
180 EFAULT Invalid user space pointer was passed
227 EFAULT Invalid user space pointer was passed
269 EFAULT Invalid user space pointer was passed
306 EFAULT Invalid user space pointer was passed
365 EFAULT Invalid user space pointer was passed
/linux-4.1.27/arch/metag/lib/
Dmemcpy.S12 MOV A1.2, D0Ar2 ! source pointer
13 MOV A0.2, D1Ar1 ! destination pointer
82 ! Adjust the source pointer (A1.2) to the 8 byte boundary before its
178 ! Re-adjust the source pointer (A1.2) back to the actual (unaligned) byte
/linux-4.1.27/drivers/spi/
Dspi-s3c24xx-fiq.S31 @ fiq_rtx The tx buffer pointer
32 @ fiq_rrx The rx buffer pointer
/linux-4.1.27/Documentation/fmc/
Dmezzanine.txt18 by means of Etherbone), the `fpga_base' pointer will be NULL.
21 pointer directly but run fmc_readl and fmc_writel instead, which will
27 pointer. We chose to use carrier names rather than numeric identifiers
50 reason, the table is specified as pointer-and-length, not a a
58 pointer-and-length. Several similar devices can be driven by the same
/linux-4.1.27/arch/frv/lib/
Dmemset.S172 # GR4 - memset's address tracking pointer
/linux-4.1.27/drivers/char/tpm/
Dtpm_ppi.c125 argv4.buffer.pointer = (u8 *)&req; in tpm_store_ppi_request()
157 .buffer.pointer = NULL in tpm_show_ppi_transition_action()
354 strlcpy(chip->ppi_version, obj->string.pointer, in tpm_add_ppi()
/linux-4.1.27/sound/sh/
Dsh_dac_audio.c244 int pointer = chip->buffer_begin - chip->data_buffer; in snd_sh_dac_pcm_pointer() local
246 return pointer; in snd_sh_dac_pcm_pointer()
258 .pointer = snd_sh_dac_pcm_pointer,
/linux-4.1.27/drivers/dma/
DTODO4 2. Remove old slave pointer machansim
/linux-4.1.27/Documentation/spi/
Dspidev83 SPI_IOC_RD_MODE, SPI_IOC_WR_MODE ... pass a pointer to a byte which will
91 SPI_IOC_RD_MODE32, SPI_IOC_WR_MODE32 ... pass a pointer to a uin32_t
95 SPI_IOC_RD_LSB_FIRST, SPI_IOC_WR_LSB_FIRST ... pass a pointer to a byte
102 SPI_IOC_RD_BITS_PER_WORD, SPI_IOC_WR_BITS_PER_WORD ... pass a pointer to
106 SPI_IOC_RD_MAX_SPEED_HZ, SPI_IOC_WR_MAX_SPEED_HZ ... pass a pointer to a
/linux-4.1.27/Documentation/cpu-freq/
Dcpu-drivers.txt54 cpufreq_driver.init - A pointer to the per-CPU initialization
57 cpufreq_driver.verify - A pointer to a "verification" function.
65 cpufreq_driver.exit - A pointer to a per-CPU cleanup
69 cpufreq_driver.stop_cpu - A pointer to a per-CPU stop function
73 cpufreq_driver.resume - A pointer to a per-CPU resume function
79 cpufreq_driver.attr - A pointer to a NULL-terminated list of
/linux-4.1.27/sound/pci/oxygen/
Doxygen_pcm.c642 .pointer = oxygen_pointer,
653 .pointer = oxygen_pointer,
664 .pointer = oxygen_pointer,
675 .pointer = oxygen_pointer,
686 .pointer = oxygen_pointer,
697 .pointer = oxygen_pointer,
/linux-4.1.27/Documentation/s390/
Ds390dbf.txt29 area and updates the log pointer for the active area. If the end
186 data: pointer to data for debug entry
244 data: pointer to data for debug entry
302 view: pointer to debug view struct
313 view: pointer to debug view struct
378 /* format string pointer + 2 varargs (= 3 * sizeof(long)) */
384 debug_sprintf_exception(debug_info, 1, "pointer to debug info: %p\n",&debug_info);
485 a global variable with the pointer to the debug-logs. Following
486 this pointer it will also be possible to find the debug logs in
504 debug entry a pointer to the format string (size = sizeof(long))
[all …]
/linux-4.1.27/arch/mips/include/asm/sn/
Dkldir.h207 unsigned long pointer; /* Pointer to area in some cases */ member
Daddrs.h375 #define GDA_ADDR(nasid) KLD_GDA(nasid)->pointer
420 #define KERN_VARS_ADDR(nasid) KLD_KERN_VARS(nasid)->pointer
423 #define KERN_XP_ADDR(nasid) KLD_KERN_XP(nasid)->pointer
/linux-4.1.27/kernel/sched/
DMakefile11 CFLAGS_core.o := $(PROFILING) -fno-omit-frame-pointer
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
DM0203.h6 u16 pointer; member
/linux-4.1.27/tools/virtio/
DMakefile6 CFLAGS += -g -O2 -Werror -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-stric…
/linux-4.1.27/arch/arm/nwfpe/
DChangeLog12 - remove userRegisters pointer from this structure.
45 passes in a pointer to the FPE's state area. This is defined
46 as a struct user_fp (see user.h). This pointer was cast to a
/linux-4.1.27/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c959 ext = memdup_user(dwrq->pointer, len); in r871x_wx_set_priv()
1036 if (copy_to_user(dwrq->pointer, ext, in r871x_wx_set_priv()
1856 get_user(addr, (u32 __user *)wrqu->data.pointer); in r8711_wx_read32()
1858 put_user(data32, (u32 __user *)wrqu->data.pointer); in r8711_wx_read32()
1861 get_user(addr, (u32 __user *)wrqu->data.pointer); in r8711_wx_read32()
1873 get_user(addr, (u32 __user *)wrqu->data.pointer); in r8711_wx_write32()
1908 if ((!p->length) || (!p->pointer)) in r871x_mp_ioctl_hdl()
1913 pparmbuf = memdup_user(p->pointer, len); in r871x_mp_ioctl_hdl()
1957 if (copy_to_user(p->pointer, pparmbuf, len)) in r871x_mp_ioctl_hdl()
1995 if (copy_from_user(data, pdata->pointer, 32)) in r871x_get_ap_info()
[all …]
/linux-4.1.27/arch/arm/kernel/
Dentry-ftrace.S124 mov r2, fp @ frame pointer
233 mov r0, fp @ frame pointer
Dhead-common.S65 2: ret lr @ atag/dtb pointer is ok
101 str r2, [r6] @ Save atags pointer
Dsleep.S72 stmfd sp!, {r0, r1} @ save suspend func arg and pointer
82 add r0, sp, #8 @ pointer to save block
/linux-4.1.27/arch/frv/kernel/
Dentry.S109 # set up the kernel stack pointer
186 # GR15 - current thread_info struct pointer
187 # GR16 - kernel GP-REL pointer
188 # GR29 - current task struct pointer
854 # - __switch_to() saved the old current pointer in GR8 for us
/linux-4.1.27/sound/pci/nm256/
Dnm256.c912 .pointer = snd_nm256_playback_pointer,
927 .pointer = snd_nm256_capture_pointer,
1362 u32 pointer = readl(temp + 4); in snd_nm256_peek_for_sig() local
1367 if (pointer == 0xffffffff || in snd_nm256_peek_for_sig()
1368 pointer < chip->buffer_size || in snd_nm256_peek_for_sig()
1369 pointer > chip->buffer_end) { in snd_nm256_peek_for_sig()
1371 "invalid signature found: 0x%x\n", pointer); in snd_nm256_peek_for_sig()
1375 pointer_found = pointer; in snd_nm256_peek_for_sig()
1378 pointer); in snd_nm256_peek_for_sig()
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dmarvell-armada-370-neta.txt9 - clocks: a pointer to the reference clock for this device.
/linux-4.1.27/arch/sparc/kernel/
Ddtlb_miss.S2 ldxa [%g0] ASI_DMMU_TSB_8KB_PTR, %g1 ! Get TSB 8K pointer
Ditlb_miss.S2 ldxa [%g0] ASI_IMMU_TSB_8KB_PTR, %g1 ! Get TSB 8K pointer
/linux-4.1.27/drivers/pci/
Dpci-label.c157 len = utf16s_to_utf8s((const wchar_t *)obj->buffer.pointer, in dsm_label_utf16s_to_utf8s()
195 tmp[1].string.pointer); in dsm_get_label()
Dpci-acpi.c160 package = (union acpi_object *)buffer.pointer; in acpi_run_hpx()
205 kfree(buffer.pointer); in acpi_run_hpx()
222 package = (union acpi_object *) buffer.pointer; in acpi_run_hpp()
245 kfree(buffer.pointer); in acpi_run_hpp()
/linux-4.1.27/arch/arc/kernel/
DMakefile28 CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
/linux-4.1.27/Documentation/video4linux/
Domap3isp.txt136 control. VIDIOC_OMAP3ISP_CCDC_CFG IOCTL accepts a pointer to struct
138 accepts a pointer to struct omap3isp_prev_update_config. The definition of
147 disable or enable; part of the flag field in the structure) and a pointer to
183 The associated configuration pointer for the function may not be NULL when
184 enabling the function. When disabling a function the configuration pointer is
/linux-4.1.27/arch/sh/lib64/
Dmemcpy.S10 ! Entry: ARG0: destination pointer
11 ! ARG1: source pointer
14 ! Exit: RESULT: destination pointer
Dcopy_user_memcpy.S8 ! Entry: ARG0: destination pointer
9 ! ARG1: source pointer
12 ! Exit: RESULT: destination pointer
/linux-4.1.27/Documentation/scheduler/
Dsched-domains.txt2 hierarchy is built from these base domains via the ->parent pointer. ->parent
17 pointer. The union of cpumasks of these groups MUST be the same as the
19 MUST be the empty set. The group pointed to by the ->groups pointer MUST
/linux-4.1.27/arch/arm/boot/compressed/
Dhead-shmobile.S68 mov r8, #0 @ pass null pointer as atag

1234