Searched refs:sprd_adi_write (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-sprd-adi.c | 286 static int sprd_adi_write(struct sprd_adi *sadi, u32 reg, u32 val) in sprd_adi_write() function 351 ret = sprd_adi_write(sadi, reg, val); in sprd_adi_transfer_one() 369 sprd_adi_write(sadi, PMIC_RST_STATUS, val); in sprd_adi_set_wdt_rst_mode() 413 sprd_adi_write(sadi, wdg->rst_sts, val); in sprd_adi_restart() 418 sprd_adi_write(sadi, wdg->wdg_en, val); in sprd_adi_restart() 423 sprd_adi_write(sadi, wdg->wdg_clk, val); in sprd_adi_restart() 426 sprd_adi_write(sadi, wdg->base + REG_WDG_LOCK, WDG_UNLOCK_KEY); in sprd_adi_restart() 430 sprd_adi_write(sadi, wdg->base + REG_WDG_CTRL, val); in sprd_adi_restart() 433 sprd_adi_write(sadi, wdg->base + REG_WDG_LOAD_HIGH, 0); in sprd_adi_restart() 434 sprd_adi_write(sadi, wdg->base + REG_WDG_LOAD_LOW, in sprd_adi_restart() [all …]
|