Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/media/pci/intel/ipu3/
Dipu3-cio2-main.c352 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 …]
Dipu3-cio2.h39 #define CIO2_MAX_BUFFERS (PAGE_SIZE / 16 / CIO2_MAX_LOPS) macro
372 struct cio2_buffer *bufs[CIO2_MAX_BUFFERS];
414 #define CIO2_FBPT_SIZE (CIO2_MAX_BUFFERS * CIO2_MAX_LOPS * \