![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Definition at line 503 of file smbus.c.
References base, block_cmd_loop(), BLOCK_WRITE, buf, CONFIG, host_outb(), I801_BLOCK_DATA, setup_command(), SMBHSTCMD, SMBHSTDAT1, SMBUS_BLOCK_MAXLEN, SMBUS_ERROR, and XMIT_WRITE.
Referenced by smbus_i2c_block_write().
Definition at line 466 of file smbus.c.
References base, block_cmd_loop(), BLOCK_I2C, BLOCK_READ, buf, has_i2c_read_command(), host_outb(), I801_I2C_BLOCK_DATA, offset, setup_command(), SMBHSTDAT1, SMBUS_ERROR, and XMIT_WRITE.
Definition at line 368 of file smbus.c.
References base, block_cmd_loop(), BLOCK_READ, buf, host_inb(), host_outb(), I801_BLOCK_DATA, MIN, setup_command(), SMBHSTCMD, SMBHSTDAT0, SMBUS_BLOCK_MAXLEN, SMBUS_ERROR, and XMIT_READ.
Definition at line 431 of file smbus.c.
References base, block_cmd_loop(), BLOCK_WRITE, buf, host_outb(), I801_BLOCK_DATA, setup_command(), SMBHSTCMD, SMBUS_BLOCK_MAXLEN, SMBUS_ERROR, and XMIT_WRITE.
Referenced by eeprom_write_byte(), and lsmbus_block_write().
Definition at line 399 of file smbus.c.
References base, buf, complete_command(), execute_command(), host_inb(), host_outb(), I801_PROCESS_CALL, setup_command(), SMBHSTCMD, SMBHSTDAT0, SMBHSTDAT1, and XMIT_WRITE.
Referenced by eeprom_read_buffer().
Definition at line 121 of file smbus.c.
References address, base, controller_read8(), controller_write8(), I801_BYTE_DATA, SMBHST_CTRL_BDT_RW, SMBHST_CTRL_MODE_BITS, SMBHST_CTRL_STRT, SMBHSTADDR, SMBHSTCMD, SMBHSTCTRL, SMBHSTDAT0, smbus_read_cmd(), smbus_wait_until_done(), and smbus_wait_until_ready().
Referenced by lsmbus_read_byte(), and readspd().
Definition at line 353 of file smbus.c.
References address, base, I801_WORD_DATA, and smbus_read_cmd().
Definition at line 71 of file smbus.c.
References controller_read8(), controller_write8(), SMBHST_CTRL_BTE_RW, SMBHST_CTRL_MODE_BITS, SMBHST_CTRL_STRT, SMBHSTADDR, SMBHSTCTRL, SMBHSTDAT0, smbus_wait_until_done(), and smbus_wait_until_ready().
Referenced by lsmbus_recv_byte(), and readspd().
Definition at line 96 of file smbus.c.
References controller_read8(), controller_write8(), SMBHST_CTRL_BTE_RW, SMBHST_CTRL_MODE_BITS, SMBHST_CTRL_STRT, SMBHSTADDR, SMBHSTCTRL, SMBHSTDAT0, smbus_wait_until_done(), smbus_wait_until_ready(), and val.
Referenced by lsmbus_send_byte().
Definition at line 149 of file smbus.c.
References address, base, controller_read8(), controller_write8(), I801_BYTE_DATA, SMBHST_CTRL_BDT_RW, SMBHST_CTRL_MODE_BITS, SMBHST_CTRL_STRT, SMBHSTADDR, SMBHSTCMD, SMBHSTCTRL, SMBHSTDAT0, smbus_wait_until_done(), smbus_wait_until_ready(), smbus_write_cmd(), and val.
Referenced by board_BeforeAgesa(), and lsmbus_write_byte().
Definition at line 363 of file smbus.c.
References address, base, I801_WORD_DATA, and smbus_write_cmd().
Definition at line 34 of file smbus_host.h.
References base, BIOS_DEBUG, die(), printk, smbus_base(), smbus_enable_iobar(), and smbus_host_reset().
Referenced by early_pch_init(), i82371eb_early_init(), i82801dx_early_init(), i82801ix_early_init(), i82801jx_early_init(), pch_early_init(), and raminit().
Definition at line 22 of file raminit.c.
References SMBUS_BASE_ADDRESS, and SMBUS_IO_BASE.
Referenced by enable_smbus().
int smbus_enable_iobar | ( | uintptr_t | base | ) |
Definition at line 27 of file raminit.c.
References base, HOSTC, HST_EN, PCI_BASE_ADDRESS_4, PCI_BASE_ADDRESS_SPACE_IO, PCI_COMMAND, PCI_COMMAND_IO, PCI_DEV, PCI_DEV_SMBUS, PCI_DID_INTEL_82371AB_SMB_ACPI, PCI_ID, pci_locate_device(), pci_read_config16(), pci_read_config8(), PCI_VENDOR_ID, PCI_VID_INTEL, pci_write_config16(), pci_write_config32(), pci_write_config8(), PCU_SMB_CLK_PAD, PCU_SMB_DATA_PAD, score_select_func(), SMB_BASE, SMB_HST_EN, SMBBA, SMBHSTCFG, SMBUS_DEV, and SMBUS_FUNC.
Referenced by enable_smbus().
Definition at line 93 of file smbus.c.
References base, host_and_or(), host_outb(), SMBHSTCTL, and SMBHSTSTAT.
Referenced by enable_smbus().
Definition at line 102 of file smbus.c.
References base, host_outb(), and SMB_RCV_SLVA.
Referenced by pch_smbus_init().