Searched refs:bsc_regmap (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-brcmstb.c167 struct bsc_regs *bsc_regmap; member in struct:brcmstb_i2c_dev
195 dev->bsc_regmap->ctl_reg |= BSC_CTL_REG_INT_EN_MASK; brcmstb_i2c_enable_disable_irq()
198 dev->bsc_regmap->ctl_reg &= ~BSC_CTL_REG_INT_EN_MASK; brcmstb_i2c_enable_disable_irq()
201 bsc_writel(dev, dev->bsc_regmap->ctl_reg, ctl_reg); brcmstb_i2c_enable_disable_irq()
271 u32 regval = dev->bsc_regmap->iic_enable; brcmstb_set_i2c_start_stop()
273 dev->bsc_regmap->iic_enable = (regval & ~COND_START_STOP) | cond_flag; brcmstb_set_i2c_start_stop()
281 struct bsc_regs *pi2creg = dev->bsc_regmap; brcmstb_send_i2c_cmd()
329 struct bsc_regs *pi2creg = dev->bsc_regmap; brcmstb_i2c_xfer_bsc_data()
525 dev->bsc_regmap->ctl_reg &= ~(BSC_CTL_REG_SCL_SEL_MASK brcmstb_i2c_set_bus_speed()
527 dev->bsc_regmap->ctl_reg |= (bsc_clk[i].scl_mask | brcmstb_i2c_set_bus_speed()
529 bsc_writel(dev, dev->bsc_regmap->ctl_reg, ctl_reg); brcmstb_i2c_set_bus_speed()
546 dev->bsc_regmap->ctlhi_reg = BSC_CTLHI_REG_DATAREG_SIZE_MASK; brcmstb_i2c_set_bsc_reg_defaults()
547 bsc_writel(dev, dev->bsc_regmap->ctlhi_reg, ctlhi_reg); brcmstb_i2c_set_bsc_reg_defaults()
565 dev->bsc_regmap = devm_kzalloc(&pdev->dev, sizeof(*dev->bsc_regmap), GFP_KERNEL); brcmstb_i2c_probe()
566 if (!dev->bsc_regmap) brcmstb_i2c_probe()

Completed in 40 milliseconds