Searched refs:CH_MASK (Results 1 – 2 of 2) sorted by relevance
26 return mmio_read_32(TEGRA_RES_SEMA_BASE + STA_OFFSET) & CH_MASK(ch); in channel_field()41 mmio_write_32(TEGRA_RES_SEMA_BASE + CLR_OFFSET, CH_MASK(ch)); in signal_slave()
22 #define CH_MASK(ch) ((uint32_t)0x3 << ((ch) * 2U)) macro