/drivers/staging/octeon/ |
D | ethernet-mem.c | 30 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff() argument 32 int freed = elements; in cvm_oct_fill_hw_skbuff() 44 return elements - freed; in cvm_oct_fill_hw_skbuff() 53 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff() argument 62 elements--; in cvm_oct_free_hw_skbuff() 67 if (elements < 0) in cvm_oct_free_hw_skbuff() 69 pool, elements); in cvm_oct_free_hw_skbuff() 70 else if (elements > 0) in cvm_oct_free_hw_skbuff() 72 pool, elements); in cvm_oct_free_hw_skbuff() 83 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 | 11 int cvm_oct_mem_fill_fpa(int pool, int size, int elements); 12 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(info, elements, in acpi_ns_check_package() 176 status = acpi_ns_check_object_type(info, elements, in acpi_ns_check_package() 182 elements++; in acpi_ns_check_package() 207 acpi_ns_check_object_type(info, elements, in acpi_ns_check_package() 219 acpi_ns_check_object_type(info, elements, in acpi_ns_check_package() 228 elements++; in acpi_ns_check_package() [all …]
|
D | nsrepair2.c | 122 acpi_ns_sort_list(union acpi_operand_object **elements, 394 element_ptr = return_object->package.elements; in acpi_ns_repair_CID() 460 outer_elements = &return_object->package.elements[i + 1]; in acpi_ns_repair_CST() 472 obj_desc = (*outer_elements)->package.elements[1]; /* Index1 = Type */ in acpi_ns_repair_CST() 492 obj_desc = return_object->package.elements[0]; in acpi_ns_repair_CST() 620 top_object_list = package_object->package.elements; in acpi_ns_repair_PRT() 627 sub_object_list = sub_package->package.elements; in acpi_ns_repair_PRT() 682 union acpi_operand_object **elements; in acpi_ns_repair_PSS() local 706 outer_elements = return_object->package.elements; in acpi_ns_repair_PSS() 710 elements = (*outer_elements)->package.elements; in acpi_ns_repair_PSS() [all …]
|
D | nsconvert.c | 222 union acpi_operand_object **elements; in acpi_ns_convert_to_buffer() local 268 elements = original_object->package.elements; in acpi_ns_convert_to_buffer() 272 if ((!*elements) || in acpi_ns_convert_to_buffer() 273 ((*elements)->common.type != ACPI_TYPE_INTEGER)) { in acpi_ns_convert_to_buffer() 276 elements++; in acpi_ns_convert_to_buffer() 288 elements = original_object->package.elements; in acpi_ns_convert_to_buffer() 292 *dword_buffer = (u32)(*elements)->integer.value; in acpi_ns_convert_to_buffer() 294 elements++; in acpi_ns_convert_to_buffer()
|
D | hwxface.c | 486 union acpi_operand_object **elements; in ACPI_EXPORT_SYMBOL() local 546 elements = info->return_object->package.elements; in ACPI_EXPORT_SYMBOL() 555 if (elements[0]->common.type != ACPI_TYPE_INTEGER) { in ACPI_EXPORT_SYMBOL() 562 *sleep_type_a = (u8)elements[0]->integer.value; in ACPI_EXPORT_SYMBOL() 563 *sleep_type_b = (u8)(elements[0]->integer.value >> 8); in ACPI_EXPORT_SYMBOL() 569 if ((elements[0]->common.type != ACPI_TYPE_INTEGER) || in ACPI_EXPORT_SYMBOL() 570 (elements[1]->common.type != ACPI_TYPE_INTEGER)) { in ACPI_EXPORT_SYMBOL() 577 *sleep_type_a = (u8)elements[0]->integer.value; in ACPI_EXPORT_SYMBOL() 578 *sleep_type_b = (u8)elements[1]->integer.value; in ACPI_EXPORT_SYMBOL()
|
D | dbconvert.c | 203 union acpi_object *elements; in acpi_db_convert_to_package() local 206 elements = in acpi_db_convert_to_package() 219 status = acpi_db_convert_to_object(type, this, &elements[i]); in acpi_db_convert_to_package() 221 acpi_db_delete_objects(i + 1, elements); in acpi_db_convert_to_package() 222 ACPI_FREE(elements); in acpi_db_convert_to_package() 231 object->package.elements = elements; in acpi_db_convert_to_package() 394 buffer_desc = &obj_desc->package.elements[0]; in acpi_db_dump_pld_buffer()
|
D | utcopy.c | 262 elements[this_index]; in acpi_ut_copy_ielement_to_eelement() 284 target_object->package.elements = in acpi_ut_copy_ielement_to_eelement() 358 external_object->package.elements = ACPI_CAST_PTR(union acpi_object, in acpi_ut_copy_ipackage_to_epackage() 593 package_elements = package_object->package.elements; in acpi_ut_copy_epackage_to_ipackage() 602 elements[i], in acpi_ut_copy_epackage_to_ipackage() 840 &state->pkg.dest_object->package.elements[this_index]; in acpi_ut_copy_ielement_to_ielement() 938 dest_obj->package.elements = ACPI_ALLOCATE_ZEROED(((acpi_size) in acpi_ut_copy_ipackage_to_ipackage() 942 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()
|
/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 115 pool->elements = kmalloc(sizeof(struct lpfc_dmabuf) * in lpfc_mem_alloc() 117 if (!pool->elements) in lpfc_mem_alloc() 123 pool->elements[i].virt = pci_pool_alloc(phba->lpfc_mbuf_pool, in lpfc_mem_alloc() 124 GFP_KERNEL, &pool->elements[i].phys); in lpfc_mem_alloc() 125 if (!pool->elements[i].virt) in lpfc_mem_alloc() 193 pci_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, in lpfc_mem_alloc() 194 pool->elements[i].phys); in lpfc_mem_alloc() 195 kfree(pool->elements); in lpfc_mem_alloc() 253 pci_pool_free(phba->lpfc_mbuf_pool, pool->elements[i].virt, in lpfc_mem_free() 254 pool->elements[i].phys); in lpfc_mem_free() [all …]
|
/drivers/acpi/ |
D | property.c | 57 dn->name = link->package.elements[0].string.pointer; in acpi_nondev_subnode_ok() 61 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok() 108 link = &links->package.elements[i]; in acpi_add_nondev_subnodes() 111 && link->package.elements[0].type == ACPI_TYPE_STRING in acpi_add_nondev_subnodes() 112 && link->package.elements[1].type == ACPI_TYPE_STRING in acpi_add_nondev_subnodes() 130 uuid = &desc->package.elements[i]; in acpi_enumerate_nondev_subnodes() 131 links = &desc->package.elements[i + 1]; in acpi_enumerate_nondev_subnodes() 166 switch (value->package.elements[j].type) { in acpi_property_value_ok() 188 property = &properties->package.elements[i]; in acpi_properties_format_valid() 194 || property->package.elements[0].type != ACPI_TYPE_STRING in acpi_properties_format_valid() [all …]
|
D | utils.c | 97 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package() 201 union acpi_object *element = &(package->package.elements[i]); in acpi_extract_package() 369 element = &(package->package.elements[i]); in acpi_evaluate_reference() 418 || output->package.elements[0].type != ACPI_TYPE_BUFFER in acpi_get_physical_device_location() 419 || output->package.elements[0].buffer.length < ACPI_PLD_REV1_BUFFER_SIZE) { in acpi_get_physical_device_location() 425 output->package.elements[0].buffer.pointer, in acpi_get_physical_device_location() 426 output->package.elements[0].buffer.length, in acpi_get_physical_device_location() 654 params[3].package.elements = NULL; in acpi_evaluate_dsm()
|
/drivers/pci/ |
D | pci-acpi.c | 48 union acpi_object *fields = record->package.elements; in decode_type0_hpx_record() 78 union acpi_object *fields = record->package.elements; in decode_type1_hpx_record() 107 union acpi_object *fields = record->package.elements; in decode_type2_hpx_record() 167 record = &package->package.elements[i]; in acpi_run_hpx() 173 fields = record->package.elements; in acpi_run_hpx() 229 fields = package->package.elements; in acpi_run_hpp() 619 union acpi_object *obj, *elements; in pci_acpi_optimize_delay() local 630 elements = obj->package.elements; in pci_acpi_optimize_delay() 631 if (elements[0].type == ACPI_TYPE_INTEGER) { in pci_acpi_optimize_delay() 632 value = (int)elements[0].integer.value / 1000; in pci_acpi_optimize_delay() [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_acpi.c | 91 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 95 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 96 union acpi_object *connector_id = &obj->package.elements[0]; in intel_dsm_platform_mux_info() 97 union acpi_object *info = &obj->package.elements[1]; in intel_dsm_platform_mux_info()
|
/drivers/thermal/int340x_thermal/ |
D | processor_thermal_device.c | 202 union acpi_object *elements, *ppcc; in proc_thermal_add() local 239 elements = &(p->package.elements[i+1]); in proc_thermal_add() 240 if (elements->type != ACPI_TYPE_PACKAGE || in proc_thermal_add() 241 elements->package.count != 6) { in proc_thermal_add() 245 ppcc = elements->package.elements; in proc_thermal_add()
|
/drivers/pci/hotplug/ |
D | acpiphp_ibm.c | 300 !(package->package.elements)) { in ibm_get_table_from_acpi() 306 if (package->package.elements[i].type != ACPI_TYPE_BUFFER) { in ibm_get_table_from_acpi() 310 size += package->package.elements[i].buffer.length; in ibm_get_table_from_acpi() 330 package->package.elements[i].buffer.pointer, in ibm_get_table_from_acpi() 331 package->package.elements[i].buffer.length); in ibm_get_table_from_acpi() 332 size += package->package.elements[i].buffer.length; in ibm_get_table_from_acpi()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_diag.c | 110 i40e_reg_list[i].elements = hw->func_caps.num_tx_qp; in i40e_diag_reg_test() 117 i40e_reg_list[i].elements = in i40e_diag_reg_test() 122 for (j = 0; j < i40e_reg_list[i].elements && !ret_code; j++) { in i40e_diag_reg_test()
|
/drivers/char/tpm/ |
D | tpm_ppi.c | 80 obj->package.elements[0].type == ACPI_TYPE_INTEGER && in tpm_show_ppi_request() 81 obj->package.elements[1].type == ACPI_TYPE_INTEGER) { in tpm_show_ppi_request() 82 if (obj->package.elements[0].integer.value) in tpm_show_ppi_request() 86 obj->package.elements[1].integer.value); in tpm_show_ppi_request() 214 ret_obj = obj->package.elements; in tpm_show_ppi_response()
|
/drivers/net/wireless/iwlwifi/pcie/ |
D | drv.c | 492 splc->package.elements[0].type != ACPI_TYPE_INTEGER || in splc_get_pwr_limit() 493 splc->package.elements[0].integer.value != 0) { in splc_get_pwr_limit() 503 data_pkg = &splc->package.elements[i]; in splc_get_pwr_limit() 510 data_pkg->package.elements[0].type != ACPI_TYPE_INTEGER || in splc_get_pwr_limit() 511 data_pkg->package.elements[1].type != ACPI_TYPE_INTEGER) in splc_get_pwr_limit() 514 domain = &data_pkg->package.elements[0]; in splc_get_pwr_limit() 527 dflt_pwr_limit = &data_pkg->package.elements[1]; in splc_get_pwr_limit()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | stats.c | 106 last_rssi = rtlpriv->stats.ui_rssi.elements[ in rtl_process_ui_rssi() 111 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 | 273 offset = &(pccp->package.elements[0]); in pcc_get_offset() 281 offset = &(pccp->package.elements[1]); in pcc_get_offset() 423 member = &out_obj->package.elements[0]; in pcc_cpufreq_probe() 479 member = &out_obj->package.elements[1]; in pcc_cpufreq_probe() 498 member = &out_obj->package.elements[2]; in pcc_cpufreq_probe() 506 member = &out_obj->package.elements[3]; in pcc_cpufreq_probe()
|
/drivers/hwmon/ |
D | asus_atk0110.c | 314 return &pack->package.elements[offset]; in atk_get_pack_member() 367 tmp = &obj->package.elements[HWMON_PACK_UNK1]; in validate_hwmon_pack() 373 tmp = &obj->package.elements[HWMON_PACK_UNK2]; in validate_hwmon_pack() 718 union acpi_object *obj = &pack->package.elements[i]; in atk_pack_print() 747 union acpi_object *pack = &ret->package.elements[i]; in atk_debugfs_ggrp_open() 754 id = &pack->package.elements[0]; in atk_debugfs_ggrp_open() 991 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon() 1013 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon() 1035 union acpi_object *obj = &pack->package.elements[i]; in atk_enumerate_old_hwmon() 1070 union acpi_object *obj = &pack->package.elements[i]; in atk_ec_present() [all …]
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | nvm.c | 700 wrdd->package.elements[0].type != ACPI_TYPE_INTEGER || in iwl_mvm_wrdd_get_mcc() 701 wrdd->package.elements[0].integer.value != 0) { in iwl_mvm_wrdd_get_mcc() 707 mcc_pkg = &wrdd->package.elements[i]; in iwl_mvm_wrdd_get_mcc() 711 mcc_pkg->package.elements[0].type != ACPI_TYPE_INTEGER || in iwl_mvm_wrdd_get_mcc() 712 mcc_pkg->package.elements[1].type != ACPI_TYPE_INTEGER) { in iwl_mvm_wrdd_get_mcc() 717 domain_type = &mcc_pkg->package.elements[0]; in iwl_mvm_wrdd_get_mcc() 725 mcc_value = &mcc_pkg->package.elements[1]; in iwl_mvm_wrdd_get_mcc()
|
/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/xen/ |
D | xen-acpi-pad.c | 73 package->package.elements[0].integer.value == 1) /* rev 1 */ in acpi_pad_pur() 74 num = package->package.elements[1].integer.value; in acpi_pad_pur()
|