Home
last modified time | relevance | path

Searched refs:curr_size (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/dma/ioat/
Ddma_v2.c573 const u16 curr_size = ioat2_ring_size(ioat); in reshape_ring() local
583 if (active == curr_size) in reshape_ring()
598 if (new_size > curr_size) { in reshape_ring()
600 for (i = 0; i < curr_size; i++) { in reshape_ring()
601 u16 curr_idx = (ioat->tail+i) & (curr_size-1); in reshape_ring()
609 for (i = curr_size; i < new_size; i++) { in reshape_ring()
626 for (i = curr_size-1; i < new_size; i++) { in reshape_ring()
641 u16 curr_idx = (ioat->tail+i) & (curr_size-1); in reshape_ring()
649 for (i = new_size; i < curr_size; i++) { in reshape_ring()
/linux-2.6.39/drivers/staging/rtl8712/
Drtl8712_efuse.c362 u16 efuse_addr = 0, curr_size = 0; in r8712_efuse_pg_packet_write() local
377 curr_size = r8712_efuse_get_current_size(padapter); in r8712_efuse_pg_packet_write()
378 if ((curr_size + 1 + target_word_cnts * 2) > in r8712_efuse_pg_packet_write()
381 efuse_addr = curr_size; /* current size is also the last addr*/ in r8712_efuse_pg_packet_write()