Lines Matching defs:cdev
266 static int qed_set_coherency_mask(struct qed_dev *cdev) in qed_set_coherency_mask()
284 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci()
305 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) in qed_init_pci()
408 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info()
488 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev()
495 struct qed_dev *cdev; in qed_alloc_cdev() local
507 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state()
520 struct qed_dev *cdev; in qed_probe() local
562 static void qed_remove(struct qed_dev *cdev) in qed_remove()
576 static void qed_disable_msix(struct qed_dev *cdev) in qed_disable_msix()
588 static int qed_enable_msix(struct qed_dev *cdev, in qed_enable_msix()
638 static int qed_set_int_mode(struct qed_dev *cdev, bool force_mode) in qed_set_int_mode()
700 static void qed_simd_handler_config(struct qed_dev *cdev, void *token, in qed_simd_handler_config()
710 static void qed_simd_handler_clean(struct qed_dev *cdev, int index) in qed_simd_handler_clean()
727 struct qed_dev *cdev = (struct qed_dev *)dev_instance; in qed_single_int() local
777 struct qed_dev *cdev = hwfn->cdev; in qed_slowpath_irq_req() local
828 struct qed_dev *cdev = p_hwfn->cdev; in qed_slowpath_irq_sync() local
841 static void qed_slowpath_irq_free(struct qed_dev *cdev) in qed_slowpath_irq_free()
860 static int qed_nic_stop(struct qed_dev *cdev) in qed_nic_stop()
883 static int qed_nic_setup(struct qed_dev *cdev) in qed_nic_setup()
907 static int qed_set_int_fp(struct qed_dev *cdev, u16 cnt) in qed_set_int_fp()
925 static int qed_get_int_fp(struct qed_dev *cdev, struct qed_int_info *info) in qed_get_int_fp()
948 static int qed_slowpath_setup_int(struct qed_dev *cdev, in qed_slowpath_setup_int()
1020 static int qed_slowpath_vf_setup_int(struct qed_dev *cdev) in qed_slowpath_vf_setup_int()
1079 static int qed_alloc_stream_mem(struct qed_dev *cdev) in qed_alloc_stream_mem()
1100 static void qed_free_stream_mem(struct qed_dev *cdev) in qed_free_stream_mem()
1115 static void qed_update_pf_params(struct qed_dev *cdev, in qed_update_pf_params()
1184 static void qed_slowpath_wq_stop(struct qed_dev *cdev) in qed_slowpath_wq_stop()
1238 static int qed_slowpath_wq_start(struct qed_dev *cdev) in qed_slowpath_wq_start()
1267 static int qed_slowpath_start(struct qed_dev *cdev, in qed_slowpath_start()
1427 static int qed_slowpath_stop(struct qed_dev *cdev) in qed_slowpath_stop()
1462 static void qed_set_name(struct qed_dev *cdev, char name[NAME_SIZE]) in qed_set_name()
1471 static u32 qed_sb_init(struct qed_dev *cdev, in qed_sb_init()
1511 static u32 qed_sb_release(struct qed_dev *cdev, in qed_sb_release()
1538 static bool qed_can_link_change(struct qed_dev *cdev) in qed_can_link_change()
1684 static int qed_set_link(struct qed_dev *cdev, struct qed_link_params *params) in qed_set_link()
2213 static void qed_get_current_link(struct qed_dev *cdev, in qed_get_current_link()
2259 static int qed_drain(struct qed_dev *cdev) in qed_drain()
2284 static u32 qed_nvm_flash_image_access_crc(struct qed_dev *cdev, in qed_nvm_flash_image_access_crc()
2333 static int qed_nvm_flash_image_access(struct qed_dev *cdev, const u8 **data, in qed_nvm_flash_image_access()
2435 static int qed_nvm_flash_image_file_start(struct qed_dev *cdev, in qed_nvm_flash_image_file_start()
2471 static int qed_nvm_flash_image_file_data(struct qed_dev *cdev, in qed_nvm_flash_image_file_data()
2503 static int qed_nvm_flash_image_validate(struct qed_dev *cdev, in qed_nvm_flash_image_validate()
2558 static int qed_nvm_flash_cfg_write(struct qed_dev *cdev, const u8 **data) in qed_nvm_flash_cfg_write()
2625 static int qed_nvm_flash_cfg_len(struct qed_dev *cdev, u32 cmd) in qed_nvm_flash_cfg_len()
2649 static int qed_nvm_flash_cfg_read(struct qed_dev *cdev, u8 **data, in qed_nvm_flash_cfg_read()
2673 static int qed_nvm_flash(struct qed_dev *cdev, const char *name) in qed_nvm_flash()
2759 static int qed_nvm_get_image(struct qed_dev *cdev, enum qed_nvm_images type, in qed_nvm_get_image()
2809 static int qed_set_coalesce(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal, in qed_set_coalesce()
2815 static int qed_set_led(struct qed_dev *cdev, enum qed_led_mode mode) in qed_set_led()
2832 int qed_recovery_process(struct qed_dev *cdev) in qed_recovery_process()
2849 static int qed_update_wol(struct qed_dev *cdev, bool enabled) in qed_update_wol()
2873 static int qed_update_drv_state(struct qed_dev *cdev, bool active) in qed_update_drv_state()
2895 static int qed_update_mac(struct qed_dev *cdev, const u8 *mac) in qed_update_mac()
2919 static int qed_update_mtu(struct qed_dev *cdev, u16 mtu) in qed_update_mtu()
2943 static int qed_read_module_eeprom(struct qed_dev *cdev, char *buf, in qed_read_module_eeprom()
2965 static int qed_set_grc_config(struct qed_dev *cdev, u32 cfg_id, u32 val) in qed_set_grc_config()
2985 static u8 qed_get_affin_hwfn_idx(struct qed_dev *cdev) in qed_get_affin_hwfn_idx()
3047 void qed_get_protocol_stats(struct qed_dev *cdev, in qed_get_protocol_stats()
3091 qed_fill_generic_tlv_data(struct qed_dev *cdev, struct qed_mfw_tlv_generic *tlv) in qed_fill_generic_tlv_data()
3134 struct qed_dev *cdev = hwfn->cdev; in qed_mfw_fill_tlv_data() local