Home
last modified time | relevance | path

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

/openbmc/linux/drivers/i2c/busses/
H A Di2c-brcmstb.c282 struct bsc_regs *pi2creg = dev->bsc_regmap; in brcmstb_send_i2c_cmd() local
297 pi2creg->iic_enable |= BSC_IIC_EN_ENABLE_MASK; in brcmstb_send_i2c_cmd()
298 bsc_writel(dev, pi2creg->iic_enable, iic_enable); in brcmstb_send_i2c_cmd()
330 struct bsc_regs *pi2creg = dev->bsc_regmap; in brcmstb_i2c_xfer_bsc_data() local
338 pi2creg->ctlhi_reg |= BSC_CTLHI_REG_IGNORE_ACK_MASK; in brcmstb_i2c_xfer_bsc_data()
341 pi2creg->ctlhi_reg &= ~BSC_CTLHI_REG_IGNORE_ACK_MASK; in brcmstb_i2c_xfer_bsc_data()
343 bsc_writel(dev, pi2creg->ctlhi_reg, ctlhi_reg); in brcmstb_i2c_xfer_bsc_data()
346 ctl_reg = pi2creg->ctl_reg & ~BSC_CTL_REG_DTF_MASK; in brcmstb_i2c_xfer_bsc_data()
348 pi2creg->ctl_reg = ctl_reg | DTF_WR_MASK; in brcmstb_i2c_xfer_bsc_data()
350 pi2creg->ctl_reg = ctl_reg | DTF_RD_MASK; in brcmstb_i2c_xfer_bsc_data()