Home
last modified time | relevance | path

Searched refs:slave_pbase (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/spi/
Dspi-sprd-adi.c116 unsigned long slave_pbase; member
122 if (paddr < sadi->slave_pbase || paddr > in sprd_adi_check_paddr()
123 (sadi->slave_pbase + ADI_SLAVE_ADDR_SIZE)) { in sprd_adi_check_paddr()
135 return (paddr - sadi->slave_pbase + sadi->slave_vbase); in sprd_adi_to_vaddr()
284 phy_reg = *(u32 *)t->rx_buf + sadi->slave_pbase; in sprd_adi_transfer_one()
303 phy_reg = *p++ + sadi->slave_pbase; in sprd_adi_transfer_one()
326 sprd_adi_read(sadi, sadi->slave_pbase + PMIC_RST_STATUS, &val); in sprd_adi_set_wdt_rst_mode()
328 sprd_adi_write(sadi, sadi->slave_pbase + PMIC_RST_STATUS, val); in sprd_adi_set_wdt_rst_mode()
369 sprd_adi_read(sadi, sadi->slave_pbase + PMIC_RST_STATUS, &val); in sprd_adi_restart_handler()
372 sprd_adi_write(sadi, sadi->slave_pbase + PMIC_RST_STATUS, val); in sprd_adi_restart_handler()
[all …]