| /Linux-v5.4/include/linux/qed/ |
| D | qed_eth_if.h | 231 int (*ieee_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc); 232 int (*ieee_setpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc); 233 int (*ieee_getets)(struct qed_dev *cdev, struct ieee_ets *ets); 234 int (*ieee_setets)(struct qed_dev *cdev, struct ieee_ets *ets); 235 int (*ieee_peer_getets)(struct qed_dev *cdev, struct ieee_ets *ets); 236 int (*ieee_peer_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc); 237 int (*ieee_getapp)(struct qed_dev *cdev, struct dcb_app *app); 238 int (*ieee_setapp)(struct qed_dev *cdev, struct dcb_app *app); 241 u8 (*getstate)(struct qed_dev *cdev); 242 u8 (*setstate)(struct qed_dev *cdev, u8 state); [all …]
|
| D | qed_iov_if.h | 40 int (*configure)(struct qed_dev *cdev, int num_vfs_param); 42 int (*set_mac) (struct qed_dev *cdev, u8 *mac, int vfid); 44 int (*set_vlan) (struct qed_dev *cdev, u16 vid, int vfid); 46 int (*get_config) (struct qed_dev *cdev, int vf_id, 49 int (*set_link_state) (struct qed_dev *cdev, int vf_id, 52 int (*set_spoof) (struct qed_dev *cdev, int vfid, bool val); 54 int (*set_rate) (struct qed_dev *cdev, int vfid, 57 int (*set_trust) (struct qed_dev *cdev, int vfid, bool trust);
|
| D | qed_fcoe_if.h | 68 void qed_fcoe_set_pf_params(struct qed_dev *cdev, 122 int (*fill_dev_info)(struct qed_dev *cdev, 125 void (*register_ops)(struct qed_dev *cdev, 130 int (*start)(struct qed_dev *cdev, struct qed_fcoe_tid *tasks); 132 int (*stop)(struct qed_dev *cdev); 134 int (*acquire_conn)(struct qed_dev *cdev, 138 int (*release_conn)(struct qed_dev *cdev, u32 handle); 140 int (*offload_conn)(struct qed_dev *cdev, 143 int (*destroy_conn)(struct qed_dev *cdev, 146 int (*get_stats)(struct qed_dev *cdev, struct qed_fcoe_stats *stats);
|
| D | qed_if.h | 474 struct qed_dev; 606 struct qed_dev *cdev; 829 int (*selftest_interrupt)(struct qed_dev *cdev); 838 int (*selftest_memory)(struct qed_dev *cdev); 847 int (*selftest_register)(struct qed_dev *cdev); 856 int (*selftest_clock)(struct qed_dev *cdev); 865 int (*selftest_nvram) (struct qed_dev *cdev); 871 struct qed_dev* (*probe)(struct pci_dev *dev, 874 void (*remove)(struct qed_dev *cdev); 876 int (*set_power_state)(struct qed_dev *cdev, [all …]
|
| D | qed_iscsi_if.h | 222 int (*fill_dev_info)(struct qed_dev *cdev, 225 void (*register_ops)(struct qed_dev *cdev, 228 int (*start)(struct qed_dev *cdev, 232 int (*stop)(struct qed_dev *cdev); 234 int (*acquire_conn)(struct qed_dev *cdev, 238 int (*release_conn)(struct qed_dev *cdev, u32 handle); 240 int (*offload_conn)(struct qed_dev *cdev, 244 int (*update_conn)(struct qed_dev *cdev, 248 int (*destroy_conn)(struct qed_dev *cdev, u32 handle, u8 abrt_conn); 250 int (*clear_sq)(struct qed_dev *cdev, u32 handle); [all …]
|
| D | qed_ll2_if.h | 238 int (*start)(struct qed_dev *cdev, struct qed_ll2_params *params); 247 int (*stop)(struct qed_dev *cdev); 258 int (*start_xmit)(struct qed_dev *cdev, struct sk_buff *skb, 271 void (*register_cb_ops)(struct qed_dev *cdev, 283 int (*get_stats)(struct qed_dev *cdev, struct qed_ll2_stats *stats); 287 int qed_ll2_alloc_if(struct qed_dev *); 288 void qed_ll2_dealloc_if(struct qed_dev *); 298 static inline int qed_ll2_alloc_if(struct qed_dev *cdev) in qed_ll2_alloc_if() 303 static inline void qed_ll2_dealloc_if(struct qed_dev *cdev) in qed_ll2_dealloc_if()
|
| D | qed_rdma_if.h | 592 int (*fill_dev_info)(struct qed_dev *cdev, 594 void *(*rdma_get_rdma_ctx)(struct qed_dev *cdev); 596 int (*rdma_init)(struct qed_dev *dev, 606 int (*rdma_get_start_sb)(struct qed_dev *cdev); 607 int (*rdma_get_min_cnq_msix)(struct qed_dev *cdev); 609 int (*rdma_get_rdma_int)(struct qed_dev *cdev, 611 int (*rdma_set_rdma_int)(struct qed_dev *cdev, u16 cnt); 670 int (*ll2_set_mac_filter)(struct qed_dev *cdev, 673 int (*iwarp_set_engine_affin)(struct qed_dev *cdev, bool b_reset);
|
| D | qede_rdma.h | 41 struct qed_dev; 61 struct qedr_dev* (*add)(struct qed_dev *, struct pci_dev *,
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
| D | qed_debug.h | 21 struct qed_dev; 23 int qed_dbg_grc(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes); 24 int qed_dbg_grc_size(struct qed_dev *cdev); 25 int qed_dbg_idle_chk(struct qed_dev *cdev, void *buffer, 27 int qed_dbg_idle_chk_size(struct qed_dev *cdev); 28 int qed_dbg_reg_fifo(struct qed_dev *cdev, void *buffer, 30 int qed_dbg_reg_fifo_size(struct qed_dev *cdev); 31 int qed_dbg_igu_fifo(struct qed_dev *cdev, void *buffer, 33 int qed_dbg_igu_fifo_size(struct qed_dev *cdev); 34 int qed_dbg_protection_override(struct qed_dev *cdev, void *buffer, [all …]
|
| D | qed_dev_api.h | 50 void qed_init_dp(struct qed_dev *cdev, 60 void qed_init_struct(struct qed_dev *cdev); 67 void qed_resc_free(struct qed_dev *cdev); 76 int qed_resc_alloc(struct qed_dev *cdev); 83 void qed_resc_setup(struct qed_dev *cdev); 141 int qed_hw_init(struct qed_dev *cdev, struct qed_hw_init_params *p_params); 150 void qed_hw_timers_stop_all(struct qed_dev *cdev); 159 int qed_hw_stop(struct qed_dev *cdev); 170 int qed_hw_stop_fastpath(struct qed_dev *cdev); 191 int qed_hw_prepare(struct qed_dev *cdev, [all …]
|
| D | qed_selftest.h | 13 int qed_selftest_memory(struct qed_dev *cdev); 22 int qed_selftest_interrupt(struct qed_dev *cdev); 31 int qed_selftest_register(struct qed_dev *cdev); 40 int qed_selftest_clock(struct qed_dev *cdev); 49 int qed_selftest_nvram(struct qed_dev *cdev);
|
| D | qed_sriov.h | 364 void qed_iov_free_hw_info(struct qed_dev *cdev); 388 void qed_iov_wq_stop(struct qed_dev *cdev, bool schedule_first); 389 int qed_iov_wq_start(struct qed_dev *cdev); 392 void qed_vf_start_iov_wq(struct qed_dev *cdev); 393 int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled); 433 static inline void qed_iov_free_hw_info(struct qed_dev *cdev) in qed_iov_free_hw_info() 443 static inline void qed_iov_wq_stop(struct qed_dev *cdev, bool schedule_first) in qed_iov_wq_stop() 447 static inline int qed_iov_wq_start(struct qed_dev *cdev) in qed_iov_wq_start() 457 static inline void qed_vf_start_iov_wq(struct qed_dev *cdev) in qed_vf_start_iov_wq() 461 static inline int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled) in qed_sriov_disable()
|
| D | qed_main.c | 110 static int qed_set_coherency_mask(struct qed_dev *cdev) in qed_set_coherency_mask() 128 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci() 147 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) in qed_init_pci() 244 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info() 321 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev() 326 static struct qed_dev *qed_alloc_cdev(struct pci_dev *pdev) in qed_alloc_cdev() 328 struct qed_dev *cdev; in qed_alloc_cdev() 340 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state() 350 struct qed_dev *cdev; 362 struct qed_dev *cdev; in qed_dl_param_get() [all …]
|
| D | qed_selftest.c | 40 int qed_selftest_memory(struct qed_dev *cdev) in qed_selftest_memory() 53 int qed_selftest_interrupt(struct qed_dev *cdev) in qed_selftest_interrupt() 66 int qed_selftest_register(struct qed_dev *cdev) in qed_selftest_register() 89 int qed_selftest_clock(struct qed_dev *cdev) in qed_selftest_clock() 112 int qed_selftest_nvram(struct qed_dev *cdev) in qed_selftest_nvram()
|
| D | qed_dcbx.c | 1332 static u8 qed_dcbnl_getstate(struct qed_dev *cdev) in qed_dcbnl_getstate() 1349 static u8 qed_dcbnl_setstate(struct qed_dev *cdev, u8 state) in qed_dcbnl_setstate() 1376 static void qed_dcbnl_getpgtccfgtx(struct qed_dev *cdev, int tc, u8 *prio_type, in qed_dcbnl_getpgtccfgtx() 1397 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx() 1418 static void qed_dcbnl_getpgtccfgrx(struct qed_dev *cdev, int tc, u8 *prio, in qed_dcbnl_getpgtccfgrx() 1425 static void qed_dcbnl_getpgbwgcfgrx(struct qed_dev *cdev, in qed_dcbnl_getpgbwgcfgrx() 1432 static void qed_dcbnl_getpfccfg(struct qed_dev *cdev, in qed_dcbnl_getpfccfg() 1453 static void qed_dcbnl_setpfccfg(struct qed_dev *cdev, int priority, u8 setting) in qed_dcbnl_setpfccfg() 1484 static u8 qed_dcbnl_getcap(struct qed_dev *cdev, int capid, u8 *cap) in qed_dcbnl_getcap() 1521 static int qed_dcbnl_getnumtcs(struct qed_dev *cdev, int tcid, u8 *num) in qed_dcbnl_getnumtcs() [all …]
|
| D | qed_ptp.c | 127 static int qed_ptp_hw_read_rx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_rx_ts() 153 static int qed_ptp_hw_read_tx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_tx_ts() 179 static int qed_ptp_hw_read_cc(struct qed_dev *cdev, u64 *phc_cycles) in qed_ptp_hw_read_cc() 194 static int qed_ptp_hw_cfg_filters(struct qed_dev *cdev, in qed_ptp_hw_cfg_filters() 278 static int qed_ptp_hw_adjfreq(struct qed_dev *cdev, s32 ppb) in qed_ptp_hw_adjfreq() 363 static int qed_ptp_hw_enable(struct qed_dev *cdev) in qed_ptp_hw_enable() 425 static int qed_ptp_hw_disable(struct qed_dev *cdev) in qed_ptp_hw_disable()
|
| D | qed_fcoe.h | 57 void qed_get_protocol_stats_fcoe(struct qed_dev *cdev, 68 static inline void qed_get_protocol_stats_fcoe(struct qed_dev *cdev, in qed_get_protocol_stats_fcoe()
|
| D | qed_iscsi.h | 72 void qed_get_protocol_stats_iscsi(struct qed_dev *cdev, 85 qed_get_protocol_stats_iscsi(struct qed_dev *cdev, in qed_get_protocol_stats_iscsi()
|
| D | qed_dev.c | 104 static bool qed_db_rec_sanity(struct qed_dev *cdev, in qed_db_rec_sanity() 133 static struct qed_hwfn *qed_db_rec_find_hwfn(struct qed_dev *cdev, in qed_db_rec_find_hwfn() 149 int qed_db_recovery_add(struct qed_dev *cdev, in qed_db_recovery_add() 198 int qed_db_recovery_del(struct qed_dev *cdev, in qed_db_recovery_del() 407 static void qed_llh_free(struct qed_dev *cdev) in qed_llh_free() 424 static int qed_llh_alloc(struct qed_dev *cdev) in qed_llh_alloc() 460 static int qed_llh_shadow_sanity(struct qed_dev *cdev, in qed_llh_shadow_sanity() 485 qed_llh_shadow_search_filter(struct qed_dev *cdev, in qed_llh_shadow_search_filter() 513 qed_llh_shadow_get_free_idx(struct qed_dev *cdev, u8 ppfid, u8 *p_filter_idx) in qed_llh_shadow_get_free_idx() 538 __qed_llh_shadow_add_filter(struct qed_dev *cdev, in __qed_llh_shadow_add_filter() [all …]
|
| D | qed.h | 551 struct qed_dev *cdev; 727 struct qed_dev { struct 890 static inline u8 qed_concrete_to_sw_fid(struct qed_dev *cdev, in qed_concrete_to_sw_fid() argument 910 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate); 911 void qed_configure_vp_wfq_on_link_change(struct qed_dev *cdev, 916 int qed_device_num_engines(struct qed_dev *cdev); 970 int qed_device_num_ports(struct qed_dev *cdev); 973 int qed_fill_dev_info(struct qed_dev *cdev, 980 void qed_get_protocol_stats(struct qed_dev *cdev,
|
| D | qed_mcp.h | 479 int qed_recovery_prolog(struct qed_dev *cdev); 567 int qed_mcp_nvm_read(struct qed_dev *cdev, u32 addr, u8 *p_buf, u32 len); 580 int qed_mcp_nvm_write(struct qed_dev *cdev, 591 int qed_mcp_nvm_resp(struct qed_dev *cdev, u8 *p_buf); 990 int qed_configure_pf_min_bandwidth(struct qed_dev *cdev, u8 min_bw); 991 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw);
|
| D | qed_l2.c | 809 static int qed_filter_accept_cmd(struct qed_dev *cdev, in qed_filter_accept_cmd() 1552 static int qed_filter_mcast_cmd(struct qed_dev *cdev, in qed_filter_mcast_cmd() 1586 static int qed_filter_ucast_cmd(struct qed_dev *cdev, in qed_filter_ucast_cmd() 1885 static void _qed_get_vport_stats(struct qed_dev *cdev, in _qed_get_vport_stats() 1922 void qed_get_vport_stats(struct qed_dev *cdev, struct qed_eth_stats *stats) in qed_get_vport_stats() 1942 void qed_reset_vport_stats(struct qed_dev *cdev) in qed_reset_vport_stats() 2199 static int qed_fill_eth_dev_info(struct qed_dev *cdev, in qed_fill_eth_dev_info() 2298 static void qed_register_eth_ops(struct qed_dev *cdev, in qed_register_eth_ops() 2309 static bool qed_check_mac(struct qed_dev *cdev, u8 *mac) in qed_check_mac() 2317 static int qed_start_vport(struct qed_dev *cdev, in qed_start_vport() [all …]
|
| D | qed_fcoe.c | 745 static int qed_fill_fcoe_dev_info(struct qed_dev *cdev, in qed_fill_fcoe_dev_info() 767 static void qed_register_fcoe_ops(struct qed_dev *cdev, in qed_register_fcoe_ops() 774 static struct qed_hash_fcoe_con *qed_fcoe_get_hash(struct qed_dev *cdev, in qed_fcoe_get_hash() 793 static int qed_fcoe_stop(struct qed_dev *cdev) in qed_fcoe_stop() 822 static int qed_fcoe_start(struct qed_dev *cdev, struct qed_fcoe_tid *tasks) in qed_fcoe_start() 872 static int qed_fcoe_acquire_conn(struct qed_dev *cdev, in qed_fcoe_acquire_conn() 907 static int qed_fcoe_release_conn(struct qed_dev *cdev, u32 handle) in qed_fcoe_release_conn() 925 static int qed_fcoe_offload_conn(struct qed_dev *cdev, in qed_fcoe_offload_conn() 978 static int qed_fcoe_destroy_conn(struct qed_dev *cdev, in qed_fcoe_destroy_conn() 999 static int qed_fcoe_stats(struct qed_dev *cdev, struct qed_fcoe_stats *stats) in qed_fcoe_stats() [all …]
|
| D | qed_iscsi.c | 1082 static int qed_fill_iscsi_dev_info(struct qed_dev *cdev, in qed_fill_iscsi_dev_info() 1102 static void qed_register_iscsi_ops(struct qed_dev *cdev, in qed_register_iscsi_ops() 1109 static struct qed_hash_iscsi_con *qed_iscsi_get_hash(struct qed_dev *cdev, in qed_iscsi_get_hash() 1128 static int qed_iscsi_stop(struct qed_dev *cdev) in qed_iscsi_stop() 1151 static int qed_iscsi_start(struct qed_dev *cdev, in qed_iscsi_start() 1203 static int qed_iscsi_acquire_conn(struct qed_dev *cdev, in qed_iscsi_acquire_conn() 1236 static int qed_iscsi_release_conn(struct qed_dev *cdev, u32 handle) in qed_iscsi_release_conn() 1254 static int qed_iscsi_offload_conn(struct qed_dev *cdev, in qed_iscsi_offload_conn() 1329 static int qed_iscsi_update_conn(struct qed_dev *cdev, in qed_iscsi_update_conn() 1356 static int qed_iscsi_clear_conn_sq(struct qed_dev *cdev, u32 handle) in qed_iscsi_clear_conn_sq() [all …]
|
| D | qed_init_ops.c | 72 void qed_init_iro_array(struct qed_dev *cdev) in qed_init_iro_array() 244 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_cmd_array() 440 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_cmd_mode_match() 493 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_run() 562 int qed_init_fw_data(struct qed_dev *cdev, const u8 *data) in qed_init_fw_data()
|