/openbmc/linux/include/linux/qed/ |
H A D | qed_eth_if.h | 204 u8 (*getstate)(struct qed_dev *cdev); 216 u8 (*getpfcstate)(struct qed_dev *cdev); 221 u8 (*getdcbx)(struct qed_dev *cdev); 228 u8 (*setall)(struct qed_dev *cdev); 252 int (*read_cc)(struct qed_dev *, u64 *); 253 int (*disable)(struct qed_dev *); 254 int (*adjfreq)(struct qed_dev *, s32); 255 int (*enable)(struct qed_dev *); 280 int (*vport_stop)(struct qed_dev *cdev, 286 int (*q_rx_start)(struct qed_dev *cdev, [all …]
|
H A D | qed_nvmetcp_if.h | 197 int (*fill_dev_info)(struct qed_dev *cdev, 200 void (*register_ops)(struct qed_dev *cdev, 203 int (*start)(struct qed_dev *cdev, 207 int (*stop)(struct qed_dev *cdev); 209 int (*acquire_conn)(struct qed_dev *cdev, 213 int (*release_conn)(struct qed_dev *cdev, u32 handle); 215 int (*offload_conn)(struct qed_dev *cdev, 219 int (*update_conn)(struct qed_dev *cdev, 225 int (*clear_sq)(struct qed_dev *cdev, u32 handle); 227 int (*add_src_tcp_port_filter)(struct qed_dev *cdev, u16 src_port); [all …]
|
H A D | qed_iov_if.h | 14 int (*configure)(struct qed_dev *cdev, int num_vfs_param); 16 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid); 18 int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid); 20 int (*get_config) (struct qed_dev *cdev, int vf_id, 23 int (*set_link_state) (struct qed_dev *cdev, int vf_id, 26 int (*set_spoof) (struct qed_dev *cdev, int vfid, bool val); 28 int (*set_rate) (struct qed_dev *cdev, int vfid, 31 int (*set_trust) (struct qed_dev *cdev, int vfid, bool trust);
|
H A D | qed_if.h | 454 struct qed_dev; 603 struct qed_dev *cdev; 807 struct qed_dev *cdev; 882 void (*remove)(struct qed_dev *cdev); 908 u32 (*sb_init)(struct qed_dev *cdev, 915 u32 (*sb_release)(struct qed_dev *cdev, 955 int (*set_link)(struct qed_dev *cdev, 966 void (*get_link)(struct qed_dev *cdev, 976 int (*drain)(struct qed_dev *cdev); 991 int (*chain_alloc)(struct qed_dev *cdev, [all …]
|
H A D | qed_fcoe_if.h | 121 int (*fill_dev_info)(struct qed_dev *cdev, 124 void (*register_ops)(struct qed_dev *cdev, 129 int (*start)(struct qed_dev *cdev, struct qed_fcoe_tid *tasks); 131 int (*stop)(struct qed_dev *cdev); 133 int (*acquire_conn)(struct qed_dev *cdev, 137 int (*release_conn)(struct qed_dev *cdev, u32 handle); 139 int (*offload_conn)(struct qed_dev *cdev, 142 int (*destroy_conn)(struct qed_dev *cdev, 145 int (*get_stats)(struct qed_dev *cdev, struct qed_fcoe_stats *stats);
|
H A D | qed_iscsi_if.h | 196 int (*fill_dev_info)(struct qed_dev *cdev, 199 void (*register_ops)(struct qed_dev *cdev, 202 int (*start)(struct qed_dev *cdev, 206 int (*stop)(struct qed_dev *cdev); 208 int (*acquire_conn)(struct qed_dev *cdev, 212 int (*release_conn)(struct qed_dev *cdev, u32 handle); 214 int (*offload_conn)(struct qed_dev *cdev, 218 int (*update_conn)(struct qed_dev *cdev, 224 int (*clear_sq)(struct qed_dev *cdev, u32 handle); 226 int (*get_stats)(struct qed_dev *cdev, [all …]
|
H A D | qed_ll2_if.h | 218 int (*start)(struct qed_dev *cdev, struct qed_ll2_params *params); 227 int (*stop)(struct qed_dev *cdev); 238 int (*start_xmit)(struct qed_dev *cdev, struct sk_buff *skb, 251 void (*register_cb_ops)(struct qed_dev *cdev, 263 int (*get_stats)(struct qed_dev *cdev, struct qed_ll2_stats *stats); 267 int qed_ll2_alloc_if(struct qed_dev *); 268 void qed_ll2_dealloc_if(struct qed_dev *); 278 static inline int qed_ll2_alloc_if(struct qed_dev *cdev) in qed_ll2_alloc_if() 283 static inline void qed_ll2_dealloc_if(struct qed_dev *cdev) in qed_ll2_dealloc_if()
|
H A D | qed_rdma_if.h | 584 int (*fill_dev_info)(struct qed_dev *cdev, 586 void *(*rdma_get_rdma_ctx)(struct qed_dev *cdev); 588 int (*rdma_init)(struct qed_dev *dev, 598 int (*rdma_get_start_sb)(struct qed_dev *cdev); 599 int (*rdma_get_min_cnq_msix)(struct qed_dev *cdev); 601 int (*rdma_get_rdma_int)(struct qed_dev *cdev, 603 int (*rdma_set_rdma_int)(struct qed_dev *cdev, u16 cnt); 664 int (*ll2_set_mac_filter)(struct qed_dev *cdev, 668 int (*iwarp_set_engine_affin)(struct qed_dev *cdev, bool b_reset);
|
H A D | qede_rdma.h | 16 struct qed_dev; 37 struct qedr_dev* (*add)(struct qed_dev *, struct pci_dev *,
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_debug.h | 23 struct qed_dev; 27 int qed_dbg_grc_size(struct qed_dev *cdev); 30 int qed_dbg_idle_chk_size(struct qed_dev *cdev); 33 int qed_dbg_reg_fifo_size(struct qed_dev *cdev); 36 int qed_dbg_igu_fifo_size(struct qed_dev *cdev); 44 int qed_dbg_ilt_size(struct qed_dev *cdev); 48 int qed_dbg_phy_size(struct qed_dev *cdev); 50 int qed_dbg_all_data_size(struct qed_dev *cdev); 51 u8 qed_get_debug_engine(struct qed_dev *cdev); 57 void qed_dbg_pf_init(struct qed_dev *cdev); [all …]
|
H A D | qed_dev_api.h | 26 void qed_init_dp(struct qed_dev *cdev, 38 void qed_init_struct(struct qed_dev *cdev); 47 void qed_resc_free(struct qed_dev *cdev); 56 int qed_resc_alloc(struct qed_dev *cdev); 65 void qed_resc_setup(struct qed_dev *cdev); 141 int qed_hw_stop(struct qed_dev *cdev); 152 int qed_hw_stop_fastpath(struct qed_dev *cdev); 172 int qed_hw_prepare(struct qed_dev *cdev, 182 void qed_hw_remove(struct qed_dev *cdev); 508 int qed_db_recovery_add(struct qed_dev *cdev, [all …]
|
H A D | qed_selftest.h | 15 int qed_selftest_memory(struct qed_dev *cdev); 24 int qed_selftest_interrupt(struct qed_dev *cdev); 33 int qed_selftest_register(struct qed_dev *cdev); 42 int qed_selftest_clock(struct qed_dev *cdev); 51 int qed_selftest_nvram(struct qed_dev *cdev);
|
H A D | qed_sriov.h | 377 void qed_iov_free_hw_info(struct qed_dev *cdev); 401 void qed_iov_wq_stop(struct qed_dev *cdev, bool schedule_first); 402 int qed_iov_wq_start(struct qed_dev *cdev); 405 void qed_vf_start_iov_wq(struct qed_dev *cdev); 406 int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled); 446 static inline void qed_iov_free_hw_info(struct qed_dev *cdev) in qed_iov_free_hw_info() 456 static inline void qed_iov_wq_stop(struct qed_dev *cdev, bool schedule_first) in qed_iov_wq_stop() 460 static inline int qed_iov_wq_start(struct qed_dev *cdev) in qed_iov_wq_start() 470 static inline void qed_vf_start_iov_wq(struct qed_dev *cdev) in qed_vf_start_iov_wq() 474 static inline int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled) in qed_sriov_disable()
|
H A D | qed_main.c | 257 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci() 376 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info() 463 struct qed_dev *cdev; in qed_alloc_cdev() 488 struct qed_dev *cdev; in qed_probe() 530 static void qed_remove(struct qed_dev *cdev) in qed_remove() 695 struct qed_dev *cdev = (struct qed_dev *)dev_instance; in qed_single_int() 745 struct qed_dev *cdev = hwfn->cdev; in qed_slowpath_irq_req() 796 struct qed_dev *cdev = p_hwfn->cdev; in qed_slowpath_irq_sync() 1438 static u32 qed_sb_init(struct qed_dev *cdev, in qed_sb_init() 2226 static int qed_drain(struct qed_dev *cdev) in qed_drain() [all …]
|
H A D | qed_chain.c | 67 static void qed_chain_free_next_ptr(struct qed_dev *cdev, in qed_chain_free_next_ptr() 95 static void qed_chain_free_single(struct qed_dev *cdev, in qed_chain_free_single() 105 static void qed_chain_free_pbl(struct qed_dev *cdev, struct qed_chain *chain) in qed_chain_free_pbl() 138 void qed_chain_free(struct qed_dev *cdev, struct qed_chain *chain) in qed_chain_free() 158 qed_chain_alloc_sanity_check(struct qed_dev *cdev, in qed_chain_alloc_sanity_check() 198 static int qed_chain_alloc_next_ptr(struct qed_dev *cdev, in qed_chain_alloc_next_ptr() 232 static int qed_chain_alloc_single(struct qed_dev *cdev, in qed_chain_alloc_single() 249 static int qed_chain_alloc_pbl(struct qed_dev *cdev, struct qed_chain *chain) in qed_chain_alloc_pbl() 320 int qed_chain_alloc(struct qed_dev *cdev, struct qed_chain *chain, in qed_chain_alloc()
|
H A D | qed_selftest.c | 14 int qed_selftest_memory(struct qed_dev *cdev) in qed_selftest_memory() 27 int qed_selftest_interrupt(struct qed_dev *cdev) in qed_selftest_interrupt() 40 int qed_selftest_register(struct qed_dev *cdev) in qed_selftest_register() 63 int qed_selftest_clock(struct qed_dev *cdev) in qed_selftest_clock() 86 int qed_selftest_nvram(struct qed_dev *cdev) in qed_selftest_nvram()
|
H A D | qed_devlink.c | 43 struct qed_dev *cdev = qdl->cdev; in qed_fw_fatal_reporter_dump() 83 struct qed_dev *cdev = qdl->cdev; in qed_fw_fatal_reporter_recover() 126 struct qed_dev *cdev; in qed_dl_param_get() 138 struct qed_dev *cdev; in qed_dl_param_set() 158 struct qed_dev *cdev = qed_dl->cdev; in qed_devlink_info_get() 199 struct devlink *qed_devlink_register(struct qed_dev *cdev) in qed_devlink_register()
|
H A D | qed.h | 524 struct qed_dev *cdev; 697 struct qed_dev { struct 887 static inline u8 qed_concrete_to_sw_fid(struct qed_dev *cdev, in qed_concrete_to_sw_fid() 906 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate); 907 void qed_configure_vp_wfq_on_link_change(struct qed_dev *cdev, 971 int qed_device_num_ports(struct qed_dev *cdev); 974 int qed_fill_dev_info(struct qed_dev *cdev, 981 int qed_recovery_process(struct qed_dev *cdev); 985 void qed_get_protocol_stats(struct qed_dev *cdev, 1000 int qed_llh_add_src_tcp_port_filter(struct qed_dev *cdev, u16 src_port); [all …]
|
H A D | qed_dcbx.c | 1305 static u8 qed_dcbnl_getstate(struct qed_dev *cdev) in qed_dcbnl_getstate() 1398 static void qed_dcbnl_getpgbwgcfgrx(struct qed_dev *cdev, in qed_dcbnl_getpgbwgcfgrx() 1405 static void qed_dcbnl_getpfccfg(struct qed_dev *cdev, in qed_dcbnl_getpfccfg() 1522 static u8 qed_dcbnl_getpfcstate(struct qed_dev *cdev) in qed_dcbnl_getpfcstate() 1539 static u8 qed_dcbnl_getdcbx(struct qed_dev *cdev) in qed_dcbnl_getdcbx() 1562 static void qed_dcbnl_setpgtccfgtx(struct qed_dev *cdev, in qed_dcbnl_setpgtccfgtx() 1638 static u8 qed_dcbnl_setall(struct qed_dev *cdev) in qed_dcbnl_setall() 1758 static int qed_dcbnl_setapp(struct qed_dev *cdev, in qed_dcbnl_setapp() 1806 static u8 qed_dcbnl_setdcbx(struct qed_dev *cdev, u8 mode) in qed_dcbnl_setdcbx() 2032 static int qed_dcbnl_get_ieee_pfc(struct qed_dev *cdev, in qed_dcbnl_get_ieee_pfc() [all …]
|
H A D | qed_ptp.c | 103 static int qed_ptp_hw_read_rx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_rx_ts() 129 static int qed_ptp_hw_read_tx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_tx_ts() 155 static int qed_ptp_hw_read_cc(struct qed_dev *cdev, u64 *phc_cycles) in qed_ptp_hw_read_cc() 170 static int qed_ptp_hw_cfg_filters(struct qed_dev *cdev, in qed_ptp_hw_cfg_filters() 254 static int qed_ptp_hw_adjfreq(struct qed_dev *cdev, s32 ppb) in qed_ptp_hw_adjfreq() 339 static int qed_ptp_hw_enable(struct qed_dev *cdev) in qed_ptp_hw_enable() 401 static int qed_ptp_hw_disable(struct qed_dev *cdev) in qed_ptp_hw_disable()
|
H A D | qed_fcoe.h | 42 void qed_get_protocol_stats_fcoe(struct qed_dev *cdev, 54 static inline void qed_get_protocol_stats_fcoe(struct qed_dev *cdev, in qed_get_protocol_stats_fcoe()
|
H A D | qed_iscsi.h | 47 void qed_get_protocol_stats_iscsi(struct qed_dev *cdev, 61 qed_get_protocol_stats_iscsi(struct qed_dev *cdev, in qed_get_protocol_stats_iscsi()
|
H A D | qed_dev.c | 643 struct qed_dev *cdev = p_hwfn->cdev; in qed_llh_set_engine_affin() 698 struct qed_dev *cdev = p_hwfn->cdev; in qed_llh_hw_init_pf() 1575 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_qm_port_params() 2658 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_init_common() 3346 int qed_hw_stop(struct qed_dev *cdev) in qed_hw_stop() 3789 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_get_dflt_resc() 3946 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_get_ppfid_bitmap() 4415 struct qed_dev *cdev = p_hwfn->cdev; in qed_get_num_funcs() 4475 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_info_port_num() 4598 struct qed_dev *cdev = p_hwfn->cdev; in qed_get_dev_info() [all …]
|
H A D | qed_nvmetcp.c | 145 static int qed_fill_nvmetcp_dev_info(struct qed_dev *cdev, in qed_fill_nvmetcp_dev_info() 159 static void qed_register_nvmetcp_ops(struct qed_dev *cdev, in qed_register_nvmetcp_ops() 167 static int qed_nvmetcp_stop(struct qed_dev *cdev) in qed_nvmetcp_stop() 192 static int qed_nvmetcp_start(struct qed_dev *cdev, in qed_nvmetcp_start() 247 static struct qed_hash_nvmetcp_con *qed_nvmetcp_get_hash(struct qed_dev *cdev, in qed_nvmetcp_get_hash() 606 static int qed_nvmetcp_acquire_conn(struct qed_dev *cdev, in qed_nvmetcp_acquire_conn() 639 static int qed_nvmetcp_release_conn(struct qed_dev *cdev, u32 handle) in qed_nvmetcp_release_conn() 658 static int qed_nvmetcp_offload_conn(struct qed_dev *cdev, u32 handle, in qed_nvmetcp_offload_conn() 723 static int qed_nvmetcp_update_conn(struct qed_dev *cdev, in qed_nvmetcp_update_conn() 761 static int qed_nvmetcp_clear_conn_sq(struct qed_dev *cdev, u32 handle) in qed_nvmetcp_clear_conn_sq() [all …]
|
H A D | qed_fcoe.c | 723 static int qed_fill_fcoe_dev_info(struct qed_dev *cdev, in qed_fill_fcoe_dev_info() 745 static void qed_register_fcoe_ops(struct qed_dev *cdev, in qed_register_fcoe_ops() 752 static struct qed_hash_fcoe_con *qed_fcoe_get_hash(struct qed_dev *cdev, in qed_fcoe_get_hash() 771 static int qed_fcoe_stop(struct qed_dev *cdev) in qed_fcoe_stop() 800 static int qed_fcoe_start(struct qed_dev *cdev, struct qed_fcoe_tid *tasks) in qed_fcoe_start() 850 static int qed_fcoe_acquire_conn(struct qed_dev *cdev, in qed_fcoe_acquire_conn() 885 static int qed_fcoe_release_conn(struct qed_dev *cdev, u32 handle) in qed_fcoe_release_conn() 903 static int qed_fcoe_offload_conn(struct qed_dev *cdev, in qed_fcoe_offload_conn() 956 static int qed_fcoe_destroy_conn(struct qed_dev *cdev, in qed_fcoe_destroy_conn() 977 static int qed_fcoe_stats_context(struct qed_dev *cdev, in qed_fcoe_stats_context() [all …]
|