Home
last modified time | relevance | path

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

/freebsd/sys/dev/qat/qat_api/qat_kernel/src/
H A Dlac_adf_interface_freebsd.c43 adf->accelId = accel_dev->accel_id; in create_adf_dev_structure()
76 if (accel_dev_sal_hdl_ptr[accel_dev->accel_id]) { in adf_event_handler()
78 accel_dev_sal_hdl_ptr[accel_dev->accel_id]; in adf_event_handler()
79 accel_dev_sal_hdl_ptr[accel_dev->accel_id] = NULL; in adf_event_handler()
95 accel_dev_reset_stat[accel_dev->accel_id] = 1; in adf_event_handler()
96 accel_dev_sal_hdl_ptr[accel_dev->accel_id] = adf->pSalHandle; in adf_event_handler()
100 accel_dev_reset_stat[accel_dev->accel_id] = 0; in adf_event_handler()
101 accel_dev_error_stat[accel_dev->accel_id] = 0; in adf_event_handler()
110 accel_dev_error_stat[accel_dev->accel_id] = 1; in adf_event_handler()
/freebsd/sys/dev/qat/qat_common/
H A 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()
215 id_map[accel_dev->accel_id] = 0; in adf_devmgr_rm_dev()
279 if (ptr->accel_id == id) { in adf_devmgr_get_dev_by_id()
302 *id = accel_dev->accel_id; in adf_devmgr_verify_id()
H A Dadf_init.c101 val = accel_dev->accel_id; in adf_cfg_add_device_params()
377 set_bit(accel_dev->accel_id, service->init_status); in adf_dev_init()
418 if (adf_devmgr_verify_id(&accel_dev->accel_id)) { in adf_dev_start()
421 accel_dev->accel_id); in adf_dev_start()
470 set_bit(accel_dev->accel_id, service->start_status); in adf_dev_start()
511 if (adf_devmgr_verify_id(&accel_dev->accel_id)) { in adf_dev_stop()
514 accel_dev->accel_id); in adf_dev_stop()
538 if (!test_bit(accel_dev->accel_id, service->start_status)) in adf_dev_stop()
540 clear_bit(accel_dev->accel_id, service->start_status); in adf_dev_stop()
603 if (!test_bit(accel_dev->accel_id, service->init_status)) in adf_dev_shutdown()
[all …]
H A Dadf_cfg_sysctl.c28 accel_dev->accel_id); in adf_cfg_down()
33 pr_err("QAT: Device %d in use\n", accel_dev->accel_id); in adf_cfg_down()
40 accel_dev->accel_id); in adf_cfg_down()
66 accel_dev->accel_id); in adf_cfg_up()
77 accel_dev->accel_id); in adf_cfg_up()
H A Dadf_cfg_device.c740 val = (accel_dev->accel_id * cy_user_instances + i) % cpus; in adf_cfg_static_conf_user()
766 val = (accel_dev->accel_id * dc_user_instances + i) % cpus; in adf_cfg_static_conf_user()
865 val = (accel_dev->accel_id * cy_irq_instances + i) % cpus; in adf_cfg_static_conf_kernel()
892 val = (accel_dev->accel_id * cy_poll_instances + i) % cpus; in adf_cfg_static_conf_kernel()
918 val = (accel_dev->accel_id * dc_instances + i) % cpus; in adf_cfg_static_conf_kernel()
1197 accel_dev->accel_id); in adf_config_device()
1211 accel_dev->accel_id); in adf_config_device()
1225 accel_dev->accel_id); in adf_config_device()
1240 accel_dev->accel_id); in adf_config_device()
1250 accel_dev->accel_id); in adf_config_device()
[all …]
H A Dadf_transport.c165 adf_poll_bank(u32 accel_id, u32 bank_num, u32 quota) in adf_poll_bank() argument
181 accel_dev = adf_devmgr_get_dev_by_id(accel_id); in adf_poll_bank()
183 pr_err("There is no device with id: %d\n", accel_id); in adf_poll_bank()
238 adf_poll_all_banks(u32 accel_id, u32 quota) in adf_poll_all_banks() argument
250 accel_dev = adf_devmgr_get_dev_by_id(accel_id); in adf_poll_all_banks()
252 pr_err("There is no device with id: %d\n", accel_id); in adf_poll_all_banks()
265 status = adf_poll_bank(accel_id, bank_num, quota); in adf_poll_all_banks()
H A Dadf_freebsd_cnvnr_ctrs_dbg.c49 if (!accel_dev || accel_dev->accel_id > ADF_MAX_DEVICES) in qat_cnvnr_ctrs_dbg_read()
128 accel_dev->accel_id, in qat_cnvnr_ctrs_dbg_read()
H A Dadf_accel_engine.c193 accel_dev->accel_id, in adf_ae_start()
216 accel_dev->accel_id, in adf_ae_stop()
H A Dadf_aer.c115 accel_dev->accel_id); in adf_reset_flr()
177 accel_dev->accel_id); in adf_dev_restore()
H A Dadf_vf_isr.c81 accel_dev->accel_id); in adf_pf2vf_handle_pf_restarting()
269 cpu = accel_dev->accel_id % num_online_cpus(); in adf_request_msi_irq()
H A Dadf_cfg.c45 if (accel_dev->accel_id % 2 == 0) { in adf_cfg_dev_add()
191 struct list_head *head = &cfg_depot_list[accel_dev->accel_id].sec_list; in adf_cfg_section_restore_all()
448 save_list = &cfg_depot_list[accel_dev->accel_id].sec_list; in adf_cfg_section_save_all()
H A Dadf_freebsd_pfvf_ctrs_dbg.c112 if (!accel_dev || accel_dev->accel_id > ADF_MAX_DEVICES) in adf_pfvf_ctrs_dbg_add()
H A Dadf_ctl_drv.c141 accel_dev = adf_devmgr_get_dev_by_id(dev_info->accel_id); in adf_ctl_ioctl_get_status()
228 accel_dev = adf_devmgr_get_dev_by_id(reserve.accel_id); in adf_ctl_ioctl_bundle()
H A Dadf_gen4_timer.c97 sprintf(wqname, "qat_timer_wq_%d", accel_dev->accel_id); in adf_int_timer_init()
H A Dadf_freebsd_dev_processes.c471 adf_state_set(accel_dev->accel_id, event); in adf_state_event_handler()
/freebsd/sys/dev/qat/include/common/
H A Dadf_transport.h24 int adf_poll_bank(u32 accel_id, u32 bank_num, u32 quota);
25 int adf_poll_all_banks(u32 accel_id, u32 quota);
H A Dadf_cfg_user.h40 u32 accel_id; member
H A Dadf_cfg_common.h105 uint16_t accel_id; member
H A Dadf_accel_devices.h712 u32 accel_id; member
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_reset.c66 accel_dev->accel_id); in adf_c4xxx_dev_restore()