Home
last modified time | relevance | path

Searched refs:fm10k_mbx_info (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.h8 struct fm10k_mbx_info;
217 s32 (*connect)(struct fm10k_hw *, struct fm10k_mbx_info *);
218 void (*disconnect)(struct fm10k_hw *, struct fm10k_mbx_info *);
219 bool (*rx_ready)(struct fm10k_mbx_info *);
220 bool (*tx_ready)(struct fm10k_mbx_info *, u16);
221 bool (*tx_complete)(struct fm10k_mbx_info *);
222 s32 (*enqueue_tx)(struct fm10k_hw *, struct fm10k_mbx_info *,
224 s32 (*process)(struct fm10k_hw *, struct fm10k_mbx_info *);
225 s32 (*register_handlers)(struct fm10k_mbx_info *,
250 struct fm10k_mbx_info { struct
[all …]
H A Dfm10k_mbx.c132 static u16 fm10k_mbx_index_len(struct fm10k_mbx_info *mbx, u16 head, u16 tail) in fm10k_mbx_index_len()
151 static u16 fm10k_mbx_tail_add(struct fm10k_mbx_info *mbx, u16 offset) in fm10k_mbx_tail_add()
167 static u16 fm10k_mbx_tail_sub(struct fm10k_mbx_info *mbx, u16 offset) in fm10k_mbx_tail_sub()
183 static u16 fm10k_mbx_head_add(struct fm10k_mbx_info *mbx, u16 offset) in fm10k_mbx_head_add()
199 static u16 fm10k_mbx_head_sub(struct fm10k_mbx_info *mbx, u16 offset) in fm10k_mbx_head_sub()
214 static u16 fm10k_mbx_pushed_tail_len(struct fm10k_mbx_info *mbx) in fm10k_mbx_pushed_tail_len()
296 static u16 fm10k_mbx_validate_msg_size(struct fm10k_mbx_info *mbx, u16 len) in fm10k_mbx_validate_msg_size()
331 struct fm10k_mbx_info *mbx) in fm10k_mbx_write_copy()
383 struct fm10k_mbx_info *mbx, u16 head) in fm10k_mbx_pull_head()
424 struct fm10k_mbx_info *mbx) in fm10k_mbx_read_copy()
[all …]
H A Dfm10k_pf.h85 s32 fm10k_msg_lport_map_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
95 s32 fm10k_msg_err_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
101 s32 fm10k_iov_msg_msix_pf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
103 struct fm10k_mbx_info *);
105 struct fm10k_mbx_info *);
H A Dfm10k_vf.c169 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_update_vlan_vf()
201 struct fm10k_mbx_info __always_unused *mbx) in fm10k_msg_mac_vlan_vf()
275 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_update_uc_addr_vf()
318 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_update_mc_addr_vf()
351 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_update_int_moderator_vf()
379 struct fm10k_mbx_info __always_unused *mbx) in fm10k_msg_lport_state_vf()
402 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_update_lport_state_vf()
430 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_update_xcast_mode_vf()
H A Dfm10k_tlv.h86 struct fm10k_mbx_info *);
131 s32 fm10k_tlv_msg_parse(struct fm10k_hw *, u32 *, struct fm10k_mbx_info *,
134 struct fm10k_mbx_info *);
158 s32 fm10k_tlv_msg_test(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
H A Dfm10k_vf.h37 s32 fm10k_msg_mac_vlan_vf(struct fm10k_hw *, u32 **, struct fm10k_mbx_info *);
44 struct fm10k_mbx_info *);
H A Dfm10k_pf.c308 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_update_xc_addr_pf()
395 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_update_xcast_mode_pf()
463 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_update_lport_state_pf()
1156 struct fm10k_mbx_info *mbx) in fm10k_iov_msg_msix_pf()
1193 struct fm10k_mbx_info *mbx) in fm10k_iov_msg_mac_vlan_pf()
1352 struct fm10k_mbx_info *mbx) in fm10k_iov_msg_lport_state_pf()
1593 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_request_lport_map_pf()
1643 struct fm10k_mbx_info __always_unused *mbx) in fm10k_msg_lport_map_pf()
1686 struct fm10k_mbx_info __always_unused *mbx) in fm10k_msg_update_pvid_pf()
1747 struct fm10k_mbx_info __always_unused *mbx) in fm10k_msg_err_pf()
H A Dfm10k_tlv.c545 struct fm10k_mbx_info *mbx, in fm10k_tlv_msg_parse()
592 struct fm10k_mbx_info __always_unused *mbx) in fm10k_tlv_msg_error()
708 struct fm10k_mbx_info *mbx) in fm10k_tlv_msg_test()
H A Dfm10k_iov.c9 struct fm10k_mbx_info *mbx) in fm10k_iov_msg_error()
34 struct fm10k_mbx_info *mbx) in fm10k_iov_msg_queue_mac_vlan()
228 struct fm10k_mbx_info *mbx = &vf_info->mbx; in fm10k_iov_mbx()
H A Dfm10k_type.h583 struct fm10k_mbx_info mbx; /* PF side of VF mailbox */
651 struct fm10k_mbx_info mbx;
H A Dfm10k_pci.c1197 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_msix_mbx_vf()
1370 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_msix_mbx_pf()
1458 struct fm10k_mbx_info *mbx) in fm10k_mbx_mac_addr()
1486 struct fm10k_mbx_info __always_unused *mbx) in fm10k_mbx_error()
1541 struct fm10k_mbx_info *mbx) in fm10k_lport_map()
1590 struct fm10k_mbx_info __always_unused *mbx) in fm10k_update_pvid()
H A Dfm10k_common.c476 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_get_host_state_generic()
H A Dfm10k_ethtool.c89 FM10K_STAT_FIELDS(struct fm10k_mbx_info, _name, _stat)
893 struct fm10k_mbx_info *mbx = &hw->mbx; in fm10k_mbx_test()