Lines Matching defs:temp
196 struct mlx5_fpga_temperature *temp)
202 MLX5_SET(mtmp_reg, in, sensor_index, temp->index);
204 ((temp->index < MLX5_FPGA_INTERNAL_SENSORS_LOW) ||
205 (temp->index > MLX5_FPGA_INTERNAL_SENSORS_HIGH)) ? 1 : 0);
212 temp->index = MLX5_GET(mtmp_reg, out, sensor_index);
213 temp->temperature = MLX5_GET(mtmp_reg, out, temperature);
214 temp->mte = MLX5_GET(mtmp_reg, out, mte);
215 temp->max_temperature = MLX5_GET(mtmp_reg, out, max_temperature);
216 temp->tee = MLX5_GET(mtmp_reg, out, tee);
217 temp->temperature_threshold_hi = MLX5_GET(mtmp_reg, out,
219 temp->temperature_threshold_lo = MLX5_GET(mtmp_reg, out,
221 memcpy(temp->sensor_name, MLX5_ADDR_OF(mtmp_reg, out, sensor_name),