Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
mcdi_mon.c File Reference
#include <linux/bitops.h>
#include <linux/slab.h>
#include <linux/hwmon.h>
#include <linux/stat.h>
#include "net_driver.h"
#include "mcdi.h"
#include "mcdi_pcol.h"
#include "nic.h"

Go to the source code of this file.

Macros

#define SENSOR(name, label, hwmon_type, port)   [MC_CMD_SENSOR_##name] = { label, hwmon_type, port }
 

Enumerations

enum  efx_hwmon_type { EFX_HWMON_UNKNOWN, EFX_HWMON_TEMP, EFX_HWMON_COOL, EFX_HWMON_IN }
 

Functions

void efx_mcdi_sensor_event (struct efx_nic *efx, efx_qword_t *ev)
 

Macro Definition Documentation

#define SENSOR (   name,
  label,
  hwmon_type,
  port 
)    [MC_CMD_SENSOR_##name] = { label, hwmon_type, port }

Enumeration Type Documentation

Enumerator:
EFX_HWMON_UNKNOWN 
EFX_HWMON_TEMP 
EFX_HWMON_COOL 
EFX_HWMON_IN 

Definition at line 20 of file mcdi_mon.c.

Function Documentation

void efx_mcdi_sensor_event ( struct efx_nic efx,
efx_qword_t ev 
)

Definition at line 59 of file mcdi_mon.c.

Variable Documentation

enum efx_hwmon_type hwmon_type

Definition at line 29 of file mcdi_mon.c.

Definition at line 28 of file mcdi_mon.c.

Definition at line 30 of file mcdi_mon.c.