/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.h | 23 struct qed_dev; 26 int qed_dbg_grc(struct qed_dev *cdev, void *buffer, u32 *num_dumped_bytes); 27 int qed_dbg_grc_size(struct qed_dev *cdev); 28 int qed_dbg_idle_chk(struct qed_dev *cdev, void *buffer, 30 int qed_dbg_idle_chk_size(struct qed_dev *cdev); 31 int qed_dbg_reg_fifo(struct qed_dev *cdev, void *buffer, 33 int qed_dbg_reg_fifo_size(struct qed_dev *cdev); 34 int qed_dbg_igu_fifo(struct qed_dev *cdev, void *buffer, 36 int qed_dbg_igu_fifo_size(struct qed_dev *cdev); 37 int qed_dbg_protection_override(struct qed_dev *cdev, void *buffer, [all …]
|
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); 123 int qed_hw_init(struct qed_dev *cdev, struct qed_hw_init_params *p_params); 132 void qed_hw_timers_stop_all(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, [all …]
|
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);
|
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()
|
D | qed_main.c | 258 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci() 279 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) in qed_init_pci() 385 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info() 465 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev() 470 static struct qed_dev *qed_alloc_cdev(struct pci_dev *pdev) in qed_alloc_cdev() 472 struct qed_dev *cdev; in qed_alloc_cdev() 484 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state() 494 static struct qed_dev *qed_probe(struct pci_dev *pdev, in qed_probe() 497 struct qed_dev *cdev; in qed_probe() 539 static void qed_remove(struct qed_dev *cdev) in qed_remove() [all …]
|
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()
|
D | qed.h | 524 struct qed_dev *cdev; 697 struct qed_dev { struct 849 u32 qed_get_hsi_def_val(struct qed_dev *cdev, enum qed_hsi_def_type type); argument 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, 912 int qed_device_num_engines(struct qed_dev *cdev); 972 int qed_device_num_ports(struct qed_dev *cdev); 975 int qed_fill_dev_info(struct qed_dev *cdev, 982 int qed_recovery_process(struct qed_dev *cdev); [all …]
|
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()
|
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() 203 struct devlink *qed_devlink_register(struct qed_dev *cdev) in qed_devlink_register()
|
D | qed_dcbx.c | 1305 static u8 qed_dcbnl_getstate(struct qed_dev *cdev) in qed_dcbnl_getstate() 1322 static u8 qed_dcbnl_setstate(struct qed_dev *cdev, u8 state) in qed_dcbnl_setstate() 1349 static void qed_dcbnl_getpgtccfgtx(struct qed_dev *cdev, int tc, u8 *prio_type, in qed_dcbnl_getpgtccfgtx() 1370 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx() 1391 static void qed_dcbnl_getpgtccfgrx(struct qed_dev *cdev, int tc, u8 *prio, in qed_dcbnl_getpgtccfgrx() 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() 1426 static void qed_dcbnl_setpfccfg(struct qed_dev *cdev, int priority, u8 setting) in qed_dcbnl_setpfccfg() 1457 static u8 qed_dcbnl_getcap(struct qed_dev *cdev, int capid, u8 *cap) in qed_dcbnl_getcap() 1494 static int qed_dcbnl_getnumtcs(struct qed_dev *cdev, int tcid, u8 *num) in qed_dcbnl_getnumtcs() [all …]
|
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()
|
D | qed_dev.c | 80 static bool qed_db_rec_sanity(struct qed_dev *cdev, in qed_db_rec_sanity() 109 static struct qed_hwfn *qed_db_rec_find_hwfn(struct qed_dev *cdev, in qed_db_rec_find_hwfn() 125 int qed_db_recovery_add(struct qed_dev *cdev, in qed_db_recovery_add() 174 int qed_db_recovery_del(struct qed_dev *cdev, in qed_db_recovery_del() 383 static void qed_llh_free(struct qed_dev *cdev) in qed_llh_free() 400 static int qed_llh_alloc(struct qed_dev *cdev) in qed_llh_alloc() 436 static int qed_llh_shadow_sanity(struct qed_dev *cdev, in qed_llh_shadow_sanity() 461 qed_llh_shadow_search_filter(struct qed_dev *cdev, in qed_llh_shadow_search_filter() 489 qed_llh_shadow_get_free_idx(struct qed_dev *cdev, u8 ppfid, u8 *p_filter_idx) in qed_llh_shadow_get_free_idx() 514 __qed_llh_shadow_add_filter(struct qed_dev *cdev, in __qed_llh_shadow_add_filter() [all …]
|
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 …]
|
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()
|
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()
|
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 …]
|
D | qed_l2.c | 789 static int qed_filter_accept_cmd(struct qed_dev *cdev, in qed_filter_accept_cmd() 1532 static int qed_filter_mcast_cmd(struct qed_dev *cdev, in qed_filter_mcast_cmd() 1566 static int qed_filter_ucast_cmd(struct qed_dev *cdev, in qed_filter_ucast_cmd() 1865 static void _qed_get_vport_stats(struct qed_dev *cdev, in _qed_get_vport_stats() 1904 void qed_get_vport_stats(struct qed_dev *cdev, struct qed_eth_stats *stats) in qed_get_vport_stats() 1909 void qed_get_vport_stats_context(struct qed_dev *cdev, in qed_get_vport_stats_context() 1931 void qed_reset_vport_stats(struct qed_dev *cdev) in qed_reset_vport_stats() 2193 static int qed_fill_eth_dev_info(struct qed_dev *cdev, in qed_fill_eth_dev_info() 2292 static void qed_register_eth_ops(struct qed_dev *cdev, in qed_register_eth_ops() 2303 static bool qed_check_mac(struct qed_dev *cdev, u8 *mac) in qed_check_mac() [all …]
|
D | qed_mcp.h | 516 int qed_recovery_prolog(struct qed_dev *cdev); 605 int qed_mcp_nvm_read(struct qed_dev *cdev, u32 addr, u8 *p_buf, u32 len); 618 int qed_mcp_nvm_write(struct qed_dev *cdev, 629 int qed_mcp_nvm_resp(struct qed_dev *cdev, u8 *p_buf); 1079 int qed_configure_pf_min_bandwidth(struct qed_dev *cdev, u8 min_bw); 1080 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw);
|
D | qed_iscsi.c | 1033 static int qed_fill_iscsi_dev_info(struct qed_dev *cdev, in qed_fill_iscsi_dev_info() 1053 static void qed_register_iscsi_ops(struct qed_dev *cdev, in qed_register_iscsi_ops() 1060 static struct qed_hash_iscsi_con *qed_iscsi_get_hash(struct qed_dev *cdev, in qed_iscsi_get_hash() 1079 static int qed_iscsi_stop(struct qed_dev *cdev) in qed_iscsi_stop() 1102 static int qed_iscsi_start(struct qed_dev *cdev, in qed_iscsi_start() 1154 static int qed_iscsi_acquire_conn(struct qed_dev *cdev, in qed_iscsi_acquire_conn() 1187 static int qed_iscsi_release_conn(struct qed_dev *cdev, u32 handle) in qed_iscsi_release_conn() 1205 static int qed_iscsi_offload_conn(struct qed_dev *cdev, in qed_iscsi_offload_conn() 1280 static int qed_iscsi_update_conn(struct qed_dev *cdev, in qed_iscsi_update_conn() 1307 static int qed_iscsi_clear_conn_sq(struct qed_dev *cdev, u32 handle) in qed_iscsi_clear_conn_sq() [all …]
|
D | qed_l2.h | 261 void qed_get_vport_stats(struct qed_dev *cdev, struct qed_eth_stats *stats); 274 void qed_get_vport_stats_context(struct qed_dev *cdev, 278 void qed_reset_vport_stats(struct qed_dev *cdev);
|
D | qed_init_ops.c | 122 void qed_init_iro_array(struct qed_dev *cdev) in qed_init_iro_array() 305 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_cmd_array() 500 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_cmd_mode_match() 553 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_run() 623 int qed_init_fw_data(struct qed_dev *cdev, const u8 *data) in qed_init_fw_data()
|
D | qed_int.h | 173 void qed_int_disable_post_isr_release(struct qed_dev *cdev); 186 void qed_int_attn_clr_enable(struct qed_dev *cdev, bool clr_enable);
|
D | qed_ll2.c | 99 struct qed_dev *cdev = p_hwfn->cdev; in qed_ll2b_complete_tx_packet() 113 static int qed_ll2_alloc_buffer(struct qed_dev *cdev, in qed_ll2_alloc_buffer() 137 static int qed_ll2_dealloc_buffer(struct qed_dev *cdev, in qed_ll2_dealloc_buffer() 156 static void qed_ll2_kill_buffers(struct qed_dev *cdev) in qed_ll2_kill_buffers() 169 struct qed_dev *cdev = p_hwfn->cdev; in qed_ll2b_complete_rx_packet() 1181 struct qed_dev *cdev = p_hwfn->cdev; in qed_ll2_acquire_connection_rx() 2371 static void qed_ll2_register_cb_ops(struct qed_dev *cdev, in qed_ll2_register_cb_ops() 2444 static bool qed_ll2_is_storage_eng1(struct qed_dev *cdev) in qed_ll2_is_storage_eng1() 2454 struct qed_dev *cdev = p_hwfn->cdev; in __qed_ll2_stop() 2466 static int qed_ll2_stop(struct qed_dev *cdev) in qed_ll2_stop() [all …]
|
D | qed_devlink.h | 12 struct devlink *qed_devlink_register(struct qed_dev *cdev);
|
D | qed_init_ops.h | 21 void qed_init_iro_array(struct qed_dev *cdev);
|