![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <commonlib/bsd/bcd.h>
#include <console/console.h>
#include <device/smbus.h>
#include <version.h>
#include "chip.h"
Go to the source code of this file.
Functions | |
static void | pcf8523_set_build_date (struct device *dev) |
static void | pcf8523_set_user_date (struct device *dev) |
static void | pcf8523_final (struct device *dev) |
static void | pcf8523_init (struct device *dev) |
static void | pcf8523_enable (struct device *dev) |
Variables | |
static struct device_operations | pcf8523c_ops |
struct chip_operations | drivers_i2c_pcf8523_ops |
Definition at line 28 of file pcf8523.c.
References bcd2bin(), BIOS_INFO, device::chip_ops, DAY_REG, HOUR_REG, MINUTE_REG, MONTH_REG, chip_operations::name, OS_BIT, printk, SECOND_REG, smbus_read_byte(), and YEAR_REG.
Definition at line 41 of file pcf8523.c.
References BIOS_DEBUG, CAP_SEL, device::chip_info, device::chip_ops, COF_MASK, config, CTRL_REG_1, CTRL_REG_2, CTRL_REG_3, HOUR_REG, MINUTE_REG, chip_operations::name, OFFSET_REG, OS_BIT, pcf8523_set_build_date(), pcf8523_set_user_date(), PM_MASK, printk, SECOND_REG, smbus_read_byte(), smbus_write_byte(), STOP_BIT, TMR_A_FREQ_REG, TMR_B_FREQ_REG, and TMR_CLKOUT_REG.
Definition at line 10 of file pcf8523.c.
References coreboot_build_date, bcd_date::day, DAY_REG, bcd_date::month, MONTH_REG, smbus_write_byte(), bcd_date::weekday, WEEKDAY_REG, bcd_date::year, and YEAR_REG.
Referenced by pcf8523_init().
Definition at line 19 of file pcf8523.c.
References bin2bcd(), device::chip_info, config, DAY_REG, MONTH_REG, smbus_write_byte(), WEEKDAY_REG, and YEAR_REG.
Referenced by pcf8523_init().
struct chip_operations drivers_i2c_pcf8523_ops |
|
static |