Searched refs:hwreq (Results 1 – 3 of 3) sorted by relevance
354 static int add_td_to_list(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, in add_td_to_list() argument375 u32 mul = hwreq->req.length / hwep->ep.maxpacket; in add_td_to_list()377 if (hwreq->req.length == 0 in add_td_to_list()378 || hwreq->req.length % hwep->ep.maxpacket) in add_td_to_list()384 temp = (u32) (sg_dma_address(s) + hwreq->req.actual); in add_td_to_list()387 temp = (u32) (hwreq->req.dma + hwreq->req.actual); in add_td_to_list()399 hwreq->req.actual += length; in add_td_to_list()401 if (!list_empty(&hwreq->tds)) { in add_td_to_list()403 lastnode = list_entry(hwreq->tds.prev, in add_td_to_list()409 list_add_tail(&node->td, &hwreq->tds); in add_td_to_list()[all …]
83 struct zynqmp_aead_hw_req *hwreq; in zynqmp_aes_aead_cipher() local102 hwreq = dma_alloc_coherent(dev, sizeof(struct zynqmp_aead_hw_req), in zynqmp_aes_aead_cipher()104 if (!hwreq) { in zynqmp_aes_aead_cipher()113 hwreq->src = dma_addr_data; in zynqmp_aes_aead_cipher()114 hwreq->dst = dma_addr_data; in zynqmp_aes_aead_cipher()115 hwreq->iv = hwreq->src + data_size; in zynqmp_aes_aead_cipher()116 hwreq->keysrc = tfm_ctx->keysrc; in zynqmp_aes_aead_cipher()117 hwreq->op = rq_ctx->op; in zynqmp_aes_aead_cipher()119 if (hwreq->op == ZYNQMP_AES_ENCRYPT) in zynqmp_aes_aead_cipher()120 hwreq->size = data_size; in zynqmp_aes_aead_cipher()[all …]
521 if (info->cfg && info->cfg->hwreq) in ab8500_ext_regulator_enable()557 if (info->cfg && info->cfg->hwreq) in ab8500_ext_regulator_disable()639 !(info->cfg && info->cfg->hwreq)) { in ab8500_ext_regulator_set_mode()