mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-06 01:09:08 +00:00
[media] omap3isp: Rename the variable names in description
This patch renames the variable in the description to match it appropriately to function definition. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
fdf7bbe24d
commit
872aba5103
@ -265,7 +265,7 @@ void omap3isp_unregister_entities(struct platform_device *pdev);
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* isp_reg_readl - Read value of an OMAP3 ISP register
|
* isp_reg_readl - Read value of an OMAP3 ISP register
|
||||||
* @dev: Device pointer specific to the OMAP3 ISP.
|
* @isp: Device pointer specific to the OMAP3 ISP.
|
||||||
* @isp_mmio_range: Range to which the register offset refers to.
|
* @isp_mmio_range: Range to which the register offset refers to.
|
||||||
* @reg_offset: Register offset to read from.
|
* @reg_offset: Register offset to read from.
|
||||||
*
|
*
|
||||||
@ -280,7 +280,7 @@ u32 isp_reg_readl(struct isp_device *isp, enum isp_mem_resources isp_mmio_range,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* isp_reg_writel - Write value to an OMAP3 ISP register
|
* isp_reg_writel - Write value to an OMAP3 ISP register
|
||||||
* @dev: Device pointer specific to the OMAP3 ISP.
|
* @isp: Device pointer specific to the OMAP3 ISP.
|
||||||
* @reg_value: 32 bit value to write to the register.
|
* @reg_value: 32 bit value to write to the register.
|
||||||
* @isp_mmio_range: Range to which the register offset refers to.
|
* @isp_mmio_range: Range to which the register offset refers to.
|
||||||
* @reg_offset: Register offset to write into.
|
* @reg_offset: Register offset to write into.
|
||||||
@ -293,8 +293,8 @@ void isp_reg_writel(struct isp_device *isp, u32 reg_value,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* isp_reg_and - Clear individual bits in an OMAP3 ISP register
|
* isp_reg_clr - Clear individual bits in an OMAP3 ISP register
|
||||||
* @dev: Device pointer specific to the OMAP3 ISP.
|
* @isp: Device pointer specific to the OMAP3 ISP.
|
||||||
* @mmio_range: Range to which the register offset refers to.
|
* @mmio_range: Range to which the register offset refers to.
|
||||||
* @reg: Register offset to work on.
|
* @reg: Register offset to work on.
|
||||||
* @clr_bits: 32 bit value which would be cleared in the register.
|
* @clr_bits: 32 bit value which would be cleared in the register.
|
||||||
@ -310,7 +310,7 @@ void isp_reg_clr(struct isp_device *isp, enum isp_mem_resources mmio_range,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* isp_reg_set - Set individual bits in an OMAP3 ISP register
|
* isp_reg_set - Set individual bits in an OMAP3 ISP register
|
||||||
* @dev: Device pointer specific to the OMAP3 ISP.
|
* @isp: Device pointer specific to the OMAP3 ISP.
|
||||||
* @mmio_range: Range to which the register offset refers to.
|
* @mmio_range: Range to which the register offset refers to.
|
||||||
* @reg: Register offset to work on.
|
* @reg: Register offset to work on.
|
||||||
* @set_bits: 32 bit value which would be set in the register.
|
* @set_bits: 32 bit value which would be set in the register.
|
||||||
@ -326,7 +326,7 @@ void isp_reg_set(struct isp_device *isp, enum isp_mem_resources mmio_range,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* isp_reg_clr_set - Clear and set invidial bits in an OMAP3 ISP register
|
* isp_reg_clr_set - Clear and set invidial bits in an OMAP3 ISP register
|
||||||
* @dev: Device pointer specific to the OMAP3 ISP.
|
* @isp: Device pointer specific to the OMAP3 ISP.
|
||||||
* @mmio_range: Range to which the register offset refers to.
|
* @mmio_range: Range to which the register offset refers to.
|
||||||
* @reg: Register offset to work on.
|
* @reg: Register offset to work on.
|
||||||
* @clr_bits: 32 bit value which would be cleared in the register.
|
* @clr_bits: 32 bit value which would be cleared in the register.
|
||||||
|
@ -674,7 +674,7 @@ static void ccdc_config_imgattr(struct isp_ccdc_device *ccdc, u32 colptn)
|
|||||||
/*
|
/*
|
||||||
* ccdc_config - Set CCDC configuration from userspace
|
* ccdc_config - Set CCDC configuration from userspace
|
||||||
* @ccdc: Pointer to ISP CCDC device.
|
* @ccdc: Pointer to ISP CCDC device.
|
||||||
* @userspace_add: Structure containing CCDC configuration sent from userspace.
|
* @ccdc_struct: Structure containing CCDC configuration sent from userspace.
|
||||||
*
|
*
|
||||||
* Returns 0 if successful, -EINVAL if the pointer to the configuration
|
* Returns 0 if successful, -EINVAL if the pointer to the configuration
|
||||||
* structure is null, or the copy_from_user function fails to copy user space
|
* structure is null, or the copy_from_user function fails to copy user space
|
||||||
@ -793,7 +793,7 @@ static void ccdc_apply_controls(struct isp_ccdc_device *ccdc)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* omap3isp_ccdc_restore_context - Restore values of the CCDC module registers
|
* omap3isp_ccdc_restore_context - Restore values of the CCDC module registers
|
||||||
* @dev: Pointer to ISP device
|
* @isp: Pointer to ISP device
|
||||||
*/
|
*/
|
||||||
void omap3isp_ccdc_restore_context(struct isp_device *isp)
|
void omap3isp_ccdc_restore_context(struct isp_device *isp)
|
||||||
{
|
{
|
||||||
@ -2525,7 +2525,7 @@ error_video:
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* omap3isp_ccdc_init - CCDC module initialization.
|
* omap3isp_ccdc_init - CCDC module initialization.
|
||||||
* @dev: Device pointer specific to the OMAP3 ISP.
|
* @isp: Device pointer specific to the OMAP3 ISP.
|
||||||
*
|
*
|
||||||
* TODO: Get the initialisation values from platform data.
|
* TODO: Get the initialisation values from platform data.
|
||||||
*
|
*
|
||||||
@ -2564,7 +2564,7 @@ int omap3isp_ccdc_init(struct isp_device *isp)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* omap3isp_ccdc_cleanup - CCDC module cleanup.
|
* omap3isp_ccdc_cleanup - CCDC module cleanup.
|
||||||
* @dev: Device pointer specific to the OMAP3 ISP.
|
* @isp: Device pointer specific to the OMAP3 ISP.
|
||||||
*/
|
*/
|
||||||
void omap3isp_ccdc_cleanup(struct isp_device *isp)
|
void omap3isp_ccdc_cleanup(struct isp_device *isp)
|
||||||
{
|
{
|
||||||
|
@ -211,7 +211,7 @@ static void ccp2_mem_enable(struct isp_ccp2_device *ccp2, u8 enable)
|
|||||||
/*
|
/*
|
||||||
* ccp2_phyif_config - Initialize CCP2 phy interface config
|
* ccp2_phyif_config - Initialize CCP2 phy interface config
|
||||||
* @ccp2: Pointer to ISP CCP2 device
|
* @ccp2: Pointer to ISP CCP2 device
|
||||||
* @config: CCP2 platform data
|
* @pdata: CCP2 platform data
|
||||||
*
|
*
|
||||||
* Configure the CCP2 physical interface module from platform data.
|
* Configure the CCP2 physical interface module from platform data.
|
||||||
*
|
*
|
||||||
|
@ -299,7 +299,7 @@ static u32 hist_get_buf_size(struct omap3isp_hist_config *conf)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* hist_validate_params - Helper function to check user given params.
|
* hist_validate_params - Helper function to check user given params.
|
||||||
* @user_cfg: Pointer to user configuration structure.
|
* @new_conf: Pointer to user configuration structure.
|
||||||
*
|
*
|
||||||
* Returns 0 on success configuration.
|
* Returns 0 on success configuration.
|
||||||
*/
|
*/
|
||||||
|
@ -971,7 +971,8 @@ static void preview_setup_hw(struct isp_prev_device *prev, u32 update,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* preview_config_ycpos - Configure byte layout of YUV image.
|
* preview_config_ycpos - Configure byte layout of YUV image.
|
||||||
* @mode: Indicates the required byte layout.
|
* @prev: pointer to previewer private structure
|
||||||
|
* @pixelcode: pixel code
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
preview_config_ycpos(struct isp_prev_device *prev,
|
preview_config_ycpos(struct isp_prev_device *prev,
|
||||||
@ -1373,7 +1374,7 @@ static void preview_init_params(struct isp_prev_device *prev)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* preview_max_out_width - Handle previewer hardware output limitations
|
* preview_max_out_width - Handle previewer hardware output limitations
|
||||||
* @isp_revision : ISP revision
|
* @prev: pointer to previewer private structure
|
||||||
* returns maximum width output for current isp revision
|
* returns maximum width output for current isp revision
|
||||||
*/
|
*/
|
||||||
static unsigned int preview_max_out_width(struct isp_prev_device *prev)
|
static unsigned int preview_max_out_width(struct isp_prev_device *prev)
|
||||||
@ -1619,7 +1620,7 @@ static const struct v4l2_ctrl_ops preview_ctrl_ops = {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* preview_ioctl - Handle preview module private ioctl's
|
* preview_ioctl - Handle preview module private ioctl's
|
||||||
* @prev: pointer to preview context structure
|
* @sd: pointer to v4l2 subdev structure
|
||||||
* @cmd: configuration command
|
* @cmd: configuration command
|
||||||
* @arg: configuration argument
|
* @arg: configuration argument
|
||||||
* return -EINVAL or zero on success
|
* return -EINVAL or zero on success
|
||||||
@ -2350,7 +2351,7 @@ error_video_in:
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* omap3isp_preview_init - Previewer initialization.
|
* omap3isp_preview_init - Previewer initialization.
|
||||||
* @dev : Pointer to ISP device
|
* @isp : Pointer to ISP device
|
||||||
* return -ENOMEM or zero on success
|
* return -ENOMEM or zero on success
|
||||||
*/
|
*/
|
||||||
int omap3isp_preview_init(struct isp_device *isp)
|
int omap3isp_preview_init(struct isp_device *isp)
|
||||||
|
@ -206,7 +206,7 @@ static void resizer_set_bilinear(struct isp_res_device *res,
|
|||||||
/*
|
/*
|
||||||
* resizer_set_ycpos - Luminance and chrominance order
|
* resizer_set_ycpos - Luminance and chrominance order
|
||||||
* @res: Device context.
|
* @res: Device context.
|
||||||
* @order: order type.
|
* @pixelcode: pixel code.
|
||||||
*/
|
*/
|
||||||
static void resizer_set_ycpos(struct isp_res_device *res,
|
static void resizer_set_ycpos(struct isp_res_device *res,
|
||||||
enum v4l2_mbus_pixelcode pixelcode)
|
enum v4l2_mbus_pixelcode pixelcode)
|
||||||
@ -918,8 +918,8 @@ static void resizer_calc_ratios(struct isp_res_device *res,
|
|||||||
/*
|
/*
|
||||||
* resizer_set_crop_params - Setup hardware with cropping parameters
|
* resizer_set_crop_params - Setup hardware with cropping parameters
|
||||||
* @res : resizer private structure
|
* @res : resizer private structure
|
||||||
* @crop_rect : current crop rectangle
|
* @input : format on sink pad
|
||||||
* @ratio : resizer ratios
|
* @output : format on source pad
|
||||||
* return none
|
* return none
|
||||||
*/
|
*/
|
||||||
static void resizer_set_crop_params(struct isp_res_device *res,
|
static void resizer_set_crop_params(struct isp_res_device *res,
|
||||||
|
@ -333,7 +333,7 @@ isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* ispmmu_vmap - Wrapper for Virtual memory mapping of a scatter gather list
|
* ispmmu_vmap - Wrapper for Virtual memory mapping of a scatter gather list
|
||||||
* @dev: Device pointer specific to the OMAP3 ISP.
|
* @isp: Device pointer specific to the OMAP3 ISP.
|
||||||
* @sglist: Pointer to source Scatter gather list to allocate.
|
* @sglist: Pointer to source Scatter gather list to allocate.
|
||||||
* @sglen: Number of elements of the scatter-gatter list.
|
* @sglen: Number of elements of the scatter-gatter list.
|
||||||
*
|
*
|
||||||
@ -363,7 +363,7 @@ ispmmu_vmap(struct isp_device *isp, const struct scatterlist *sglist, int sglen)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* ispmmu_vunmap - Unmap a device address from the ISP MMU
|
* ispmmu_vunmap - Unmap a device address from the ISP MMU
|
||||||
* @dev: Device pointer specific to the OMAP3 ISP.
|
* @isp: Device pointer specific to the OMAP3 ISP.
|
||||||
* @da: Device address generated from a ispmmu_vmap call.
|
* @da: Device address generated from a ispmmu_vmap call.
|
||||||
*/
|
*/
|
||||||
static void ispmmu_vunmap(struct isp_device *isp, dma_addr_t da)
|
static void ispmmu_vunmap(struct isp_device *isp, dma_addr_t da)
|
||||||
|
Loading…
Reference in New Issue
Block a user