![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <commonlib/bsd/bcd.h>
#include <console/console.h>
#include <device/device.h>
#include <device/i2c.h>
#include <device/i2c_bus.h>
#include <timer.h>
#include <version.h>
#include "chip.h"
#include "rx6110sa.h"
Go to the source code of this file.
Functions | |
static void | rx6110sa_write (struct device *dev, uint8_t reg, uint8_t val) |
static uint8_t | rx6110sa_read (struct device *dev, uint8_t reg) |
static void | rx6110sa_set_build_date (struct device *dev) |
static void | rx6110sa_set_user_date (struct device *dev) |
static void | rx6110sa_final (struct device *dev) |
static void | rx6110sa_init (struct device *dev) |
static void | rx6110sa_enable (struct device *dev) |
Variables | |
static struct device_operations | rx6110sa_ops |
struct chip_operations | drivers_i2c_rx6110sa_ops |
Definition at line 236 of file rx6110sa.c.
Definition at line 47 of file rx6110sa.c.
References bcd2bin(), BIOS_INFO, device::chip_ops, DAY_REG, HOUR_REG, MINUTE_REG, MONTH_REG, chip_operations::name, printk, rx6110sa_read(), SECOND_REG, year, and YEAR_REG.
Definition at line 64 of file rx6110sa.c.
References AFTER_RESET_DELAY_MS, BATTERY_BACKUP_REG, BIOS_DEBUG, device::chip_info, device::chip_ops, config, CTRL_REG, DIGITAL_REG, EXTENSION_REG, FLAG_REGISTER, FOUT_OUTPUT_PIN_MASK, FSEL_MASK, HOUR_REG, IRQ_CONTROL_REG, MINUTE_REG, chip_operations::name, PMON_SAMPL_MASK, printk, RESERVED_BIT_REG, RTC_INIT_VALUE, rx6110sa_read(), rx6110sa_set_build_date(), rx6110sa_set_user_date(), rx6110sa_write(), SECOND_REG, STOP_BIT, stopwatch_init_msecs_expire(), stopwatch_wait_until_expired(), TE_BIT, TEST_BIT, TMR_COUNTER_0_REG, TMR_COUNTER_1_REG, TMR_MODE_MASK, TSEL_MASK, and VLF_BIT.
Definition at line 22 of file rx6110sa.c.
References i2c_dev_readb_at().
Referenced by rx6110sa_final(), and rx6110sa_init().
Definition at line 28 of file rx6110sa.c.
References coreboot_build_date, bcd_date::day, DAY_REG, bcd_date::month, MONTH_REG, rx6110sa_write(), WEEK_REG, bcd_date::weekday, bcd_date::year, and YEAR_REG.
Referenced by rx6110sa_init().
Definition at line 37 of file rx6110sa.c.
References bin2bcd(), device::chip_info, config, DAY_REG, MONTH_REG, rx6110sa_write(), WEEK_REG, and YEAR_REG.
Referenced by rx6110sa_init().
Definition at line 16 of file rx6110sa.c.
References i2c_dev_writeb_at(), and val.
Referenced by rx6110sa_init(), rx6110sa_set_build_date(), and rx6110sa_set_user_date().
struct chip_operations drivers_i2c_rx6110sa_ops |
Definition at line 236 of file rx6110sa.c.
|
static |
Definition at line 64 of file rx6110sa.c.