hwmon_type
enum efx_hwmon_type hwmon_type = EFX_HWMON_UNKNOWN;
hwmon_type = efx_mcdi_sensor_type[type].hwmon_type;
EFX_WARN_ON_PARANOID(hwmon_type >= EFX_HWMON_TYPES_COUNT);
unit = efx_hwmon_unit[hwmon_type];
enum efx_hwmon_type hwmon_type;
switch (mon_attr->hwmon_type) {
switch (mon_attr->hwmon_type) {
attr->hwmon_type = efx_mcdi_sensor_type[type].hwmon_type;
attr->hwmon_type = EFX_HWMON_UNKNOWN;
enum efx_hwmon_type hwmon_type;
enum efx_hwmon_type hwmon_type;
#define SENSOR(name, label, hwmon_type, port) \
hwmon_type = efx_mcdi_sensor_type[type].hwmon_type;
[MC_CMD_SENSOR_##name] = { label, EFX_HWMON_ ## hwmon_type, port }
if (hwmon_type != EFX_HWMON_UNKNOWN &&
hwmon_type = EFX_HWMON_UNKNOWN;
switch (hwmon_type) {
if (hwmon_type != EFX_HWMON_POWER) {
enum efx_hwmon_type hwmon_type = EFX_HWMON_UNKNOWN;
hwmon_type = efx_mcdi_sensor_type[type].hwmon_type;
EFX_WARN_ON_PARANOID(hwmon_type >= EFX_HWMON_TYPES_COUNT);
unit = efx_hwmon_unit[hwmon_type];
enum efx_hwmon_type hwmon_type;
switch (mon_attr->hwmon_type) {
switch (mon_attr->hwmon_type) {
attr->hwmon_type = efx_mcdi_sensor_type[type].hwmon_type;
attr->hwmon_type = EFX_HWMON_UNKNOWN;
enum efx_hwmon_type hwmon_type;
enum efx_hwmon_type hwmon_type;
#define SENSOR(name, label, hwmon_type, port) \
hwmon_type = efx_mcdi_sensor_type[type].hwmon_type;
[MC_CMD_SENSOR_##name] = { label, EFX_HWMON_ ## hwmon_type, port }
if (hwmon_type != EFX_HWMON_UNKNOWN &&
hwmon_type = EFX_HWMON_UNKNOWN;
switch (hwmon_type) {
if (hwmon_type != EFX_HWMON_POWER) {
enum hwmon_type type;
enum hwmon_type type;
enum hwmon_type *type,
enum hwmon_type type;
enum hwmon_type type;
enum hwmon_type type;
enum hwmon_type type;
enum hwmon_type type :8;
enum hwmon_type *type,
enum hwmon_type type;