Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Datombios_i2c.c105 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()
Dradeon_i2c.c581 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 …]
/drivers/gpu/drm/amd/amdgpu/
Datombios_i2c.c112 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()
/drivers/scsi/lpfc/
Dlpfc_mem.c105 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 …]
Dlpfc.h158 uint32_t current_count; member
/drivers/net/wireless/intel/iwlegacy/
D3945-rs.c430 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()
/drivers/clocksource/
Ddw_apb_timer.c348 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()