Home
last modified time | relevance | path

Searched refs:accel_id (Results 1 – 11 of 11) sorted by relevance

/linux-5.19.10/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c169 accel_dev->accel_id = adf_find_free_id(); in adf_devmgr_add_dev()
170 if (accel_dev->accel_id > ADF_MAX_DEVICES) { in adf_devmgr_add_dev()
181 map->id = accel_dev->accel_id; in adf_devmgr_add_dev()
193 accel_dev->accel_id = map->id; in adf_devmgr_add_dev()
212 accel_dev->accel_id = adf_find_free_id(); in adf_devmgr_add_dev()
213 if (accel_dev->accel_id > ADF_MAX_DEVICES) { in adf_devmgr_add_dev()
221 map->id = accel_dev->accel_id; in adf_devmgr_add_dev()
253 id_map[accel_dev->accel_id] = 0; in adf_devmgr_rm_dev()
330 if (ptr->accel_id == id) { in adf_devmgr_get_dev_by_id()
Dadf_init.c144 set_bit(accel_dev->accel_id, service->init_status); in adf_dev_init()
198 set_bit(accel_dev->accel_id, service->start_status); in adf_dev_start()
247 if (!test_bit(accel_dev->accel_id, service->start_status)) in adf_dev_stop()
251 clear_bit(accel_dev->accel_id, service->start_status); in adf_dev_stop()
254 clear_bit(accel_dev->accel_id, service->start_status); in adf_dev_stop()
305 if (!test_bit(accel_dev->accel_id, service->init_status)) in adf_dev_shutdown()
312 clear_bit(accel_dev->accel_id, service->init_status); in adf_dev_shutdown()
Dadf_ctl_drv.c217 if (id == dev->accel_id || id == ADF_CFG_ALL_DEVICES) { in adf_ctl_is_device_in_use()
221 dev->accel_id); in adf_ctl_is_device_in_use()
234 if (id == accel_dev->accel_id || id == ADF_CFG_ALL_DEVICES) { in adf_ctl_stop_devices()
248 if (id == accel_dev->accel_id || id == ADF_CFG_ALL_DEVICES) { in adf_ctl_stop_devices()
355 accel_dev = adf_devmgr_get_dev_by_id(dev_info.accel_id); in adf_ctl_ioctl_get_status()
Dadf_isr.c149 accel_dev->accel_id); in adf_msix_isr_ae()
197 "qat%d-bundle%d", accel_dev->accel_id, i); in adf_request_irqs()
215 cpu = ((accel_dev->accel_id * hw_data->num_banks) + in adf_request_irqs()
225 "qat%d-ae-cluster", accel_dev->accel_id); in adf_request_irqs()
Dadf_sriov.c211 accel_dev->accel_id); in adf_sriov_configure()
217 accel_dev->accel_id); in adf_sriov_configure()
Dadf_accel_engine.c137 accel_dev->accel_id, ae_ctr); in adf_ae_start()
158 accel_dev->accel_id, ae_ctr); in adf_ae_stop()
Dadf_vf_isr.c91 accel_dev->accel_id); in adf_pf2vf_handle_pf_restarting()
195 cpu = accel_dev->accel_id % num_online_cpus(); in adf_request_msi_irq()
Dadf_cfg_common.h54 __u32 accel_id; member
Dadf_aer.c79 accel_dev->accel_id); in adf_dev_restore()
Dadf_accel_devices.h299 u32 accel_id; member
/linux-5.19.10/drivers/crypto/qat/qat_4xxx/
Dadf_drv.c38 config = accel_dev->accel_id % 2 ? ADF_CFG_DC : ADF_CFG_CY; in adf_cfg_dev_init()