Lines Matching full:mux2
239 struct __mux2 mux2; member
989 struct __mux2 *mux2 = &entry->region.mux2; in qlcnic_read_mux2() local
994 sel_val1 = mux2->sel_val1; in qlcnic_read_mux2()
995 sel_val2 = mux2->sel_val2; in qlcnic_read_mux2()
997 for (i = 0; i < mux2->no_ops; i++) { in qlcnic_read_mux2()
998 qlcnic_ind_wr(adapter, mux2->sel_addr1, sel_val1); in qlcnic_read_mux2()
999 t_sel_val = sel_val1 & mux2->sel_val_mask; in qlcnic_read_mux2()
1000 qlcnic_ind_wr(adapter, mux2->sel_addr2, t_sel_val); in qlcnic_read_mux2()
1001 data = qlcnic_ind_rd(adapter, mux2->read_addr); in qlcnic_read_mux2()
1004 qlcnic_ind_wr(adapter, mux2->sel_addr1, sel_val2); in qlcnic_read_mux2()
1005 t_sel_val = sel_val2 & mux2->sel_val_mask; in qlcnic_read_mux2()
1006 qlcnic_ind_wr(adapter, mux2->sel_addr2, t_sel_val); in qlcnic_read_mux2()
1007 data = qlcnic_ind_rd(adapter, mux2->read_addr); in qlcnic_read_mux2()
1010 sel_val1 += mux2->sel_val_stride; in qlcnic_read_mux2()
1011 sel_val2 += mux2->sel_val_stride; in qlcnic_read_mux2()
1014 return mux2->no_ops * (4 * sizeof(u32)); in qlcnic_read_mux2()