Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/qcom/
H A Drpmh-rsc.c196 tcs_reg_addr(const struct rsc_drv *drv, int reg, int tcs_id) in tcs_reg_addr() function
204 return tcs_reg_addr(drv, reg, tcs_id) + drv->regs[RSC_DRV_CMD_OFFSET] * cmd_id; in tcs_cmd_addr()
215 return readl_relaxed(tcs_reg_addr(drv, reg, tcs_id)); in read_tcs_reg()
227 writel_relaxed(data, tcs_reg_addr(drv, reg, tcs_id)); in write_tcs_reg()
235 writel(data, tcs_reg_addr(drv, reg, tcs_id)); in write_tcs_reg_sync()
242 if (readl(tcs_reg_addr(drv, reg, tcs_id)) == data) in write_tcs_reg_sync()