Lines Matching defs:mbox
58 static int pcode_mailbox_rw(struct xe_gt *gt, u32 mbox, u32 *data0, u32 *data1,
74 xe_mmio_write32(gt, PCODE_MAILBOX, PCODE_READY | mbox);
90 int xe_pcode_write_timeout(struct xe_gt *gt, u32 mbox, u32 data, int timeout)
95 err = pcode_mailbox_rw(gt, mbox, &data, NULL, timeout, false, false);
101 int xe_pcode_read(struct xe_gt *gt, u32 mbox, u32 *val, u32 *val1)
106 err = pcode_mailbox_rw(gt, mbox, val, val1, 1, true, false);
112 static int xe_pcode_try_request(struct xe_gt *gt, u32 mbox,
119 *status = pcode_mailbox_rw(gt, mbox, &request, NULL, 1, true,
137 * @mbox: PCODE mailbox ID the request is targeted for
143 * Keep resending the @request to @mbox until PCODE acknowledges it, PCODE
153 int xe_pcode_request(struct xe_gt *gt, u32 mbox, u32 request,
161 ret = xe_pcode_try_request(gt, mbox, request, reply_mask, reply, &status,
180 ret = xe_pcode_try_request(gt, mbox, request, reply_mask, reply, &status,