Searched refs:MAGIC_SIZE (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispstat.c | 25 * MAGIC_SIZE must always be the greatest common divisor of 28 #define MAGIC_SIZE 16 macro 68 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 70 buf_size & ~PAGE_MASK, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 109 for (w = buf->virt_addr, end = w + MAGIC_SIZE; w < end; w++) in isp_stat_buf_check_magic() 121 for (w = buf->virt_addr + buf_size, end = w + MAGIC_SIZE; in isp_stat_buf_check_magic() 151 memset(buf->virt_addr, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic() 152 memset(buf->virt_addr + buf_size, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic() 568 * Hack 2: MAGIC_SIZE is added to buf_size so a magic word can be in omap3isp_stat_config() 576 buf_size = user_cfg->buf_size * 2 + MAGIC_SIZE; in omap3isp_stat_config() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispstat.c | 25 * MAGIC_SIZE must always be the greatest common divisor of 28 #define MAGIC_SIZE 16 macro 68 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 70 buf_size & ~PAGE_MASK, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 109 for (w = buf->virt_addr, end = w + MAGIC_SIZE; w < end; w++) in isp_stat_buf_check_magic() 121 for (w = buf->virt_addr + buf_size, end = w + MAGIC_SIZE; in isp_stat_buf_check_magic() 151 memset(buf->virt_addr, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic() 152 memset(buf->virt_addr + buf_size, MAGIC_NUM, MAGIC_SIZE); in isp_stat_buf_insert_magic() 569 * Hack 2: MAGIC_SIZE is added to buf_size so a magic word can be in omap3isp_stat_config() 577 buf_size = user_cfg->buf_size * 2 + MAGIC_SIZE; in omap3isp_stat_config() [all...] |
Completed in 3 milliseconds