Lines Matching refs:ptemp
497 u8 *ptemp) in set_slope_register() argument
502 dt = ptemp[2]-ptemp[1]; in set_slope_register()
507 tmp |= (ptemp[1] & 0x7C) << 1; in set_slope_register()
526 u8 *ptemp; in set_temp_auto_point_temp() local
536 ptemp = data->temp1_auto_point_temp; in set_temp_auto_point_temp()
540 ptemp = data->temp2_auto_point_temp; in set_temp_auto_point_temp()
553 ptemp[0] = clamp_val(val / 1000, 0, in set_temp_auto_point_temp()
555 ptemp[0] = clamp_val(ptemp[0], 0, in set_temp_auto_point_temp()
557 ptemp[0] = clamp_val(ptemp[0], 0, 63); in set_temp_auto_point_temp()
561 ptemp[0])) { in set_temp_auto_point_temp()
568 ptemp[1] = clamp_val(val / 1000, (ptemp[0] & 0x7C) + 4, 124); in set_temp_auto_point_temp()
569 ptemp[1] &= 0x7C; in set_temp_auto_point_temp()
570 ptemp[2] = clamp_val(ptemp[2], ptemp[1] + 1, 255); in set_temp_auto_point_temp()
573 ptemp[2] = clamp_val(val / 1000, ptemp[1]+1, 255); in set_temp_auto_point_temp()
581 if (set_slope_register(client, reg, dpwm, ptemp)) in set_temp_auto_point_temp()