Lines Matching refs:adapdata

442 	struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(piix4_adapter);  in piix4_transaction()  local
443 unsigned short piix4_smba = adapdata->smba; in piix4_transaction()
521 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(adap); in piix4_access() local
522 unsigned short piix4_smba = adapdata->smba; in piix4_access()
680 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(adap); in piix4_access_sb800() local
681 unsigned short piix4_smba = adapdata->smba; in piix4_access_sb800()
718 if ((size == I2C_SMBUS_BLOCK_DATA) && adapdata->notify_imc) { in piix4_access_sb800()
740 adapdata->notify_imc = false; in piix4_access_sb800()
747 port = adapdata->port; in piix4_access_sb800()
760 if ((size == I2C_SMBUS_BLOCK_DATA) && adapdata->notify_imc) in piix4_access_sb800()
818 struct i2c_piix4_adapdata *adapdata; in piix4_add_adapter() local
832 adapdata = kzalloc(sizeof(*adapdata), GFP_KERNEL); in piix4_add_adapter()
833 if (adapdata == NULL) { in piix4_add_adapter()
839 adapdata->smba = smba; in piix4_add_adapter()
840 adapdata->sb800_main = sb800_main; in piix4_add_adapter()
841 adapdata->port = port << piix4_port_shift_sb800; in piix4_add_adapter()
842 adapdata->notify_imc = notify_imc; in piix4_add_adapter()
850 i2c_set_adapdata(adap, adapdata); in piix4_add_adapter()
854 kfree(adapdata); in piix4_add_adapter()
867 struct i2c_piix4_adapdata *adapdata; in piix4_add_adapters_sb800() local
885 adapdata = i2c_get_adapdata(piix4_main_adapters[port]); in piix4_add_adapters_sb800()
886 if (adapdata->smba) { in piix4_add_adapters_sb800()
888 kfree(adapdata); in piix4_add_adapters_sb800()
979 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(adap); in piix4_adap_remove() local
981 if (adapdata->smba) { in piix4_adap_remove()
983 if (adapdata->port == (0 << piix4_port_shift_sb800)) in piix4_adap_remove()
984 release_region(adapdata->smba, SMBIOSIZE); in piix4_adap_remove()
985 kfree(adapdata); in piix4_adap_remove()