/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/ |
D | snb_idle.c | 57 static unsigned long long *current_count[SNB_CSTATE_COUNT]; variable 96 (current_count[id][cpu] - previous_count[id][cpu])) / in snb_get_count_percent() 101 current_count[id][cpu], cpu); in snb_get_count_percent() 106 current_count[id][cpu] - previous_count[id][cpu], in snb_get_count_percent() 137 current_count[num][cpu] = val; in snb_stop() 171 current_count[num] = calloc(cpu_count, in snb_register() 184 free(current_count[num]); in snb_unregister()
|
D | hsw_ext_idle.c | 60 static unsigned long long *current_count[HSW_EXT_CSTATE_COUNT]; variable 99 (current_count[id][cpu] - previous_count[id][cpu])) / in hsw_ext_get_count_percent() 104 current_count[id][cpu], cpu); in hsw_ext_get_count_percent() 109 current_count[id][cpu] - previous_count[id][cpu], in hsw_ext_get_count_percent() 140 current_count[num][cpu] = val; in hsw_ext_stop() 167 current_count[num] = calloc(cpu_count, in hsw_ext_register() 180 free(current_count[num]); in hsw_ext_unregister()
|
D | cpuidle_sysfs.c | 23 static unsigned long long **current_count; variable 30 unsigned long long statediff = current_count[cpu][id] in cpuidle_get_count_percent() 72 current_count[cpu][state] = in cpuidle_stop() 163 current_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register() 167 current_count[num] = malloc(sizeof(long long) * in cpuidle_register() 181 free(current_count[num]); in cpuidle_unregister() 184 free(current_count); in cpuidle_unregister()
|
D | nhm_idle.c | 68 static unsigned long long *current_count[NHM_CSTATE_COUNT]; variable 111 (current_count[id][cpu] - previous_count[id][cpu])) / in nhm_get_count_percent() 116 current_count[id][cpu], cpu); in nhm_get_count_percent() 121 current_count[id][cpu] - previous_count[id][cpu], in nhm_get_count_percent() 156 current_count[num][cpu] = val; in nhm_stop() 185 current_count[num] = calloc(cpu_count, in intel_nhm_register() 199 free(current_count[num]); in intel_nhm_unregister()
|
D | amd_fam14h_idle.c | 95 static unsigned long long *current_count[AMD_FAM14H_STATE_NUM]; variable 182 current_count[state->id][cpu] = val; in amd_fam14h_disable() 185 current_count[state->id][cpu], cpu); in amd_fam14h_disable() 216 diff = current_count[id][cpu] - previous_count[id][cpu]; in fam14h_get_count_percent() 297 current_count[num] = calloc(cpu_count, in amd_fam14h_register() 319 free(current_count[num]); in amd_fam14h_unregister()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_i2c.c | 109 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local 138 current_count = max_bytes; in amdgpu_atombios_i2c_xfer() 140 current_count = remaining; in amdgpu_atombios_i2c_xfer() 143 &p->buf[buffer_offset], current_count); in amdgpu_atombios_i2c_xfer() 146 remaining -= current_count; in amdgpu_atombios_i2c_xfer() 147 buffer_offset += current_count; in amdgpu_atombios_i2c_xfer()
|
/linux-4.4.14/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 | 586 int i, j, remaining, current_count, buffer_offset, ret = num; in r500_hw_i2c_xfer() local 710 current_count = 15; in r500_hw_i2c_xfer() 712 current_count = remaining; in r500_hw_i2c_xfer() 723 AVIVO_DC_I2C_DATA_COUNT(current_count) | in r500_hw_i2c_xfer() 742 for (j = 0; j < current_count; j++) in r500_hw_i2c_xfer() 744 remaining -= current_count; in r500_hw_i2c_xfer() 745 buffer_offset += current_count; in r500_hw_i2c_xfer() 750 current_count = 15; in r500_hw_i2c_xfer() 752 current_count = remaining; in r500_hw_i2c_xfer() 761 for (j = 0; j < current_count; j++) in r500_hw_i2c_xfer() [all …]
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 121 pool->current_count = 0; in lpfc_mem_alloc() 128 pool->current_count++; in lpfc_mem_alloc() 252 for (i = 0; i < pool->current_count; i++) in lpfc_mem_free() 371 if (!ret && (mem_flags & MEM_PRI) && pool->current_count) { in lpfc_mbuf_alloc() 372 pool->current_count--; in lpfc_mbuf_alloc() 373 ret = pool->elements[pool->current_count].virt; in lpfc_mbuf_alloc() 374 *handle = pool->elements[pool->current_count].phys; in lpfc_mbuf_alloc() 399 if (pool->current_count < pool->max_count) { in __lpfc_mbuf_free() 400 pool->elements[pool->current_count].virt = virt; in __lpfc_mbuf_free() 401 pool->elements[pool->current_count].phys = dma; in __lpfc_mbuf_free() [all …]
|
D | lpfc.h | 128 uint32_t current_count; member
|
/linux-4.4.14/drivers/acpi/ |
D | processor_idle.c | 333 int current_count; in acpi_processor_get_power_info_cst() local 342 current_count = 0; in acpi_processor_get_power_info_cst() 408 current_count++; in acpi_processor_get_power_info_cst() 411 cx.index = current_count + 1; in acpi_processor_get_power_info_cst() 464 current_count++; in acpi_processor_get_power_info_cst() 465 memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx)); in acpi_processor_get_power_info_cst() 471 if (current_count >= (ACPI_PROCESSOR_MAX_POWER - 1)) { in acpi_processor_get_power_info_cst() 482 current_count)); in acpi_processor_get_power_info_cst() 485 if (current_count < 2) in acpi_processor_get_power_info_cst()
|
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
D | 3945-rs.c | 449 s8 retries = 0, current_count; in il3945_rs_tx_status() local 497 current_count = (retries - 1); in il3945_rs_tx_status() 500 current_count = il->retry_rate; in il3945_rs_tx_status() 507 current_count, scale_rate_idx); in il3945_rs_tx_status() 509 current_count); in il3945_rs_tx_status() 511 retries -= current_count; in il3945_rs_tx_status()
|
/linux-4.4.14/drivers/clocksource/ |
D | dw_apb_timer.c | 341 unsigned long current_count; in __apbt_read_clocksource() local 345 current_count = apbt_readl(&dw_cs->timer, APBTMR_N_CURRENT_VALUE); in __apbt_read_clocksource() 347 return (cycle_t)~current_count; in __apbt_read_clocksource()
|