Lines Matching refs:nelem
215 u32 nelem; member
308 qdev->dbc[dbc_id].nelem = resources->nelem; in save_dbc_buf()
640 u32 nelem; in encode_activate() local
657 nelem = in_trans->queue_size; in encode_activate()
658 size = (get_dbc_req_elem_size() + get_dbc_rsp_elem_size()) * nelem; in encode_activate()
659 if (size / nelem != get_dbc_req_elem_size() + get_dbc_rsp_elem_size()) in encode_activate()
684 out_trans->req_q_size = cpu_to_le32(nelem); in encode_activate()
685 out_trans->rsp_q_addr = cpu_to_le64(dma_addr + size - nelem * get_dbc_rsp_elem_size()); in encode_activate()
686 out_trans->rsp_q_size = cpu_to_le32(nelem); in encode_activate()
696 resources->nelem = nelem; in encode_activate()
697 resources->rsp_q_base = buf + size - nelem * get_dbc_rsp_elem_size(); in encode_activate()