mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
igb: add argument names to mailbox op function declarations
Signed-off-by: Greg Edwards <gedwards@ddn.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
2643e6e902
commit
09fc97ba3e
@ -491,13 +491,14 @@ struct e1000_fc_info {
|
||||
|
||||
struct e1000_mbx_operations {
|
||||
s32 (*init_params)(struct e1000_hw *hw);
|
||||
s32 (*read)(struct e1000_hw *, u32 *, u16, u16);
|
||||
s32 (*write)(struct e1000_hw *, u32 *, u16, u16);
|
||||
s32 (*read_posted)(struct e1000_hw *, u32 *, u16, u16);
|
||||
s32 (*write_posted)(struct e1000_hw *, u32 *, u16, u16);
|
||||
s32 (*check_for_msg)(struct e1000_hw *, u16);
|
||||
s32 (*check_for_ack)(struct e1000_hw *, u16);
|
||||
s32 (*check_for_rst)(struct e1000_hw *, u16);
|
||||
s32 (*read)(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id);
|
||||
s32 (*write)(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id);
|
||||
s32 (*read_posted)(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id);
|
||||
s32 (*write_posted)(struct e1000_hw *hw, u32 *msg, u16 size,
|
||||
u16 mbx_id);
|
||||
s32 (*check_for_msg)(struct e1000_hw *hw, u16 mbx_id);
|
||||
s32 (*check_for_ack)(struct e1000_hw *hw, u16 mbx_id);
|
||||
s32 (*check_for_rst)(struct e1000_hw *hw, u16 mbx_id);
|
||||
};
|
||||
|
||||
struct e1000_mbx_stats {
|
||||
|
@ -67,11 +67,11 @@
|
||||
|
||||
#define E1000_PF_CONTROL_MSG 0x0100 /* PF control message */
|
||||
|
||||
s32 igb_read_mbx(struct e1000_hw *, u32 *, u16, u16);
|
||||
s32 igb_write_mbx(struct e1000_hw *, u32 *, u16, u16);
|
||||
s32 igb_check_for_msg(struct e1000_hw *, u16);
|
||||
s32 igb_check_for_ack(struct e1000_hw *, u16);
|
||||
s32 igb_check_for_rst(struct e1000_hw *, u16);
|
||||
s32 igb_init_mbx_params_pf(struct e1000_hw *);
|
||||
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);
|
||||
|
||||
#endif /* _E1000_MBX_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user