aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2014-02-21 07:07:23 -0500
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-05 15:01:43 -0500
commit872aba5103b2d4884a7d8790172b4c8951e52a78 (patch)
tree89d01a370b698f147d366ad9bfb00a900e86d861
parentfdf7bbe24d612dab8a8dc8962fdd7c0a1ac49c30 (diff)
[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>
-rw-r--r--drivers/media/platform/omap3isp/isp.h12
-rw-r--r--drivers/media/platform/omap3isp/ispccdc.c8
-rw-r--r--drivers/media/platform/omap3isp/ispccp2.c2
-rw-r--r--drivers/media/platform/omap3isp/isphist.c2
-rw-r--r--drivers/media/platform/omap3isp/isppreview.c9
-rw-r--r--drivers/media/platform/omap3isp/ispresizer.c6
-rw-r--r--drivers/media/platform/omap3isp/ispvideo.c4
7 files changed, 22 insertions, 21 deletions
diff --git a/drivers/media/platform/omap3isp/isp.h b/drivers/media/platform/omap3isp/isp.h
index 081f5ec5a663..6d5e69711907 100644
--- a/drivers/media/platform/omap3isp/isp.h
+++ b/drivers/media/platform/omap3isp/isp.h
@@ -265,7 +265,7 @@ void omap3isp_unregister_entities(struct platform_device *pdev);
265 265
266/* 266/*
267 * isp_reg_readl - Read value of an OMAP3 ISP register 267 * isp_reg_readl - Read value of an OMAP3 ISP register
268 * @dev: Device pointer specific to the OMAP3 ISP. 268 * @isp: Device pointer specific to the OMAP3 ISP.
269 * @isp_mmio_range: Range to which the register offset refers to. 269 * @isp_mmio_range: Range to which the register offset refers to.
270 * @reg_offset: Register offset to read from. 270 * @reg_offset: Register offset to read from.
271 * 271 *
@@ -280,7 +280,7 @@ u32 isp_reg_readl(struct isp_device *isp, enum isp_mem_resources isp_mmio_range,
280 280
281/* 281/*
282 * isp_reg_writel - Write value to an OMAP3 ISP register 282 * isp_reg_writel - Write value to an OMAP3 ISP register
283 * @dev: Device pointer specific to the OMAP3 ISP. 283 * @isp: Device pointer specific to the OMAP3 ISP.
284 * @reg_value: 32 bit value to write to the register. 284 * @reg_value: 32 bit value to write to the register.
285 * @isp_mmio_range: Range to which the register offset refers to. 285 * @isp_mmio_range: Range to which the register offset refers to.
286 * @reg_offset: Register offset to write into. 286 * @reg_offset: Register offset to write into.
@@ -293,8 +293,8 @@ void isp_reg_writel(struct isp_device *isp, u32 reg_value,
293} 293}
294 294
295/* 295/*
296 * isp_reg_and - Clear individual bits in an OMAP3 ISP register 296 * isp_reg_clr - Clear individual bits in an OMAP3 ISP register
297 * @dev: Device pointer specific to the OMAP3 ISP. 297 * @isp: Device pointer specific to the OMAP3 ISP.
298 * @mmio_range: Range to which the register offset refers to. 298 * @mmio_range: Range to which the register offset refers to.
299 * @reg: Register offset to work on. 299 * @reg: Register offset to work on.
300 * @clr_bits: 32 bit value which would be cleared in the register. 300 * @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,
310 310
311/* 311/*
312 * isp_reg_set - Set individual bits in an OMAP3 ISP register 312 * isp_reg_set - Set individual bits in an OMAP3 ISP register
313 * @dev: Device pointer specific to the OMAP3 ISP. 313 * @isp: Device pointer specific to the OMAP3 ISP.
314 * @mmio_range: Range to which the register offset refers to. 314 * @mmio_range: Range to which the register offset refers to.
315 * @reg: Register offset to work on. 315 * @reg: Register offset to work on.
316 * @set_bits: 32 bit value which would be set in the register. 316 * @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,
326 326
327/* 327/*
328 * isp_reg_clr_set - Clear and set invidial bits in an OMAP3 ISP register 328 * isp_reg_clr_set - Clear and set invidial bits in an OMAP3 ISP register
329 * @dev: Device pointer specific to the OMAP3 ISP. 329 * @isp: Device pointer specific to the OMAP3 ISP.
330 * @mmio_range: Range to which the register offset refers to. 330 * @mmio_range: Range to which the register offset refers to.
331 * @reg: Register offset to work on. 331 * @reg: Register offset to work on.
332 * @clr_bits: 32 bit value which would be cleared in the register. 332 * @clr_bits: 32 bit value which would be cleared in the register.
diff --git a/drivers/media/platform/omap3isp/ispccdc.c b/drivers/media/platform/omap3isp/ispccdc.c
index 7160e4a4c14d..4d920c800ff5 100644
--- a/drivers/media/platform/omap3isp/ispccdc.c
+++ b/drivers/media/platform/omap3isp/ispccdc.c
@@ -674,7 +674,7 @@ static void ccdc_config_imgattr(struct isp_ccdc_device *ccdc, u32 colptn)
674/* 674/*
675 * ccdc_config - Set CCDC configuration from userspace 675 * ccdc_config - Set CCDC configuration from userspace
676 * @ccdc: Pointer to ISP CCDC device. 676 * @ccdc: Pointer to ISP CCDC device.
677 * @userspace_add: Structure containing CCDC configuration sent from userspace. 677 * @ccdc_struct: Structure containing CCDC configuration sent from userspace.
678 * 678 *
679 * Returns 0 if successful, -EINVAL if the pointer to the configuration 679 * Returns 0 if successful, -EINVAL if the pointer to the configuration
680 * structure is null, or the copy_from_user function fails to copy user space 680 * 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)
793 793
794/* 794/*
795 * omap3isp_ccdc_restore_context - Restore values of the CCDC module registers 795 * omap3isp_ccdc_restore_context - Restore values of the CCDC module registers
796 * @dev: Pointer to ISP device 796 * @isp: Pointer to ISP device
797 */ 797 */
798void omap3isp_ccdc_restore_context(struct isp_device *isp) 798void omap3isp_ccdc_restore_context(struct isp_device *isp)
799{ 799{
@@ -2525,7 +2525,7 @@ error_video:
2525 2525
2526/* 2526/*
2527 * omap3isp_ccdc_init - CCDC module initialization. 2527 * omap3isp_ccdc_init - CCDC module initialization.
2528 * @dev: Device pointer specific to the OMAP3 ISP. 2528 * @isp: Device pointer specific to the OMAP3 ISP.
2529 * 2529 *
2530 * TODO: Get the initialisation values from platform data. 2530 * TODO: Get the initialisation values from platform data.
2531 * 2531 *
@@ -2564,7 +2564,7 @@ int omap3isp_ccdc_init(struct isp_device *isp)
2564 2564
2565/* 2565/*
2566 * omap3isp_ccdc_cleanup - CCDC module cleanup. 2566 * omap3isp_ccdc_cleanup - CCDC module cleanup.
2567 * @dev: Device pointer specific to the OMAP3 ISP. 2567 * @isp: Device pointer specific to the OMAP3 ISP.
2568 */ 2568 */
2569void omap3isp_ccdc_cleanup(struct isp_device *isp) 2569void omap3isp_ccdc_cleanup(struct isp_device *isp)
2570{ 2570{
diff --git a/drivers/media/platform/omap3isp/ispccp2.c b/drivers/media/platform/omap3isp/ispccp2.c
index c81ca8faa8cb..b30b67d22a58 100644
--- a/drivers/media/platform/omap3isp/ispccp2.c
+++ b/drivers/media/platform/omap3isp/ispccp2.c
@@ -211,7 +211,7 @@ static void ccp2_mem_enable(struct isp_ccp2_device *ccp2, u8 enable)
211/* 211/*
212 * ccp2_phyif_config - Initialize CCP2 phy interface config 212 * ccp2_phyif_config - Initialize CCP2 phy interface config
213 * @ccp2: Pointer to ISP CCP2 device 213 * @ccp2: Pointer to ISP CCP2 device
214 * @config: CCP2 platform data 214 * @pdata: CCP2 platform data
215 * 215 *
216 * Configure the CCP2 physical interface module from platform data. 216 * Configure the CCP2 physical interface module from platform data.
217 * 217 *
diff --git a/drivers/media/platform/omap3isp/isphist.c b/drivers/media/platform/omap3isp/isphist.c
index 6db6cfbd8f3b..06a5f8164eaa 100644
--- a/drivers/media/platform/omap3isp/isphist.c
+++ b/drivers/media/platform/omap3isp/isphist.c
@@ -299,7 +299,7 @@ static u32 hist_get_buf_size(struct omap3isp_hist_config *conf)
299 299
300/* 300/*
301 * hist_validate_params - Helper function to check user given params. 301 * hist_validate_params - Helper function to check user given params.
302 * @user_cfg: Pointer to user configuration structure. 302 * @new_conf: Pointer to user configuration structure.
303 * 303 *
304 * Returns 0 on success configuration. 304 * Returns 0 on success configuration.
305 */ 305 */
diff --git a/drivers/media/platform/omap3isp/isppreview.c b/drivers/media/platform/omap3isp/isppreview.c
index fe91a3b7d84f..395b2b068c75 100644
--- a/drivers/media/platform/omap3isp/isppreview.c
+++ b/drivers/media/platform/omap3isp/isppreview.c
@@ -971,7 +971,8 @@ static void preview_setup_hw(struct isp_prev_device *prev, u32 update,
971 971
972/* 972/*
973 * preview_config_ycpos - Configure byte layout of YUV image. 973 * preview_config_ycpos - Configure byte layout of YUV image.
974 * @mode: Indicates the required byte layout. 974 * @prev: pointer to previewer private structure
975 * @pixelcode: pixel code
975 */ 976 */
976static void 977static void
977preview_config_ycpos(struct isp_prev_device *prev, 978preview_config_ycpos(struct isp_prev_device *prev,
@@ -1373,7 +1374,7 @@ static void preview_init_params(struct isp_prev_device *prev)
1373 1374
1374/* 1375/*
1375 * preview_max_out_width - Handle previewer hardware output limitations 1376 * preview_max_out_width - Handle previewer hardware output limitations
1376 * @isp_revision : ISP revision 1377 * @prev: pointer to previewer private structure
1377 * returns maximum width output for current isp revision 1378 * returns maximum width output for current isp revision
1378 */ 1379 */
1379static unsigned int preview_max_out_width(struct isp_prev_device *prev) 1380static unsigned int preview_max_out_width(struct isp_prev_device *prev)
@@ -1619,7 +1620,7 @@ static const struct v4l2_ctrl_ops preview_ctrl_ops = {
1619 1620
1620/* 1621/*
1621 * preview_ioctl - Handle preview module private ioctl's 1622 * preview_ioctl - Handle preview module private ioctl's
1622 * @prev: pointer to preview context structure 1623 * @sd: pointer to v4l2 subdev structure
1623 * @cmd: configuration command 1624 * @cmd: configuration command
1624 * @arg: configuration argument 1625 * @arg: configuration argument
1625 * return -EINVAL or zero on success 1626 * return -EINVAL or zero on success
@@ -2350,7 +2351,7 @@ error_video_in:
2350 2351
2351/* 2352/*
2352 * omap3isp_preview_init - Previewer initialization. 2353 * omap3isp_preview_init - Previewer initialization.
2353 * @dev : Pointer to ISP device 2354 * @isp : Pointer to ISP device
2354 * return -ENOMEM or zero on success 2355 * return -ENOMEM or zero on success
2355 */ 2356 */
2356int omap3isp_preview_init(struct isp_device *isp) 2357int omap3isp_preview_init(struct isp_device *isp)
diff --git a/drivers/media/platform/omap3isp/ispresizer.c b/drivers/media/platform/omap3isp/ispresizer.c
index 0d36b8bc9f98..86369df81d74 100644
--- a/drivers/media/platform/omap3isp/ispresizer.c
+++ b/drivers/media/platform/omap3isp/ispresizer.c
@@ -206,7 +206,7 @@ static void resizer_set_bilinear(struct isp_res_device *res,
206/* 206/*
207 * resizer_set_ycpos - Luminance and chrominance order 207 * resizer_set_ycpos - Luminance and chrominance order
208 * @res: Device context. 208 * @res: Device context.
209 * @order: order type. 209 * @pixelcode: pixel code.
210 */ 210 */
211static void resizer_set_ycpos(struct isp_res_device *res, 211static void resizer_set_ycpos(struct isp_res_device *res,
212 enum v4l2_mbus_pixelcode pixelcode) 212 enum v4l2_mbus_pixelcode pixelcode)
@@ -918,8 +918,8 @@ static void resizer_calc_ratios(struct isp_res_device *res,
918/* 918/*
919 * resizer_set_crop_params - Setup hardware with cropping parameters 919 * resizer_set_crop_params - Setup hardware with cropping parameters
920 * @res : resizer private structure 920 * @res : resizer private structure
921 * @crop_rect : current crop rectangle 921 * @input : format on sink pad
922 * @ratio : resizer ratios 922 * @output : format on source pad
923 * return none 923 * return none
924 */ 924 */
925static void resizer_set_crop_params(struct isp_res_device *res, 925static void resizer_set_crop_params(struct isp_res_device *res,
diff --git a/drivers/media/platform/omap3isp/ispvideo.c b/drivers/media/platform/omap3isp/ispvideo.c
index a62cf0b84510..85b4036ba5e4 100644
--- a/drivers/media/platform/omap3isp/ispvideo.c
+++ b/drivers/media/platform/omap3isp/ispvideo.c
@@ -333,7 +333,7 @@ isp_video_check_format(struct isp_video *video, struct isp_video_fh *vfh)
333 333
334/* 334/*
335 * ispmmu_vmap - Wrapper for Virtual memory mapping of a scatter gather list 335 * ispmmu_vmap - Wrapper for Virtual memory mapping of a scatter gather list
336 * @dev: Device pointer specific to the OMAP3 ISP. 336 * @isp: Device pointer specific to the OMAP3 ISP.
337 * @sglist: Pointer to source Scatter gather list to allocate. 337 * @sglist: Pointer to source Scatter gather list to allocate.
338 * @sglen: Number of elements of the scatter-gatter list. 338 * @sglen: Number of elements of the scatter-gatter list.
339 * 339 *
@@ -363,7 +363,7 @@ ispmmu_vmap(struct isp_device *isp, const struct scatterlist *sglist, int sglen)
363 363
364/* 364/*
365 * ispmmu_vunmap - Unmap a device address from the ISP MMU 365 * ispmmu_vunmap - Unmap a device address from the ISP MMU
366 * @dev: Device pointer specific to the OMAP3 ISP. 366 * @isp: Device pointer specific to the OMAP3 ISP.
367 * @da: Device address generated from a ispmmu_vmap call. 367 * @da: Device address generated from a ispmmu_vmap call.
368 */ 368 */
369static void ispmmu_vunmap(struct isp_device *isp, dma_addr_t da) 369static void ispmmu_vunmap(struct isp_device *isp, dma_addr_t da)