Home
last modified time | relevance | path

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

/drivers/dma/qcom/
Dgpi.c76 #define GPII_n_CH_k_CNTXT_0(el_size, erindex, dir, chtype_proto) \ argument
77 (FIELD_PREP(GPII_n_CH_k_CNTXT_0_EL_SIZE, el_size) | \
111 #define GPII_n_EV_k_CNTXT_0(el_size, inttype, chtype) \ argument
112 (FIELD_PREP(GPII_n_EV_k_CNTXT_0_EL_SIZE, el_size) | \
462 u32 el_size; member
934 void *tre = ch_ring->base + (ch_ring->el_size * imed_event->tre_index); in gpi_process_imed_data_event()
977 tre += ch_ring->el_size; in gpi_process_imed_data_event()
1052 ev_rp += ch_ring->el_size; in gpi_process_xfer_compl_event()
1187 ev_rp += ev_ring->el_size; in gpi_mark_stale_events()
1287 GPII_n_CH_k_CNTXT_0(ring->el_size, 0, chan->dir, GPI_CHTYPE_PROTO_GPI)); in gpi_alloc_chan()
[all …]
/drivers/bus/mhi/host/
Dinit.c351 ring->el_size = sizeof(struct mhi_ring_element); in mhi_init_dev_ctxt()
352 ring->len = ring->el_size * ring->elements; in mhi_init_dev_ctxt()
383 ring->el_size = sizeof(struct mhi_ring_element); in mhi_init_dev_ctxt()
385 ring->len = ring->el_size * ring->elements; in mhi_init_dev_ctxt()
627 tre_ring->el_size = sizeof(struct mhi_ring_element); in mhi_init_chan_ctxt()
628 tre_ring->len = tre_ring->el_size * tre_ring->elements; in mhi_init_chan_ctxt()
634 buf_ring->el_size = sizeof(struct mhi_buf_info); in mhi_init_chan_ctxt()
635 buf_ring->len = buf_ring->el_size * buf_ring->elements; in mhi_init_chan_ctxt()
Dmain.c234 nr_el = ((ring->rp - ring->wp) / ring->el_size) - 1; in get_nr_avail_ring_elements()
236 nr_el = (ring->rp - ring->base) / ring->el_size; in get_nr_avail_ring_elements()
238 ring->el_size) - 1; in get_nr_avail_ring_elements()
252 ring->wp += ring->el_size; in mhi_add_ring_element()
262 ring->rp += ring->el_size; in mhi_del_ring_element()
552 ring->wp += ring->el_size; in mhi_recycle_ev_ring_element()
560 ring->rp += ring->el_size; in mhi_recycle_ev_ring_element()
1106 void *tmp = ring->wp + ring->el_size; in mhi_is_ring_full()
Dpm.c224 ring->wp = ring->base + ring->len - ring->el_size; in mhi_ready_state_transition()
225 *ring->ctxt_wp = cpu_to_le64(ring->iommu_base + ring->len - ring->el_size); in mhi_ready_state_transition()
427 ring->wp = ring->base + ring->len - ring->el_size; in mhi_pm_mission_mode_transition()
428 *ring->ctxt_wp = cpu_to_le64(ring->iommu_base + ring->len - ring->el_size); in mhi_pm_mission_mode_transition()
Dinternal.h168 size_t el_size; member
/drivers/crypto/hisilicon/sec/
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()