Searched refs:ctl_shift (Results 1 – 1 of 1) sorted by relevance
193 int ctl_shift, ctl_mask; in dscr_set_devstate() local209 ctl_shift = ctl->shift + ctl->nbits * (id - ctl->start_id); in dscr_set_devstate()210 ctl_mask = ((1 << ctl->nbits) - 1) << ctl_shift; in dscr_set_devstate()214 ctl_val = ctl->enable << ctl_shift; in dscr_set_devstate()219 ctl_val = ctl->disable << ctl_shift; in dscr_set_devstate()238 ctl_shift = stat->shift + stat->nbits * (id - stat->start_id); in dscr_set_devstate()247 val >>= ctl_shift; in dscr_set_devstate()