Searched refs:CIO2_MAX_BUFFERS (Results 1 – 2 of 2) sorted by relevance
352 const u32 num_buffers1 = CIO2_MAX_BUFFERS - 1; in cio2_hw_init()581 q->bufs_first = (q->bufs_first + 1) % CIO2_MAX_BUFFERS; in cio2_buffer_done()784 for (i = 0; i < CIO2_MAX_BUFFERS; i++) { in cio2_vb2_return_all_buffers()816 *num_buffers = clamp_val(*num_buffers, 1, CIO2_MAX_BUFFERS); in cio2_vb2_queue_setup()819 for (i = 0; i < CIO2_MAX_BUFFERS; i++) { in cio2_vb2_queue_setup()925 fbpt_rp = (fbpt_rp + 1) % CIO2_MAX_BUFFERS; in cio2_vb2_buf_queue()929 next = (fbpt_rp + 1) % CIO2_MAX_BUFFERS; in cio2_vb2_buf_queue()931 for (i = 0; i < CIO2_MAX_BUFFERS; i++) { in cio2_vb2_buf_queue()943 q->bufs_next = (next + 1) % CIO2_MAX_BUFFERS; in cio2_vb2_buf_queue()951 next = (next + 1) % CIO2_MAX_BUFFERS; in cio2_vb2_buf_queue()[all …]
39 #define CIO2_MAX_BUFFERS (PAGE_SIZE / 16 / CIO2_MAX_LOPS) macro372 struct cio2_buffer *bufs[CIO2_MAX_BUFFERS];414 #define CIO2_FBPT_SIZE (CIO2_MAX_BUFFERS * CIO2_MAX_LOPS * \