Home
last modified time | relevance | path

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

/arch/c6x/platforms/
Ddscr.c196 int ctl_shift, ctl_mask; in dscr_set_devstate() local
212 ctl_shift = ctl->shift + ctl->nbits * (id - ctl->start_id); in dscr_set_devstate()
213 ctl_mask = ((1 << ctl->nbits) - 1) << ctl_shift; in dscr_set_devstate()
217 ctl_val = ctl->enable << ctl_shift; in dscr_set_devstate()
222 ctl_val = ctl->disable << ctl_shift; in dscr_set_devstate()
241 ctl_shift = stat->shift + stat->nbits * (id - stat->start_id); in dscr_set_devstate()
250 val >>= ctl_shift; in dscr_set_devstate()