Home
last modified time | relevance | path

Searched refs:qed_dev (Results 1 – 25 of 50) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/qed/
Dqed_eth_if.h205 int (*ieee_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
206 int (*ieee_setpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
207 int (*ieee_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
208 int (*ieee_setets)(struct qed_dev *cdev, struct ieee_ets *ets);
209 int (*ieee_peer_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
210 int (*ieee_peer_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
211 int (*ieee_getapp)(struct qed_dev *cdev, struct dcb_app *app);
212 int (*ieee_setapp)(struct qed_dev *cdev, struct dcb_app *app);
215 u8 (*getstate)(struct qed_dev *cdev);
216 u8 (*setstate)(struct qed_dev *cdev, u8 state);
[all …]
Dqed_iov_if.h14 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);
Dqed_if.h450 struct qed_dev;
582 struct qed_dev *cdev;
785 struct qed_dev *cdev;
809 int (*selftest_interrupt)(struct qed_dev *cdev);
818 int (*selftest_memory)(struct qed_dev *cdev);
827 int (*selftest_register)(struct qed_dev *cdev);
836 int (*selftest_clock)(struct qed_dev *cdev);
845 int (*selftest_nvram) (struct qed_dev *cdev);
851 struct qed_dev* (*probe)(struct pci_dev *dev,
854 void (*remove)(struct qed_dev *cdev);
[all …]
Dqed_fcoe_if.h70 void qed_fcoe_set_pf_params(struct qed_dev *cdev,
124 int (*fill_dev_info)(struct qed_dev *cdev,
127 void (*register_ops)(struct qed_dev *cdev,
132 int (*start)(struct qed_dev *cdev, struct qed_fcoe_tid *tasks);
134 int (*stop)(struct qed_dev *cdev);
136 int (*acquire_conn)(struct qed_dev *cdev,
140 int (*release_conn)(struct qed_dev *cdev, u32 handle);
142 int (*offload_conn)(struct qed_dev *cdev,
145 int (*destroy_conn)(struct qed_dev *cdev,
148 int (*get_stats)(struct qed_dev *cdev, struct qed_fcoe_stats *stats);
Dqed_iscsi_if.h196 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,
222 int (*destroy_conn)(struct qed_dev *cdev, u32 handle, u8 abrt_conn);
224 int (*clear_sq)(struct qed_dev *cdev, u32 handle);
[all …]
Dqed_ll2_if.h219 int (*start)(struct qed_dev *cdev, struct qed_ll2_params *params);
228 int (*stop)(struct qed_dev *cdev);
239 int (*start_xmit)(struct qed_dev *cdev, struct sk_buff *skb,
252 void (*register_cb_ops)(struct qed_dev *cdev,
264 int (*get_stats)(struct qed_dev *cdev, struct qed_ll2_stats *stats);
268 int qed_ll2_alloc_if(struct qed_dev *);
269 void qed_ll2_dealloc_if(struct qed_dev *);
279 static inline int qed_ll2_alloc_if(struct qed_dev *cdev) in qed_ll2_alloc_if()
284 static inline void qed_ll2_dealloc_if(struct qed_dev *cdev) in qed_ll2_dealloc_if()
Dqed_rdma_if.h584 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,
667 int (*iwarp_set_engine_affin)(struct qed_dev *cdev, bool b_reset);
Dqede_rdma.h16 struct qed_dev;
37 struct qedr_dev* (*add)(struct qed_dev *, struct pci_dev *,
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_debug.h23 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 …]
Dqed_dev_api.h24 void qed_init_dp(struct qed_dev *cdev,
34 void qed_init_struct(struct qed_dev *cdev);
41 void qed_resc_free(struct qed_dev *cdev);
50 int qed_resc_alloc(struct qed_dev *cdev);
57 void qed_resc_setup(struct qed_dev *cdev);
115 int qed_hw_init(struct qed_dev *cdev, struct qed_hw_init_params *p_params);
124 void qed_hw_timers_stop_all(struct qed_dev *cdev);
133 int qed_hw_stop(struct qed_dev *cdev);
144 int qed_hw_stop_fastpath(struct qed_dev *cdev);
165 int qed_hw_prepare(struct qed_dev *cdev,
[all …]
Dqed_selftest.h15 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);
Dqed_sriov.h341 void qed_iov_free_hw_info(struct qed_dev *cdev);
365 void qed_iov_wq_stop(struct qed_dev *cdev, bool schedule_first);
366 int qed_iov_wq_start(struct qed_dev *cdev);
369 void qed_vf_start_iov_wq(struct qed_dev *cdev);
370 int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled);
410 static inline void qed_iov_free_hw_info(struct qed_dev *cdev) in qed_iov_free_hw_info()
420 static inline void qed_iov_wq_stop(struct qed_dev *cdev, bool schedule_first) in qed_iov_wq_stop()
424 static inline int qed_iov_wq_start(struct qed_dev *cdev) in qed_iov_wq_start()
434 static inline void qed_vf_start_iov_wq(struct qed_dev *cdev) in qed_vf_start_iov_wq()
438 static inline int qed_sriov_disable(struct qed_dev *cdev, bool pci_enabled) in qed_sriov_disable()
Dqed_main.c267 static int qed_set_coherency_mask(struct qed_dev *cdev) in qed_set_coherency_mask()
285 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci()
306 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) in qed_init_pci()
409 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info()
489 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev()
494 static struct qed_dev *qed_alloc_cdev(struct pci_dev *pdev) in qed_alloc_cdev()
496 struct qed_dev *cdev; in qed_alloc_cdev()
508 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state()
518 static struct qed_dev *qed_probe(struct pci_dev *pdev, in qed_probe()
521 struct qed_dev *cdev; in qed_probe()
[all …]
Dqed_chain.c67 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()
Dqed_selftest.c14 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()
Dqed_devlink.c43 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()
Dqed_dcbx.c1307 static u8 qed_dcbnl_getstate(struct qed_dev *cdev) in qed_dcbnl_getstate()
1324 static u8 qed_dcbnl_setstate(struct qed_dev *cdev, u8 state) in qed_dcbnl_setstate()
1351 static void qed_dcbnl_getpgtccfgtx(struct qed_dev *cdev, int tc, u8 *prio_type, in qed_dcbnl_getpgtccfgtx()
1372 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx()
1393 static void qed_dcbnl_getpgtccfgrx(struct qed_dev *cdev, int tc, u8 *prio, in qed_dcbnl_getpgtccfgrx()
1400 static void qed_dcbnl_getpgbwgcfgrx(struct qed_dev *cdev, in qed_dcbnl_getpgbwgcfgrx()
1407 static void qed_dcbnl_getpfccfg(struct qed_dev *cdev, in qed_dcbnl_getpfccfg()
1428 static void qed_dcbnl_setpfccfg(struct qed_dev *cdev, int priority, u8 setting) in qed_dcbnl_setpfccfg()
1459 static u8 qed_dcbnl_getcap(struct qed_dev *cdev, int capid, u8 *cap) in qed_dcbnl_getcap()
1496 static int qed_dcbnl_getnumtcs(struct qed_dev *cdev, int tcid, u8 *num) in qed_dcbnl_getnumtcs()
[all …]
Dqed_ptp.c103 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()
Dqed_fcoe.h31 void qed_get_protocol_stats_fcoe(struct qed_dev *cdev,
42 static inline void qed_get_protocol_stats_fcoe(struct qed_dev *cdev, in qed_get_protocol_stats_fcoe()
Dqed_iscsi.h42 void qed_get_protocol_stats_iscsi(struct qed_dev *cdev,
55 qed_get_protocol_stats_iscsi(struct qed_dev *cdev, in qed_get_protocol_stats_iscsi()
Dqed.h531 struct qed_dev *cdev;
703 struct qed_dev { struct
856 u32 qed_get_hsi_def_val(struct qed_dev *cdev, enum qed_hsi_def_type type); argument
894 static inline u8 qed_concrete_to_sw_fid(struct qed_dev *cdev, in qed_concrete_to_sw_fid()
914 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate);
915 void qed_configure_vp_wfq_on_link_change(struct qed_dev *cdev,
920 int qed_device_num_engines(struct qed_dev *cdev);
974 int qed_device_num_ports(struct qed_dev *cdev);
977 int qed_fill_dev_info(struct qed_dev *cdev,
984 int qed_recovery_process(struct qed_dev *cdev);
[all …]
Dqed_dev.c78 static bool qed_db_rec_sanity(struct qed_dev *cdev, in qed_db_rec_sanity()
107 static struct qed_hwfn *qed_db_rec_find_hwfn(struct qed_dev *cdev, in qed_db_rec_find_hwfn()
123 int qed_db_recovery_add(struct qed_dev *cdev, in qed_db_recovery_add()
172 int qed_db_recovery_del(struct qed_dev *cdev, in qed_db_recovery_del()
381 static void qed_llh_free(struct qed_dev *cdev) in qed_llh_free()
398 static int qed_llh_alloc(struct qed_dev *cdev) in qed_llh_alloc()
434 static int qed_llh_shadow_sanity(struct qed_dev *cdev, in qed_llh_shadow_sanity()
459 qed_llh_shadow_search_filter(struct qed_dev *cdev, in qed_llh_shadow_search_filter()
487 qed_llh_shadow_get_free_idx(struct qed_dev *cdev, u8 ppfid, u8 *p_filter_idx) in qed_llh_shadow_get_free_idx()
512 __qed_llh_shadow_add_filter(struct qed_dev *cdev, in __qed_llh_shadow_add_filter()
[all …]
Dqed_mcp.h487 int qed_recovery_prolog(struct qed_dev *cdev);
575 int qed_mcp_nvm_read(struct qed_dev *cdev, u32 addr, u8 *p_buf, u32 len);
588 int qed_mcp_nvm_write(struct qed_dev *cdev,
599 int qed_mcp_nvm_resp(struct qed_dev *cdev, u8 *p_buf);
1027 int qed_configure_pf_min_bandwidth(struct qed_dev *cdev, u8 min_bw);
1028 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw);
Dqed_l2.c788 static int qed_filter_accept_cmd(struct qed_dev *cdev, in qed_filter_accept_cmd()
1531 static int qed_filter_mcast_cmd(struct qed_dev *cdev, in qed_filter_mcast_cmd()
1565 static int qed_filter_ucast_cmd(struct qed_dev *cdev, in qed_filter_ucast_cmd()
1864 static void _qed_get_vport_stats(struct qed_dev *cdev, in _qed_get_vport_stats()
1901 void qed_get_vport_stats(struct qed_dev *cdev, struct qed_eth_stats *stats) in qed_get_vport_stats()
1921 void qed_reset_vport_stats(struct qed_dev *cdev) in qed_reset_vport_stats()
2183 static int qed_fill_eth_dev_info(struct qed_dev *cdev, in qed_fill_eth_dev_info()
2282 static void qed_register_eth_ops(struct qed_dev *cdev, in qed_register_eth_ops()
2293 static bool qed_check_mac(struct qed_dev *cdev, u8 *mac) in qed_check_mac()
2301 static int qed_start_vport(struct qed_dev *cdev, in qed_start_vport()
[all …]
Dqed_fcoe.c723 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(struct qed_dev *cdev, struct qed_fcoe_stats *stats) in qed_fcoe_stats()
[all …]

12