Lines Matching refs:pch_adap
736 struct i2c_adapter *pch_adap; in pch_i2c_probe() local
768 pch_adap = &adap_info->pch_data[i].pch_adapter; in pch_i2c_probe()
773 pch_adap->owner = THIS_MODULE; in pch_i2c_probe()
774 pch_adap->class = I2C_CLASS_HWMON; in pch_i2c_probe()
775 strlcpy(pch_adap->name, KBUILD_MODNAME, sizeof(pch_adap->name)); in pch_i2c_probe()
776 pch_adap->algo = &pch_algorithm; in pch_i2c_probe()
777 pch_adap->algo_data = &adap_info->pch_data[i]; in pch_i2c_probe()
782 pch_adap->dev.of_node = pdev->dev.of_node; in pch_i2c_probe()
783 pch_adap->dev.parent = &pdev->dev; in pch_i2c_probe()
794 pch_adap = &adap_info->pch_data[i].pch_adapter; in pch_i2c_probe()
798 pch_adap->nr = i; in pch_i2c_probe()
799 ret = i2c_add_numbered_adapter(pch_adap); in pch_i2c_probe()