Home
last modified time | relevance | path

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 Dia_css_circbuf_desc.h59 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 Dia_css_circbuf.h163 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 Dqueue.c179 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 Dmath_support.h152 #define OP_std_modadd(base, offset, size) ((base + offset) % (size)) macro