Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/qat/qat_common/
Dadf_sysfs.c33 u32 accel_id; in state_store() local
40 accel_id = accel_dev->accel_id; in state_store()
43 dev_info(dev, "Device qat_dev%d is busy\n", accel_id); in state_store()
55 accel_id); in state_store()
59 dev_info(dev, "Stopping device qat_dev%d\n", accel_id); in state_store()
69 accel_id); in state_store()
73 dev_info(dev, "Starting device qat_dev%d\n", accel_id); in state_store()
83 accel_id); in state_store()
144 accel_dev->accel_id); in cfg_services_store()
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.c221 if (id == dev->accel_id || id == ADF_CFG_ALL_DEVICES) { in adf_ctl_is_device_in_use()
225 dev->accel_id); in adf_ctl_is_device_in_use()
238 if (id == accel_dev->accel_id || id == ADF_CFG_ALL_DEVICES) { in adf_ctl_stop_devices()
252 if (id == accel_dev->accel_id || id == ADF_CFG_ALL_DEVICES) { in adf_ctl_stop_devices()
359 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.c185 accel_dev->accel_id); in adf_sriov_configure()
191 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.h300 u32 accel_id; member
/Linux-v6.1/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()