Lines Matching refs:qed_dev

257 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()
375 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info()
455 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev()
460 static struct qed_dev *qed_alloc_cdev(struct pci_dev *pdev) in qed_alloc_cdev()
462 struct qed_dev *cdev; in qed_alloc_cdev()
474 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state()
484 static struct qed_dev *qed_probe(struct pci_dev *pdev, in qed_probe()
487 struct qed_dev *cdev; in qed_probe()
529 static void qed_remove(struct qed_dev *cdev) in qed_remove()
543 static void qed_disable_msix(struct qed_dev *cdev) in qed_disable_msix()
555 static int qed_enable_msix(struct qed_dev *cdev, in qed_enable_msix()
605 static int qed_set_int_mode(struct qed_dev *cdev, bool force_mode) in qed_set_int_mode()
667 static void qed_simd_handler_config(struct qed_dev *cdev, void *token, in qed_simd_handler_config()
677 static void qed_simd_handler_clean(struct qed_dev *cdev, int index) in qed_simd_handler_clean()
694 struct qed_dev *cdev = (struct qed_dev *)dev_instance; in qed_single_int()
744 struct qed_dev *cdev = hwfn->cdev; in qed_slowpath_irq_req()
795 struct qed_dev *cdev = p_hwfn->cdev; in qed_slowpath_irq_sync()
808 static void qed_slowpath_irq_free(struct qed_dev *cdev) in qed_slowpath_irq_free()
826 static int qed_nic_stop(struct qed_dev *cdev) in qed_nic_stop()
849 static int qed_nic_setup(struct qed_dev *cdev) in qed_nic_setup()
873 static int qed_set_int_fp(struct qed_dev *cdev, u16 cnt) in qed_set_int_fp()
891 static int qed_get_int_fp(struct qed_dev *cdev, struct qed_int_info *info) in qed_get_int_fp()
914 static int qed_slowpath_setup_int(struct qed_dev *cdev, in qed_slowpath_setup_int()
986 static int qed_slowpath_vf_setup_int(struct qed_dev *cdev) in qed_slowpath_vf_setup_int()
1045 static int qed_alloc_stream_mem(struct qed_dev *cdev) in qed_alloc_stream_mem()
1066 static void qed_free_stream_mem(struct qed_dev *cdev) in qed_free_stream_mem()
1081 static void qed_update_pf_params(struct qed_dev *cdev, in qed_update_pf_params()
1151 static void qed_slowpath_wq_stop(struct qed_dev *cdev) in qed_slowpath_wq_stop()
1205 static int qed_slowpath_wq_start(struct qed_dev *cdev) in qed_slowpath_wq_start()
1233 static int qed_slowpath_start(struct qed_dev *cdev, in qed_slowpath_start()
1393 static int qed_slowpath_stop(struct qed_dev *cdev) in qed_slowpath_stop()
1428 static void qed_set_name(struct qed_dev *cdev, char name[NAME_SIZE]) in qed_set_name()
1437 static u32 qed_sb_init(struct qed_dev *cdev, in qed_sb_init()
1477 static u32 qed_sb_release(struct qed_dev *cdev, in qed_sb_release()
1504 static bool qed_can_link_change(struct qed_dev *cdev) in qed_can_link_change()
1650 static int qed_set_link(struct qed_dev *cdev, struct qed_link_params *params) in qed_set_link()
2179 static void qed_get_current_link(struct qed_dev *cdev, in qed_get_current_link()
2225 static int qed_drain(struct qed_dev *cdev) in qed_drain()
2250 static u32 qed_nvm_flash_image_access_crc(struct qed_dev *cdev, in qed_nvm_flash_image_access_crc()
2299 static int qed_nvm_flash_image_access(struct qed_dev *cdev, const u8 **data, in qed_nvm_flash_image_access()
2401 static int qed_nvm_flash_image_file_start(struct qed_dev *cdev, in qed_nvm_flash_image_file_start()
2437 static int qed_nvm_flash_image_file_data(struct qed_dev *cdev, in qed_nvm_flash_image_file_data()
2469 static int qed_nvm_flash_image_validate(struct qed_dev *cdev, in qed_nvm_flash_image_validate()
2524 static int qed_nvm_flash_cfg_write(struct qed_dev *cdev, const u8 **data) in qed_nvm_flash_cfg_write()
2591 static int qed_nvm_flash_cfg_len(struct qed_dev *cdev, u32 cmd) in qed_nvm_flash_cfg_len()
2615 static int qed_nvm_flash_cfg_read(struct qed_dev *cdev, u8 **data, in qed_nvm_flash_cfg_read()
2639 static int qed_nvm_flash(struct qed_dev *cdev, const char *name) in qed_nvm_flash()
2725 static int qed_nvm_get_image(struct qed_dev *cdev, enum qed_nvm_images type, in qed_nvm_get_image()
2775 static int qed_set_coalesce(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal, in qed_set_coalesce()
2781 static int qed_set_led(struct qed_dev *cdev, enum qed_led_mode mode) in qed_set_led()
2798 int qed_recovery_process(struct qed_dev *cdev) in qed_recovery_process()
2815 static int qed_update_wol(struct qed_dev *cdev, bool enabled) in qed_update_wol()
2839 static int qed_update_drv_state(struct qed_dev *cdev, bool active) in qed_update_drv_state()
2861 static int qed_update_mac(struct qed_dev *cdev, const u8 *mac) in qed_update_mac()
2885 static int qed_update_mtu(struct qed_dev *cdev, u16 mtu) in qed_update_mtu()
2910 qed_get_sb_info(struct qed_dev *cdev, struct qed_sb_info *sb, in qed_get_sb_info()
2933 static int qed_read_module_eeprom(struct qed_dev *cdev, char *buf, in qed_read_module_eeprom()
2955 static int qed_set_grc_config(struct qed_dev *cdev, u32 cfg_id, u32 val) in qed_set_grc_config()
2975 static __printf(2, 3) void qed_mfw_report(struct qed_dev *cdev, char *fmt, ...) in qed_mfw_report()
2996 static u8 qed_get_affin_hwfn_idx(struct qed_dev *cdev) in qed_get_affin_hwfn_idx()
3001 static int qed_get_esl_status(struct qed_dev *cdev, bool *esl_active) in qed_get_esl_status()
3083 void qed_get_protocol_stats(struct qed_dev *cdev, in qed_get_protocol_stats()
3129 qed_fill_generic_tlv_data(struct qed_dev *cdev, struct qed_mfw_tlv_generic *tlv) in qed_fill_generic_tlv_data()
3172 struct qed_dev *cdev = hwfn->cdev; in qed_mfw_fill_tlv_data()