/Linux-v4.19/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_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_if.h | 461 struct qed_dev; 593 struct qed_dev *cdev; 791 int (*selftest_interrupt)(struct qed_dev *cdev); 800 int (*selftest_memory)(struct qed_dev *cdev); 809 int (*selftest_register)(struct qed_dev *cdev); 818 int (*selftest_clock)(struct qed_dev *cdev); 827 int (*selftest_nvram) (struct qed_dev *cdev); 833 struct qed_dev* (*probe)(struct pci_dev *dev, 836 void (*remove)(struct qed_dev *cdev); 838 int (*set_power_state)(struct qed_dev *cdev, [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 | 601 int (*fill_dev_info)(struct qed_dev *cdev, 603 void *(*rdma_get_rdma_ctx)(struct qed_dev *cdev); 605 int (*rdma_init)(struct qed_dev *dev, 615 int (*rdma_get_start_sb)(struct qed_dev *cdev); 616 int (*rdma_get_min_cnq_msix)(struct qed_dev *cdev); 618 int (*rdma_get_rdma_int)(struct qed_dev *cdev, 620 int (*rdma_set_rdma_int)(struct qed_dev *cdev, u16 cnt); 679 int (*ll2_set_mac_filter)(struct qed_dev *cdev,
|
D | qede_rdma.h | 41 struct qed_dev; 61 struct qedr_dev* (*add)(struct qed_dev *, struct pci_dev *,
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_debug.h | 24 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 | 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 | 105 static int qed_set_coherency_mask(struct qed_dev *cdev) in qed_set_coherency_mask() 123 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci() 142 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) in qed_init_pci() 239 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info() 314 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev() 319 static struct qed_dev *qed_alloc_cdev(struct pci_dev *pdev) in qed_alloc_cdev() 321 struct qed_dev *cdev; in qed_alloc_cdev() 333 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state() 343 static struct qed_dev *qed_probe(struct pci_dev *pdev, in qed_probe() 346 struct qed_dev *cdev; in qed_probe() [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 | 1333 static u8 qed_dcbnl_getstate(struct qed_dev *cdev) in qed_dcbnl_getstate() 1350 static u8 qed_dcbnl_setstate(struct qed_dev *cdev, u8 state) in qed_dcbnl_setstate() 1377 static void qed_dcbnl_getpgtccfgtx(struct qed_dev *cdev, int tc, u8 *prio_type, in qed_dcbnl_getpgtccfgtx() 1398 static void qed_dcbnl_getpgbwgcfgtx(struct qed_dev *cdev, int pgid, u8 *bw_pct) in qed_dcbnl_getpgbwgcfgtx() 1419 static void qed_dcbnl_getpgtccfgrx(struct qed_dev *cdev, int tc, u8 *prio, in qed_dcbnl_getpgtccfgrx() 1426 static void qed_dcbnl_getpgbwgcfgrx(struct qed_dev *cdev, in qed_dcbnl_getpgbwgcfgrx() 1433 static void qed_dcbnl_getpfccfg(struct qed_dev *cdev, in qed_dcbnl_getpfccfg() 1454 static void qed_dcbnl_setpfccfg(struct qed_dev *cdev, int priority, u8 setting) in qed_dcbnl_setpfccfg() 1485 static u8 qed_dcbnl_getcap(struct qed_dev *cdev, int capid, u8 *cap) in qed_dcbnl_getcap() 1522 static int qed_dcbnl_getnumtcs(struct qed_dev *cdev, int tcid, u8 *num) in qed_dcbnl_getnumtcs() [all …]
|
D | qed_ptp.c | 125 static int qed_ptp_hw_read_rx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_rx_ts() 151 static int qed_ptp_hw_read_tx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_tx_ts() 176 static int qed_ptp_hw_read_cc(struct qed_dev *cdev, u64 *phc_cycles) in qed_ptp_hw_read_cc() 191 static int qed_ptp_hw_cfg_filters(struct qed_dev *cdev, in qed_ptp_hw_cfg_filters() 273 static int qed_ptp_hw_adjfreq(struct qed_dev *cdev, s32 ppb) in qed_ptp_hw_adjfreq() 358 static int qed_ptp_hw_enable(struct qed_dev *cdev) in qed_ptp_hw_enable() 420 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_mcp.h | 331 int qed_mcp_get_media_type(struct qed_dev *cdev, 482 int qed_mcp_nvm_read(struct qed_dev *cdev, u32 addr, u8 *p_buf, u32 len); 495 int qed_mcp_nvm_write(struct qed_dev *cdev, 506 int qed_mcp_nvm_put_file_begin(struct qed_dev *cdev, u32 addr); 516 int qed_mcp_nvm_resp(struct qed_dev *cdev, u8 *p_buf); 909 int qed_configure_pf_min_bandwidth(struct qed_dev *cdev, u8 min_bw); 910 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw);
|
D | qed.h | 528 struct qed_dev *cdev; 700 struct qed_dev { struct 846 static inline u8 qed_concrete_to_sw_fid(struct qed_dev *cdev, in qed_concrete_to_sw_fid() argument 866 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate); 867 void qed_configure_vp_wfq_on_link_change(struct qed_dev *cdev, 872 int qed_device_num_engines(struct qed_dev *cdev); 873 int qed_device_get_port_id(struct qed_dev *cdev); 915 int qed_fill_dev_info(struct qed_dev *cdev, 921 void qed_get_protocol_stats(struct qed_dev *cdev,
|
D | qed_l2.c | 801 static int qed_filter_accept_cmd(struct qed_dev *cdev, in qed_filter_accept_cmd() 1543 static int qed_filter_mcast_cmd(struct qed_dev *cdev, in qed_filter_mcast_cmd() 1577 static int qed_filter_ucast_cmd(struct qed_dev *cdev, in qed_filter_ucast_cmd() 1880 static void _qed_get_vport_stats(struct qed_dev *cdev, in _qed_get_vport_stats() 1915 void qed_get_vport_stats(struct qed_dev *cdev, struct qed_eth_stats *stats) in qed_get_vport_stats() 1935 void qed_reset_vport_stats(struct qed_dev *cdev) in qed_reset_vport_stats() 2188 static int qed_fill_eth_dev_info(struct qed_dev *cdev, in qed_fill_eth_dev_info() 2286 static void qed_register_eth_ops(struct qed_dev *cdev, in qed_register_eth_ops() 2297 static bool qed_check_mac(struct qed_dev *cdev, u8 *mac) in qed_check_mac() 2305 static int qed_start_vport(struct qed_dev *cdev, in qed_start_vport() [all …]
|
D | qed_dev.c | 98 void qed_init_dp(struct qed_dev *cdev, u32 dp_module, u8 dp_level) in qed_init_dp() 112 void qed_init_struct(struct qed_dev *cdev) in qed_init_struct() 147 void qed_resc_free(struct qed_dev *cdev) in qed_resc_free() 919 int qed_resc_alloc(struct qed_dev *cdev) in qed_resc_alloc() 1101 void qed_resc_setup(struct qed_dev *cdev) in qed_resc_setup() 1242 static void qed_init_cau_rt_data(struct qed_dev *cdev) in qed_init_cau_rt_data() 1330 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_init_common() 1706 int qed_hw_init(struct qed_dev *cdev, struct qed_hw_init_params *p_params) in qed_hw_init() 1899 static void qed_hw_timers_stop(struct qed_dev *cdev, in qed_hw_timers_stop() 1929 void qed_hw_timers_stop_all(struct qed_dev *cdev) in qed_hw_timers_stop_all() [all …]
|
D | qed_fcoe.c | 740 static int qed_fill_fcoe_dev_info(struct qed_dev *cdev, in qed_fill_fcoe_dev_info() 762 static void qed_register_fcoe_ops(struct qed_dev *cdev, in qed_register_fcoe_ops() 769 static struct qed_hash_fcoe_con *qed_fcoe_get_hash(struct qed_dev *cdev, in qed_fcoe_get_hash() 788 static int qed_fcoe_stop(struct qed_dev *cdev) in qed_fcoe_stop() 817 static int qed_fcoe_start(struct qed_dev *cdev, struct qed_fcoe_tid *tasks) in qed_fcoe_start() 867 static int qed_fcoe_acquire_conn(struct qed_dev *cdev, in qed_fcoe_acquire_conn() 902 static int qed_fcoe_release_conn(struct qed_dev *cdev, u32 handle) in qed_fcoe_release_conn() 920 static int qed_fcoe_offload_conn(struct qed_dev *cdev, in qed_fcoe_offload_conn() 973 static int qed_fcoe_destroy_conn(struct qed_dev *cdev, in qed_fcoe_destroy_conn() 994 static int qed_fcoe_stats(struct qed_dev *cdev, struct qed_fcoe_stats *stats) in qed_fcoe_stats() [all …]
|
D | qed_iscsi.c | 1081 static int qed_fill_iscsi_dev_info(struct qed_dev *cdev, in qed_fill_iscsi_dev_info() 1101 static void qed_register_iscsi_ops(struct qed_dev *cdev, in qed_register_iscsi_ops() 1108 static struct qed_hash_iscsi_con *qed_iscsi_get_hash(struct qed_dev *cdev, in qed_iscsi_get_hash() 1127 static int qed_iscsi_stop(struct qed_dev *cdev) in qed_iscsi_stop() 1150 static int qed_iscsi_start(struct qed_dev *cdev, in qed_iscsi_start() 1204 static int qed_iscsi_acquire_conn(struct qed_dev *cdev, in qed_iscsi_acquire_conn() 1237 static int qed_iscsi_release_conn(struct qed_dev *cdev, u32 handle) in qed_iscsi_release_conn() 1255 static int qed_iscsi_offload_conn(struct qed_dev *cdev, in qed_iscsi_offload_conn() 1330 static int qed_iscsi_update_conn(struct qed_dev *cdev, in qed_iscsi_update_conn() 1357 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() 243 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_cmd_array() 439 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_cmd_mode_match() 492 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_run() 561 int qed_init_fw_data(struct qed_dev *cdev, const u8 *data) in qed_init_fw_data()
|