|
@@ -51,7 +51,7 @@ MODULE_AUTHOR("Texas Instruments");
|
|
|
|
|
|
/**
|
|
|
* vpbe_current_encoder_info - Get config info for current encoder
|
|
|
- * @vpbe_dev - vpbe device ptr
|
|
|
+ * @vpbe_dev: vpbe device ptr
|
|
|
*
|
|
|
* Return ptr to current encoder config info
|
|
|
*/
|
|
@@ -68,8 +68,8 @@ vpbe_current_encoder_info(struct vpbe_device *vpbe_dev)
|
|
|
/**
|
|
|
* vpbe_find_encoder_sd_index - Given a name find encoder sd index
|
|
|
*
|
|
|
- * @vpbe_config - ptr to vpbe cfg
|
|
|
- * @output_index - index used by application
|
|
|
+ * @cfg: ptr to vpbe cfg
|
|
|
+ * @index: index used by application
|
|
|
*
|
|
|
* Return sd index of the encoder
|
|
|
*/
|
|
@@ -94,8 +94,8 @@ static int vpbe_find_encoder_sd_index(struct vpbe_config *cfg,
|
|
|
|
|
|
/**
|
|
|
* vpbe_g_cropcap - Get crop capabilities of the display
|
|
|
- * @vpbe_dev - vpbe device ptr
|
|
|
- * @cropcap - cropcap is a ptr to struct v4l2_cropcap
|
|
|
+ * @vpbe_dev: vpbe device ptr
|
|
|
+ * @cropcap: cropcap is a ptr to struct v4l2_cropcap
|
|
|
*
|
|
|
* Update the crop capabilities in crop cap for current
|
|
|
* mode
|
|
@@ -116,8 +116,8 @@ static int vpbe_g_cropcap(struct vpbe_device *vpbe_dev,
|
|
|
|
|
|
/**
|
|
|
* vpbe_enum_outputs - enumerate outputs
|
|
|
- * @vpbe_dev - vpbe device ptr
|
|
|
- * @output - ptr to v4l2_output structure
|
|
|
+ * @vpbe_dev: vpbe device ptr
|
|
|
+ * @output: ptr to v4l2_output structure
|
|
|
*
|
|
|
* Enumerates the outputs available at the vpbe display
|
|
|
* returns the status, -EINVAL if end of output list
|
|
@@ -212,8 +212,8 @@ static int vpbe_get_std_info_by_name(struct vpbe_device *vpbe_dev,
|
|
|
|
|
|
/**
|
|
|
* vpbe_set_output - Set output
|
|
|
- * @vpbe_dev - vpbe device ptr
|
|
|
- * @index - index of output
|
|
|
+ * @vpbe_dev: vpbe device ptr
|
|
|
+ * @index: index of output
|
|
|
*
|
|
|
* Set vpbe output to the output specified by the index
|
|
|
*/
|
|
@@ -308,7 +308,7 @@ static int vpbe_set_default_output(struct vpbe_device *vpbe_dev)
|
|
|
|
|
|
/**
|
|
|
* vpbe_get_output - Get output
|
|
|
- * @vpbe_dev - vpbe device ptr
|
|
|
+ * @vpbe_dev: vpbe device ptr
|
|
|
*
|
|
|
* return current vpbe output to the the index
|
|
|
*/
|
|
@@ -317,7 +317,7 @@ static unsigned int vpbe_get_output(struct vpbe_device *vpbe_dev)
|
|
|
return vpbe_dev->current_out_index;
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
+/*
|
|
|
* vpbe_s_dv_timings - Set the given preset timings in the encoder
|
|
|
*
|
|
|
* Sets the timings if supported by the current encoder. Return the status.
|
|
@@ -369,7 +369,7 @@ static int vpbe_s_dv_timings(struct vpbe_device *vpbe_dev,
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
+/*
|
|
|
* vpbe_g_dv_timings - Get the timings in the current encoder
|
|
|
*
|
|
|
* Get the timings in the current encoder. Return the status. 0 - success
|
|
@@ -394,7 +394,7 @@ static int vpbe_g_dv_timings(struct vpbe_device *vpbe_dev,
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
+/*
|
|
|
* vpbe_enum_dv_timings - Enumerate the dv timings in the current encoder
|
|
|
*
|
|
|
* Get the timings in the current encoder. Return the status. 0 - success
|
|
@@ -426,7 +426,7 @@ static int vpbe_enum_dv_timings(struct vpbe_device *vpbe_dev,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
+/*
|
|
|
* vpbe_s_std - Set the given standard in the encoder
|
|
|
*
|
|
|
* Sets the standard if supported by the current encoder. Return the status.
|
|
@@ -465,7 +465,7 @@ static int vpbe_s_std(struct vpbe_device *vpbe_dev, v4l2_std_id std_id)
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
+/*
|
|
|
* vpbe_g_std - Get the standard in the current encoder
|
|
|
*
|
|
|
* Get the standard in the current encoder. Return the status. 0 - success
|
|
@@ -488,7 +488,7 @@ static int vpbe_g_std(struct vpbe_device *vpbe_dev, v4l2_std_id *std_id)
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
|
-/**
|
|
|
+/*
|
|
|
* vpbe_set_mode - Set mode in the current encoder using mode info
|
|
|
*
|
|
|
* Use the mode string to decide what timings to set in the encoder
|
|
@@ -572,7 +572,8 @@ static int platform_device_get(struct device *dev, void *data)
|
|
|
|
|
|
/**
|
|
|
* vpbe_initialize() - Initialize the vpbe display controller
|
|
|
- * @vpbe_dev - vpbe device ptr
|
|
|
+ * @dev: Master and slave device ptr
|
|
|
+ * @vpbe_dev: vpbe device ptr
|
|
|
*
|
|
|
* Master frame buffer device drivers calls this to initialize vpbe
|
|
|
* display controller. This will then registers v4l2 device and the sub
|
|
@@ -769,7 +770,8 @@ fail_mutex_unlock:
|
|
|
|
|
|
/**
|
|
|
* vpbe_deinitialize() - de-initialize the vpbe display controller
|
|
|
- * @dev - Master and slave device ptr
|
|
|
+ * @dev: Master and slave device ptr
|
|
|
+ * @vpbe_dev: vpbe device ptr
|
|
|
*
|
|
|
* vpbe_master and slave frame buffer devices calls this to de-initialize
|
|
|
* the display controller. It is called when master and slave device
|