Home
last modified time | relevance | path

Searched refs:current_count (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/radeon/
Datombios_i2c.c110 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()
Dradeon_i2c.c586 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 …]
/drivers/scsi/lpfc/
Dlpfc_mem.c121 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 …]
Dlpfc.h128 uint32_t current_count; member
/drivers/acpi/
Dprocessor_idle.c339 int current_count; in acpi_processor_get_power_info_cst() local
348 current_count = 0; in acpi_processor_get_power_info_cst()
414 current_count++; in acpi_processor_get_power_info_cst()
417 cx.index = current_count + 1; in acpi_processor_get_power_info_cst()
470 current_count++; in acpi_processor_get_power_info_cst()
471 memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx)); in acpi_processor_get_power_info_cst()
477 if (current_count >= (ACPI_PROCESSOR_MAX_POWER - 1)) { in acpi_processor_get_power_info_cst()
488 current_count)); in acpi_processor_get_power_info_cst()
491 if (current_count < 2) in acpi_processor_get_power_info_cst()
/drivers/net/wireless/iwlegacy/
D3945-rs.c449 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()
/drivers/clocksource/
Ddw_apb_timer.c320 unsigned long current_count; in __apbt_read_clocksource() local
324 current_count = apbt_readl(&dw_cs->timer, APBTMR_N_CURRENT_VALUE); in __apbt_read_clocksource()
326 return (cycle_t)~current_count; in __apbt_read_clocksource()