Lines Matching defs:cdev
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()
542 qed_llh_shadow_add_filter(struct qed_dev *cdev, in qed_llh_shadow_add_filter()
575 __qed_llh_shadow_remove_filter(struct qed_dev *cdev, in __qed_llh_shadow_remove_filter()
602 qed_llh_shadow_remove_filter(struct qed_dev *cdev, in qed_llh_shadow_remove_filter()
623 static int qed_llh_abs_ppfid(struct qed_dev *cdev, u8 ppfid, u8 *p_abs_ppfid) in qed_llh_abs_ppfid()
643 struct qed_dev *cdev = p_hwfn->cdev; in qed_llh_set_engine_affin() local
698 struct qed_dev *cdev = p_hwfn->cdev; in qed_llh_hw_init_pf() local
731 u8 qed_llh_get_num_ppfid(struct qed_dev *cdev) in qed_llh_get_num_ppfid()
741 int qed_llh_set_ppfid_affinity(struct qed_dev *cdev, u8 ppfid, enum qed_eng eng) in qed_llh_set_ppfid_affinity()
789 int qed_llh_set_roce_affinity(struct qed_dev *cdev, enum qed_eng eng) in qed_llh_set_roce_affinity()
954 int qed_llh_add_mac_filter(struct qed_dev *cdev, in qed_llh_add_mac_filter()
1009 qed_llh_protocol_filter_stringify(struct qed_dev *cdev, in qed_llh_protocol_filter_stringify()
1051 qed_llh_protocol_filter_to_hilo(struct qed_dev *cdev, in qed_llh_protocol_filter_to_hilo()
1085 qed_llh_add_protocol_filter(struct qed_dev *cdev, in qed_llh_add_protocol_filter()
1154 void qed_llh_remove_mac_filter(struct qed_dev *cdev, in qed_llh_remove_mac_filter()
1205 void qed_llh_remove_protocol_filter(struct qed_dev *cdev, in qed_llh_remove_protocol_filter()
1294 void qed_init_dp(struct qed_dev *cdev, u32 dp_module, u8 dp_level) in qed_init_dp()
1308 void qed_init_struct(struct qed_dev *cdev) in qed_init_struct()
1349 void qed_resc_free(struct qed_dev *cdev) in qed_resc_free()
1575 struct qed_dev *cdev = p_hwfn->cdev; in qed_init_qm_port_params() local
2162 int qed_resc_alloc(struct qed_dev *cdev) in qed_resc_alloc()
2423 void qed_resc_setup(struct qed_dev *cdev) in qed_resc_setup()
2570 static void qed_init_cau_rt_data(struct qed_dev *cdev) in qed_init_cau_rt_data()
2658 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_init_common() local
3065 int qed_hw_init(struct qed_dev *cdev, struct qed_hw_init_params *p_params) in qed_hw_init()
3301 static void qed_hw_timers_stop(struct qed_dev *cdev, in qed_hw_timers_stop()
3334 void qed_hw_timers_stop_all(struct qed_dev *cdev) in qed_hw_timers_stop_all()
3346 int qed_hw_stop(struct qed_dev *cdev) in qed_hw_stop()
3462 int qed_hw_stop_fastpath(struct qed_dev *cdev) in qed_hw_stop_fastpath()
3721 u32 qed_get_hsi_def_val(struct qed_dev *cdev, enum qed_hsi_def_type type) in qed_get_hsi_def_val()
3789 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_get_dflt_resc() local
3946 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_get_ppfid_bitmap() local
4321 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_get_nvm_info() local
4415 struct qed_dev *cdev = p_hwfn->cdev; in qed_get_num_funcs() local
4475 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_info_port_num() local
4598 struct qed_dev *cdev = p_hwfn->cdev; in qed_get_dev_info() local
4658 struct qed_dev *cdev = p_hwfn->cdev; in qed_hw_prepare_single() local
4747 int qed_hw_prepare(struct qed_dev *cdev, in qed_hw_prepare()
4807 void qed_hw_remove(struct qed_dev *cdev) in qed_hw_remove()
5216 int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate) in qed_configure_vport_wfq()
5249 void qed_configure_vp_wfq_on_link_change(struct qed_dev *cdev, in qed_configure_vp_wfq_on_link_change()
5302 int qed_configure_pf_max_bandwidth(struct qed_dev *cdev, u8 max_bw) in qed_configure_pf_max_bandwidth()
5360 int qed_configure_pf_min_bandwidth(struct qed_dev *cdev, u8 min_bw) in qed_configure_pf_min_bandwidth()
5416 int qed_device_num_ports(struct qed_dev *cdev) in qed_device_num_ports()
5432 static int qed_llh_shadow_remove_all_filters(struct qed_dev *cdev, u8 ppfid) in qed_llh_shadow_remove_all_filters()
5449 static void qed_llh_clear_ppfid_filters(struct qed_dev *cdev, u8 ppfid) in qed_llh_clear_ppfid_filters()
5482 int qed_llh_add_src_tcp_port_filter(struct qed_dev *cdev, u16 src_port) in qed_llh_add_src_tcp_port_filter()
5489 void qed_llh_remove_src_tcp_port_filter(struct qed_dev *cdev, u16 src_port) in qed_llh_remove_src_tcp_port_filter()
5496 int qed_llh_add_dst_tcp_port_filter(struct qed_dev *cdev, u16 dest_port) in qed_llh_add_dst_tcp_port_filter()
5503 void qed_llh_remove_dst_tcp_port_filter(struct qed_dev *cdev, u16 dest_port) in qed_llh_remove_dst_tcp_port_filter()
5510 void qed_llh_clear_all_filters(struct qed_dev *cdev) in qed_llh_clear_all_filters()