Lines Matching defs:operand
15 static void idxd_cmd_exec(struct idxd_device *idxd, int cmd_code, u32 operand,
207 u32 status, operand;
216 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16);
217 idxd_cmd_exec(idxd, IDXD_CMD_DISABLE_WQ, operand, &status);
236 u32 operand;
244 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16);
245 idxd_cmd_exec(idxd, IDXD_CMD_DRAIN_WQ, operand, NULL);
252 u32 operand;
259 operand = BIT(wq->id % 16) | ((wq->id / 16) << 16);
260 idxd_cmd_exec(idxd, IDXD_CMD_RESET_WQ, operand, NULL);
474 static void idxd_cmd_exec(struct idxd_device *idxd, int cmd_code, u32 operand,
491 cmd.operand = operand;
500 __func__, cmd_code, operand);
583 u32 operand;
585 operand = pasid;
586 dev_dbg(dev, "cmd: %u operand: %#x\n", IDXD_CMD_DRAIN_PASID, operand);
587 idxd_cmd_exec(idxd, IDXD_CMD_DRAIN_PASID, operand, NULL);
595 u32 operand, status;
602 operand = idx & GENMASK(15, 0);
604 operand |= CMD_INT_HANDLE_IMS;
606 dev_dbg(dev, "cmd: %u operand: %#x\n", IDXD_CMD_REQUEST_INT_HANDLE, operand);
608 idxd_cmd_exec(idxd, IDXD_CMD_REQUEST_INT_HANDLE, operand, &status);
625 u32 operand, status;
634 operand = handle & GENMASK(15, 0);
637 operand |= CMD_INT_HANDLE_IMS;
640 cmd.operand = operand;
642 dev_dbg(dev, "cmd: %u operand: %#x\n", IDXD_CMD_RELEASE_INT_HANDLE, operand);