Searched refs:current_count (Results 1 – 8 of 8) sorted by relevance
/linux/tools/power/cpupower/utils/idle_monitor/ |
H A 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()
|
H A 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/drivers/gpu/drm/radeon/ |
H A D | atombios_i2c.c | 105 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local 134 current_count = max_bytes; in radeon_atom_hw_i2c_xfer() 136 current_count = remaining; in radeon_atom_hw_i2c_xfer() 139 &p->buf[buffer_offset], current_count); in radeon_atom_hw_i2c_xfer() 142 remaining -= current_count; in radeon_atom_hw_i2c_xfer() 143 buffer_offset += current_count; in radeon_atom_hw_i2c_xfer()
|
H A D | radeon_i2c.c | 581 int i, j, remaining, current_count, buffer_offset, ret = num; in r500_hw_i2c_xfer() local 705 current_count = 15; in r500_hw_i2c_xfer() 707 current_count = remaining; in r500_hw_i2c_xfer() 718 AVIVO_DC_I2C_DATA_COUNT(current_count) | in r500_hw_i2c_xfer() 737 for (j = 0; j < current_count; j++) in r500_hw_i2c_xfer() 739 remaining -= current_count; in r500_hw_i2c_xfer() 740 buffer_offset += current_count; in r500_hw_i2c_xfer() 745 current_count = 15; in r500_hw_i2c_xfer() 747 current_count = remaining; in r500_hw_i2c_xfer() 756 for (j = 0; j < current_count; j++) in r500_hw_i2c_xfer() [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_i2c.c | 112 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local 141 current_count = max_bytes; in amdgpu_atombios_i2c_xfer() 143 current_count = remaining; in amdgpu_atombios_i2c_xfer() 146 &p->buf[buffer_offset], current_count); in amdgpu_atombios_i2c_xfer() 149 remaining -= current_count; in amdgpu_atombios_i2c_xfer() 150 buffer_offset += current_count; in amdgpu_atombios_i2c_xfer()
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_mem.c | 128 pool->current_count = 0; in lpfc_mem_alloc() 135 pool->current_count++; in lpfc_mem_alloc() 274 for (i = 0; i < pool->current_count; i++) in lpfc_mem_free() 396 if (!ret && (mem_flags & MEM_PRI) && pool->current_count) { in lpfc_mbuf_alloc() 397 pool->current_count--; in lpfc_mbuf_alloc() 398 ret = pool->elements[pool->current_count].virt; in lpfc_mbuf_alloc() 399 *handle = pool->elements[pool->current_count].phys; in lpfc_mbuf_alloc() 424 if (pool->current_count < pool->max_count) { in __lpfc_mbuf_free() 425 pool->elements[pool->current_count].virt = virt; in __lpfc_mbuf_free() 426 pool->elements[pool->current_count].phys = dma; in __lpfc_mbuf_free() [all …]
|
H A D | lpfc.h | 158 uint32_t current_count; member
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A 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()
|