/freebsd/sys/dev/qat/qat_api/qat_kernel/src/ |
H A D | lac_adf_interface_freebsd.c | 43 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 D | adf_dev_mgr.c | 169 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 D | adf_init.c | 101 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 D | adf_cfg_sysctl.c | 28 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 D | adf_cfg_device.c | 740 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 D | adf_transport.c | 165 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 D | adf_freebsd_cnvnr_ctrs_dbg.c | 49 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 D | adf_accel_engine.c | 193 accel_dev->accel_id, in adf_ae_start() 216 accel_dev->accel_id, in adf_ae_stop()
|
H A D | adf_aer.c | 115 accel_dev->accel_id); in adf_reset_flr() 177 accel_dev->accel_id); in adf_dev_restore()
|
H A D | adf_vf_isr.c | 81 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 D | adf_cfg.c | 45 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 D | adf_freebsd_pfvf_ctrs_dbg.c | 112 if (!accel_dev || accel_dev->accel_id > ADF_MAX_DEVICES) in adf_pfvf_ctrs_dbg_add()
|
H A D | adf_ctl_drv.c | 141 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 D | adf_gen4_timer.c | 97 sprintf(wqname, "qat_timer_wq_%d", accel_dev->accel_id); in adf_int_timer_init()
|
H A D | adf_freebsd_dev_processes.c | 471 adf_state_set(accel_dev->accel_id, event); in adf_state_event_handler()
|
/freebsd/sys/dev/qat/include/common/ |
H A D | adf_transport.h | 24 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 D | adf_cfg_user.h | 40 u32 accel_id; member
|
H A D | adf_cfg_common.h | 105 uint16_t accel_id; member
|
H A D | adf_accel_devices.h | 712 u32 accel_id; member
|
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/ |
H A D | adf_c4xxx_reset.c | 66 accel_dev->accel_id); in adf_c4xxx_dev_restore()
|