Lines Matching defs:cdev
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()
472 struct qed_dev *cdev; in qed_alloc_cdev() local
484 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state()
497 struct qed_dev *cdev; in qed_probe() local
539 static void qed_remove(struct qed_dev *cdev) in qed_remove()
553 static void qed_disable_msix(struct qed_dev *cdev) in qed_disable_msix()
565 static int qed_enable_msix(struct qed_dev *cdev, in qed_enable_msix()
615 static int qed_set_int_mode(struct qed_dev *cdev, bool force_mode) in qed_set_int_mode()
677 static void qed_simd_handler_config(struct qed_dev *cdev, void *token, in qed_simd_handler_config()
687 static void qed_simd_handler_clean(struct qed_dev *cdev, int index) in qed_simd_handler_clean()
704 struct qed_dev *cdev = (struct qed_dev *)dev_instance; in qed_single_int() local
754 struct qed_dev *cdev = hwfn->cdev; in qed_slowpath_irq_req() local
805 struct qed_dev *cdev = p_hwfn->cdev; in qed_slowpath_irq_sync() local
818 static void qed_slowpath_irq_free(struct qed_dev *cdev) in qed_slowpath_irq_free()
836 static int qed_nic_stop(struct qed_dev *cdev) in qed_nic_stop()
859 static int qed_nic_setup(struct qed_dev *cdev) in qed_nic_setup()
883 static int qed_set_int_fp(struct qed_dev *cdev, u16 cnt) in qed_set_int_fp()
901 static int qed_get_int_fp(struct qed_dev *cdev, struct qed_int_info *info) in qed_get_int_fp()
924 static int qed_slowpath_setup_int(struct qed_dev *cdev, in qed_slowpath_setup_int()
996 static int qed_slowpath_vf_setup_int(struct qed_dev *cdev) in qed_slowpath_vf_setup_int()
1055 static int qed_alloc_stream_mem(struct qed_dev *cdev) in qed_alloc_stream_mem()
1076 static void qed_free_stream_mem(struct qed_dev *cdev) in qed_free_stream_mem()
1091 static void qed_update_pf_params(struct qed_dev *cdev, in qed_update_pf_params()
1161 static void qed_slowpath_wq_stop(struct qed_dev *cdev) in qed_slowpath_wq_stop()
1215 static int qed_slowpath_wq_start(struct qed_dev *cdev) in qed_slowpath_wq_start()
1244 static int qed_slowpath_start(struct qed_dev *cdev, in qed_slowpath_start()
1404 static int qed_slowpath_stop(struct qed_dev *cdev) in qed_slowpath_stop()
1439 static void qed_set_name(struct qed_dev *cdev, char name[NAME_SIZE]) in qed_set_name()
1448 static u32 qed_sb_init(struct qed_dev *cdev, in qed_sb_init()
1488 static u32 qed_sb_release(struct qed_dev *cdev, in qed_sb_release()
1515 static bool qed_can_link_change(struct qed_dev *cdev) in qed_can_link_change()
1661 static int qed_set_link(struct qed_dev *cdev, struct qed_link_params *params) in qed_set_link()
2190 static void qed_get_current_link(struct qed_dev *cdev, in qed_get_current_link()
2236 static int qed_drain(struct qed_dev *cdev) in qed_drain()
2261 static u32 qed_nvm_flash_image_access_crc(struct qed_dev *cdev, in qed_nvm_flash_image_access_crc()
2310 static int qed_nvm_flash_image_access(struct qed_dev *cdev, const u8 **data, in qed_nvm_flash_image_access()
2412 static int qed_nvm_flash_image_file_start(struct qed_dev *cdev, in qed_nvm_flash_image_file_start()
2448 static int qed_nvm_flash_image_file_data(struct qed_dev *cdev, in qed_nvm_flash_image_file_data()
2480 static int qed_nvm_flash_image_validate(struct qed_dev *cdev, in qed_nvm_flash_image_validate()
2535 static int qed_nvm_flash_cfg_write(struct qed_dev *cdev, const u8 **data) in qed_nvm_flash_cfg_write()
2602 static int qed_nvm_flash_cfg_len(struct qed_dev *cdev, u32 cmd) in qed_nvm_flash_cfg_len()
2626 static int qed_nvm_flash_cfg_read(struct qed_dev *cdev, u8 **data, in qed_nvm_flash_cfg_read()
2650 static int qed_nvm_flash(struct qed_dev *cdev, const char *name) in qed_nvm_flash()
2736 static int qed_nvm_get_image(struct qed_dev *cdev, enum qed_nvm_images type, in qed_nvm_get_image()
2786 static int qed_set_coalesce(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal, in qed_set_coalesce()
2792 static int qed_set_led(struct qed_dev *cdev, enum qed_led_mode mode) in qed_set_led()
2809 int qed_recovery_process(struct qed_dev *cdev) in qed_recovery_process()
2826 static int qed_update_wol(struct qed_dev *cdev, bool enabled) in qed_update_wol()
2850 static int qed_update_drv_state(struct qed_dev *cdev, bool active) in qed_update_drv_state()
2872 static int qed_update_mac(struct qed_dev *cdev, const u8 *mac) in qed_update_mac()
2896 static int qed_update_mtu(struct qed_dev *cdev, u16 mtu) in qed_update_mtu()
2921 qed_get_sb_info(struct qed_dev *cdev, struct qed_sb_info *sb, in qed_get_sb_info()
2944 static int qed_read_module_eeprom(struct qed_dev *cdev, char *buf, in qed_read_module_eeprom()
2966 static int qed_set_grc_config(struct qed_dev *cdev, u32 cfg_id, u32 val) in qed_set_grc_config()
2986 static __printf(2, 3) void qed_mfw_report(struct qed_dev *cdev, char *fmt, ...) in qed_mfw_report()
3007 static u8 qed_get_affin_hwfn_idx(struct qed_dev *cdev) in qed_get_affin_hwfn_idx()
3012 static int qed_get_esl_status(struct qed_dev *cdev, bool *esl_active) in qed_get_esl_status()
3094 void qed_get_protocol_stats(struct qed_dev *cdev, in qed_get_protocol_stats()
3140 qed_fill_generic_tlv_data(struct qed_dev *cdev, struct qed_mfw_tlv_generic *tlv) in qed_fill_generic_tlv_data()
3183 struct qed_dev *cdev = hwfn->cdev; in qed_mfw_fill_tlv_data() local