Searched refs:MXC_SLOT_OFFSET (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/media/platform/nxp/imx-jpeg/ |
H A D | mxc-jpeg-hw.c | 79 writel(0xFFFFFFFF, reg + MXC_SLOT_OFFSET(slot, SLOT_STATUS)); in mxc_jpeg_enable_irq() 80 writel(0xF0C, reg + MXC_SLOT_OFFSET(slot, SLOT_IRQ_EN)); in mxc_jpeg_enable_irq() 85 writel(0x0, reg + MXC_SLOT_OFFSET(slot, SLOT_IRQ_EN)); in mxc_jpeg_disable_irq() 86 writel(0xFFFFFFFF, reg + MXC_SLOT_OFFSET(slot, SLOT_STATUS)); in mxc_jpeg_disable_irq() 185 reg + MXC_SLOT_OFFSET(slot, SLOT_NXT_DESCPT_PTR)); in mxc_jpeg_set_desc() 190 writel(0, reg + MXC_SLOT_OFFSET(slot, SLOT_NXT_DESCPT_PTR)); in mxc_jpeg_clr_desc()
|
H A D | mxc-jpeg-hw.h | 68 #define MXC_SLOT_OFFSET(slot, offset) ((SLOT_BASE * ((slot) + 1)) + (offset)) macro
|
H A D | mxc-jpeg.c | 915 dec_ret = readl(reg + MXC_SLOT_OFFSET(slot, SLOT_STATUS)); in mxc_jpeg_dec_irq() 916 writel(dec_ret, reg + MXC_SLOT_OFFSET(slot, SLOT_STATUS)); /* w1c */ in mxc_jpeg_dec_irq() 956 payload = readl(reg + MXC_SLOT_OFFSET(slot, SLOT_BUF_PTR)); in mxc_jpeg_dec_irq()
|