Home
last modified time | relevance | path

Searched refs:qed_dev (Results 1 - 25 of 102) sorted by relevance

12345

/kernel/linux/linux-6.6/include/linux/qed/
H A Dqed_eth_if.h194 int (*ieee_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
195 int (*ieee_setpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
196 int (*ieee_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
197 int (*ieee_setets)(struct qed_dev *cdev, struct ieee_ets *ets);
198 int (*ieee_peer_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
199 int (*ieee_peer_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
200 int (*ieee_getapp)(struct qed_dev *cdev, struct dcb_app *app);
201 int (*ieee_setapp)(struct qed_dev *cdev, struct dcb_app *app);
204 u8 (*getstate)(struct qed_dev *cdev);
205 u8 (*setstate)(struct qed_dev *cde
[all...]
H A Dqed_if.h454 struct qed_dev;
603 struct qed_dev *cdev;
807 struct qed_dev *cdev;
837 int (*selftest_interrupt)(struct qed_dev *cdev);
846 int (*selftest_memory)(struct qed_dev *cdev);
855 int (*selftest_register)(struct qed_dev *cdev);
864 int (*selftest_clock)(struct qed_dev *cdev);
873 int (*selftest_nvram) (struct qed_dev *cdev);
879 struct qed_dev* (*probe)(struct pci_dev *dev,
882 void (*remove)(struct qed_dev *cde
[all...]
H A Dqed_nvmetcp_if.h197 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,
223 int (*destroy_conn)(struct qed_dev *cdev, u32 handle, u8 abrt_conn);
225 int (*clear_sq)(struct qed_dev *cde
[all...]
H A 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);
H A Dqed_fcoe_if.h121 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 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 *cde
[all...]
H A Dqed_ll2_if.h218 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()
/kernel/linux/linux-5.10/include/linux/qed/
H A 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 *cde
[all...]
H A 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);
H A 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 *cde
[all...]
H A 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 *cde
[all...]
H A 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 *cde
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A 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 *cde
[all...]
H A Dqed_dev_api.h26 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 *cde
[all...]
H A 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);
H A Dqed_sriov.h85 /* This struct is part of qed_dev and contains data relevant to all hwfns;
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 *cde
[all...]
H A Dqed_main.c257 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci()
276 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) in qed_init_pci()
376 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info()
456 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev()
461 static struct qed_dev *qed_alloc_cdev(struct pci_dev *pdev) in qed_alloc_cdev()
463 struct qed_dev *cdev; in qed_alloc_cdev()
475 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state()
485 static struct qed_dev *qed_probe(struct pci_dev *pdev, in qed_probe()
488 struct qed_dev *cdev; in qed_probe()
530 static void qed_remove(struct qed_dev *cde
[all...]
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A 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 *cde
[all...]
H A 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 *cde
[all...]
H A 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);
H A Dqed_sriov.h85 /* This struct is part of qed_dev and contains data relevant to all hwfns;
341 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 *cde
[all...]
H A 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 *cde in qed_probe()
[all...]
H A 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()

Completed in 22 milliseconds

12345