soc/intel/common: Make alignment proper for comments

Change-Id: If932582d03bb2f6d3d14c9bce45cf2030f3b3c4e
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36838
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: V Sowmya <v.sowmya@intel.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Subrata Banik 2019-11-14 11:08:51 +05:30 committed by Patrick Georgi
parent 5aa0a53e5f
commit 5885ffef32
3 changed files with 12 additions and 12 deletions

View File

@ -18,7 +18,7 @@
#include <device/device.h> #include <device/device.h>
/** /*
* struct xhci_usb_info - Data containing number of USB ports & offset. * struct xhci_usb_info - Data containing number of USB ports & offset.
* @usb2_port_status_reg: Offset to USB2 port status register. * @usb2_port_status_reg: Offset to USB2 port status register.
* @num_usb2_ports: Number of USB2 ports. * @num_usb2_ports: Number of USB2 ports.
@ -32,7 +32,7 @@ struct xhci_usb_info {
uint32_t num_usb3_ports; uint32_t num_usb3_ports;
}; };
/** /*
* pch_xhci_update_wake_event() - Identify and log XHCI wake events. * pch_xhci_update_wake_event() - Identify and log XHCI wake events.
* @info: Information about number of USB ports and their status reg offset. * @info: Information about number of USB ports and their status reg offset.
* *
@ -46,7 +46,7 @@ bool pch_xhci_update_wake_event(const struct xhci_usb_info *info);
void soc_xhci_init(struct device *dev); void soc_xhci_init(struct device *dev);
/** /*
* soc_get_xhci_usb_info() - Get the information about USB2 & USB3 ports. * soc_get_xhci_usb_info() - Get the information about USB2 & USB3 ports.
* *
* This function is used to get USB ports and status register offset information * This function is used to get USB ports and status register offset information
@ -56,7 +56,7 @@ void soc_xhci_init(struct device *dev);
*/ */
const struct xhci_usb_info *soc_get_xhci_usb_info(void); const struct xhci_usb_info *soc_get_xhci_usb_info(void);
/** /*
* usb_xhci_disable_unused() - Disable unused USB devices * usb_xhci_disable_unused() - Disable unused USB devices
* @ext_usb_xhci_en_cb: Callback function to be invoked, supplied by mainboard, * @ext_usb_xhci_en_cb: Callback function to be invoked, supplied by mainboard,
* to identify the status of externally visible USB ports. * to identify the status of externally visible USB ports.

View File

@ -20,7 +20,7 @@
#include <delay.h> #include <delay.h>
#include "hda_verb.h" #include "hda_verb.h"
/** /*
* Set bits in a register and wait for status * Set bits in a register and wait for status
*/ */
static int set_bits(void *port, u32 mask, u32 val) static int set_bits(void *port, u32 mask, u32 val)
@ -52,7 +52,7 @@ static int set_bits(void *port, u32 mask, u32 val)
return 0; return 0;
} }
/** /*
* Probe for supported codecs * Probe for supported codecs
*/ */
int hda_codec_detect(u8 *base) int hda_codec_detect(u8 *base)
@ -95,7 +95,7 @@ no_codec:
return 0; return 0;
} }
/** /*
* Wait 50usec for the codec to indicate it is ready * Wait 50usec for the codec to indicate it is ready
* no response would imply that the codec is non-operative * no response would imply that the codec is non-operative
*/ */
@ -116,7 +116,7 @@ static int hda_wait_for_ready(u8 *base)
return -1; return -1;
} }
/** /*
* Wait 50usec for the codec to indicate that it accepted * Wait 50usec for the codec to indicate that it accepted
* the previous command. No response would imply that the code * the previous command. No response would imply that the code
* is non-operative * is non-operative
@ -145,7 +145,7 @@ static int hda_wait_for_valid(u8 *base)
return -1; return -1;
} }
/** /*
* Find a specific entry within a verb table * Find a specific entry within a verb table
* *
* @param verb_table_bytes: verb table size in bytes * @param verb_table_bytes: verb table size in bytes
@ -190,7 +190,7 @@ static u32 hda_find_verb(u32 verb_table_bytes,
return 0; return 0;
} }
/** /*
* Write a supplied verb table * Write a supplied verb table
*/ */
int hda_codec_write(u8 *base, u32 size, const u32 *data) int hda_codec_write(u8 *base, u32 size, const u32 *data)
@ -210,7 +210,7 @@ int hda_codec_write(u8 *base, u32 size, const u32 *data)
return 0; return 0;
} }
/** /*
* Initialize codec, then find the verb table and write it * Initialize codec, then find the verb table and write it
*/ */
int hda_codec_init(u8 *base, int addr, int verb_size, const u32 *verb_data) int hda_codec_init(u8 *base, int addr, int verb_size, const u32 *verb_data)