Searched refs:nbits_l (Results 1 – 1 of 1) sorted by relevance
1026 int nbits_l, nbits_h; in mtk_hw_write_cross_field() local1028 mtk_hw_bits_part(pf, &nbits_h, &nbits_l); in mtk_hw_write_cross_field()1034 (value & pf->mask) >> nbits_l); in mtk_hw_write_cross_field()1040 int nbits_l, nbits_h, h, l; in mtk_hw_read_cross_field() local1042 mtk_hw_bits_part(pf, &nbits_h, &nbits_l); in mtk_hw_read_cross_field()1044 l = (mtk_r32(hw, pf->offset) >> pf->bitpos) & (BIT(nbits_l) - 1); in mtk_hw_read_cross_field()1047 *value = (h << nbits_l) | l; in mtk_hw_read_cross_field()