Lines Matching refs:bnxt_hwrm_ctx
28 static u64 hwrm_calc_sentinel(struct bnxt_hwrm_ctx *ctx, u16 req_type) in hwrm_calc_sentinel()
63 struct bnxt_hwrm_ctx *ctx; in __hwrm_req_init()
75 ctx = (struct bnxt_hwrm_ctx *)(req_addr + BNXT_HWRM_CTX_OFFSET); in __hwrm_req_init()
98 static struct bnxt_hwrm_ctx *__hwrm_ctx(struct bnxt *bp, u8 *req_addr) in __hwrm_ctx()
102 struct bnxt_hwrm_ctx *ctx = ctx_addr; in __hwrm_ctx()
137 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); in hwrm_req_timeout()
160 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); in hwrm_req_alloc_flags()
194 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); in hwrm_req_replace()
247 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); in hwrm_req_flags()
280 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); in hwrm_req_hold()
298 static void __hwrm_ctx_drop(struct bnxt *bp, struct bnxt_hwrm_ctx *ctx) in __hwrm_ctx_drop()
309 memset(ctx, 0, sizeof(struct bnxt_hwrm_ctx)); in __hwrm_ctx_drop()
332 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); in hwrm_req_drop()
459 static int __hwrm_send(struct bnxt *bp, struct bnxt_hwrm_ctx *ctx) in __hwrm_send()
727 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); in hwrm_req_send()
780 struct bnxt_hwrm_ctx *ctx = __hwrm_ctx(bp, req); in hwrm_req_dma_slice()