H A D | qib_iba7322.c | 88 #define BMASK(msb, lsb) (((1 << ((msb) + 1 - (lsb))) - 1) << (lsb)) macro 6050 ibsd_wr_allchans(ppd, 13, (le2 << 7), BMASK(9, 7)); qsfp_7322_event() 7935 ibsd_wr_allchans(ppd, 2, 0, BMASK(11, 9)); serdes_7322_init_old() 7938 ibsd_wr_allchans(ppd, 11, (1 << 11), BMASK(12, 11)); serdes_7322_init_old() 7944 ibsd_wr_allchans(ppd, 13, (le_val << 7), BMASK(9, 7)); serdes_7322_init_old() 7954 ibsd_wr_allchans(ppd, 5, (0 << 8), BMASK(9, 8)); serdes_7322_init_old() 7958 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 5, 8 << 11, BMASK(14, 11)); serdes_7322_init_old() 7959 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 7, 8 << 4, BMASK(7, 4)); serdes_7322_init_old() 7960 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 8, 8 << 11, BMASK(14, 11)); serdes_7322_init_old() 7961 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 8 << 4, BMASK(7, 4)); serdes_7322_init_old() 7964 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 6, 4 << 0, BMASK(3, 0)); serdes_7322_init_old() 7965 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 7, 4 << 8, BMASK(11, 8)); serdes_7322_init_old() 7966 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 9, 4 << 0, BMASK(3, 0)); serdes_7322_init_old() 7967 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 4 << 8, BMASK(11, 8)); serdes_7322_init_old() 7973 ibsd_wr_allchans(ppd, 14, (1 << 3), BMASK(5, 3)); /* QDR */ serdes_7322_init_old() 7974 ibsd_wr_allchans(ppd, 20, (2 << 10), BMASK(12, 10)); /* DDR */ serdes_7322_init_old() 7975 ibsd_wr_allchans(ppd, 20, (4 << 13), BMASK(15, 13)); /* SDR */ serdes_7322_init_old() 7983 ibsd_wr_allchans(ppd, 16, 0 << 0, BMASK(1, 0)); serdes_7322_init_old() 8012 ibsd_wr_allchans(ppd, 2, 15 << 5, BMASK(8, 5)); serdes_7322_init_old() 8034 ibsd_wr_allchans(ppd, 1, 0, BMASK(9, 1)); serdes_7322_init_new() 8036 ibsd_wr_allchans(ppd, 13, 0, BMASK(5, 5)); serdes_7322_init_new() 8038 ibsd_wr_allchans(ppd, 1, 0, BMASK(15, 15)); serdes_7322_init_new() 8040 ibsd_wr_allchans(ppd, 13, 0, BMASK(6, 6)); serdes_7322_init_new() 8042 ibsd_wr_allchans(ppd, 5, 0, BMASK(0, 0)); serdes_7322_init_new() 8044 ibsd_wr_allchans(ppd, 12, 0, BMASK(12, 12)); serdes_7322_init_new() 8046 ibsd_wr_allchans(ppd, 2, 0, BMASK(3, 3)); serdes_7322_init_new() 8048 ibsd_wr_allchans(ppd, 2, 0, BMASK(4, 4)); serdes_7322_init_new() 8050 ibsd_wr_allchans(ppd, 13, 0, BMASK(13, 13)); serdes_7322_init_new() 8052 ibsd_wr_allchans(ppd, 4, 0, BMASK(10, 10)); serdes_7322_init_new() 8054 ibsd_wr_allchans(ppd, 12, 0, BMASK(4, 4)); serdes_7322_init_new() 8056 ibsd_wr_allchans(ppd, 2, (1 << 15), BMASK(15, 15)); serdes_7322_init_new() 8058 ibsd_wr_allchans(ppd, 5, 0, BMASK(9, 8)); serdes_7322_init_new() 8060 ibsd_wr_allchans(ppd, 12, (1 << 5), BMASK(5, 5)); serdes_7322_init_new() 8062 ibsd_wr_allchans(ppd, 2, (4 << 12), BMASK(14, 12)); serdes_7322_init_new() 8064 ibsd_wr_allchans(ppd, 16, 0, BMASK(1, 0)); serdes_7322_init_new() 8067 ibsd_wr_allchans(ppd, 12, 1 << 12, BMASK(12, 12)); serdes_7322_init_new() 8068 ibsd_wr_allchans(ppd, 12, 2 << 8, BMASK(11, 8)); serdes_7322_init_new() 8070 ibsd_wr_allchans(ppd, 19, (3 << 11), BMASK(13, 11)); serdes_7322_init_new() 8081 ibsd_wr_allchans(ppd, 0, 0, BMASK(15, 13)); serdes_7322_init_new() 8084 ibsd_wr_allchans(ppd, 0, (1 << 14), BMASK(14, 14)); serdes_7322_init_new() 8087 ibsd_wr_allchans(ppd, 0, (1 << 13), BMASK(13, 13)); serdes_7322_init_new() 8092 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 5, 8 << 11, BMASK(14, 11)); serdes_7322_init_new() 8093 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 7, 8 << 4, BMASK(7, 4)); serdes_7322_init_new() 8094 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 8, 8 << 11, BMASK(14, 11)); serdes_7322_init_new() 8095 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 8 << 4, BMASK(7, 4)); serdes_7322_init_new() 8098 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 6, 4 << 0, BMASK(3, 0)); serdes_7322_init_new() 8099 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 7, 4 << 8, BMASK(11, 8)); serdes_7322_init_new() 8100 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 9, 4 << 0, BMASK(3, 0)); serdes_7322_init_new() 8101 ahb_mod(ppd->dd, IBSD(ppd->hw_pidx), 5, 10, 4 << 8, BMASK(11, 8)); serdes_7322_init_new() 8107 ibsd_wr_allchans(ppd, 14, (1 << 3), BMASK(5, 3)); /* QDR */ serdes_7322_init_new() 8108 ibsd_wr_allchans(ppd, 20, (2 << 10), BMASK(12, 10)); /* DDR */ serdes_7322_init_new() 8109 ibsd_wr_allchans(ppd, 20, (4 << 13), BMASK(15, 13)); /* SDR */ serdes_7322_init_new() 8118 ibsd_wr_allchans(ppd, 15, 1, BMASK(0, 0)); serdes_7322_init_new() 8120 ibsd_wr_allchans(ppd, 12, (1 << 4), BMASK(4, 4)); serdes_7322_init_new() 8123 ibsd_wr_allchans(ppd, 4, (1 << 10), BMASK(10, 10)); serdes_7322_init_new() 8131 if ((~rxcaldone & (u32)BMASK(9, 9)) == 0 && serdes_7322_init_new() 8144 if ((~rxcaldone & (u32)BMASK(10, 10)) == 0) serdes_7322_init_new() 8151 ibsd_wr_allchans(ppd, 4, 0, BMASK(10, 10)); serdes_7322_init_new() 8157 ibsd_wr_allchans(ppd, 13, (le_val << 7), BMASK(9, 7)); serdes_7322_init_new() 8159 ibsd_wr_allchans(ppd, 3, (7 << 5), BMASK(7, 5)); serdes_7322_init_new() 8161 ibsd_wr_allchans(ppd, 13, (1 << 6), BMASK(6, 6)); serdes_7322_init_new() 8164 ibsd_wr_allchans(ppd, 1, 1, BMASK(9, 1)); serdes_7322_init_new() 8169 ibsd_wr_allchans(ppd, 5, 0, BMASK(0, 0)); serdes_7322_init_new() 8172 ibsd_wr_allchans(ppd, 2, (15 << 5), BMASK(8, 5)); serdes_7322_init_new() 8174 ibsd_wr_allchans(ppd, 2, (1 << 4), BMASK(4, 4)); serdes_7322_init_new() 8176 ibsd_wr_allchans(ppd, 2, 0, BMASK(11, 9)); serdes_7322_init_new() 8178 ibsd_wr_allchans(ppd, 2, (1 << 3), BMASK(3, 3)); serdes_7322_init_new() 8193 ibsd_wr_allchans(ppd, 1, (0 << 15), BMASK(15, 15)); serdes_7322_init_new() 8196 ibsd_wr_allchans(ppd, 12, (1 << 12), BMASK(12, 12)); serdes_7322_init_new() 8198 ibsd_wr_allchans(ppd, 12, (1 << 13), BMASK(13, 13)); serdes_7322_init_new() 8200 ibsd_wr_allchans(ppd, 11, (1 << 11), BMASK(12, 11)); serdes_7322_init_new() 8202 ibsd_wr_allchans(ppd, 12, (3 << 2), BMASK(3, 2)); serdes_7322_init_new()
|