…No, these are hardware program defined op-codes not created for any software purpose. so Macro define looks fine to me.
+++ b/drivers/i3c/master/qcom-i3c-master.c…
@@ -0,0 +1,1107 @@
+/* M_CMD OP codes for I2C/I3C */…
+#define I3C_READ_IBI_HW 0
+#define I2C_WRITE 1
+#define I2C_READ 2
Can an enumeration become helpful here?
Regards,
Markus