Lines Matching full:smbus

18    SMBus interfaces.
32 #include <linux/i2c-smbus.h>
39 /* PIIX4 SMBus address offsets */
188 "SMBus base address memory region 0x%x already in use.\n", in piix4_sb800_region_request()
198 dev_err(dev, "SMBus base address mapping failed.\n"); in piix4_sb800_region_request()
210 "SMBus base address index region 0x%x already in use.\n", in piix4_sb800_region_request()
235 * w/ SMBus PCI revision ID 0x51 or greater. MMIO is supported on in piix4_sb800_use_mmio()
253 /* On some motherboards, it was reported that accessing the SMBus in piix4_setup()
257 "Accessing the SMBus on this system is unsafe!\n"); in piix4_setup()
261 /* Don't access SMBus on IBM systems which get corrupted eeproms */ in piix4_setup()
270 /* Determine the address of the SMBus areas */ in piix4_setup()
278 dev_err(&PIIX4_dev->dev, "SMBus base address " in piix4_setup()
289 dev_err(&PIIX4_dev->dev, "SMBus region 0x%x already in use!\n", in piix4_setup()
302 dev_info(&PIIX4_dev->dev, "WARNING: SMBus interface set to " in piix4_setup()
307 * noted that many Dell machines have the SMBus in piix4_setup()
317 "WARNING: SMBus interface has been FORCEFULLY ENABLED!\n"); in piix4_setup()
320 "SMBus Host Controller not enabled!\n"); in piix4_setup()
327 dev_dbg(&PIIX4_dev->dev, "Using IRQ for SMBus\n"); in piix4_setup()
329 dev_dbg(&PIIX4_dev->dev, "Using SMI# for SMBus\n"); in piix4_setup()
336 "SMBus Host Controller at 0x%x, revision %d\n", in piix4_setup()
382 "SMBus Host Controller not enabled!\n"); in piix4_setup_sb800_smba()
398 /* SB800 and later SMBus does not support forcing address */ in piix4_setup_sb800()
400 dev_err(&PIIX4_dev->dev, "SMBus does not support " in piix4_setup_sb800()
405 /* Determine the address of the SMBus areas */ in piix4_setup_sb800()
428 dev_err(&PIIX4_dev->dev, "SMBus region 0x%x already in use!\n", in piix4_setup_sb800()
433 /* Aux SMBus does not support IRQ information */ in piix4_setup_sb800()
436 "Auxiliary SMBus Host Controller at 0x%x\n", in piix4_setup_sb800()
441 /* Request the SMBus I2C bus config region */ in piix4_setup_sb800()
443 dev_err(&PIIX4_dev->dev, "SMBus I2C bus config region " in piix4_setup_sb800()
452 dev_dbg(&PIIX4_dev->dev, "Using IRQ for SMBus\n"); in piix4_setup_sb800()
454 dev_dbg(&PIIX4_dev->dev, "Using SMI# for SMBus\n"); in piix4_setup_sb800()
457 "SMBus Host Controller at 0x%x, revision %d\n", in piix4_setup_sb800()
493 "Using register 0x%02x for SMBus port selection\n", in piix4_setup_sb800()
503 /* Set up auxiliary SMBus controllers found on some in piix4_setup_aux()
508 /* Read address of auxiliary SMBus controller */ in piix4_setup_aux()
512 "Auxiliary SMBus controller not enabled\n"); in piix4_setup_aux()
519 "Auxiliary SMBus base address uninitialized\n"); in piix4_setup_aux()
527 dev_err(&PIIX4_dev->dev, "Auxiliary SMBus region 0x%x " in piix4_setup_aux()
533 "Auxiliary SMBus Host Controller at 0x%x\n", in piix4_setup_aux()
552 /* Make sure the SMBus host is ready to start transmitting */ in piix4_transaction()
554 dev_dbg(&piix4_adapter->dev, "SMBus busy (%02x). " in piix4_transaction()
578 /* If the SMBus is still busy, we give up */ in piix4_transaction()
580 dev_err(&piix4_adapter->dev, "SMBus Timeout!\n"); in piix4_transaction()
591 dev_dbg(&piix4_adapter->dev, "Bus collision! SMBus may be " in piix4_transaction()
791 * Handles access to multiple SMBus ports on the SB800.
813 /* Request the SMBUS semaphore, avoid conflicts with the IMC */ in piix4_access_sb800()
825 /* SMBus is still owned by the IMC, we give up */ in piix4_access_sb800()
835 * All this is done through SMBus and can/will collide in piix4_access_sb800()
974 "SMBus PIIX4 adapter%s at %04x", name, smba); in piix4_add_adapter()
1076 * Try to register multiplexed main SMBus adapter, in piix4_probe()
1087 /* Try to register main SMBus adapter, give up if we can't */ in piix4_probe()
1095 /* Check for auxiliary SMBus on some AMD chipsets */ in piix4_probe()
1166 MODULE_DESCRIPTION("PIIX4 SMBus driver");