/linux-6.6.21/tools/power/cpupower/utils/idle_monitor/ |
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 | hsw_ext_idle.c | 58 static unsigned long long *current_count[HSW_EXT_CSTATE_COUNT]; variable 97 (current_count[id][cpu] - previous_count[id][cpu])) / in hsw_ext_get_count_percent() 102 current_count[id][cpu], cpu); in hsw_ext_get_count_percent() 107 current_count[id][cpu] - previous_count[id][cpu], in hsw_ext_get_count_percent() 138 current_count[num][cpu] = val; in hsw_ext_stop() 165 current_count[num] = calloc(cpu_count, in hsw_ext_register() 178 free(current_count[num]); in hsw_ext_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-6.6.21/drivers/gpu/drm/radeon/ |
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()
|
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-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
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-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 105 pool->current_count = 0; in lpfc_mem_alloc() 112 pool->current_count++; in lpfc_mem_alloc() 251 for (i = 0; i < pool->current_count; i++) in lpfc_mem_free() 389 if (!ret && (mem_flags & MEM_PRI) && pool->current_count) { in lpfc_mbuf_alloc() 390 pool->current_count--; in lpfc_mbuf_alloc() 391 ret = pool->elements[pool->current_count].virt; in lpfc_mbuf_alloc() 392 *handle = pool->elements[pool->current_count].phys; in lpfc_mbuf_alloc() 417 if (pool->current_count < pool->max_count) { in __lpfc_mbuf_free() 418 pool->elements[pool->current_count].virt = virt; in __lpfc_mbuf_free() 419 pool->elements[pool->current_count].phys = dma; in __lpfc_mbuf_free() [all …]
|
D | lpfc.h | 158 uint32_t current_count; member
|
/linux-6.6.21/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-6.6.21/drivers/clocksource/ |
D | dw_apb_timer.c | 348 u32 current_count; in __apbt_read_clocksource() local 352 current_count = apbt_readl_relaxed(&dw_cs->timer, in __apbt_read_clocksource() 355 return (u64)~current_count; in __apbt_read_clocksource()
|