HomeSort by: relevance | last modified time | path
    Searched refs:the_fan (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.sbin/emcfanctl/
emcfanctloutputs.c 367 output_emcfan_pwm_basefreq(int fd, uint8_t product_id, int product_family, uint8_t reg, int the_fan, bool jsonify, bool debug)
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);
387 mj_append_field(&obj, "fan", "integer", (int64_t)the_fan+1);
404 output_emcfan_polarity(int fd, uint8_t product_id, int product_family, uint8_t reg, int the_fan, bool jsonify, bool debug)
421 mask = 1 << the_fan;
430 mj_append_field(&obj, "fan", "integer", (int64_t)the_fan+1);
447 output_emcfan_pwm_output_type(int fd, uint8_t product_id, int product_family, uint8_t reg, int the_fan, bool jsonify, bool debug)
460 mask = 1 << the_fan;
    [all...]
emcfanctl.c 216 int the_fan; local in function:main
466 the_fan = strtoi(argv[2], NULL, 0, 1, emcfan_chip_infos[iindex].num_fans, &error);
471 the_fan--;
490 start_reg = emcfan_chip_infos[iindex].fan_drive_registers[the_fan];
493 start_reg = emcfan_chip_infos[iindex].fan_divider_registers[the_fan];
500 fprintf(stderr,"fan subcommand minexpected_rpm / edges: the_fan=%d\n",the_fan);
502 the_fan = strtoi(argv[2], NULL, 0, 1, emcfan_chip_infos[iindex].num_tachs, &error);
507 the_fan--;
508 switch(the_fan) {
    [all...]

Completed in 20 milliseconds