Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/pci/intel/ipu3/
H A Dipu3-cio2.c786 for (i = 0; i < CIO2_MAX_BUFFERS; i++) { in cio2_vb2_return_all_buffers()
821 for (i = 0; i < CIO2_MAX_BUFFERS; i++) { in cio2_vb2_queue_setup()
927 fbpt_rp = (fbpt_rp + 1) % CIO2_MAX_BUFFERS; in cio2_vb2_buf_queue()
931 next = (fbpt_rp + 1) % CIO2_MAX_BUFFERS; in cio2_vb2_buf_queue()
933 for (i = 0; i < CIO2_MAX_BUFFERS; i++) { in cio2_vb2_buf_queue()
953 next = (next + 1) % CIO2_MAX_BUFFERS; in cio2_vb2_buf_queue()
1946 i++, j = (j + 1) % CIO2_MAX_BUFFERS) in cio2_fbpt_rearrange()
1950 if (i == CIO2_MAX_BUFFERS) in cio2_fbpt_rearrange()
1955 CIO2_MAX_BUFFERS, j); in cio2_fbpt_rearrange()
1957 CIO2_MAX_BUFFERS, j); in cio2_fbpt_rearrange()
[all …]
H A 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 * \