Home
last modified time | relevance | path

Searched refs:fan_num (Results 1 – 6 of 6) sorted by relevance

/openbmc/openbmc-tools/pwmtachtool/src/
H A Dpwmtachtool.c63 unsigned char* fan_num,unsigned int* rpm_value, in process_arguments() argument
83 *fan_num = (unsigned char)strtol( argv[ ++i ], NULL, 10); in process_arguments()
94 *fan_num = (unsigned char)strtol( argv[ ++i ], NULL, 10); in process_arguments()
105 *fan_num = (unsigned char)strtol( argv[ ++i ], NULL, 10); in process_arguments()
116 *fan_num = (unsigned char)strtol( argv[ ++i ], NULL, 10); in process_arguments()
127 *fan_num = (unsigned char)strtol( argv[ ++i ], NULL, 10); in process_arguments()
/openbmc/skeleton/fanctl/
H A Dfan_control.c31 int fan_num; member
194 for (i = 0; i < info->fan_num; i++) { in fan_set_max_speed()
290 for (i = 0; i < info->fan_num; i++) { in fan_update_present()
447 info->fan_num = str_to_int(optarg); in parse_argument()
448 if (info->fan_num == -1) { in parse_argument()
/openbmc/linux/drivers/hwmon/
H A Ddell-smm-hwmon.c90 u8 fan_num; member
627 ret = i8k_get_fan_status(cdata->data, cdata->fan_num); in dell_smm_get_cur_state()
646 ret = i8k_set_fan(data, cdata->fan_num, (int)state); in dell_smm_set_cur_state()
958 static int __init dell_smm_init_cdev(struct device *dev, u8 fan_num) in dell_smm_init_cdev() argument
966 name = kasprintf(GFP_KERNEL, "dell-smm-fan%u", fan_num + 1); in dell_smm_init_cdev()
972 cdata->fan_num = fan_num; in dell_smm_init_cdev()
/openbmc/linux/drivers/media/pci/ddbridge/
H A Dddbridge-hw.c118 .fan_num = 1,
H A Dddbridge.h112 u8 fan_num; member
H A Dddbridge-core.c3149 for (i = 0; i < dev->link[0].info->fan_num; i++) in ddb_device_attrs_del()
3171 for (i = 0; i < dev->link[0].info->fan_num; i++) in ddb_device_attrs_add()
3379 if (dev->link[0].info->fan_num) { in ddb_init()