Searched refs:OP_std_modadd (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/staging/media/atomisp/pci/base/circbuf/interface/ |
H A D | ia_css_circbuf_desc.h | 59 return (OP_std_modadd(cb_desc->end, 1, cb_desc->size) == cb_desc->start); in ia_css_circbuf_desc_is_full() 101 dest = OP_std_modadd(base, offset, cb_desc->size); in ia_css_circbuf_desc_get_pos_at_offset()
|
H A D | ia_css_circbuf.h | 163 dest = OP_std_modadd(base, offset, cb->desc->size); in ia_css_circbuf_get_pos_at_offset()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/queue/src/ |
H A D | queue.c | 179 cb_desc.start = OP_std_modadd(cb_desc.start, 1, cb_desc.size); in ia_css_queue_dequeue() 327 offset = OP_std_modadd(cb_desc.start, offset, cb_desc.size); in ia_css_queue_peek()
|
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | math_support.h | 152 #define OP_std_modadd(base, offset, size) ((base + offset) % (size)) macro
|