diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/reg_script.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lib/reg_script.c b/src/lib/reg_script.c index 3ca0b4a490..e03a8e4bb8 100644 --- a/src/lib/reg_script.c +++ b/src/lib/reg_script.c @@ -257,8 +257,14 @@ static uint32_t reg_script_read_iosf(struct reg_script_context *ctx) return iosf_punit_read(step->reg); case IOSF_PORT_USBPHY: return iosf_usbphy_read(step->reg); + case IOSF_PORT_SCORE: + return iosf_score_read(step->reg); case IOSF_PORT_USHPHY: return iosf_ushphy_read(step->reg); + case IOSF_PORT_SCC: + return iosf_scc_read(step->reg); + case IOSF_PORT_CCU: + return iosf_ccu_read(step->reg); } #endif return 0; @@ -282,9 +288,18 @@ static void reg_script_write_iosf(struct reg_script_context *ctx) case IOSF_PORT_USBPHY: iosf_usbphy_write(step->reg, step->value); break; + case IOSF_PORT_SCORE: + iosf_score_write(step->reg, step->value); + break; case IOSF_PORT_USHPHY: iosf_ushphy_write(step->reg, step->value); break; + case IOSF_PORT_SCC: + iosf_scc_write(step->reg, step->value); + break; + case IOSF_PORT_CCU: + iosf_ccu_write(step->reg, step->value); + break; } #endif } |