Lines Matching refs:req_addr
65 u8 *req_addr; in __hwrm_req_init() local
70 req_addr = dma_pool_alloc(bp->hwrm_dma_pool, GFP_KERNEL | __GFP_ZERO, in __hwrm_req_init()
72 if (!req_addr) in __hwrm_req_init()
75 ctx = (struct bnxt_hwrm_ctx *)(req_addr + BNXT_HWRM_CTX_OFFSET); in __hwrm_req_init()
79 ctx->req = (struct input *)req_addr; in __hwrm_req_init()
80 ctx->resp = (struct output *)(req_addr + BNXT_HWRM_RESP_OFFSET); in __hwrm_req_init()
98 static struct bnxt_hwrm_ctx *__hwrm_ctx(struct bnxt *bp, u8 *req_addr) in __hwrm_ctx() argument
100 void *ctx_addr = req_addr + BNXT_HWRM_CTX_OFFSET; in __hwrm_ctx()
101 struct input *req = (struct input *)req_addr; in __hwrm_ctx()
473 short_input.req_addr = cpu_to_le64(ctx->dma_handle); in __hwrm_send()
727 u8 *addr, *req_addr = req; in hwrm_req_dma_slice() local
736 addr = req_addr + offset; in hwrm_req_dma_slice()
738 if (addr < req_addr + max_offset && req_addr + ctx->req_len <= addr) { in hwrm_req_dma_slice()