Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
e1000_mbx.c File Reference
#include "e1000_mbx.h"

Go to the source code of this file.

Functions

s32 igb_read_mbx (struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id)
 
s32 igb_write_mbx (struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id)
 
s32 igb_check_for_msg (struct e1000_hw *hw, u16 mbx_id)
 
s32 igb_check_for_ack (struct e1000_hw *hw, u16 mbx_id)
 
s32 igb_check_for_rst (struct e1000_hw *hw, u16 mbx_id)
 
s32 igb_init_mbx_params_pf (struct e1000_hw *hw)
 

Function Documentation

s32 igb_check_for_ack ( struct e1000_hw hw,
u16  mbx_id 
)

igb_check_for_ack - checks to see if someone sent us ACK : pointer to the HW structure : id of mailbox to check

returns SUCCESS if the Status bit was found or else ERR_MBX

Definition at line 102 of file e1000_mbx.c.

s32 igb_check_for_msg ( struct e1000_hw hw,
u16  mbx_id 
)

igb_check_for_msg - checks to see if someone sent us mail : pointer to the HW structure : id of mailbox to check

returns SUCCESS if the Status bit was found or else ERR_MBX

Definition at line 84 of file e1000_mbx.c.

s32 igb_check_for_rst ( struct e1000_hw hw,
u16  mbx_id 
)

igb_check_for_rst - checks to see if other side has reset : pointer to the HW structure : id of mailbox to check

returns SUCCESS if the Status bit was found or else ERR_MBX

Definition at line 120 of file e1000_mbx.c.

s32 igb_init_mbx_params_pf ( struct e1000_hw hw)

e1000_init_mbx_params_pf - set initial values for pf mailbox : pointer to the HW structure

Initializes the hw->mbx struct to correct values for pf mailbox

Definition at line 421 of file e1000_mbx.c.

s32 igb_read_mbx ( struct e1000_hw hw,
u32 msg,
u16  size,
u16  mbx_id 
)

igb_read_mbx - Reads a message from the mailbox : pointer to the HW structure : The message buffer : Length of buffer : id of mailbox to read

returns SUCCESS if it successfully read message from buffer

Definition at line 39 of file e1000_mbx.c.

s32 igb_write_mbx ( struct e1000_hw hw,
u32 msg,
u16  size,
u16  mbx_id 
)

igb_write_mbx - Write a message to the mailbox : pointer to the HW structure : The message buffer : Length of buffer : id of mailbox to write

returns SUCCESS if it successfully copied message into the buffer

Definition at line 63 of file e1000_mbx.c.