summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2026-03-26 08:09:35 +0300
committerStephen Boyd <sboyd@kernel.org>2026-04-29 05:05:42 +0300
commit820ea6936b2d64d2171747ab37780ec9458a9236 (patch)
tree55f18f6e17b5c0502358f5051e20fc5808bb03e9 /rust/zerocopy/src/pointer
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
downloadlinux-820ea6936b2d64d2171747ab37780ec9458a9236.tar.xz
clk: mediatek: add MUX_CLR_SET macro
Some MediaTek SoCs (e.g. MT7988) define infra muxes that have neither a clock gate nor an update register. Add a MUX_CLR_SET convenience macro that takes only the mux register offsets, bit shift, and width, hardcoding upd_ofs = 0 and upd_shift = -1 so callers cannot accidentally pass bogus sentinel values to wrongly-typed fields. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: Chen-Yu Tsai <wenst@chromium.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'rust/zerocopy/src/pointer')
0 files changed, 0 insertions, 0 deletions