Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/ipu-v3/
Dipu-common.c250 #define idma_mask(ch) (1 << ((ch) & 0x1f)) macro
268 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_CUR_BUF(chno)); in __ipu_idmac_reset_current_buffer()
282 reg |= idma_mask(channel->num); in ipu_idmac_set_double_buffer()
284 reg &= ~idma_mask(channel->num); in ipu_idmac_set_double_buffer()
427 return (ipu_cm_read(ipu, IPU_CHA_CUR_BUF(chno)) & idma_mask(chno)) ? 1 : 0; in ipu_idmac_get_current_buffer()
451 return ((reg & idma_mask(channel->num)) != 0); in ipu_idmac_buffer_is_ready()
465 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF0_RDY(chno)); in ipu_idmac_select_buffer()
467 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF1_RDY(chno)); in ipu_idmac_select_buffer()
484 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF0_RDY(chno)); in ipu_idmac_clear_buffer()
487 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF1_RDY(chno)); in ipu_idmac_clear_buffer()
[all …]