Lines Matching refs:iic
1130 struct sm501_platdata_gpio_i2c *iic) in sm501_register_gpio_i2c_instance() argument
1149 GPIO_LOOKUP_IDX(iic->pin_sda < 32 ? "SM501-LOW" : "SM501-HIGH", in sm501_register_gpio_i2c_instance()
1150 iic->pin_sda % 32, NULL, 0, in sm501_register_gpio_i2c_instance()
1153 GPIO_LOOKUP_IDX(iic->pin_scl < 32 ? "SM501-LOW" : "SM501-HIGH", in sm501_register_gpio_i2c_instance()
1154 iic->pin_scl % 32, NULL, 1, in sm501_register_gpio_i2c_instance()
1159 icd->timeout = iic->timeout; in sm501_register_gpio_i2c_instance()
1160 icd->udelay = iic->udelay; in sm501_register_gpio_i2c_instance()
1168 pdev->id = iic->bus_num; in sm501_register_gpio_i2c_instance()
1171 iic->bus_num, in sm501_register_gpio_i2c_instance()
1172 iic->pin_sda, iic->pin_scl); in sm501_register_gpio_i2c_instance()
1180 struct sm501_platdata_gpio_i2c *iic = pdata->gpio_i2c; in sm501_register_gpio_i2c() local
1184 for (index = 0; index < pdata->gpio_i2c_nr; index++, iic++) { in sm501_register_gpio_i2c()
1185 ret = sm501_register_gpio_i2c_instance(sm, iic); in sm501_register_gpio_i2c()