smbuses 372 drivers/i2c/busses/i2c-nforce2.c struct nforce2_smbus *smbuses; smbuses 376 drivers/i2c/busses/i2c-nforce2.c smbuses = kcalloc(2, sizeof(struct nforce2_smbus), GFP_KERNEL); smbuses 377 drivers/i2c/busses/i2c-nforce2.c if (!smbuses) smbuses 379 drivers/i2c/busses/i2c-nforce2.c pci_set_drvdata(dev, smbuses); smbuses 385 drivers/i2c/busses/i2c-nforce2.c smbuses[0].blockops = 1; smbuses 386 drivers/i2c/busses/i2c-nforce2.c smbuses[1].blockops = 1; smbuses 387 drivers/i2c/busses/i2c-nforce2.c smbuses[0].can_abort = 1; smbuses 388 drivers/i2c/busses/i2c-nforce2.c smbuses[1].can_abort = 1; smbuses 392 drivers/i2c/busses/i2c-nforce2.c res1 = nforce2_probe_smb(dev, 4, NFORCE_PCI_SMB1, &smbuses[0], "SMB1"); smbuses 394 drivers/i2c/busses/i2c-nforce2.c smbuses[0].base = 0; /* to have a check value */ smbuses 400 drivers/i2c/busses/i2c-nforce2.c smbuses[1].base = 0; smbuses 402 drivers/i2c/busses/i2c-nforce2.c res2 = nforce2_probe_smb(dev, 5, NFORCE_PCI_SMB2, &smbuses[1], smbuses 405 drivers/i2c/busses/i2c-nforce2.c smbuses[1].base = 0; /* to have a check value */ smbuses 410 drivers/i2c/busses/i2c-nforce2.c kfree(smbuses); smbuses 414 drivers/i2c/busses/i2c-nforce2.c nforce2_set_reference(&smbuses[0].adapter); smbuses 421 drivers/i2c/busses/i2c-nforce2.c struct nforce2_smbus *smbuses = pci_get_drvdata(dev); smbuses 424 drivers/i2c/busses/i2c-nforce2.c if (smbuses[0].base) { smbuses 425 drivers/i2c/busses/i2c-nforce2.c i2c_del_adapter(&smbuses[0].adapter); smbuses 426 drivers/i2c/busses/i2c-nforce2.c release_region(smbuses[0].base, smbuses[0].size); smbuses 428 drivers/i2c/busses/i2c-nforce2.c if (smbuses[1].base) { smbuses 429 drivers/i2c/busses/i2c-nforce2.c i2c_del_adapter(&smbuses[1].adapter); smbuses 430 drivers/i2c/busses/i2c-nforce2.c release_region(smbuses[1].base, smbuses[1].size); smbuses 432 drivers/i2c/busses/i2c-nforce2.c kfree(smbuses);