Lines Matching refs:p_adap
624 struct i2c_adapter *p_adap;
660 p_adap = &iface->adap;
661 p_adap->nr = pdev->id;
662 strlcpy(p_adap->name, pdev->name, sizeof(p_adap->name));
663 p_adap->algo = &bfin_twi_algorithm;
664 p_adap->algo_data = iface;
665 p_adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD;
666 p_adap->dev.parent = &pdev->dev;
667 p_adap->timeout = 5 * HZ;
668 p_adap->retries = 3;
700 rc = i2c_add_numbered_adapter(p_adap);