| /Linux-v5.4/tools/power/cpupower/utils/idle_monitor/ |
| D | hsw_ext_idle.c | 59 static unsigned long long *current_count[HSW_EXT_CSTATE_COUNT]; variable 98 (current_count[id][cpu] - previous_count[id][cpu])) / in hsw_ext_get_count_percent() 103 current_count[id][cpu], cpu); in hsw_ext_get_count_percent() 108 current_count[id][cpu] - previous_count[id][cpu], in hsw_ext_get_count_percent() 139 current_count[num][cpu] = val; in hsw_ext_stop() 166 current_count[num] = calloc(cpu_count, in hsw_ext_register() 179 free(current_count[num]); in hsw_ext_unregister()
|
| D | snb_idle.c | 56 static unsigned long long *current_count[SNB_CSTATE_COUNT]; variable 95 (current_count[id][cpu] - previous_count[id][cpu])) / in snb_get_count_percent() 100 current_count[id][cpu], cpu); in snb_get_count_percent() 105 current_count[id][cpu] - previous_count[id][cpu], in snb_get_count_percent() 136 current_count[num][cpu] = val; in snb_stop() 170 current_count[num] = calloc(cpu_count, in snb_register() 183 free(current_count[num]); in snb_unregister()
|
| D | cpuidle_sysfs.c | 21 static unsigned long long **current_count; variable 28 unsigned long long statediff = current_count[cpu][id] in cpuidle_get_count_percent() 70 current_count[cpu][state] = in cpuidle_stop() 179 current_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register() 183 current_count[num] = malloc(sizeof(long long) * in cpuidle_register() 197 free(current_count[num]); in cpuidle_unregister() 200 free(current_count); in cpuidle_unregister()
|
| D | nhm_idle.c | 67 static unsigned long long *current_count[NHM_CSTATE_COUNT]; variable 110 (current_count[id][cpu] - previous_count[id][cpu])) / in nhm_get_count_percent() 115 current_count[id][cpu], cpu); in nhm_get_count_percent() 120 current_count[id][cpu] - previous_count[id][cpu], in nhm_get_count_percent() 155 current_count[num][cpu] = val; in nhm_stop() 184 current_count[num] = calloc(cpu_count, in intel_nhm_register() 198 free(current_count[num]); in intel_nhm_unregister()
|
| D | amd_fam14h_idle.c | 94 static unsigned long long *current_count[AMD_FAM14H_STATE_NUM]; variable 181 current_count[state->id][cpu] = val; in amd_fam14h_disable() 184 current_count[state->id][cpu], cpu); in amd_fam14h_disable() 215 diff = current_count[id][cpu] - previous_count[id][cpu]; in fam14h_get_count_percent() 296 current_count[num] = calloc(cpu_count, in amd_fam14h_register() 318 free(current_count[num]); in amd_fam14h_unregister()
|
| /Linux-v5.4/drivers/gpu/drm/radeon/ |
| D | atombios_i2c.c | 110 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local 139 current_count = max_bytes; in radeon_atom_hw_i2c_xfer() 141 current_count = remaining; in radeon_atom_hw_i2c_xfer() 144 &p->buf[buffer_offset], current_count); in radeon_atom_hw_i2c_xfer() 147 remaining -= current_count; in radeon_atom_hw_i2c_xfer() 148 buffer_offset += current_count; in radeon_atom_hw_i2c_xfer()
|
| D | radeon_i2c.c | 589 int i, j, remaining, current_count, buffer_offset, ret = num; in r500_hw_i2c_xfer() local 713 current_count = 15; in r500_hw_i2c_xfer() 715 current_count = remaining; in r500_hw_i2c_xfer() 726 AVIVO_DC_I2C_DATA_COUNT(current_count) | in r500_hw_i2c_xfer() 745 for (j = 0; j < current_count; j++) in r500_hw_i2c_xfer() 747 remaining -= current_count; in r500_hw_i2c_xfer() 748 buffer_offset += current_count; in r500_hw_i2c_xfer() 753 current_count = 15; in r500_hw_i2c_xfer() 755 current_count = remaining; in r500_hw_i2c_xfer() 764 for (j = 0; j < current_count; j++) in r500_hw_i2c_xfer() [all …]
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | atombios_i2c.c | 117 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local 146 current_count = max_bytes; in amdgpu_atombios_i2c_xfer() 148 current_count = remaining; in amdgpu_atombios_i2c_xfer() 151 &p->buf[buffer_offset], current_count); in amdgpu_atombios_i2c_xfer() 154 remaining -= current_count; in amdgpu_atombios_i2c_xfer() 155 buffer_offset += current_count; in amdgpu_atombios_i2c_xfer()
|
| /Linux-v5.4/drivers/scsi/lpfc/ |
| D | lpfc_mem.c | 106 pool->current_count = 0; in lpfc_mem_alloc() 113 pool->current_count++; in lpfc_mem_alloc() 255 for (i = 0; i < pool->current_count; i++) in lpfc_mem_free() 377 if (!ret && (mem_flags & MEM_PRI) && pool->current_count) { in lpfc_mbuf_alloc() 378 pool->current_count--; in lpfc_mbuf_alloc() 379 ret = pool->elements[pool->current_count].virt; in lpfc_mbuf_alloc() 380 *handle = pool->elements[pool->current_count].phys; in lpfc_mbuf_alloc() 405 if (pool->current_count < pool->max_count) { in __lpfc_mbuf_free() 406 pool->elements[pool->current_count].virt = virt; in __lpfc_mbuf_free() 407 pool->elements[pool->current_count].phys = dma; in __lpfc_mbuf_free() [all …]
|
| D | lpfc.h | 155 uint32_t current_count; member
|
| /Linux-v5.4/drivers/acpi/ |
| D | processor_idle.c | 304 int current_count; in acpi_processor_get_power_info_cst() local 312 current_count = 0; in acpi_processor_get_power_info_cst() 378 current_count++; in acpi_processor_get_power_info_cst() 381 cx.index = current_count + 1; in acpi_processor_get_power_info_cst() 434 current_count++; in acpi_processor_get_power_info_cst() 435 memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx)); in acpi_processor_get_power_info_cst() 441 if (current_count >= (ACPI_PROCESSOR_MAX_POWER - 1)) { in acpi_processor_get_power_info_cst() 450 current_count)); in acpi_processor_get_power_info_cst() 453 if (current_count < 2) in acpi_processor_get_power_info_cst()
|
| /Linux-v5.4/drivers/net/wireless/intel/iwlegacy/ |
| D | 3945-rs.c | 430 s8 retries = 0, current_count; in il3945_rs_tx_status() local 478 current_count = (retries - 1); in il3945_rs_tx_status() 481 current_count = il->retry_rate; in il3945_rs_tx_status() 488 current_count, scale_rate_idx); in il3945_rs_tx_status() 490 current_count); in il3945_rs_tx_status() 492 retries -= current_count; in il3945_rs_tx_status()
|
| /Linux-v5.4/drivers/clocksource/ |
| D | dw_apb_timer.c | 352 u32 current_count; in __apbt_read_clocksource() local 356 current_count = apbt_readl_relaxed(&dw_cs->timer, in __apbt_read_clocksource() 359 return (u64)~current_count; in __apbt_read_clocksource()
|