Lines Matching refs:pch_data
160 struct i2c_algo_pch_data pch_data[PCH_I2C_MAX_DEV]; member
629 p = adap_info->pch_data[i].pch_base_address; in pch_i2c_handler()
633 pch_err(adap_info->pch_data, in pch_i2c_handler()
639 pch_i2c_cb(&adap_info->pch_data[i]); in pch_i2c_handler()
768 pch_adap = &adap_info->pch_data[i].pch_adapter; in pch_i2c_probe()
771 adap_info->pch_data[i].p_adapter_info = adap_info; in pch_i2c_probe()
777 pch_adap->algo_data = &adap_info->pch_data[i]; in pch_i2c_probe()
780 adap_info->pch_data[i].pch_base_address = base_addr + 0x100 * i; in pch_i2c_probe()
794 pch_adap = &adap_info->pch_data[i].pch_adapter; in pch_i2c_probe()
796 pch_i2c_init(&adap_info->pch_data[i]); in pch_i2c_probe()
812 i2c_del_adapter(&adap_info->pch_data[j].pch_adapter); in pch_i2c_probe()
833 pch_i2c_disbl_int(&adap_info->pch_data[i]); in pch_i2c_remove()
834 i2c_del_adapter(&adap_info->pch_data[i].pch_adapter); in pch_i2c_remove()
837 if (adap_info->pch_data[0].pch_base_address) in pch_i2c_remove()
838 pci_iounmap(pdev, adap_info->pch_data[0].pch_base_address); in pch_i2c_remove()
841 adap_info->pch_data[i].pch_base_address = NULL; in pch_i2c_remove()
854 void __iomem *p = adap_info->pch_data[0].pch_base_address; in pch_i2c_suspend()
859 while ((adap_info->pch_data[i].pch_i2c_xfer_in_progress)) { in pch_i2c_suspend()
867 pch_i2c_disbl_int(&adap_info->pch_data[i]); in pch_i2c_suspend()
883 pch_i2c_init(&adap_info->pch_data[i]); in pch_i2c_resume()