Lines Matching defs:cdev
261 static int qed_set_coherency_mask(struct qed_dev *cdev) in qed_set_coherency_mask()
279 static void qed_free_pci(struct qed_dev *cdev) in qed_free_pci()
300 static int qed_init_pci(struct qed_dev *cdev, struct pci_dev *pdev) in qed_init_pci()
403 int qed_fill_dev_info(struct qed_dev *cdev, in qed_fill_dev_info()
483 static void qed_free_cdev(struct qed_dev *cdev) in qed_free_cdev()
490 struct qed_dev *cdev; in qed_alloc_cdev() local
502 static int qed_set_power_state(struct qed_dev *cdev, pci_power_t state) in qed_set_power_state()
515 struct qed_dev *cdev; in qed_probe() local
557 static void qed_remove(struct qed_dev *cdev) in qed_remove()
571 static void qed_disable_msix(struct qed_dev *cdev) in qed_disable_msix()
583 static int qed_enable_msix(struct qed_dev *cdev, in qed_enable_msix()
633 static int qed_set_int_mode(struct qed_dev *cdev, bool force_mode) in qed_set_int_mode()
695 static void qed_simd_handler_config(struct qed_dev *cdev, void *token, in qed_simd_handler_config()
705 static void qed_simd_handler_clean(struct qed_dev *cdev, int index) in qed_simd_handler_clean()
722 struct qed_dev *cdev = (struct qed_dev *)dev_instance; in qed_single_int() local
772 struct qed_dev *cdev = hwfn->cdev; in qed_slowpath_irq_req() local
823 struct qed_dev *cdev = p_hwfn->cdev; in qed_slowpath_irq_sync() local
836 static void qed_slowpath_irq_free(struct qed_dev *cdev) in qed_slowpath_irq_free()
855 static int qed_nic_stop(struct qed_dev *cdev) in qed_nic_stop()
878 static int qed_nic_setup(struct qed_dev *cdev) in qed_nic_setup()
902 static int qed_set_int_fp(struct qed_dev *cdev, u16 cnt) in qed_set_int_fp()
920 static int qed_get_int_fp(struct qed_dev *cdev, struct qed_int_info *info) in qed_get_int_fp()
943 static int qed_slowpath_setup_int(struct qed_dev *cdev, in qed_slowpath_setup_int()
1015 static int qed_slowpath_vf_setup_int(struct qed_dev *cdev) in qed_slowpath_vf_setup_int()
1074 static int qed_alloc_stream_mem(struct qed_dev *cdev) in qed_alloc_stream_mem()
1095 static void qed_free_stream_mem(struct qed_dev *cdev) in qed_free_stream_mem()
1110 static void qed_update_pf_params(struct qed_dev *cdev, in qed_update_pf_params()
1180 static void qed_slowpath_wq_stop(struct qed_dev *cdev) in qed_slowpath_wq_stop()
1234 static int qed_slowpath_wq_start(struct qed_dev *cdev) in qed_slowpath_wq_start()
1263 static int qed_slowpath_start(struct qed_dev *cdev, in qed_slowpath_start()
1423 static int qed_slowpath_stop(struct qed_dev *cdev) in qed_slowpath_stop()
1458 static void qed_set_name(struct qed_dev *cdev, char name[NAME_SIZE]) in qed_set_name()
1467 static u32 qed_sb_init(struct qed_dev *cdev, in qed_sb_init()
1507 static u32 qed_sb_release(struct qed_dev *cdev, in qed_sb_release()
1534 static bool qed_can_link_change(struct qed_dev *cdev) in qed_can_link_change()
1680 static int qed_set_link(struct qed_dev *cdev, struct qed_link_params *params) in qed_set_link()
2209 static void qed_get_current_link(struct qed_dev *cdev, in qed_get_current_link()
2255 static int qed_drain(struct qed_dev *cdev) in qed_drain()
2280 static u32 qed_nvm_flash_image_access_crc(struct qed_dev *cdev, in qed_nvm_flash_image_access_crc()
2329 static int qed_nvm_flash_image_access(struct qed_dev *cdev, const u8 **data, in qed_nvm_flash_image_access()
2431 static int qed_nvm_flash_image_file_start(struct qed_dev *cdev, in qed_nvm_flash_image_file_start()
2467 static int qed_nvm_flash_image_file_data(struct qed_dev *cdev, in qed_nvm_flash_image_file_data()
2499 static int qed_nvm_flash_image_validate(struct qed_dev *cdev, in qed_nvm_flash_image_validate()
2554 static int qed_nvm_flash_cfg_write(struct qed_dev *cdev, const u8 **data) in qed_nvm_flash_cfg_write()
2621 static int qed_nvm_flash_cfg_len(struct qed_dev *cdev, u32 cmd) in qed_nvm_flash_cfg_len()
2645 static int qed_nvm_flash_cfg_read(struct qed_dev *cdev, u8 **data, in qed_nvm_flash_cfg_read()
2669 static int qed_nvm_flash(struct qed_dev *cdev, const char *name) in qed_nvm_flash()
2755 static int qed_nvm_get_image(struct qed_dev *cdev, enum qed_nvm_images type, in qed_nvm_get_image()
2805 static int qed_set_coalesce(struct qed_dev *cdev, u16 rx_coal, u16 tx_coal, in qed_set_coalesce()
2811 static int qed_set_led(struct qed_dev *cdev, enum qed_led_mode mode) in qed_set_led()
2828 int qed_recovery_process(struct qed_dev *cdev) in qed_recovery_process()
2845 static int qed_update_wol(struct qed_dev *cdev, bool enabled) in qed_update_wol()
2869 static int qed_update_drv_state(struct qed_dev *cdev, bool active) in qed_update_drv_state()
2891 static int qed_update_mac(struct qed_dev *cdev, const u8 *mac) in qed_update_mac()
2915 static int qed_update_mtu(struct qed_dev *cdev, u16 mtu) in qed_update_mtu()
2939 static int qed_read_module_eeprom(struct qed_dev *cdev, char *buf, in qed_read_module_eeprom()
2961 static int qed_set_grc_config(struct qed_dev *cdev, u32 cfg_id, u32 val) in qed_set_grc_config()
2981 static u8 qed_get_affin_hwfn_idx(struct qed_dev *cdev) in qed_get_affin_hwfn_idx()
3043 void qed_get_protocol_stats(struct qed_dev *cdev, in qed_get_protocol_stats()
3089 qed_fill_generic_tlv_data(struct qed_dev *cdev, struct qed_mfw_tlv_generic *tlv) in qed_fill_generic_tlv_data()
3132 struct qed_dev *cdev = hwfn->cdev; in qed_mfw_fill_tlv_data() local