Lines Matching refs:msk

141 	uint32_t msk;  in set_rcvn()  local
156 msk = (byte_lane & 1) ? 0xf00000 : 0xf00; in set_rcvn()
159 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_rcvn()
172 msk = 0x3f000000; in set_rcvn()
174 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_rcvn()
183 msk = 0x00; in set_rcvn()
187 msk |= (byte_lane & 1) ? (1 << 5) : (1 << 2); in set_rcvn()
189 temp |= msk; in set_rcvn()
192 msk |= (byte_lane & 1) ? (1 << 11) : (1 << 8); in set_rcvn()
194 temp |= msk; in set_rcvn()
196 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_rcvn()
265 uint32_t msk; in set_rdqs() local
280 msk = 0x7f; in set_rdqs()
282 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_rdqs()
335 uint32_t msk; in set_wdqs() local
350 msk = (byte_lane & 1) ? 0xf0000 : 0xf0; in set_wdqs()
353 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wdqs()
366 msk = 0x3f0000; in set_wdqs()
368 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wdqs()
377 msk = 0x00; in set_wdqs()
381 msk |= (byte_lane & 1) ? (1 << 4) : (1 << 1); in set_wdqs()
383 temp |= msk; in set_wdqs()
386 msk |= (byte_lane & 1) ? (1 << 10) : (1 << 7); in set_wdqs()
388 temp |= msk; in set_wdqs()
390 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wdqs()
459 uint32_t msk; in set_wdq() local
474 msk = (byte_lane & 1) ? 0xf000 : 0xf; in set_wdq()
477 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wdq()
490 msk = 0x3f00; in set_wdq()
492 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wdq()
501 msk = 0x00; in set_wdq()
505 msk |= (byte_lane & 1) ? (1 << 3) : (1 << 0); in set_wdq()
507 temp |= msk; in set_wdq()
510 msk |= (byte_lane & 1) ? (1 << 9) : (1 << 6); in set_wdq()
512 temp |= msk; in set_wdq()
514 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wdq()
580 uint32_t msk; in set_wcmd() local
590 msk = 0xf00; in set_wcmd()
593 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wcmd()
610 msk = 0x3f3f3f3f; in set_wcmd()
614 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wcmd()
616 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wcmd()
624 msk = 0x00; in set_wcmd()
628 msk |= (1 << 16); in set_wcmd()
630 temp |= msk; in set_wcmd()
633 msk |= (1 << 17); in set_wcmd()
635 temp |= msk; in set_wcmd()
637 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wcmd()
701 uint32_t msk; in set_wclk() local
712 msk = 0xff00; in set_wclk()
714 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wclk()
726 msk = 0x3f3f00; in set_wclk()
728 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wclk()
732 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wclk()
736 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wclk()
740 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wclk()
748 msk = 0x00; in set_wclk()
752 msk |= 0xf; in set_wclk()
754 temp |= msk; in set_wclk()
757 msk |= 0xf00; in set_wclk()
759 temp |= msk; in set_wclk()
761 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wclk()
822 uint32_t msk; in set_wctl() local
833 msk = 0xff000000; in set_wctl()
835 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wctl()
846 msk = 0x3f000000; in set_wctl()
848 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wctl()
851 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wctl()
854 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wctl()
857 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wctl()
865 msk = 0x00; in set_wctl()
869 msk |= 0x30; in set_wctl()
871 temp |= msk; in set_wctl()
874 msk |= 0x3000; in set_wctl()
876 temp |= msk; in set_wctl()
878 mrc_alt_write_mask(DDRPHY, reg, temp, msk); in set_wctl()
1030 uint32_t msk[2]; /* BLx in module */ in sample_dqs() local
1039 msk[0] = rcvn ? (1 << 1) : (1 << 9); /* BL0 */ in sample_dqs()
1040 msk[1] = rcvn ? (1 << 0) : (1 << 8); /* BL1 */ in sample_dqs()
1069 if (sampled_val[j] & msk[bl]) in sample_dqs()