Searched refs:SHIFT_FIELD (Results 1 – 1 of 1) sorted by relevance
448 #define SHIFT_FIELD(val, mask) (((val) * ((mask) & -(mask))) & (mask)) macro637 SHIFT_FIELD(desc->ad1843_slot, LI_CCFG_SLOT) | in li_setup_dma()647 SHIFT_FIELD(size, LI_CCTL_SIZE) | in li_setup_dma()649 SHIFT_FIELD(tmask, LI_CCTL_TMASK) | in li_setup_dma()650 SHIFT_FIELD(0, LI_CCTL_TPTR)); in li_setup_dma()751 chan->ctlval = (chan->ctlval & ~mask) | SHIFT_FIELD(val, mask); in li_write_swptr()