Home
last modified time | relevance | path

Searched refs:a_blocks (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/host/
H A Doxu210hp-hcd.c910 int a_blocks; /* blocks allocated */ in oxu_buf_alloc() local
925 for (a_blocks = 1; a_blocks < n_blocks; a_blocks <<= 1) in oxu_buf_alloc()
930 i += max(a_blocks, (int)oxu->db_used[i])) { in oxu_buf_alloc()
933 for (j = 0; j < a_blocks; j++) in oxu_buf_alloc()
937 if (j != a_blocks) in oxu_buf_alloc()
944 qtd->qtd_buffer_len = BUFFER_SIZE * a_blocks; in oxu_buf_alloc()
945 oxu->db_used[i] = a_blocks; in oxu_buf_alloc()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Doxu210hp-hcd.c910 int a_blocks; /* blocks allocated */ in oxu_buf_alloc() local
925 for (a_blocks = 1; a_blocks < n_blocks; a_blocks <<= 1) in oxu_buf_alloc()
930 i += max(a_blocks, (int)oxu->db_used[i])) { in oxu_buf_alloc()
933 for (j = 0; j < a_blocks; j++) in oxu_buf_alloc()
937 if (j != a_blocks) in oxu_buf_alloc()
944 qtd->qtd_buffer_len = BUFFER_SIZE * a_blocks; in oxu_buf_alloc()
945 oxu->db_used[i] = a_blocks; in oxu_buf_alloc()

Completed in 11 milliseconds