Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/intel/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()
53 dev_info(dev, "Stopping device qat_dev%d\n", accel_id); in state_store()
61 dev_info(dev, "Starting device qat_dev%d\n", accel_id); in state_store()
66 accel_id); in state_store()
134 accel_dev->accel_id); in cfg_services_store()
193 accel_dev->accel_id); in pm_idle_enabled_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()
254 id_map[accel_dev->accel_id] = 0; in adf_devmgr_rm_dev()
332 if (ptr->accel_id == id) { in adf_devmgr_get_dev_by_id()
Dadf_init.c148 set_bit(accel_dev->accel_id, service->init_status); in adf_dev_init()
220 set_bit(accel_dev->accel_id, service->start_status); in adf_dev_start()
285 if (!test_bit(accel_dev->accel_id, service->start_status)) in adf_dev_stop()
289 clear_bit(accel_dev->accel_id, service->start_status); in adf_dev_stop()
292 clear_bit(accel_dev->accel_id, service->start_status); in adf_dev_stop()
345 if (!test_bit(accel_dev->accel_id, service->init_status)) in adf_dev_shutdown()
352 clear_bit(accel_dev->accel_id, service->init_status); in adf_dev_shutdown()
445 accel_dev->accel_id); in adf_dev_down()
475 accel_dev->accel_id); in adf_dev_up()
Dadf_ctl_drv.c222 if (id == dev->accel_id || id == ADF_CFG_ALL_DEVICES) { in adf_ctl_is_device_in_use()
226 dev->accel_id); in adf_ctl_is_device_in_use()
239 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()
351 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_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.c90 accel_dev->accel_id); in adf_pf2vf_handle_pf_restarting()
194 cpu = accel_dev->accel_id % num_online_cpus(); in adf_request_msi_irq()
Dadf_cfg_common.h54 __u32 accel_id; member
Dadf_aer.c78 accel_dev->accel_id); in adf_dev_restore()
Dadf_sriov.c189 accel_dev->accel_id); in adf_sriov_configure()
Dadf_accel_devices.h331 u32 accel_id; member
/Linux-v6.6/drivers/crypto/intel/qat/qat_4xxx/
Dadf_drv.c66 config = accel_dev->accel_id % 2 ? ADF_CFG_DC : ADF_CFG_CY; in adf_cfg_dev_init()