Home
last modified time | relevance | path

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

/linux/drivers/i2c/busses/
H A Di2c-brcmstb.c283 struct bsc_regs *pi2creg = dev->bsc_regmap; in brcmstb_send_i2c_cmd() local
298 pi2creg->iic_enable |= BSC_IIC_EN_ENABLE_MASK; in brcmstb_send_i2c_cmd()
299 bsc_writel(dev, pi2creg->iic_enable, iic_enable); in brcmstb_send_i2c_cmd()
331 struct bsc_regs *pi2creg = dev->bsc_regmap; in brcmstb_i2c_xfer_bsc_data() local
339 pi2creg->ctlhi_reg |= BSC_CTLHI_REG_IGNORE_ACK_MASK; in brcmstb_i2c_xfer_bsc_data()
342 pi2creg->ctlhi_reg &= ~BSC_CTLHI_REG_IGNORE_ACK_MASK; in brcmstb_i2c_xfer_bsc_data()
344 bsc_writel(dev, pi2creg->ctlhi_reg, ctlhi_reg); in brcmstb_i2c_xfer_bsc_data()
347 ctl_reg = pi2creg->ctl_reg & ~BSC_CTL_REG_DTF_MASK; in brcmstb_i2c_xfer_bsc_data()
349 pi2creg->ctl_reg = ctl_reg | DTF_WR_MASK; in brcmstb_i2c_xfer_bsc_data()
351 pi2creg->ctl_reg = ctl_reg | DTF_RD_MASK; in brcmstb_i2c_xfer_bsc_data()