Lines Matching defs:pdata
589 struct ocores_i2c_platform_data *pdata;
625 pdata = dev_get_platdata(&pdev->dev);
626 if (pdata) {
627 i2c->reg_shift = pdata->reg_shift;
628 i2c->reg_io_width = pdata->reg_io_width;
629 i2c->ip_clock_khz = pdata->clock_khz;
630 if (pdata->bus_khz)
631 i2c->bus_clock_khz = pdata->bus_khz;
644 bool be = pdata ? pdata->big_endian :
718 if (pdata) {
719 for (i = 0; i < pdata->num_devices; i++)
720 i2c_new_client_device(&i2c->adap, pdata->devices + i);