/drivers/staging/octeon/ |
D | ethernet-mem.c | 45 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff() argument 47 int freed = elements; in cvm_oct_fill_hw_skbuff() 63 return elements - freed; in cvm_oct_fill_hw_skbuff() 72 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff() argument 81 elements--; in cvm_oct_free_hw_skbuff() 86 if (elements < 0) in cvm_oct_free_hw_skbuff() 88 pool, elements); in cvm_oct_free_hw_skbuff() 89 else if (elements > 0) in cvm_oct_free_hw_skbuff() 91 pool, elements); in cvm_oct_free_hw_skbuff() 102 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory() argument [all …]
|
D | ethernet-mem.h | 28 int cvm_oct_mem_fill_fpa(int pool, int size, int elements); 29 void cvm_oct_mem_empty_fpa(int pool, int size, int elements);
|
/drivers/acpi/acpica/ |
D | nsprepkg.c | 56 union acpi_operand_object **elements, u32 count); 60 union acpi_operand_object **elements, 86 union acpi_operand_object **elements; in acpi_ns_check_package() local 112 elements = return_object->package.elements; in acpi_ns_check_package() 159 status = acpi_ns_check_package_elements(data, elements, in acpi_ns_check_package() 177 status = acpi_ns_check_object_type(data, elements, in acpi_ns_check_package() 183 elements++; in acpi_ns_check_package() 209 acpi_ns_check_object_type(data, elements, in acpi_ns_check_package() 221 acpi_ns_check_object_type(data, elements, in acpi_ns_check_package() 230 elements++; in acpi_ns_check_package() [all …]
|
D | nsrepair2.c | 105 acpi_ns_sort_list(union acpi_operand_object **elements, 377 element_ptr = return_object->package.elements; in acpi_ns_repair_CID() 555 union acpi_operand_object **elements; in acpi_ns_repair_PSS() local 579 outer_elements = return_object->package.elements; in acpi_ns_repair_PSS() 583 elements = (*outer_elements)->package.elements; in acpi_ns_repair_PSS() 584 obj_desc = elements[1]; /* Index1 = power_dissipation */ in acpi_ns_repair_PSS() 628 union acpi_operand_object **elements; in acpi_ns_check_sorted_list() local 646 outer_elements = return_object->package.elements; in acpi_ns_check_sorted_list() 673 elements = (*outer_elements)->package.elements; in acpi_ns_check_sorted_list() 674 obj_desc = elements[sort_index]; in acpi_ns_check_sorted_list() [all …]
|
D | nsconvert.c | 220 union acpi_operand_object **elements; in acpi_ns_convert_to_buffer() local 266 elements = original_object->package.elements; in acpi_ns_convert_to_buffer() 270 if ((!*elements) || in acpi_ns_convert_to_buffer() 271 ((*elements)->common.type != ACPI_TYPE_INTEGER)) { in acpi_ns_convert_to_buffer() 274 elements++; in acpi_ns_convert_to_buffer() 286 elements = original_object->package.elements; in acpi_ns_convert_to_buffer() 290 *dword_buffer = (u32)(*elements)->integer.value; in acpi_ns_convert_to_buffer() 292 elements++; in acpi_ns_convert_to_buffer()
|
D | hwxface.c | 477 union acpi_operand_object **elements; in ACPI_EXPORT_SYMBOL() local 528 elements = info->return_object->package.elements; in ACPI_EXPORT_SYMBOL() 535 if (elements[0]->common.type != ACPI_TYPE_INTEGER) { in ACPI_EXPORT_SYMBOL() 542 *sleep_type_a = (u8)elements[0]->integer.value; in ACPI_EXPORT_SYMBOL() 543 *sleep_type_b = (u8)(elements[0]->integer.value >> 8); in ACPI_EXPORT_SYMBOL() 548 if ((elements[0]->common.type != ACPI_TYPE_INTEGER) || in ACPI_EXPORT_SYMBOL() 549 (elements[1]->common.type != ACPI_TYPE_INTEGER)) { in ACPI_EXPORT_SYMBOL() 556 *sleep_type_a = (u8)elements[0]->integer.value; in ACPI_EXPORT_SYMBOL() 557 *sleep_type_b = (u8)elements[1]->integer.value; in ACPI_EXPORT_SYMBOL()
|
D | utcopy.c | 263 elements[this_index]; in acpi_ut_copy_ielement_to_eelement() 287 target_object->package.elements = in acpi_ut_copy_ielement_to_eelement() 360 external_object->package.elements = ACPI_CAST_PTR(union acpi_object, in acpi_ut_copy_ipackage_to_epackage() 592 package_elements = package_object->package.elements; in acpi_ut_copy_epackage_to_ipackage() 601 elements[i], in acpi_ut_copy_epackage_to_ipackage() 837 &state->pkg.dest_object->package.elements[this_index]; in acpi_ut_copy_ielement_to_ielement() 935 dest_obj->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) in acpi_ut_copy_ipackage_to_ipackage() 939 if (!dest_obj->package.elements) { in acpi_ut_copy_ipackage_to_ipackage()
|
D | dsobject.c | 425 obj_desc->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) in acpi_ds_build_internal_package_obj() 429 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj() 457 elements[i]); in acpi_ds_build_internal_package_obj() 461 obj_desc->package.elements[i] = in acpi_ds_build_internal_package_obj() 469 elements[i]); in acpi_ds_build_internal_package_obj() 486 elements[i])); in acpi_ds_build_internal_package_obj()
|
D | exdump.c | 105 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(package.elements), "Element List"}, 592 obj_desc->package.elements); in acpi_ex_dump_operand() 599 obj_desc->package.elements && acpi_dbg_level > 1) { in acpi_ex_dump_operand() 603 elements[index], in acpi_ex_dump_operand() 961 acpi_ex_dump_package_obj(obj_desc->package.elements[i], in acpi_ex_dump_package_obj()
|
D | nsrepair.c | 494 source = obj_desc->package.elements; in acpi_ns_remove_null_elements() 565 pkg_obj_desc->package.elements[0] = original_object; in acpi_ns_wrap_with_package()
|
/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 96 pool->elements = kmalloc(sizeof(struct lpfc_dmabuf) * in lpfc_mem_alloc() 98 if (!pool->elements) in lpfc_mem_alloc() 104 pool->elements[i].virt = pci_pool_alloc(phba->lpfc_mbuf_pool, in lpfc_mem_alloc() 105 GFP_KERNEL, &pool->elements[i].phys); in lpfc_mem_alloc() 106 if (!pool->elements[i].virt) in lpfc_mem_alloc() 164 pci_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, in lpfc_mem_alloc() 165 pool->elements[i].phys); in lpfc_mem_alloc() 166 kfree(pool->elements); in lpfc_mem_alloc() 219 pci_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, in lpfc_mem_free() 220 pool->elements[i].phys); in lpfc_mem_free() [all …]
|
/drivers/acpi/ |
D | utils.c | 102 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package() 188 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package() 351 element = &(package->package.elements[i]); in acpi_evaluate_reference() 404 || output->package.elements[0].type != ACPI_TYPE_BUFFER in acpi_get_physical_device_location() 405 || output->package.elements[0].buffer.length < ACPI_PLD_REV1_BUFFER_SIZE) { in acpi_get_physical_device_location() 411 output->package.elements[0].buffer.pointer, in acpi_get_physical_device_location() 412 output->package.elements[0].buffer.length, in acpi_get_physical_device_location()
|
D | processor_idle.c | 379 count = cst->package.elements[0].integer.value; in acpi_processor_get_power_info_cst() 399 element = &(cst->package.elements[i]); in acpi_processor_get_power_info_cst() 406 obj = &(element->package.elements[0]); in acpi_processor_get_power_info_cst() 418 obj = &(element->package.elements[1]); in acpi_processor_get_power_info_cst() 474 obj = &(element->package.elements[2]); in acpi_processor_get_power_info_cst() 480 obj = &(element->package.elements[3]); in acpi_processor_get_power_info_cst()
|
/drivers/gpu/drm/i915/ |
D | intel_acpi.c | 167 union acpi_object *connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 171 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 173 &obj->package.elements[0]; in intel_dsm_platform_mux_info() 174 union acpi_object *info = &obj->package.elements[1]; in intel_dsm_platform_mux_info()
|
/drivers/pci/ |
D | pci-label.c | 199 package.elements[1].string.pointer, in dsm_label_utf16s_to_utf8s() 200 obj->package.elements[1].string.length, in dsm_label_utf16s_to_utf8s() 229 params[3].package.elements = NULL; in dsm_get_label() 241 len = obj->package.elements[0].integer.value; in dsm_get_label() 245 obj->package.elements[0].integer.value); in dsm_get_label()
|
/drivers/pci/hotplug/ |
D | acpiphp_ibm.c | 312 !(package->package.elements)) { in ibm_get_table_from_acpi() 318 if (package->package.elements[i].type != ACPI_TYPE_BUFFER) { in ibm_get_table_from_acpi() 322 size += package->package.elements[i].buffer.length; in ibm_get_table_from_acpi() 342 package->package.elements[i].buffer.pointer, in ibm_get_table_from_acpi() 343 package->package.elements[i].buffer.length); in ibm_get_table_from_acpi() 344 size += package->package.elements[i].buffer.length; in ibm_get_table_from_acpi()
|
D | acpi_pcihp.c | 53 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() 83 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() 112 union acpi_object *fields = record->package.elements; in decode_type2_hpx_record() 173 record = &package->package.elements[i]; in acpi_run_hpx() 179 fields = record->package.elements; in acpi_run_hpx() 236 fields = package->package.elements; in acpi_run_hpp()
|
/drivers/net/wireless/rtlwifi/ |
D | stats.c | 113 last_rssi = rtlpriv->stats.ui_rssi.elements[ in rtl_process_ui_rssi() 118 rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] = in rtl_process_ui_rssi() 227 last_evm = rtlpriv->stats.ui_link_quality.elements[ in rtl_process_ui_link_quality() 232 rtlpriv->stats.ui_link_quality.elements[ in rtl_process_ui_link_quality()
|
/drivers/cpufreq/ |
D | pcc-cpufreq.c | 276 offset = &(pccp->package.elements[0]); in pcc_get_offset() 284 offset = &(pccp->package.elements[1]); in pcc_get_offset() 427 member = &out_obj->package.elements[0]; in pcc_cpufreq_probe() 483 member = &out_obj->package.elements[1]; in pcc_cpufreq_probe() 502 member = &out_obj->package.elements[2]; in pcc_cpufreq_probe() 510 member = &out_obj->package.elements[3]; in pcc_cpufreq_probe()
|
/drivers/hwmon/ |
D | asus_atk0110.c | 319 return &pack->package.elements[offset]; in atk_get_pack_member() 372 tmp = &obj->package.elements[HWMON_PACK_UNK1]; in validate_hwmon_pack() 378 tmp = &obj->package.elements[HWMON_PACK_UNK2]; in validate_hwmon_pack() 720 union acpi_object *obj = &pack->package.elements[i]; in atk_pack_print() 749 union acpi_object *pack = &ret->package.elements[i]; in atk_debugfs_ggrp_open() 756 id = &pack->package.elements[0]; in atk_debugfs_ggrp_open() 993 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon() 1015 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon() 1037 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon() 1072 union acpi_object *obj = &pack->package.elements[i]; in atk_ec_present() [all …]
|
/drivers/staging/iio/Documentation/ |
D | overview.txt | 51 device.txt - elements of a typical device driver. 53 trigger.txt - elements of a typical trigger driver. 55 ring.txt - additional elements required for buffer support.
|
/drivers/char/tpm/ |
D | tpm_ppi.c | 53 params[3].package.elements = NULL; in ppi_assign_params() 114 ret_obj = ((union acpi_object *)output.pointer)->package.elements; in tpm_show_ppi_request() 191 params[3].package.elements = &obj; in tpm_store_ppi_request() 303 ret_obj = ((union acpi_object *)output.pointer)->package.elements; in tpm_show_ppi_response() 396 params[3].package.elements = &obj; in show_ppi_operations()
|
/drivers/i2c/busses/ |
D | i2c-scmi.c | 188 obj = pkg->package.elements; in acpi_smbus_cmi_access() 225 obj = pkg->package.elements + 1; in acpi_smbus_cmi_access() 233 obj = pkg->package.elements + 2; in acpi_smbus_cmi_access() 315 obj = obj->package.elements; in acpi_smbus_cmi_add_cap()
|
/drivers/xen/ |
D | xen-acpi-pad.c | 72 package->package.elements[0].integer.value == 1) /* rev 1 */ in acpi_pad_pur() 73 num = package->package.elements[1].integer.value; in acpi_pad_pur()
|
/drivers/spi/ |
D | spi-omap2-mcspi.c | 369 int elements = 0; in omap2_mcspi_rx_dma() local 419 elements = element_count - 1; in omap2_mcspi_rx_dma() 422 elements--; in omap2_mcspi_rx_dma() 430 ((u8 *)xfer->rx_buf)[elements++] = w; in omap2_mcspi_rx_dma() 432 ((u16 *)xfer->rx_buf)[elements++] = w; in omap2_mcspi_rx_dma() 434 ((u32 *)xfer->rx_buf)[elements++] = w; in omap2_mcspi_rx_dma() 450 ((u8 *)xfer->rx_buf)[elements] = w; in omap2_mcspi_rx_dma() 452 ((u16 *)xfer->rx_buf)[elements] = w; in omap2_mcspi_rx_dma() 454 ((u32 *)xfer->rx_buf)[elements] = w; in omap2_mcspi_rx_dma()
|