Searched refs:current_count (Results 1 – 7 of 7) sorted by relevance
/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 …]
|
/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()
|
/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
|
/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()
|
/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()
|