diff options
| author | Frank Li <Frank.Li@nxp.com> | 2025-11-06 12:36:02 -0500 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-11-29 00:39:08 +0100 |
| commit | 108420fe2100b0c9cfb2d3598681eab3724247b9 (patch) | |
| tree | 49739ddb44d468d71f9cbbb9ad53243de29dd8aa /scripts/lib/jobserver.py | |
| parent | 9280b6ebbf08e53734d34f3bb325c37cddc1422d (diff) | |
i3c: master: svc: Replace bool rnw with union for HDR support
Replace the bool rnw field with a union in preparation for adding HDR
support. HDR uses a cmd field instead of the rnw bit to indicate read or
write direction.
Add helper function svc_cmd_is_read() to check transfer direction.
Add a local variable 'rnw' in svc_i3c_master_priv_xfers() to avoid
repeatedly accessing xfers[i].rnw.
No functional change.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251106-i3c_ddr-v11-3-33a6a66ed095@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/lib/jobserver.py')
0 files changed, 0 insertions, 0 deletions
