Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/ipu-v3/
Dipu-common.c315 #define idma_mask(ch) (1 << ((ch) & 0x1f)) macro
333 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_CUR_BUF(chno)); in __ipu_idmac_reset_current_buffer()
347 reg |= idma_mask(channel->num); in ipu_idmac_set_double_buffer()
349 reg &= ~idma_mask(channel->num); in ipu_idmac_set_double_buffer()
492 return (ipu_cm_read(ipu, IPU_CHA_CUR_BUF(chno)) & idma_mask(chno)) ? 1 : 0; in ipu_idmac_get_current_buffer()
516 return ((reg & idma_mask(channel->num)) != 0); in ipu_idmac_buffer_is_ready()
530 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF0_RDY(chno)); in ipu_idmac_select_buffer()
532 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF1_RDY(chno)); in ipu_idmac_select_buffer()
549 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF0_RDY(chno)); in ipu_idmac_clear_buffer()
552 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF1_RDY(chno)); in ipu_idmac_clear_buffer()
[all …]