|
@@ -193,11 +193,12 @@ struct config_registers {
|
|
|
* hwicap_type_1_read - Generates a Type 1 read packet header.
|
|
|
* @reg: is the address of the register to be read back.
|
|
|
*
|
|
|
+ * Return:
|
|
|
* Generates a Type 1 read packet header, which is used to indirectly
|
|
|
* read registers in the configuration logic. This packet must then
|
|
|
* be sent through the icap device, and a return packet received with
|
|
|
* the information.
|
|
|
- **/
|
|
|
+ */
|
|
|
static inline u32 hwicap_type_1_read(u32 reg)
|
|
|
{
|
|
|
return (XHI_TYPE_1 << XHI_TYPE_SHIFT) |
|
|
@@ -208,7 +209,9 @@ static inline u32 hwicap_type_1_read(u32 reg)
|
|
|
/**
|
|
|
* hwicap_type_1_write - Generates a Type 1 write packet header
|
|
|
* @reg: is the address of the register to be read back.
|
|
|
- **/
|
|
|
+ *
|
|
|
+ * Return: Type 1 write packet header
|
|
|
+ */
|
|
|
static inline u32 hwicap_type_1_write(u32 reg)
|
|
|
{
|
|
|
return (XHI_TYPE_1 << XHI_TYPE_SHIFT) |
|