Home
last modified time | relevance | path

Searched refs:bufreq (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/media/platform/qcom/venus/
H A Dhfi_plat_bufs_v6.c1183 struct hfi_buffer_requirements *bufreq) in bufreq_dec() argument
1218 out_min_count = max(out_min_count, hfi_bufreq_get_count_min(bufreq, version)); in bufreq_dec()
1220 bufreq->type = buftype; in bufreq_dec()
1221 bufreq->region_size = 0; in bufreq_dec()
1222 bufreq->count_actual = 1; in bufreq_dec()
1223 hfi_bufreq_set_count_min(bufreq, version, 1); in bufreq_dec()
1224 hfi_bufreq_set_hold_count(bufreq, version, 1); in bufreq_dec()
1225 bufreq->contiguous = 1; in bufreq_dec()
1226 bufreq->alignment = 256; in bufreq_dec()
1229 hfi_bufreq_set_count_min(bufreq, version, MIN_INPUT_BUFFERS); in bufreq_dec()
[all …]
H A Dhfi_msgs.c33 struct hfi_buffer_requirements *bufreq; in event_seq_changed() local
101 bufreq = (struct hfi_buffer_requirements *)data_ptr; in event_seq_changed()
102 event.buf_count = hfi_bufreq_get_count_min(bufreq, ver); in event_seq_changed()
103 data_ptr += sizeof(*bufreq); in event_seq_changed()
381 struct hfi_buffer_requirements *bufreq) in session_get_prop_buf_req() argument
398 memcpy(&bufreq[idx], buf_req, sizeof(*bufreq)); in session_get_prop_buf_req()
427 memset(hprop->bufreq, 0, sizeof(hprop->bufreq)); in hfi_session_prop_info()
428 error = session_get_prop_buf_req(pkt, hprop->bufreq); in hfi_session_prop_info()
H A Dhfi_platform.h55 int (*bufreq)(struct hfi_plat_buffers_params *params, u32 session_type, member
56 u32 buftype, struct hfi_buffer_requirements *bufreq);
H A Dhelpers.c167 struct hfi_buffer_requirements bufreq; in venus_helper_alloc_dpb_bufs() local
188 ret = venus_helper_get_bufreq(inst, buftype, &bufreq); in venus_helper_alloc_dpb_bufs()
192 count = hfi_bufreq_get_count_min(&bufreq, ver); in venus_helper_alloc_dpb_bufs()
237 struct hfi_buffer_requirements bufreq; in intbufs_set_buffer() local
243 ret = venus_helper_get_bufreq(inst, type, &bufreq); in intbufs_set_buffer()
247 if (!bufreq.size) in intbufs_set_buffer()
250 for (i = 0; i < bufreq.count_actual; i++) { in intbufs_set_buffer()
257 buf->type = bufreq.type; in intbufs_set_buffer()
258 buf->size = bufreq.size; in intbufs_set_buffer()
630 if (!hfi_plat || !hfi_plat->bufreq) in platform_get_bufreq()
[all …]
H A Dhfi_plat_bufs.h39 u32 buftype, struct hfi_buffer_requirements *bufreq);
H A Dhfi_platform_v6.c331 .bufreq = hfi_plat_bufreq_v6,