Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-ibm_iic.c85 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/platform/
Darv.c161 static void iic(int n, unsigned long addr, unsigned long data1, unsigned long data2, in iic() function
644 iic(2, 0x78, 0x11, 0x01, 0x00); /* start */ in ar_initialize()
645 iic(3, 0x78, 0x12, 0x00, 0x06); in ar_initialize()
646 iic(3, 0x78, 0x12, 0x12, 0x30); in ar_initialize()
647 iic(3, 0x78, 0x12, 0x15, 0x58); in ar_initialize()
648 iic(3, 0x78, 0x12, 0x17, 0x30); in ar_initialize()
650 iic(3, 0x78, 0x12, 0x1a, 0x97); in ar_initialize()
651 iic(3, 0x78, 0x12, 0x1b, 0xff); in ar_initialize()
652 iic(3, 0x78, 0x12, 0x1c, 0xff); in ar_initialize()
653 iic(3, 0x78, 0x12, 0x26, 0x10); in ar_initialize()
[all …]
/drivers/mfd/
Dsm501.c1160 struct sm501_platdata_gpio_i2c *iic) in sm501_register_gpio_i2c_instance() argument
1176 icd->sda_pin = sm501_gpio_pin2nr(sm, iic->pin_sda); in sm501_register_gpio_i2c_instance()
1177 icd->scl_pin = sm501_gpio_pin2nr(sm, iic->pin_scl); in sm501_register_gpio_i2c_instance()
1178 icd->timeout = iic->timeout; in sm501_register_gpio_i2c_instance()
1179 icd->udelay = iic->udelay; in sm501_register_gpio_i2c_instance()
1187 pdev->id = iic->bus_num; in sm501_register_gpio_i2c_instance()
1190 iic->bus_num, in sm501_register_gpio_i2c_instance()
1191 icd->sda_pin, iic->pin_sda, icd->scl_pin, iic->pin_scl); in sm501_register_gpio_i2c_instance()
1199 struct sm501_platdata_gpio_i2c *iic = pdata->gpio_i2c; in sm501_register_gpio_i2c() local
1203 for (index = 0; index < pdata->gpio_i2c_nr; index++, iic++) { in sm501_register_gpio_i2c()
[all …]