Searched refs:adapdata (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/i2c/busses/
H A Di2c-piix4.c362 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(piix4_adapter); piix4_transaction() local
363 unsigned short piix4_smba = adapdata->smba; piix4_transaction()
441 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(adap); piix4_access() local
442 unsigned short piix4_smba = adapdata->smba; piix4_access()
571 struct i2c_piix4_adapdata *adapdata; piix4_add_adapter() local
584 adapdata = kzalloc(sizeof(*adapdata), GFP_KERNEL); piix4_add_adapter()
585 if (adapdata == NULL) { piix4_add_adapter()
591 adapdata->smba = smba; piix4_add_adapter()
599 i2c_set_adapdata(adap, adapdata); piix4_add_adapter()
604 kfree(adapdata); piix4_add_adapter()
665 struct i2c_piix4_adapdata *adapdata = i2c_get_adapdata(adap); piix4_adap_remove() local
667 if (adapdata->smba) { piix4_adap_remove()
669 release_region(adapdata->smba, SMBIOSIZE); piix4_adap_remove()
670 kfree(adapdata); piix4_adap_remove()

Completed in 55 milliseconds