Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.c166 int nbits_l, nbits_h; in mtk_hw_write_cross_field() local
168 mtk_hw_bits_part(pf, &nbits_h, &nbits_l); in mtk_hw_write_cross_field()
174 (value & pf->mask) >> nbits_l); in mtk_hw_write_cross_field()
180 int nbits_l, nbits_h, h, l; in mtk_hw_read_cross_field() local
182 mtk_hw_bits_part(pf, &nbits_h, &nbits_l); in mtk_hw_read_cross_field()
185 >> pf->bitpos) & (BIT(nbits_l) - 1); in mtk_hw_read_cross_field()
189 *value = (h << nbits_l) | l; in mtk_hw_read_cross_field()