/dports/sysutils/freeipmi/freeipmi-1.6.8/libfreeipmi/interpret/ |
H A D | ipmi-interpret.c | 404 sensor_type); 494 uint8_t sensor_type, 660 uint8_t sensor_type; 705 sensor_type, 892 sensor_type, 984 sensor_type, 1072 uint8_t sensor_type, 1091 sensor_type); 1136 uint8_t sensor_type, 1405 sensor_type, [all …]
|
/dports/net-mgmt/observium/observium/includes/discovery/sensors/ |
H A D | hwg-pwr-mib.inc.php | 46 $sensor_type = FALSE; variable 53 $sensor_type = 'volume'; variable 59 $sensor_type = 'energy'; variable 65 $sensor_type = 'power'; variable 68 $sensor_type = 'voltage'; variable 71 $sensor_type = 'current'; variable 76 $sensor_type = 'powerfactor'; variable 80 $sensor_type = 'counter'; variable 84 if (in_array($sensor_type, ['counter', 'energy'])) 89 elseif ($sensor_type) [all …]
|
H A D | better-networks-ethernetbox-mib.inc.php | 53 $sensor_type = FALSE; variable 58 $sensor_type = 'temperature'; variable 62 $sensor_type = 'illuminance'; variable 65 $sensor_type = 'humidity'; variable 70 if ($sensor_type) 72 …discover_sensor_ng($device, $sensor_type, $mib, $oid_name, $oid_num, $index, NULL, $descr, $scale,…
|
H A D | ste2-mib.inc.php | 50 $sensor_type = 'temperature'; variable 53 $sensor_type = 'temperature'; variable 57 $sensor_type = 'temperature'; variable 61 $sensor_type = 'humidity'; variable 69 … discover_sensor($sensor_type, $device, $oid_num, $index, $type, $descr, $scale, $value, $options);
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/mpm/python/usrp_mpm/sys_utils/ |
H A D | sysfs_thermal.py | 11 def read_sysfs_sensors_value(sensor_type, data_probe, subsystem, attribute): argument 27 .match_attribute(attribute, sensor_type)] 30 def read_thermal_sensors_value(sensor_type, data_probe, subsystem='thermal', attribute='type'): argument 42 return read_sysfs_sensors_value(sensor_type, data_probe, subsystem, attribute) 44 def read_thermal_sensor_value(sensor_type, data_probe, subsystem='thermal', attribute='type'): argument 56 sensor_val = read_thermal_sensors_value(sensor_type, data_probe, subsystem, attribute) 58 raise IndexError("No {} attribute found for {} sensor.".format(data_probe, sensor_type))
|
/dports/sysutils/freeipmi/freeipmi-1.6.8/common/toolcommon/ |
H A D | tool-sensor-common.c | 99 assert (sensor_type); in _get_sensor_type_cmdline_string() 101 _str_replace_char (sensor_type, ' ', '_'); in _get_sensor_type_cmdline_string() 102 _str_replace_char (sensor_type, '/', '_'); in _get_sensor_type_cmdline_string() 327 uint8_t sensor_type) in _sensor_type_strcmp() argument 344 if ((uint8_t)value == sensor_type) in _sensor_type_strcmp() 384 uint8_t sensor_type, in sensor_type_listed() argument 416 uint8_t sensor_type; in sensor_type_listed_sdr() local 453 sensor_type, in sensor_type_listed_sdr() 465 column_width->sensor_type = 0; in _sensor_column_width_init() 500 uint8_t sensor_type; in _store_column_widths() local [all …]
|
/dports/net-mgmt/observium/observium/html/pages/device/overview/ |
H A D | sensors.inc.php | 16 foreach ($sensor_types as $sensor_type) 23 foreach (dbFetchRows($sql, array($sensor_type, $device['device_id'])) as $entry) 31 $sensors_db[$sensor_type][$entry['sensor_id']] = $entry; 97 foreach ($sensors_db as $sensor_type => $sensors) 99 if ($sensor_type == 'measured') { continue; } // Just be on the safe side 103 $box_args = array('title' => nicecase($sensor_type), 104 …age' => 'device', 'device' => $device['device_id'], 'tab' => 'health', 'metric' => $sensor_type)), 105 'icon' => $config['sensor_types'][$sensor_type]['icon'],
|
/dports/sysutils/freeipmi/freeipmi-1.6.8/libfreeipmi/include/freeipmi/util/ |
H A D | ipmi-sensor-and-event-code-tables-util.h | 53 int ipmi_get_sensor_type_message (uint8_t sensor_type, 67 int ipmi_get_sensor_type_message_short (uint8_t sensor_type, 73 int ipmi_get_event_data2_message (uint8_t sensor_type, 80 int ipmi_get_event_data3_message (uint8_t sensor_type, 101 uint8_t sensor_type, 113 uint8_t sensor_type, 125 uint8_t sensor_type, 170 … uint8_t sensor_type, /* ignored if not relevant for event_reading_type_code */
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/tests/ |
H A D | sensors_c_test.c | 31 uhd_sensor_value_data_type_t sensor_type; in main() local 98 &sensor_type in main() 101 if(sensor_type != UHD_SENSOR_VALUE_BOOLEAN){ in main() 104 sensor_type, UHD_SENSOR_VALUE_BOOLEAN); in main() 183 &sensor_type in main() 186 if(sensor_type != UHD_SENSOR_VALUE_INTEGER){ in main() 189 sensor_type, UHD_SENSOR_VALUE_INTEGER); in main() 268 &sensor_type in main() 271 if(sensor_type != UHD_SENSOR_VALUE_REALNUM){ in main() 354 &sensor_type in main() [all …]
|
/dports/sysutils/freeipmi/freeipmi-1.6.8/libipmimonitoring/ |
H A D | ipmi_monitoring_sensor_reading.c | 118 int sensor_type, 150 s->sensor_type = sensor_type; 220 s->sensor_type = sensor_type; 260 uint8_t sensor_type, 271 sensor_type, 500 sensor_type, 532 int sensor_type, 793 int sensor_type, 944 int sensor_type, 1093 int sensor_type, [all …]
|
/dports/sysutils/freeipmi/freeipmi-1.6.8/libfreeipmi/sel/ |
H A D | ipmi-sel-string-dell-poweredge.c | 278 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_PROCESSOR 282 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_PROCESSOR 312 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_PROCESSOR 344 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_POWER_SUPPLY 390 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY 1116 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY 1265 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_PROCESSOR 1454 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY 1776 && ((system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY 1785 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY [all …]
|
H A D | ipmi-sel-string-intel-e52600v3-common.c | 579 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data2_discrete_oem() 612 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data2_discrete_oem() 643 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data2_discrete_oem() 681 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data2_discrete_oem() 725 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data2_discrete_oem() 1274 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data3_discrete_oem() 1457 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data3_discrete_oem() 1476 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data3_discrete_oem() 1507 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data3_discrete_oem() 1519 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_e52600v3_event_data3_discrete_oem() [all …]
|
H A D | ipmi-sel-string-fujitsu-irmc-common.c | 346 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_I2C_BUS in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() 348 || system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_MEMORY_STATUS in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() 349 || system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_MEMORY_CONFIG in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() 350 || system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_MEMORY in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() 351 || system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_HW_ERROR in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() 352 || system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_SYS_ERROR in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() 353 || system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_FAN_STATUS in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() 354 || system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_PSU_STATUS in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() 355 || system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_PSU_REDUNDANCY in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() 356 || system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_OEM_FUJITSU_FLASH in sel_string_output_fujitsu_irmc_common_event_data1_class_sensor_specific_discrete() [all …]
|
H A D | ipmi-sel-string-intel-windmill.c | 364 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_PROCESSOR in sel_string_output_intel_windmill_event_data2_discrete_oem() 380 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_windmill_event_data2_discrete_oem() 396 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_PROCESSOR in sel_string_output_intel_windmill_event_data2_discrete_oem() 409 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_CRITICAL_INTERRUPT in sel_string_output_intel_windmill_event_data2_discrete_oem() 433 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_windmill_event_data2_discrete_oem() 536 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_CRITICAL_INTERRUPT in sel_string_output_intel_windmill_event_data2_class_oem() 583 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_PROCESSOR in sel_string_output_intel_windmill_event_data3_discrete_oem() 600 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_windmill_event_data3_discrete_oem() 627 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_PROCESSOR in sel_string_output_intel_windmill_event_data3_discrete_oem() 688 if (system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_CRITICAL_INTERRUPT in sel_string_output_intel_windmill_event_data3_discrete_oem() [all …]
|
H A D | ipmi-sel-string-intel-quanta-qssc-s4r.c | 163 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data1_class_oem() 196 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data1_class_oem() 218 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data1_class_oem() 357 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data2_discrete_oem() 767 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data3_discrete_oem() 847 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data3_discrete_oem() 852 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data3_discrete_oem() 885 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data3_discrete_oem() 892 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data3_discrete_oem() 1048 && system_event_record_data->sensor_type == IPMI_SENSOR_TYPE_MEMORY in sel_string_output_intel_quanta_qssc_s4r_event_data2_event_data3() [all …]
|
/dports/sysutils/freeipmi/freeipmi-1.6.8/libfreeipmi/util/ |
H A D | ipmi-sensor-and-event-code-tables-util.c | 1242 ipmi_get_sensor_type_message (uint8_t sensor_type, in ipmi_get_sensor_type_message() argument 1254 switch (sensor_type) in ipmi_get_sensor_type_message() 1545 switch (sensor_type) in ipmi_get_sensor_type_message_short() 1734 ipmi_get_event_data2_message (uint8_t sensor_type, in ipmi_get_event_data2_message() argument 1746 switch (sensor_type) in ipmi_get_event_data2_message() 1779 ipmi_get_event_data3_message (uint8_t sensor_type, in ipmi_get_event_data3_message() argument 1792 switch (sensor_type) in ipmi_get_event_data3_message() 1888 switch (sensor_type) in ipmi_get_oem_sensor_type_message() 1933 switch (sensor_type) in ipmi_get_oem_sensor_type_message() 2022 switch (sensor_type) in ipmi_get_oem_sensor_type_message() [all …]
|
/dports/x11-wm/enlightenment/enlightenment-0.24.2/src/modules/sysinfo/thermal/ |
H A D | thermal_sysctl.c | 65 if ((!tth->sensor_type) || in init() 80 tth->sensor_type = SENSOR_TYPE_FREEBSD; in init() 102 tth->sensor_type = SENSOR_TYPE_OPENBSD; in init() 108 tth->sensor_type = SENSOR_TYPE_OPENBSD; in init() 115 if ((tth->sensor_type) && (tth->sensor_name) && (!tth->sensor_path)) in init() 117 if (tth->sensor_type == SENSOR_TYPE_FREEBSD) in init() 129 else if (tth->sensor_type == SENSOR_TYPE_OPENBSD) in init() 165 if (tth->sensor_type == SENSOR_TYPE_FREEBSD) in check() 178 else if (tth->sensor_type == SENSOR_TYPE_OPENBSD) in check() 194 tth->sensor_type = SENSOR_TYPE_NONE; in check()
|
H A D | thermal_fallback.c | 65 if ((!tth->sensor_type) || in init() 79 tth->sensor_type = SENSOR_TYPE_LINUX_ACPI; in init() 96 tth->sensor_type = SENSOR_TYPE_LINUX_SYS; in init() 109 tth->sensor_type = SENSOR_TYPE_OMNIBOOK; in init() 114 tth->sensor_type = SENSOR_TYPE_LINUX_PBOOK; in init() 119 tth->sensor_type = SENSOR_TYPE_LINUX_MACMINI; in init() 129 tth->sensor_type = SENSOR_TYPE_LINUX_THINKPAD; in init() 188 if ((tth->sensor_type) && (tth->sensor_name) && (!tth->sensor_path)) in init() 192 switch (tth->sensor_type) in init() 285 switch (tth->sensor_type) in check() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/usb/gspca/ |
H A D | mr97310a.c | 397 sd->sensor_type = 0; in sd_config() 400 sd->sensor_type = 1; in sd_config() 408 sd->sensor_type); in sd_config() 431 sd->sensor_type = 1; in sd_config() 435 sd->sensor_type = 2; in sd_config() 451 sd->sensor_type = 0; in sd_config() 465 sd->sensor_type); in sd_config() 473 sd->sensor_type); in sd_config() 507 if (sd->sensor_type) in start_cif_cam() 535 if (!sd->sensor_type) { in start_cif_cam() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/usb/gspca/ |
H A D | mr97310a.c | 397 sd->sensor_type = 0; in sd_config() 400 sd->sensor_type = 1; in sd_config() 408 sd->sensor_type); in sd_config() 431 sd->sensor_type = 1; in sd_config() 435 sd->sensor_type = 2; in sd_config() 451 sd->sensor_type = 0; in sd_config() 465 sd->sensor_type); in sd_config() 473 sd->sensor_type); in sd_config() 507 if (sd->sensor_type) in start_cif_cam() 535 if (!sd->sensor_type) { in start_cif_cam() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/usb/gspca/ |
H A D | mr97310a.c | 397 sd->sensor_type = 0; in sd_config() 400 sd->sensor_type = 1; in sd_config() 408 sd->sensor_type); in sd_config() 431 sd->sensor_type = 1; in sd_config() 435 sd->sensor_type = 2; in sd_config() 451 sd->sensor_type = 0; in sd_config() 465 sd->sensor_type); in sd_config() 473 sd->sensor_type); in sd_config() 507 if (sd->sensor_type) in start_cif_cam() 535 if (!sd->sensor_type) { in start_cif_cam() [all …]
|
/dports/sysutils/munin-contrib/contrib-c31cb28/plugins/vmware/ |
H A D | esxi__sensors | 118 def print_sensors(sensor_type, instances, config): 119 print 'multigraph esxi_' + sensor_data[sensor_type]['prefix'] + 's' 122 print "graph_title ESXi " + sensor_data[sensor_type]['title'] 124 print "graph_vlabel " + sensor_data[sensor_type]['unit'] 127 if i['SensorType'] == sensor_type: 140 if i['SensorType'] == sensor_type: 167 for sensor_type in sensors: 168 print_sensors(sensor_type, insts, config)
|
/dports/x11-wm/enlightenment/enlightenment-0.24.2/src/modules/temperature/ |
H A D | e_mod_tempget.c | 111 if ((!tth->sensor_type) || in init() 125 tth->sensor_type = SENSOR_TYPE_FREEBSD; in init() 146 tth->sensor_type = SENSOR_TYPE_OPENBSD; in init() 152 tth->sensor_type = SENSOR_TYPE_OPENBSD; in init() 164 tth->sensor_type = SENSOR_TYPE_LINUX_ACPI; in init() 194 tth->sensor_type = SENSOR_TYPE_OMNIBOOK; in init() 199 tth->sensor_type = SENSOR_TYPE_LINUX_PBOOK; in init() 204 tth->sensor_type = SENSOR_TYPE_LINUX_MACMINI; in init() 278 switch (tth->sensor_type) in init() 407 switch (tth->sensor_type) in check() [all …]
|
/dports/sysutils/ipmitool/ipmitool-1.8.18/lib/ |
H A D | ipmi_event.c | 68 sel_event.sel_type.standard_type.sensor_type = pmsg->sensor_type; in ipmi_event_msg_print() 170 emsg.sensor_type = 0x01; in ipmi_send_platform_event_num() 182 emsg.sensor_type = 0x02; in ipmi_send_platform_event_num() 193 emsg.sensor_type = 0x0c; in ipmi_send_platform_event_num() 214 if (desc == NULL || sensor_type == 0 || event_type == 0) { in ipmi_event_find_offset() 234 "Sensor States: \n ", "\n ", sensor_type, in print_sensor_states() 281 emsg.sensor_type = sdr->record.common->sensor.type; in ipmi_event_fromsensor() 428 emsg.sensor_type, emsg.event_type, state); in ipmi_event_fromsensor() 449 emsg.sensor_type, emsg.event_type, state); in ipmi_event_fromsensor() 469 emsg.sensor_type, emsg.event_type, state); in ipmi_event_fromsensor() [all …]
|
/dports/comms/owfs/owfs-3.2p4/module/swig/python/examples/ |
H A D | xmlrpc_client.py | 37 sensor_type = ow_sensor.attr( sensor, 'type' ) variable 38 if sensor_type == 'DS18S20': 39 …print ' ', sensor, '-', sensor_type, '- temperature:', ow_sensor.attr( sensor, 'temperature' ).s… 41 print ' ', sensor, '-', sensor_type
|