Searched refs:hw_device (Results 1 – 16 of 16) sorted by relevance
13 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_hb_set_timer_to_max()27 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_set_hb_counters_fail() local28 const size_t max_aes = hw_device->get_num_aes(hw_device); in adf_set_hb_counters_fail()29 const size_t hb_ctrs = hw_device->num_hb_ctrs; in adf_set_hb_counters_fail()44 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_heartbeat_inject_error() local45 const size_t max_aes = hw_device->get_num_aes(hw_device); in adf_heartbeat_inject_error()46 const size_t hb_ctrs = hw_device->num_hb_ctrs; in adf_heartbeat_inject_error()51 ae_mask = hw_device->ae_mask; in adf_heartbeat_inject_error()
53 const size_t hb_ctrs = accel_dev->hw_device->num_hb_ctrs; in validate_hb_ctrs_cnt()54 const size_t max_aes = accel_dev->hw_device->num_engines; in validate_hb_ctrs_cnt()81 const size_t hb_ctrs = accel_dev->hw_device->num_hb_ctrs; in adf_heartbeat_check_ctrs()82 const size_t max_aes = accel_dev->hw_device->num_engines; in adf_heartbeat_check_ctrs()161 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_hb_get_status() local163 const size_t hb_ctrs = hw_device->num_hb_ctrs; in adf_hb_get_status()164 const unsigned long ae_mask = hw_device->ae_mask; in adf_hb_get_status()165 const size_t max_aes = hw_device->num_engines; in adf_hb_get_status()176 hw_device->num_hb_ctrs += ADF_NUM_PKE_STRAND; in adf_hb_get_status()255 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_heartbeat_ms_to_ticks()[all …]
37 if (accel_dev->hw_device->exit_arb) { in adf_error_detected()39 accel_dev->hw_device->exit_arb(accel_dev); in adf_error_detected()98 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_dev_restore() local101 if (hw_device->reset_device) { in adf_dev_restore()104 hw_device->reset_device(accel_dev); in adf_dev_restore()241 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_notify_fatal_error_worker() local247 if (accel_dev->autoreset_on_error && hw_device->exit_arb) in adf_notify_fatal_error_worker()248 hw_device->exit_arb(accel_dev); in adf_notify_fatal_error_worker()
24 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_msix()126 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_handle_pm_int()137 struct adf_ras_ops *ras_ops = &accel_dev->hw_device->ras_ops; in adf_handle_ras_int()180 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_free_irqs()205 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_request_irqs()272 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr_alloc_msix_vectors_data()299 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_setup_bh()312 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_cleanup_bh()
55 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in adf_hw_dev_has_crypto() local56 u32 mask = ~hw_device->accel_capabilities_mask; in adf_hw_dev_has_crypto()
482 struct adf_hw_device_data *hw_device = GET_HW_DATA(rl_data->accel_dev); in get_next_free_node_id() local486 rp_per_leaf = hw_device->num_banks / hw_device->num_banks_per_vf; in get_next_free_node_id()525 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_slice_tokens()546 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_get_num_svc_aes()557 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_ae_cycles()580 struct adf_rl_hw_data *device_data = &accel_dev->hw_device->rl_data; in adf_rl_calculate_pci_bw()1075 rl->device_data = &accel_dev->hw_device->rl_data; in adf_rl_init()
112 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_vf2pf_get_capabilities()179 accel_dev->hw_device->ring_to_svc_map = rts_map_msg.map; in adf_vf2pf_get_ring_to_svc()
96 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_suspend_device()129 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_resume_device()316 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_get_slas()356 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_load_etr_regs()408 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_load_etr()536 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_load_config()581 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_save_etr_regs()640 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_save_etr()782 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_gen4_vfmig_save_config()
90 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_pf_capabilities_msg_provider()110 rts_map_msg.map = accel_dev->hw_device->ring_to_svc_map; in adf_pf_ring_to_svc_msg_provider()
56 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_enable_sriov()239 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_disable_sriov()
107 if (ptr->hw_device->dev_class == class) in adf_devmgr_update_class_index()108 ptr->hw_device->instance_id = i++; in adf_devmgr_update_class_index()
164 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_ring()388 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_init_bank()525 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in cleanup_bank()
135 struct adf_hw_device_data *hw_data = accel_dev->hw_device; in adf_isr()
57 if (accel_dev->hw_device) { in adf_cleanup_accel()60 adf_clean_hw_data_dh895xcciov(accel_dev->hw_device); in adf_cleanup_accel()65 kfree(accel_dev->hw_device); in adf_cleanup_accel()66 accel_dev->hw_device = NULL; in adf_cleanup_accel()118 accel_dev->hw_device = hw_data; in adf_probe()119 adf_init_hw_data_dh895xcciov(accel_dev->hw_device); in adf_probe()
57 if (accel_dev->hw_device) { in adf_cleanup_accel()60 adf_clean_hw_data_c62xiov(accel_dev->hw_device); in adf_cleanup_accel()65 kfree(accel_dev->hw_device); in adf_cleanup_accel()66 accel_dev->hw_device = NULL; in adf_cleanup_accel()118 accel_dev->hw_device = hw_data; in adf_probe()119 adf_init_hw_data_c62xiov(accel_dev->hw_device); in adf_probe()
57 if (accel_dev->hw_device) { in adf_cleanup_accel()60 adf_clean_hw_data_c3xxxiov(accel_dev->hw_device); in adf_cleanup_accel()65 kfree(accel_dev->hw_device); in adf_cleanup_accel()66 accel_dev->hw_device = NULL; in adf_cleanup_accel()118 accel_dev->hw_device = hw_data; in adf_probe()119 adf_init_hw_data_c3xxxiov(accel_dev->hw_device); in adf_probe()