Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-ibm_iic.c86 volatile struct iic_regs __iomem *iic = dev->vaddr; in dump_iic_regs() local
92 in_8(&iic->cntl), in_8(&iic->mdcntl), in_8(&iic->sts), in dump_iic_regs()
93 in_8(&iic->extsts), in_8(&iic->clkdiv), in_8(&iic->xfrcnt), in dump_iic_regs()
94 in_8(&iic->xtcntlss), in_8(&iic->directcntl)); in dump_iic_regs()
137 volatile struct iic_regs __iomem *iic = dev->vaddr; in iic_dev_init() local
142 out_8(&iic->lmadr, 0); in iic_dev_init()
143 out_8(&iic->hmadr, 0); in iic_dev_init()
146 out_8(&iic->lsadr, 0); in iic_dev_init()
147 out_8(&iic->hsadr, 0); in iic_dev_init()
150 out_8(&iic->sts, STS_SCMP | STS_IRQA); in iic_dev_init()
[all …]
/drivers/media/video/
Darv.c159 void iic(int n, unsigned long addr, unsigned long data1, unsigned long data2, in iic() function
671 iic(2,0x78,0x11,0x01,0x00); /* start */ in ar_initialize()
672 iic(3,0x78,0x12,0x00,0x06); in ar_initialize()
673 iic(3,0x78,0x12,0x12,0x30); in ar_initialize()
674 iic(3,0x78,0x12,0x15,0x58); in ar_initialize()
675 iic(3,0x78,0x12,0x17,0x30); in ar_initialize()
677 iic(3,0x78,0x12,0x1a,0x97); in ar_initialize()
678 iic(3,0x78,0x12,0x1b,0xff); in ar_initialize()
679 iic(3,0x78,0x12,0x1c,0xff); in ar_initialize()
680 iic(3,0x78,0x12,0x26,0x10); in ar_initialize()
[all …]
/drivers/mfd/
Dsm501.c1168 struct sm501_platdata_gpio_i2c *iic) in sm501_register_gpio_i2c_instance() argument
1184 icd->sda_pin = sm501_gpio_pin2nr(sm, iic->pin_sda); in sm501_register_gpio_i2c_instance()
1185 icd->scl_pin = sm501_gpio_pin2nr(sm, iic->pin_scl); in sm501_register_gpio_i2c_instance()
1186 icd->timeout = iic->timeout; in sm501_register_gpio_i2c_instance()
1187 icd->udelay = iic->udelay; in sm501_register_gpio_i2c_instance()
1195 pdev->id = iic->bus_num; in sm501_register_gpio_i2c_instance()
1198 iic->bus_num, in sm501_register_gpio_i2c_instance()
1199 icd->sda_pin, iic->pin_sda, icd->scl_pin, iic->pin_scl); in sm501_register_gpio_i2c_instance()
1207 struct sm501_platdata_gpio_i2c *iic = pdata->gpio_i2c; in sm501_register_gpio_i2c() local
1211 for (index = 0; index < pdata->gpio_i2c_nr; index++, iic++) { in sm501_register_gpio_i2c()
[all …]