summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cpu/allwinner/a10/gpio.c2
-rw-r--r--src/device/device.c2
-rw-r--r--src/device/pci_device.c2
-rw-r--r--src/mainboard/intel/mohonpeak/romstage.c2
-rw-r--r--src/soc/samsung/exynos5250/clock.c4
-rw-r--r--src/soc/samsung/exynos5420/clock.c4
6 files changed, 8 insertions, 8 deletions
diff --git a/src/cpu/allwinner/a10/gpio.c b/src/cpu/allwinner/a10/gpio.c
index 295cdf2054..5fca2d7c80 100644
--- a/src/cpu/allwinner/a10/gpio.c
+++ b/src/cpu/allwinner/a10/gpio.c
@@ -68,7 +68,7 @@ int gpio_get(u8 port, u8 pin)
* configured as output pins.
*
* @param[in] port GPIO port of the pin (GPA -> GPS)
- * @param[in] value 32-bit mask indicating which pins to set. For a set bit, the
+ * @param[in] val 32-bit mask indicating which pins to set. For a set bit, the
* corresponding pin will be set. Otherwise, it will be cleared
*/
void gpio_write(u8 port, u32 val)
diff --git a/src/device/device.c b/src/device/device.c
index e068cee044..00e323a668 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -179,7 +179,7 @@ device_t alloc_find_dev(struct bus *parent, struct device_path *path)
* Round a number up to an alignment.
*
* @param val The starting value.
- * @param roundup Alignment as a power of two.
+ * @param pow Alignment as a power of two.
* @return Rounded up number.
*/
static resource_t round(resource_t val, unsigned long pow)
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 8351e9ca63..22454d631f 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -1321,7 +1321,7 @@ const char *pin_to_str(int pin)
* device. In this case, this function will return 4 (PIN D).
*
* @param dev A PCI device structure to swizzle interrupt pins for
- * @param *parent_bdg The PCI device structure for the bridge
+ * @param *parent_bridge The PCI device structure for the bridge
* device 'dev' is attached to
* @return The interrupt pin number (1 - 4) that 'dev' will
* trigger when generating an interrupt
diff --git a/src/mainboard/intel/mohonpeak/romstage.c b/src/mainboard/intel/mohonpeak/romstage.c
index b1fb99502f..ba5091ab51 100644
--- a/src/mainboard/intel/mohonpeak/romstage.c
+++ b/src/mainboard/intel/mohonpeak/romstage.c
@@ -72,7 +72,7 @@ void late_mainboard_romstage_entry(void)
/**
* Get function disables - most of these will be done automatically
- * @param fd_mask
+ * @param mask pointer to the function-disable bitfield
*/
void get_func_disables(uint32_t *mask)
{
diff --git a/src/soc/samsung/exynos5250/clock.c b/src/soc/samsung/exynos5250/clock.c
index 1de2ab2420..a00af0232a 100644
--- a/src/soc/samsung/exynos5250/clock.c
+++ b/src/soc/samsung/exynos5250/clock.c
@@ -475,8 +475,8 @@ void clock_ll_set_ratio(enum periph_id periph_id, unsigned divisor)
*
* @param main_scalar_bits Number of main scalar bits, must be > 0 and < 32
* @param fine_scalar_bits Number of fine scalar bits, must be > 0 and < 32
- * @param input_freq Clock frequency to be scaled in Hz
- * @param target_freq Desired clock frequency in Hz
+ * @param input_rate Clock frequency to be scaled in Hz
+ * @param target_rate Desired clock frequency in Hz
* @param best_fine_scalar Pointer to store the fine stage divisor
*
* @return best_main_scalar Main scalar for desired frequency or -1 if none
diff --git a/src/soc/samsung/exynos5420/clock.c b/src/soc/samsung/exynos5420/clock.c
index 5bbeb04ffe..5cf3583c87 100644
--- a/src/soc/samsung/exynos5420/clock.c
+++ b/src/soc/samsung/exynos5420/clock.c
@@ -439,8 +439,8 @@ void clock_ll_set_ratio(enum periph_id periph_id, unsigned divisor)
*
* @param main_scalar_bits Number of main scalar bits, must be > 0 and < 32
* @param fine_scalar_bits Number of fine scalar bits, must be > 0 and < 32
- * @param input_freq Clock frequency to be scaled in Hz
- * @param target_freq Desired clock frequency in Hz
+ * @param input_rate Clock frequency to be scaled in Hz
+ * @param target_rate Desired clock frequency in Hz
* @param best_fine_scalar Pointer to store the fine stage divisor
*
* @return best_main_scalar Main scalar for desired frequency or -1 if none