Home
last modified time | relevance | path

Searched refs:tl_data (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_gen4_tl.c135 void adf_gen4_init_tl_data(struct adf_tl_hw_data *tl_data) in adf_gen4_init_tl_data() argument
137 tl_data->layout_sz = ADF_GEN4_TL_LAYOUT_SZ; in adf_gen4_init_tl_data()
138 tl_data->slice_reg_sz = ADF_GEN4_TL_SLICE_REG_SZ; in adf_gen4_init_tl_data()
139 tl_data->rp_reg_sz = ADF_GEN4_TL_RP_REG_SZ; in adf_gen4_init_tl_data()
140 tl_data->num_hbuff = ADF_GEN4_TL_NUM_HIST_BUFFS; in adf_gen4_init_tl_data()
141 tl_data->max_rp = ADF_GEN4_TL_MAX_RP_NUM; in adf_gen4_init_tl_data()
142 tl_data->msg_cnt_off = ADF_GEN4_TL_MSG_CNT_OFF; in adf_gen4_init_tl_data()
143 tl_data->cpp_ns_per_cycle = ADF_GEN4_CPP_NS_PER_CYCLE; in adf_gen4_init_tl_data()
144 tl_data->bw_units_to_bytes = ADF_GEN4_TL_BW_HW_UNITS_TO_BYTES; in adf_gen4_init_tl_data()
146 tl_data->dev_counters = dev_counters; in adf_gen4_init_tl_data()
[all …]
Dadf_telemetry.c31 static int validate_tl_data(struct adf_tl_hw_data *tl_data) in validate_tl_data() argument
33 if (!tl_data->dev_counters || in validate_tl_data()
34 TL_IS_ZERO(tl_data->num_dev_counters) || in validate_tl_data()
35 !tl_data->sl_util_counters || in validate_tl_data()
36 !tl_data->sl_exec_counters || in validate_tl_data()
37 !tl_data->rp_counters || in validate_tl_data()
38 TL_IS_ZERO(tl_data->num_rp_counters)) in validate_tl_data()
60 struct adf_tl_hw_data *tl_data = &GET_TL_DATA(accel_dev); in adf_tl_alloc_mem() local
62 size_t regs_sz = tl_data->layout_sz; in adf_tl_alloc_mem()
72 telemetry->rp_num_indexes = kmalloc_array(tl_data->max_rp, in adf_tl_alloc_mem()
[all …]
Dadf_tl_debugfs.c112 struct adf_tl_hw_data *tl_data = &GET_TL_DATA(telemetry->accel_dev); in tl_calc_count() local
117 hist_vals = kmalloc_array(tl_data->num_hbuff, sizeof(*hist_vals), in tl_calc_count()
142 struct adf_tl_hw_data *tl_data = &GET_TL_DATA(telemetry->accel_dev); in tl_cycles_to_ns() local
143 u8 cpp_ns_per_cycle = tl_data->cpp_ns_per_cycle; in tl_cycles_to_ns()
166 struct adf_tl_hw_data *tl_data = &GET_TL_DATA(telemetry->accel_dev); in tl_lat_acc_avg() local
167 u8 cpp_ns_per_cycle = tl_data->cpp_ns_per_cycle; in tl_lat_acc_avg()
168 u8 num_hbuff = tl_data->num_hbuff; in tl_lat_acc_avg()
217 struct adf_tl_hw_data *tl_data = &GET_TL_DATA(telemetry->accel_dev); in tl_bw_hw_units_to_mbps() local
218 u16 bw_hw_2_bits = tl_data->bw_units_to_bytes * BITS_PER_BYTE; in tl_bw_hw_units_to_mbps()
223 hist_vals = kmalloc_array(tl_data->num_hbuff, sizeof(*hist_vals), in tl_bw_hw_units_to_mbps()
[all …]
Dadf_gen4_tl.h152 void adf_gen4_init_tl_data(struct adf_tl_hw_data *tl_data);
154 static inline void adf_gen4_init_tl_data(struct adf_tl_hw_data *tl_data) in adf_gen4_init_tl_data() argument
Dadf_accel_devices.h342 struct adf_tl_hw_data tl_data; member
401 #define GET_TL_DATA(accel_dev) GET_HW_DATA(accel_dev)->tl_data
/linux-6.12.1/drivers/crypto/intel/qat/qat_420xx/
Dadf_420xx_hw_data.c491 adf_gen4_init_tl_data(&hw_data->tl_data); in adf_init_hw_data_420xx()
/linux-6.12.1/drivers/crypto/intel/qat/qat_4xxx/
Dadf_4xxx_hw_data.c475 adf_gen4_init_tl_data(&hw_data->tl_data); in adf_init_hw_data_4xxx()