Home | History | Annotate | Line # | Download | only in emcfanctl
      1 /*	$NetBSD: emcfanctloutputs.h,v 1.1 2025/03/11 13:56:48 brad Exp $	*/
      2 
      3 /*
      4  * Copyright (c) 2025 Brad Spencer <brad (at) anduin.eldar.org>
      5  *
      6  * Permission to use, copy, modify, and distribute this software for any
      7  * purpose with or without fee is hereby granted, provided that the above
      8  * copyright notice and this permission notice appear in all copies.
      9  *
     10  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
     11  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
     12  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
     13  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
     14  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
     15  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
     16  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
     17  */
     18 
     19 #ifndef _EMCFANCTLOUTPUTS_H_
     20 #define _EMCFANCTLOUTPUTS_H_
     21 
     22 EXTERN int output_emcfan_info(int, uint8_t, int, bool, bool);
     23 EXTERN void output_emcfan_register_list(uint8_t, int, bool, bool);
     24 EXTERN int output_emcfan_register_read(int, uint8_t, int, uint8_t, uint8_t, bool, bool);
     25 EXTERN int output_emcfan_minexpected_rpm(int, uint8_t, int, uint8_t, bool, bool);
     26 EXTERN int output_emcfan_edges(int, uint8_t, int, uint8_t, bool, bool);
     27 EXTERN int output_emcfan_drive(int, uint8_t, int, uint8_t, bool, bool);
     28 EXTERN int output_emcfan_divider(int, uint8_t, int, uint8_t, bool, bool);
     29 EXTERN int output_emcfan_pwm_basefreq(int, uint8_t, int, uint8_t, int, bool, bool);
     30 EXTERN int output_emcfan_polarity(int, uint8_t, int, uint8_t, int, bool, bool);
     31 EXTERN int output_emcfan_pwm_output_type(int, uint8_t, int, uint8_t, int, bool, bool);
     32 EXTERN int output_emcfan_fan_status(int, uint8_t, int, uint8_t, uint8_t, int, bool, bool);
     33 EXTERN int output_emcfan_apd(int, uint8_t, int, uint8_t, bool, bool);
     34 EXTERN int output_emcfan_smbusto(int, uint8_t, int, uint8_t, int, bool, bool);
     35 
     36 #endif
     37