Home | History | Annotate | Download | only in emcfanctl

Lines Matching defs:tindex

371 	int tindex;
379 tindex = find_translated_blob_by_bits_instance(fan_pwm_basefreq, __arraycount(fan_pwm_basefreq), res, the_fan);
382 fprintf(stderr,"%s: reg=%d 0x%02X, res=0x%02x, tindex=%d, the_fan=%d\n",__func__,reg,reg,res,tindex,the_fan);
388 mj_append_field(&obj, "pwm_base_frequency", "integer", (int64_t)fan_pwm_basefreq[tindex].human_int);
396 printf("PWM Base Frequency:%d\n",fan_pwm_basefreq[tindex].human_int);
619 int tindex;
628 tindex = find_translated_blob_by_bits_instance(smbus_timeout, __arraycount(smbus_timeout), res, instance);
631 fprintf(stderr,"%s: reg=%d 0x%02X, res=0x%02x, tindex=%d, instance=%d\n",__func__,reg,reg,res,tindex,instance);
634 smbusto = (res & smbus_timeout[tindex].clear_mask) ? false : true;