Home
last modified time | relevance | path

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

/linux/include/trace/stages/
H A Dstage3_trace_output.h115 #define __print_array(array, count, el_size) \ argument
117 BUILD_BUG_ON(el_size != 1 && el_size != 2 && \
118 el_size != 4 && el_size != 8); \
119 trace_print_array_seq(p, array, count, el_size); \
/linux/drivers/dma/qcom/
H A Dgpi.c462 u32 el_size; member
971 tre += ch_ring->el_size; in gpi_process_imed_data_event()
1046 ev_rp += ch_ring->el_size; in gpi_process_xfer_compl_event()
1181 ev_rp += ev_ring->el_size; in gpi_mark_stale_events()
1364 ring->wp += ring->el_size; in gpi_ring_add_element()
1377 ring->wp += ring->el_size; in gpi_ring_recycle_ev_element()
1382 ring->rp += ring->el_size; in gpi_ring_recycle_ev_element()
1402 u64 len = elements * el_size; in gpi_alloc_ring()
1413 elements, el_size, (elements * el_size), len, in gpi_alloc_ring()
1431 ring->el_size = el_size; in gpi_alloc_ring()
[all …]
/linux/security/apparmor/include/
H A Dmatch.h117 static inline size_t table_size(size_t len, size_t el_size) in table_size() argument
119 return ALIGN(sizeof(struct table_header) + len * el_size, 8); in table_size()
/linux/drivers/bus/mhi/host/
H A Dinit.c382 ring->el_size = sizeof(struct mhi_ring_element); in mhi_init_dev_ctxt()
383 ring->len = ring->el_size * ring->elements; in mhi_init_dev_ctxt()
414 ring->el_size = sizeof(struct mhi_ring_element); in mhi_init_dev_ctxt()
416 ring->len = ring->el_size * ring->elements; in mhi_init_dev_ctxt()
656 tre_ring->el_size = sizeof(struct mhi_ring_element); in mhi_init_chan_ctxt()
657 tre_ring->len = tre_ring->el_size * tre_ring->elements; in mhi_init_chan_ctxt()
663 buf_ring->el_size = sizeof(struct mhi_buf_info); in mhi_init_chan_ctxt()
664 buf_ring->len = buf_ring->el_size * buf_ring->elements; in mhi_init_chan_ctxt()
H A Dmain.c236 nr_el = ((ring->rp - ring->wp) / ring->el_size) - 1; in get_nr_avail_ring_elements()
238 nr_el = (ring->rp - ring->base) / ring->el_size; in get_nr_avail_ring_elements()
240 ring->el_size) - 1; in get_nr_avail_ring_elements()
254 ring->wp += ring->el_size; in mhi_add_ring_element()
264 ring->rp += ring->el_size; in mhi_del_ring_element()
551 ring->wp += ring->el_size; in mhi_recycle_ev_ring_element()
559 ring->rp += ring->el_size; in mhi_recycle_ev_ring_element()
1112 void *tmp = ring->wp + ring->el_size; in mhi_is_ring_full()
H A Dpm.c239 ring->wp = ring->base + ring->len - ring->el_size; in mhi_ready_state_transition()
240 *ring->ctxt_wp = cpu_to_le64(ring->iommu_base + ring->len - ring->el_size); in mhi_ready_state_transition()
442 ring->wp = ring->base + ring->len - ring->el_size; in mhi_pm_mission_mode_transition()
443 *ring->ctxt_wp = cpu_to_le64(ring->iommu_base + ring->len - ring->el_size); in mhi_pm_mission_mode_transition()
H A Dinternal.h208 size_t el_size; member
/linux/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c631 int el_size, bool different_dest, in sec_alg_alloc_and_fill_el() argument
643 el->el_length = el_size; in sec_alg_alloc_and_fill_el()
654 req->w0 |= ((el_size >> 16) << SEC_BD_W0_C_GRAN_SIZE_19_16_S) & in sec_alg_alloc_and_fill_el()
658 req->w0 |= ((el_size >> 20) << SEC_BD_W0_C_GRAN_SIZE_21_20_S) & in sec_alg_alloc_and_fill_el()
663 ((el_size << SEC_BD_W2_C_GRAN_SIZE_15_0_S) & in sec_alg_alloc_and_fill_el()
/linux/kernel/trace/
H A Dtrace_output.c237 size_t el_size) in trace_print_array_seq() argument
242 size_t buf_len = count * el_size; in trace_print_array_seq()
247 switch (el_size) { in trace_print_array_seq()
265 trace_seq_printf(p, "BAD SIZE:%zu 0x%x", el_size, in trace_print_array_seq()
267 el_size = 1; in trace_print_array_seq()
270 ptr += el_size; in trace_print_array_seq()
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c231 define_event_symbols(event, ev_name, args->int_array.el_size); in define_event_symbols()
H A Dtrace-event-python.c319 define_event_symbols(event, ev_name, args->int_array.el_size); in define_event_symbols()
/linux/include/linux/
H A Dtrace_events.h50 size_t el_size);