Home
last modified time | relevance | path

Searched refs:smbuses (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/i2c/busses/
Di2c-nforce2.c372 struct nforce2_smbus *smbuses; in nforce2_probe() local
376 smbuses = kcalloc(2, sizeof(struct nforce2_smbus), GFP_KERNEL); in nforce2_probe()
377 if (!smbuses) in nforce2_probe()
379 pci_set_drvdata(dev, smbuses); in nforce2_probe()
385 smbuses[0].blockops = 1; in nforce2_probe()
386 smbuses[1].blockops = 1; in nforce2_probe()
387 smbuses[0].can_abort = 1; in nforce2_probe()
388 smbuses[1].can_abort = 1; in nforce2_probe()
392 res1 = nforce2_probe_smb(dev, 4, NFORCE_PCI_SMB1, &smbuses[0], "SMB1"); in nforce2_probe()
394 smbuses[0].base = 0; /* to have a check value */ in nforce2_probe()
[all …]