Lines Matching refs:plat
1187 struct i2c_pxa_platform_data *plat = dev_get_platdata(&pdev->dev); in i2c_pxa_probe_pdata() local
1191 if (plat) { in i2c_pxa_probe_pdata()
1192 i2c->use_pio = plat->use_pio; in i2c_pxa_probe_pdata()
1193 i2c->fast_mode = plat->fast_mode; in i2c_pxa_probe_pdata()
1194 i2c->high_mode = plat->high_mode; in i2c_pxa_probe_pdata()
1195 i2c->master_code = plat->master_code; in i2c_pxa_probe_pdata()
1198 i2c->rate = plat->rate; in i2c_pxa_probe_pdata()
1205 struct i2c_pxa_platform_data *plat = dev_get_platdata(&dev->dev); in i2c_pxa_probe() local
1272 if (plat) { in i2c_pxa_probe()
1274 i2c->slave_addr = plat->slave_addr; in i2c_pxa_probe()
1275 i2c->slave = plat->slave; in i2c_pxa_probe()
1277 i2c->adap.class = plat->class; in i2c_pxa_probe()