Lines Matching refs:vals

94 	u32 params[7], vals[7];  in t4vf_get_sge_params()  local
113 v = t4vf_query_params(adapter, 7, params, vals); in t4vf_get_sge_params()
117 sp->sge_control = vals[0]; in t4vf_get_sge_params()
118 sp->counter_val[0] = G_THRESHOLD_0(vals[6]); in t4vf_get_sge_params()
119 sp->counter_val[1] = G_THRESHOLD_1(vals[6]); in t4vf_get_sge_params()
120 sp->counter_val[2] = G_THRESHOLD_2(vals[6]); in t4vf_get_sge_params()
121 sp->counter_val[3] = G_THRESHOLD_3(vals[6]); in t4vf_get_sge_params()
122 sp->timer_val[0] = core_ticks_to_us(adapter, G_TIMERVALUE0(vals[2])); in t4vf_get_sge_params()
123 sp->timer_val[1] = core_ticks_to_us(adapter, G_TIMERVALUE1(vals[2])); in t4vf_get_sge_params()
124 sp->timer_val[2] = core_ticks_to_us(adapter, G_TIMERVALUE2(vals[3])); in t4vf_get_sge_params()
125 sp->timer_val[3] = core_ticks_to_us(adapter, G_TIMERVALUE3(vals[3])); in t4vf_get_sge_params()
126 sp->timer_val[4] = core_ticks_to_us(adapter, G_TIMERVALUE4(vals[4])); in t4vf_get_sge_params()
127 sp->timer_val[5] = core_ticks_to_us(adapter, G_TIMERVALUE5(vals[4])); in t4vf_get_sge_params()
129 sp->fl_starve_threshold = G_EGRTHRESHOLD(vals[5]) * 2 + 1; in t4vf_get_sge_params()
133 sp->fl_starve_threshold2 = G_EGRTHRESHOLDPACKING(vals[5]) * 2 + 1; in t4vf_get_sge_params()
135 sp->fl_starve_threshold2 = G_T6_EGRTHRESHOLDPACKING(vals[5]) * 2 + 1; in t4vf_get_sge_params()
149 sp->page_shift = ((vals[1] >> s_hps) & M_HOSTPAGESIZEPF0) + 10; in t4vf_get_sge_params()
154 v = t4vf_query_params(adapter, 1, params, vals); in t4vf_get_sge_params()
158 sp->sge_fl_buffer_size[i] = vals[0]; in t4vf_get_sge_params()
186 v = t4vf_query_params(adapter, 1, params, vals); in t4vf_get_sge_params()
192 if (G_INGPACKBOUNDARY(vals[0]) == 0) in t4vf_get_sge_params()
195 sp->pack_boundary = 1 << (G_INGPACKBOUNDARY(vals[0]) + in t4vf_get_sge_params()
211 v = t4vf_query_params(adapter, 2, params, vals); in t4vf_get_sge_params()
220 sp->eq_s_qpp = ((vals[0] >> s_qpp) & M_QUEUESPERPAGEPF0); in t4vf_get_sge_params()
221 sp->iq_s_qpp = ((vals[1] >> s_qpp) & M_QUEUESPERPAGEPF0); in t4vf_get_sge_params()