mirror of https://github.com/xemu-project/xemu.git
hw/i2c: spelling fixes
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Message-ID: <20230823065335.1919380-14-mjt@tls.msk.ru> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
f0e4588fd4
commit
8fa21b8026
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* PC SMBus implementation
|
* PC SMBus implementation
|
||||||
* splitted from acpi.c
|
* split from acpi.c
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006 Fabrice Bellard
|
* Copyright (c) 2006 Fabrice Bellard
|
||||||
*
|
*
|
||||||
|
|
|
@ -1626,7 +1626,7 @@ static int pmbus_write_data(SMBusDevice *smd, uint8_t *buf, uint8_t len)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
passthrough:
|
passthrough:
|
||||||
/* Unimplimented registers get passed to the device */
|
/* Unimplemented registers get passed to the device */
|
||||||
default:
|
default:
|
||||||
if (pmdc->write_data) {
|
if (pmdc->write_data) {
|
||||||
ret = pmdc->write_data(pmdev, buf, len);
|
ret = pmdc->write_data(pmdev, buf, len);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* QEMU SMBus device emulation.
|
* QEMU SMBus device emulation.
|
||||||
*
|
*
|
||||||
* This code is a helper for SMBus device emulation. It implements an
|
* This code is a helper for SMBus device emulation. It implements an
|
||||||
* I2C device inteface and runs the SMBus protocol from the device
|
* I2C device interface and runs the SMBus protocol from the device
|
||||||
* point of view and maps those to simple calls to emulate.
|
* point of view and maps those to simple calls to emulate.
|
||||||
*
|
*
|
||||||
* Copyright (c) 2007 CodeSourcery.
|
* Copyright (c) 2007 CodeSourcery.
|
||||||
|
|
|
@ -101,7 +101,7 @@ static void isl_pmbus_vr_exit_reset(Object *obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The raa228000 uses different direct mode coefficents from most isl devices */
|
/* The raa228000 uses different direct mode coefficients from most isl devices */
|
||||||
static void raa228000_exit_reset(Object *obj)
|
static void raa228000_exit_reset(Object *obj)
|
||||||
{
|
{
|
||||||
PMBusDevice *pmdev = PMBUS_DEVICE(obj);
|
PMBusDevice *pmdev = PMBUS_DEVICE(obj);
|
||||||
|
|
|
@ -734,7 +734,7 @@ static void max34451_init(Object *obj)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* get and set the temperature of the internal temperature sensor in
|
* get and set the temperature of the internal temperature sensor in
|
||||||
* centidegrees Celcius i.e.: 2500 -> 25.00 C, max is 327.67 C
|
* centidegrees Celsius i.e.: 2500 -> 25.00 C, max is 327.67 C
|
||||||
*/
|
*/
|
||||||
for (int i = 0; i < MAX34451_NUM_TEMP_DEVICES; i++) {
|
for (int i = 0; i < MAX34451_NUM_TEMP_DEVICES; i++) {
|
||||||
object_property_add(obj, "temperature[*]", "uint16",
|
object_property_add(obj, "temperature[*]", "uint16",
|
||||||
|
|
|
@ -58,7 +58,7 @@ typedef enum NPCM7xxSMBusStatus {
|
||||||
* @sclht: The SCL high time register.
|
* @sclht: The SCL high time register.
|
||||||
* @fif_ctl: The FIFO control register.
|
* @fif_ctl: The FIFO control register.
|
||||||
* @fif_cts: The FIFO control status register.
|
* @fif_cts: The FIFO control status register.
|
||||||
* @fair_per: The fair preriod register.
|
* @fair_per: The fair period register.
|
||||||
* @txf_ctl: The transmit FIFO control register.
|
* @txf_ctl: The transmit FIFO control register.
|
||||||
* @t_out: The SMBus timeout register.
|
* @t_out: The SMBus timeout register.
|
||||||
* @txf_sts: The transmit FIFO status register.
|
* @txf_sts: The transmit FIFO status register.
|
||||||
|
|
|
@ -106,7 +106,7 @@ void aux_bus_realize(AUXBus *bus);
|
||||||
*
|
*
|
||||||
* Returns the reply of the request.
|
* Returns the reply of the request.
|
||||||
*
|
*
|
||||||
* @bus Ths bus where the request happen.
|
* @bus The bus where the request happen.
|
||||||
* @cmd The command requested.
|
* @cmd The command requested.
|
||||||
* @address The 20bits address of the slave.
|
* @address The 20bits address of the slave.
|
||||||
* @len The length of the read or write.
|
* @len The length of the read or write.
|
||||||
|
|
Loading…
Reference in New Issue