diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-24 08:31:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-26 05:47:49 -0400 |
commit | b5e4d33070a3b1efc738c3889842be447a613211 (patch) | |
tree | 9dd6a96abe20f589e3b064d158d2598328de91da /drivers/media | |
parent | d7fa7b0e5ffe7f3225158ec59e7040aa6e84d45f (diff) |
[media] s5p_mfc_opr_v6: fix wrong type for registers
As reported by smatch, there are several warnings related to bad
types for registers. Worse than that, there are too many errors,
preventing smatch to warn about real issues. So, fix them:
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:414:35: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:414:35: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:414:35: got void *const d_stream_data_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:415:34: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:415:34: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:415:34: got void *const d_cpb_buffer_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:416:39: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:416:39: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:416:39: got void *const d_cpb_buffer_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:417:40: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:417:40: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:417:40: got void *const d_cpb_buffer_offset
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:441:46: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:441:46: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:441:46: got void *const d_num_dpb
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:442:40: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:442:40: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:442:40: got void *const d_first_plane_dpb_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:443:42: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:443:42: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:443:42: got void *const d_second_plane_dpb_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:445:35: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:445:35: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:445:35: got void *const d_scratch_buffer_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:446:47: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:446:47: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:446:47: got void *const d_scratch_buffer_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:450:33: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:450:33: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:450:33: got void *const d_first_plane_dpb_stride_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:452:33: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:452:33: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:452:33: got void *const d_second_plane_dpb_stride_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:460:46: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:460:46: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:460:46: got void *const d_mv_buffer_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:461:47: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:461:47: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:461:47: got void *const d_num_mv
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:475:61: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:475:61: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:475:61: got void *
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:479:62: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:479:62: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:479:62: got void *
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:492:65: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:492:65: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:492:65: got void *
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:505:38: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:505:38: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:505:38: got void *const instance_id
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:520:30: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:520:30: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:520:30: got void *const e_stream_buffer_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:521:30: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:521:30: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:521:30: got void *const e_stream_buffer_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:535:32: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:535:32: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:535:32: got void *const e_source_first_plane_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:536:32: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:536:32: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:536:32: got void *const e_source_second_plane_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:549:33: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:549:33: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:549:33: got void *const e_encoded_source_first_plane_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:550:33: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:550:33: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:550:33: got void *const e_encoded_source_second_plane_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:552:42: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:552:42: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:552:42: got void *const e_recon_luma_dpb_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:553:42: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:553:42: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:553:42: got void *const e_recon_chroma_dpb_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:575:56: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:575:56: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:575:56: got void *
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:577:58: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:577:58: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:577:58: got void *
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:579:57: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:579:57: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:579:57: got void *
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:585:35: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:585:35: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:585:35: got void *const e_scratch_buffer_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:586:47: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:586:47: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:586:47: got void *const e_scratch_buffer_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:590:35: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:590:35: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:590:35: got void *const e_tmv_buffer0
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:592:35: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:592:35: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:592:35: got void *const e_tmv_buffer1
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:603:38: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:603:38: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:603:38: got void *const instance_id
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:619:41: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:619:41: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:619:41: got void *const e_mslice_mode
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:621:52: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:621:52: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:621:52: got void *const e_mslice_size_mb
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:624:54: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:624:54: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:624:54: got void *const e_mslice_size_bits
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:626:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:626:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:626:37: got void *const e_mslice_size_mb
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:627:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:627:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:627:37: got void *const e_mslice_size_bits
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:643:40: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:643:40: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:643:40: got void *const e_frame_width
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:645:41: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:645:41: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:645:41: got void *const e_frame_height
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:648:40: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:648:40: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:648:40: got void *const e_cropped_frame_width
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:650:41: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:650:41: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:650:41: got void *const e_cropped_frame_height
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:652:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:652:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:652:29: got void *const e_frame_crop_offset
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:657:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:657:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:657:29: got void *const e_gop_config
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:665:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:665:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:665:37: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:669:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:669:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:669:37: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:673:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:673:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:673:37: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:679:45: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:679:45: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:679:45: got void *const e_ir_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:680:29: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:680:29: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:680:29: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:685:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:685:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:685:29: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:688:29: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:688:29: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:688:29: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:690:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:690:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:690:29: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:695:37: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:695:37: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:695:37: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:697:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:697:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:697:37: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:699:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:699:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:699:37: got void *const pixel_format
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:702:37: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:702:37: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:702:37: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:704:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:704:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:704:37: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:706:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:706:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:706:37: got void *const pixel_format
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:709:37: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:709:37: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:709:37: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:711:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:711:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:711:37: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:713:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:713:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:713:37: got void *const pixel_format
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:718:29: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:718:29: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:718:29: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:720:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:720:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:720:29: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:723:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:723:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:723:29: got void *const e_padding_ctrl
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:734:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:734:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:734:37: got void *const e_padding_ctrl
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:741:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:741:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:741:29: got void *const e_rc_config
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:746:33: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:746:33: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:746:33: got void *const e_rc_bit_rate
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:748:35: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:748:35: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:748:35: got void *const e_rc_bit_rate
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:753:43: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:753:43: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:753:43: got void *const e_rc_mode
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:755:43: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:755:43: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:755:43: got void *const e_rc_mode
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:759:29: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:759:29: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:759:29: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:766:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:766:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:766:29: got void *const e_enc_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:769:29: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:769:29: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:769:29: got void *const e_rc_config
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:771:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:771:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:771:29: got void *const e_rc_config
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:775:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:775:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:775:29: got void *const e_mv_hor_range
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:778:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:778:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:778:29: got void *const e_mv_ver_range
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:780:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:780:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:780:29: got void *const e_frame_insertion
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:781:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:781:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:781:29: got void *const e_roi_buffer_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:782:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:782:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:782:29: got void *const e_param_change
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:783:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:783:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:783:29: got void *const e_rc_roi_ctrl
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:784:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:784:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:784:29: got void *const e_picture_tag
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:786:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:786:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:786:29: got void *const e_bit_count_enable
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:787:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:787:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:787:29: got void *const e_max_bit_count
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:788:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:788:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:788:29: got void *const e_min_bit_count
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:790:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:790:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:790:29: got void *const e_metadata_buffer_addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:791:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:791:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:791:29: got void *const e_metadata_buffer_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:812:29: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:812:29: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:812:29: got void *const e_gop_config
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:815:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:815:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:815:29: got void *const e_gop_config
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:823:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:823:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:823:29: got void *const e_picture_profile
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:826:29: warning: incorrect type in argument 1 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:826:29: expected void const volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:826:29: got void *const e_rc_config
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:830:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:830:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:830:29: got void *const e_rc_config
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:835:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:835:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:835:29: got void *const e_rc_config
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:843:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:843:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:843:29: got void *const e_rc_qp_bound
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:846:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:846:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:846:29: got void *const e_fixed_picture_qp
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:852:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:852:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:852:37: got void *const e_fixed_picture_qp
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:860:37: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:860:37: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:860:37: got void *const e_rc_frame_rate
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:867:41: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:867:41: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:867:41: got void *const e_vbv_buffer_size
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:870:54: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:870:54: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:870:54: got void *const e_vbv_init_delay
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:876:29: warning: incorrect type in argument 2 (different address spaces)
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:876:29: expected void volatile [noderef] <asn:2>*addr
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:876:29: got void *const e_h264_options
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c:881:41: warning: too many warnings
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc_opr.h | 488 | ||||
-rw-r--r-- | drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 4 |
2 files changed, 246 insertions, 246 deletions
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr.h b/drivers/media/platform/s5p-mfc/s5p_mfc_opr.h index 7a7ad32ee608..de2b8c69daa5 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr.h +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr.h | |||
@@ -20,254 +20,254 @@ | |||
20 | struct s5p_mfc_regs { | 20 | struct s5p_mfc_regs { |
21 | 21 | ||
22 | /* codec common registers */ | 22 | /* codec common registers */ |
23 | void *risc_on; | 23 | volatile void __iomem *risc_on; |
24 | void *risc2host_int; | 24 | volatile void __iomem *risc2host_int; |
25 | void *host2risc_int; | 25 | volatile void __iomem *host2risc_int; |
26 | void *risc_base_address; | 26 | volatile void __iomem *risc_base_address; |
27 | void *mfc_reset; | 27 | volatile void __iomem *mfc_reset; |
28 | void *host2risc_command; | 28 | volatile void __iomem *host2risc_command; |
29 | void *risc2host_command; | 29 | volatile void __iomem *risc2host_command; |
30 | void *mfc_bus_reset_ctrl; | 30 | volatile void __iomem *mfc_bus_reset_ctrl; |
31 | void *firmware_version; | 31 | volatile void __iomem *firmware_version; |
32 | void *instance_id; | 32 | volatile void __iomem *instance_id; |
33 | void *codec_type; | 33 | volatile void __iomem *codec_type; |
34 | void *context_mem_addr; | 34 | volatile void __iomem *context_mem_addr; |
35 | void *context_mem_size; | 35 | volatile void __iomem *context_mem_size; |
36 | void *pixel_format; | 36 | volatile void __iomem *pixel_format; |
37 | void *metadata_enable; | 37 | volatile void __iomem *metadata_enable; |
38 | void *mfc_version; | 38 | volatile void __iomem *mfc_version; |
39 | void *dbg_info_enable; | 39 | volatile void __iomem *dbg_info_enable; |
40 | void *dbg_buffer_addr; | 40 | volatile void __iomem *dbg_buffer_addr; |
41 | void *dbg_buffer_size; | 41 | volatile void __iomem *dbg_buffer_size; |
42 | void *hed_control; | 42 | volatile void __iomem *hed_control; |
43 | void *mfc_timeout_value; | 43 | volatile void __iomem *mfc_timeout_value; |
44 | void *hed_shared_mem_addr; | 44 | volatile void __iomem *hed_shared_mem_addr; |
45 | void *dis_shared_mem_addr;/* only v7 */ | 45 | volatile void __iomem *dis_shared_mem_addr;/* only v7 */ |
46 | void *ret_instance_id; | 46 | volatile void __iomem *ret_instance_id; |
47 | void *error_code; | 47 | volatile void __iomem *error_code; |
48 | void *dbg_buffer_output_size; | 48 | volatile void __iomem *dbg_buffer_output_size; |
49 | void *metadata_status; | 49 | volatile void __iomem *metadata_status; |
50 | void *metadata_addr_mb_info; | 50 | volatile void __iomem *metadata_addr_mb_info; |
51 | void *metadata_size_mb_info; | 51 | volatile void __iomem *metadata_size_mb_info; |
52 | void *dbg_info_stage_counter; | 52 | volatile void __iomem *dbg_info_stage_counter; |
53 | 53 | ||
54 | /* decoder registers */ | 54 | /* decoder registers */ |
55 | void *d_crc_ctrl; | 55 | volatile void __iomem *d_crc_ctrl; |
56 | void *d_dec_options; | 56 | volatile void __iomem *d_dec_options; |
57 | void *d_display_delay; | 57 | volatile void __iomem *d_display_delay; |
58 | void *d_set_frame_width; | 58 | volatile void __iomem *d_set_frame_width; |
59 | void *d_set_frame_height; | 59 | volatile void __iomem *d_set_frame_height; |
60 | void *d_sei_enable; | 60 | volatile void __iomem *d_sei_enable; |
61 | void *d_min_num_dpb; | 61 | volatile void __iomem *d_min_num_dpb; |
62 | void *d_min_first_plane_dpb_size; | 62 | volatile void __iomem *d_min_first_plane_dpb_size; |
63 | void *d_min_second_plane_dpb_size; | 63 | volatile void __iomem *d_min_second_plane_dpb_size; |
64 | void *d_min_third_plane_dpb_size;/* only v8 */ | 64 | volatile void __iomem *d_min_third_plane_dpb_size;/* only v8 */ |
65 | void *d_min_num_mv; | 65 | volatile void __iomem *d_min_num_mv; |
66 | void *d_mvc_num_views; | 66 | volatile void __iomem *d_mvc_num_views; |
67 | void *d_min_num_dis;/* only v7 */ | 67 | volatile void __iomem *d_min_num_dis;/* only v7 */ |
68 | void *d_min_first_dis_size;/* only v7 */ | 68 | volatile void __iomem *d_min_first_dis_size;/* only v7 */ |
69 | void *d_min_second_dis_size;/* only v7 */ | 69 | volatile void __iomem *d_min_second_dis_size;/* only v7 */ |
70 | void *d_min_third_dis_size;/* only v7 */ | 70 | volatile void __iomem *d_min_third_dis_size;/* only v7 */ |
71 | void *d_post_filter_luma_dpb0;/* v7 and v8 */ | 71 | volatile void __iomem *d_post_filter_luma_dpb0;/* v7 and v8 */ |
72 | void *d_post_filter_luma_dpb1;/* v7 and v8 */ | 72 | volatile void __iomem *d_post_filter_luma_dpb1;/* v7 and v8 */ |
73 | void *d_post_filter_luma_dpb2;/* only v7 */ | 73 | volatile void __iomem *d_post_filter_luma_dpb2;/* only v7 */ |
74 | void *d_post_filter_chroma_dpb0;/* v7 and v8 */ | 74 | volatile void __iomem *d_post_filter_chroma_dpb0;/* v7 and v8 */ |
75 | void *d_post_filter_chroma_dpb1;/* v7 and v8 */ | 75 | volatile void __iomem *d_post_filter_chroma_dpb1;/* v7 and v8 */ |
76 | void *d_post_filter_chroma_dpb2;/* only v7 */ | 76 | volatile void __iomem *d_post_filter_chroma_dpb2;/* only v7 */ |
77 | void *d_num_dpb; | 77 | volatile void __iomem *d_num_dpb; |
78 | void *d_num_mv; | 78 | volatile void __iomem *d_num_mv; |
79 | void *d_init_buffer_options; | 79 | volatile void __iomem *d_init_buffer_options; |
80 | void *d_first_plane_dpb_stride_size;/* only v8 */ | 80 | volatile void __iomem *d_first_plane_dpb_stride_size;/* only v8 */ |
81 | void *d_second_plane_dpb_stride_size;/* only v8 */ | 81 | volatile void __iomem *d_second_plane_dpb_stride_size;/* only v8 */ |
82 | void *d_third_plane_dpb_stride_size;/* only v8 */ | 82 | volatile void __iomem *d_third_plane_dpb_stride_size;/* only v8 */ |
83 | void *d_first_plane_dpb_size; | 83 | volatile void __iomem *d_first_plane_dpb_size; |
84 | void *d_second_plane_dpb_size; | 84 | volatile void __iomem *d_second_plane_dpb_size; |
85 | void *d_third_plane_dpb_size;/* only v8 */ | 85 | volatile void __iomem *d_third_plane_dpb_size;/* only v8 */ |
86 | void *d_mv_buffer_size; | 86 | volatile void __iomem *d_mv_buffer_size; |
87 | void *d_first_plane_dpb; | 87 | volatile void __iomem *d_first_plane_dpb; |
88 | void *d_second_plane_dpb; | 88 | volatile void __iomem *d_second_plane_dpb; |
89 | void *d_third_plane_dpb; | 89 | volatile void __iomem *d_third_plane_dpb; |
90 | void *d_mv_buffer; | 90 | volatile void __iomem *d_mv_buffer; |
91 | void *d_scratch_buffer_addr; | 91 | volatile void __iomem *d_scratch_buffer_addr; |
92 | void *d_scratch_buffer_size; | 92 | volatile void __iomem *d_scratch_buffer_size; |
93 | void *d_metadata_buffer_addr; | 93 | volatile void __iomem *d_metadata_buffer_addr; |
94 | void *d_metadata_buffer_size; | 94 | volatile void __iomem *d_metadata_buffer_size; |
95 | void *d_nal_start_options;/* v7 and v8 */ | 95 | volatile void __iomem *d_nal_start_options;/* v7 and v8 */ |
96 | void *d_cpb_buffer_addr; | 96 | volatile void __iomem *d_cpb_buffer_addr; |
97 | void *d_cpb_buffer_size; | 97 | volatile void __iomem *d_cpb_buffer_size; |
98 | void *d_available_dpb_flag_upper; | 98 | volatile void __iomem *d_available_dpb_flag_upper; |
99 | void *d_available_dpb_flag_lower; | 99 | volatile void __iomem *d_available_dpb_flag_lower; |
100 | void *d_cpb_buffer_offset; | 100 | volatile void __iomem *d_cpb_buffer_offset; |
101 | void *d_slice_if_enable; | 101 | volatile void __iomem *d_slice_if_enable; |
102 | void *d_picture_tag; | 102 | volatile void __iomem *d_picture_tag; |
103 | void *d_stream_data_size; | 103 | volatile void __iomem *d_stream_data_size; |
104 | void *d_dynamic_dpb_flag_upper;/* v7 and v8 */ | 104 | volatile void __iomem *d_dynamic_dpb_flag_upper;/* v7 and v8 */ |
105 | void *d_dynamic_dpb_flag_lower;/* v7 and v8 */ | 105 | volatile void __iomem *d_dynamic_dpb_flag_lower;/* v7 and v8 */ |
106 | void *d_display_frame_width; | 106 | volatile void __iomem *d_display_frame_width; |
107 | void *d_display_frame_height; | 107 | volatile void __iomem *d_display_frame_height; |
108 | void *d_display_status; | 108 | volatile void __iomem *d_display_status; |
109 | void *d_display_first_plane_addr; | 109 | volatile void __iomem *d_display_first_plane_addr; |
110 | void *d_display_second_plane_addr; | 110 | volatile void __iomem *d_display_second_plane_addr; |
111 | void *d_display_third_plane_addr;/* only v8 */ | 111 | volatile void __iomem *d_display_third_plane_addr;/* only v8 */ |
112 | void *d_display_frame_type; | 112 | volatile void __iomem *d_display_frame_type; |
113 | void *d_display_crop_info1; | 113 | volatile void __iomem *d_display_crop_info1; |
114 | void *d_display_crop_info2; | 114 | volatile void __iomem *d_display_crop_info2; |
115 | void *d_display_picture_profile; | 115 | volatile void __iomem *d_display_picture_profile; |
116 | void *d_display_luma_crc;/* v7 and v8 */ | 116 | volatile void __iomem *d_display_luma_crc;/* v7 and v8 */ |
117 | void *d_display_chroma0_crc;/* v7 and v8 */ | 117 | volatile void __iomem *d_display_chroma0_crc;/* v7 and v8 */ |
118 | void *d_display_chroma1_crc;/* only v8 */ | 118 | volatile void __iomem *d_display_chroma1_crc;/* only v8 */ |
119 | void *d_display_luma_crc_top;/* only v6 */ | 119 | volatile void __iomem *d_display_luma_crc_top;/* only v6 */ |
120 | void *d_display_chroma_crc_top;/* only v6 */ | 120 | volatile void __iomem *d_display_chroma_crc_top;/* only v6 */ |
121 | void *d_display_luma_crc_bot;/* only v6 */ | 121 | volatile void __iomem *d_display_luma_crc_bot;/* only v6 */ |
122 | void *d_display_chroma_crc_bot;/* only v6 */ | 122 | volatile void __iomem *d_display_chroma_crc_bot;/* only v6 */ |
123 | void *d_display_aspect_ratio; | 123 | volatile void __iomem *d_display_aspect_ratio; |
124 | void *d_display_extended_ar; | 124 | volatile void __iomem *d_display_extended_ar; |
125 | void *d_decoded_frame_width; | 125 | volatile void __iomem *d_decoded_frame_width; |
126 | void *d_decoded_frame_height; | 126 | volatile void __iomem *d_decoded_frame_height; |
127 | void *d_decoded_status; | 127 | volatile void __iomem *d_decoded_status; |
128 | void *d_decoded_first_plane_addr; | 128 | volatile void __iomem *d_decoded_first_plane_addr; |
129 | void *d_decoded_second_plane_addr; | 129 | volatile void __iomem *d_decoded_second_plane_addr; |
130 | void *d_decoded_third_plane_addr;/* only v8 */ | 130 | volatile void __iomem *d_decoded_third_plane_addr;/* only v8 */ |
131 | void *d_decoded_frame_type; | 131 | volatile void __iomem *d_decoded_frame_type; |
132 | void *d_decoded_crop_info1; | 132 | volatile void __iomem *d_decoded_crop_info1; |
133 | void *d_decoded_crop_info2; | 133 | volatile void __iomem *d_decoded_crop_info2; |
134 | void *d_decoded_picture_profile; | 134 | volatile void __iomem *d_decoded_picture_profile; |
135 | void *d_decoded_nal_size; | 135 | volatile void __iomem *d_decoded_nal_size; |
136 | void *d_decoded_luma_crc; | 136 | volatile void __iomem *d_decoded_luma_crc; |
137 | void *d_decoded_chroma0_crc; | 137 | volatile void __iomem *d_decoded_chroma0_crc; |
138 | void *d_decoded_chroma1_crc;/* only v8 */ | 138 | volatile void __iomem *d_decoded_chroma1_crc;/* only v8 */ |
139 | void *d_ret_picture_tag_top; | 139 | volatile void __iomem *d_ret_picture_tag_top; |
140 | void *d_ret_picture_tag_bot; | 140 | volatile void __iomem *d_ret_picture_tag_bot; |
141 | void *d_ret_picture_time_top; | 141 | volatile void __iomem *d_ret_picture_time_top; |
142 | void *d_ret_picture_time_bot; | 142 | volatile void __iomem *d_ret_picture_time_bot; |
143 | void *d_chroma_format; | 143 | volatile void __iomem *d_chroma_format; |
144 | void *d_vc1_info;/* v7 and v8 */ | 144 | volatile void __iomem *d_vc1_info;/* v7 and v8 */ |
145 | void *d_mpeg4_info; | 145 | volatile void __iomem *d_mpeg4_info; |
146 | void *d_h264_info; | 146 | volatile void __iomem *d_h264_info; |
147 | void *d_metadata_addr_concealed_mb; | 147 | volatile void __iomem *d_metadata_addr_concealed_mb; |
148 | void *d_metadata_size_concealed_mb; | 148 | volatile void __iomem *d_metadata_size_concealed_mb; |
149 | void *d_metadata_addr_vc1_param; | 149 | volatile void __iomem *d_metadata_addr_vc1_param; |
150 | void *d_metadata_size_vc1_param; | 150 | volatile void __iomem *d_metadata_size_vc1_param; |
151 | void *d_metadata_addr_sei_nal; | 151 | volatile void __iomem *d_metadata_addr_sei_nal; |
152 | void *d_metadata_size_sei_nal; | 152 | volatile void __iomem *d_metadata_size_sei_nal; |
153 | void *d_metadata_addr_vui; | 153 | volatile void __iomem *d_metadata_addr_vui; |
154 | void *d_metadata_size_vui; | 154 | volatile void __iomem *d_metadata_size_vui; |
155 | void *d_metadata_addr_mvcvui;/* v7 and v8 */ | 155 | volatile void __iomem *d_metadata_addr_mvcvui;/* v7 and v8 */ |
156 | void *d_metadata_size_mvcvui;/* v7 and v8 */ | 156 | volatile void __iomem *d_metadata_size_mvcvui;/* v7 and v8 */ |
157 | void *d_mvc_view_id; | 157 | volatile void __iomem *d_mvc_view_id; |
158 | void *d_frame_pack_sei_avail; | 158 | volatile void __iomem *d_frame_pack_sei_avail; |
159 | void *d_frame_pack_arrgment_id; | 159 | volatile void __iomem *d_frame_pack_arrgment_id; |
160 | void *d_frame_pack_sei_info; | 160 | volatile void __iomem *d_frame_pack_sei_info; |
161 | void *d_frame_pack_grid_pos; | 161 | volatile void __iomem *d_frame_pack_grid_pos; |
162 | void *d_display_recovery_sei_info;/* v7 and v8 */ | 162 | volatile void __iomem *d_display_recovery_sei_info;/* v7 and v8 */ |
163 | void *d_decoded_recovery_sei_info;/* v7 and v8 */ | 163 | volatile void __iomem *d_decoded_recovery_sei_info;/* v7 and v8 */ |
164 | void *d_display_first_addr;/* only v7 */ | 164 | volatile void __iomem *d_display_first_addr;/* only v7 */ |
165 | void *d_display_second_addr;/* only v7 */ | 165 | volatile void __iomem *d_display_second_addr;/* only v7 */ |
166 | void *d_display_third_addr;/* only v7 */ | 166 | volatile void __iomem *d_display_third_addr;/* only v7 */ |
167 | void *d_decoded_first_addr;/* only v7 */ | 167 | volatile void __iomem *d_decoded_first_addr;/* only v7 */ |
168 | void *d_decoded_second_addr;/* only v7 */ | 168 | volatile void __iomem *d_decoded_second_addr;/* only v7 */ |
169 | void *d_decoded_third_addr;/* only v7 */ | 169 | volatile void __iomem *d_decoded_third_addr;/* only v7 */ |
170 | void *d_used_dpb_flag_upper;/* v7 and v8 */ | 170 | volatile void __iomem *d_used_dpb_flag_upper;/* v7 and v8 */ |
171 | void *d_used_dpb_flag_lower;/* v7 and v8 */ | 171 | volatile void __iomem *d_used_dpb_flag_lower;/* v7 and v8 */ |
172 | 172 | ||
173 | /* encoder registers */ | 173 | /* encoder registers */ |
174 | void *e_frame_width; | 174 | volatile void __iomem *e_frame_width; |
175 | void *e_frame_height; | 175 | volatile void __iomem *e_frame_height; |
176 | void *e_cropped_frame_width; | 176 | volatile void __iomem *e_cropped_frame_width; |
177 | void *e_cropped_frame_height; | 177 | volatile void __iomem *e_cropped_frame_height; |
178 | void *e_frame_crop_offset; | 178 | volatile void __iomem *e_frame_crop_offset; |
179 | void *e_enc_options; | 179 | volatile void __iomem *e_enc_options; |
180 | void *e_picture_profile; | 180 | volatile void __iomem *e_picture_profile; |
181 | void *e_vbv_buffer_size; | 181 | volatile void __iomem *e_vbv_buffer_size; |
182 | void *e_vbv_init_delay; | 182 | volatile void __iomem *e_vbv_init_delay; |
183 | void *e_fixed_picture_qp; | 183 | volatile void __iomem *e_fixed_picture_qp; |
184 | void *e_rc_config; | 184 | volatile void __iomem *e_rc_config; |
185 | void *e_rc_qp_bound; | 185 | volatile void __iomem *e_rc_qp_bound; |
186 | void *e_rc_qp_bound_pb;/* v7 and v8 */ | 186 | volatile void __iomem *e_rc_qp_bound_pb;/* v7 and v8 */ |
187 | void *e_rc_mode; | 187 | volatile void __iomem *e_rc_mode; |
188 | void *e_mb_rc_config; | 188 | volatile void __iomem *e_mb_rc_config; |
189 | void *e_padding_ctrl; | 189 | volatile void __iomem *e_padding_ctrl; |
190 | void *e_air_threshold; | 190 | volatile void __iomem *e_air_threshold; |
191 | void *e_mv_hor_range; | 191 | volatile void __iomem *e_mv_hor_range; |
192 | void *e_mv_ver_range; | 192 | volatile void __iomem *e_mv_ver_range; |
193 | void *e_num_dpb; | 193 | volatile void __iomem *e_num_dpb; |
194 | void *e_luma_dpb; | 194 | volatile void __iomem *e_luma_dpb; |
195 | void *e_chroma_dpb; | 195 | volatile void __iomem *e_chroma_dpb; |
196 | void *e_me_buffer; | 196 | volatile void __iomem *e_me_buffer; |
197 | void *e_scratch_buffer_addr; | 197 | volatile void __iomem *e_scratch_buffer_addr; |
198 | void *e_scratch_buffer_size; | 198 | volatile void __iomem *e_scratch_buffer_size; |
199 | void *e_tmv_buffer0; | 199 | volatile void __iomem *e_tmv_buffer0; |
200 | void *e_tmv_buffer1; | 200 | volatile void __iomem *e_tmv_buffer1; |
201 | void *e_ir_buffer_addr;/* v7 and v8 */ | 201 | volatile void __iomem *e_ir_buffer_addr;/* v7 and v8 */ |
202 | void *e_source_first_plane_addr; | 202 | volatile void __iomem *e_source_first_plane_addr; |
203 | void *e_source_second_plane_addr; | 203 | volatile void __iomem *e_source_second_plane_addr; |
204 | void *e_source_third_plane_addr;/* v7 and v8 */ | 204 | volatile void __iomem *e_source_third_plane_addr;/* v7 and v8 */ |
205 | void *e_source_first_plane_stride;/* v7 and v8 */ | 205 | volatile void __iomem *e_source_first_plane_stride;/* v7 and v8 */ |
206 | void *e_source_second_plane_stride;/* v7 and v8 */ | 206 | volatile void __iomem *e_source_second_plane_stride;/* v7 and v8 */ |
207 | void *e_source_third_plane_stride;/* v7 and v8 */ | 207 | volatile void __iomem *e_source_third_plane_stride;/* v7 and v8 */ |
208 | void *e_stream_buffer_addr; | 208 | volatile void __iomem *e_stream_buffer_addr; |
209 | void *e_stream_buffer_size; | 209 | volatile void __iomem *e_stream_buffer_size; |
210 | void *e_roi_buffer_addr; | 210 | volatile void __iomem *e_roi_buffer_addr; |
211 | void *e_param_change; | 211 | volatile void __iomem *e_param_change; |
212 | void *e_ir_size; | 212 | volatile void __iomem *e_ir_size; |
213 | void *e_gop_config; | 213 | volatile void __iomem *e_gop_config; |
214 | void *e_mslice_mode; | 214 | volatile void __iomem *e_mslice_mode; |
215 | void *e_mslice_size_mb; | 215 | volatile void __iomem *e_mslice_size_mb; |
216 | void *e_mslice_size_bits; | 216 | volatile void __iomem *e_mslice_size_bits; |
217 | void *e_frame_insertion; | 217 | volatile void __iomem *e_frame_insertion; |
218 | void *e_rc_frame_rate; | 218 | volatile void __iomem *e_rc_frame_rate; |
219 | void *e_rc_bit_rate; | 219 | volatile void __iomem *e_rc_bit_rate; |
220 | void *e_rc_roi_ctrl; | 220 | volatile void __iomem *e_rc_roi_ctrl; |
221 | void *e_picture_tag; | 221 | volatile void __iomem *e_picture_tag; |
222 | void *e_bit_count_enable; | 222 | volatile void __iomem *e_bit_count_enable; |
223 | void *e_max_bit_count; | 223 | volatile void __iomem *e_max_bit_count; |
224 | void *e_min_bit_count; | 224 | volatile void __iomem *e_min_bit_count; |
225 | void *e_metadata_buffer_addr; | 225 | volatile void __iomem *e_metadata_buffer_addr; |
226 | void *e_metadata_buffer_size; | 226 | volatile void __iomem *e_metadata_buffer_size; |
227 | void *e_encoded_source_first_plane_addr; | 227 | volatile void __iomem *e_encoded_source_first_plane_addr; |
228 | void *e_encoded_source_second_plane_addr; | 228 | volatile void __iomem *e_encoded_source_second_plane_addr; |
229 | void *e_encoded_source_third_plane_addr;/* v7 and v8 */ | 229 | volatile void __iomem *e_encoded_source_third_plane_addr;/* v7 and v8 */ |
230 | void *e_stream_size; | 230 | volatile void __iomem *e_stream_size; |
231 | void *e_slice_type; | 231 | volatile void __iomem *e_slice_type; |
232 | void *e_picture_count; | 232 | volatile void __iomem *e_picture_count; |
233 | void *e_ret_picture_tag; | 233 | volatile void __iomem *e_ret_picture_tag; |
234 | void *e_stream_buffer_write_pointer; /* only v6 */ | 234 | volatile void __iomem *e_stream_buffer_write_pointer; /* only v6 */ |
235 | void *e_recon_luma_dpb_addr; | 235 | volatile void __iomem *e_recon_luma_dpb_addr; |
236 | void *e_recon_chroma_dpb_addr; | 236 | volatile void __iomem *e_recon_chroma_dpb_addr; |
237 | void *e_metadata_addr_enc_slice; | 237 | volatile void __iomem *e_metadata_addr_enc_slice; |
238 | void *e_metadata_size_enc_slice; | 238 | volatile void __iomem *e_metadata_size_enc_slice; |
239 | void *e_mpeg4_options; | 239 | volatile void __iomem *e_mpeg4_options; |
240 | void *e_mpeg4_hec_period; | 240 | volatile void __iomem *e_mpeg4_hec_period; |
241 | void *e_aspect_ratio; | 241 | volatile void __iomem *e_aspect_ratio; |
242 | void *e_extended_sar; | 242 | volatile void __iomem *e_extended_sar; |
243 | void *e_h264_options; | 243 | volatile void __iomem *e_h264_options; |
244 | void *e_h264_options_2;/* v7 and v8 */ | 244 | volatile void __iomem *e_h264_options_2;/* v7 and v8 */ |
245 | void *e_h264_lf_alpha_offset; | 245 | volatile void __iomem *e_h264_lf_alpha_offset; |
246 | void *e_h264_lf_beta_offset; | 246 | volatile void __iomem *e_h264_lf_beta_offset; |
247 | void *e_h264_i_period; | 247 | volatile void __iomem *e_h264_i_period; |
248 | void *e_h264_fmo_slice_grp_map_type; | 248 | volatile void __iomem *e_h264_fmo_slice_grp_map_type; |
249 | void *e_h264_fmo_num_slice_grp_minus1; | 249 | volatile void __iomem *e_h264_fmo_num_slice_grp_minus1; |
250 | void *e_h264_fmo_slice_grp_change_dir; | 250 | volatile void __iomem *e_h264_fmo_slice_grp_change_dir; |
251 | void *e_h264_fmo_slice_grp_change_rate_minus1; | 251 | volatile void __iomem *e_h264_fmo_slice_grp_change_rate_minus1; |
252 | void *e_h264_fmo_run_length_minus1_0; | 252 | volatile void __iomem *e_h264_fmo_run_length_minus1_0; |
253 | void *e_h264_aso_slice_order_0; | 253 | volatile void __iomem *e_h264_aso_slice_order_0; |
254 | void *e_h264_chroma_qp_offset; | 254 | volatile void __iomem *e_h264_chroma_qp_offset; |
255 | void *e_h264_num_t_layer; | 255 | volatile void __iomem *e_h264_num_t_layer; |
256 | void *e_h264_hierarchical_qp_layer0; | 256 | volatile void __iomem *e_h264_hierarchical_qp_layer0; |
257 | void *e_h264_frame_packing_sei_info; | 257 | volatile void __iomem *e_h264_frame_packing_sei_info; |
258 | void *e_h264_nal_control;/* v7 and v8 */ | 258 | volatile void __iomem *e_h264_nal_control;/* v7 and v8 */ |
259 | void *e_mvc_frame_qp_view1; | 259 | volatile void __iomem *e_mvc_frame_qp_view1; |
260 | void *e_mvc_rc_bit_rate_view1; | 260 | volatile void __iomem *e_mvc_rc_bit_rate_view1; |
261 | void *e_mvc_rc_qbound_view1; | 261 | volatile void __iomem *e_mvc_rc_qbound_view1; |
262 | void *e_mvc_rc_mode_view1; | 262 | volatile void __iomem *e_mvc_rc_mode_view1; |
263 | void *e_mvc_inter_view_prediction_on; | 263 | volatile void __iomem *e_mvc_inter_view_prediction_on; |
264 | void *e_vp8_options;/* v7 and v8 */ | 264 | volatile void __iomem *e_vp8_options;/* v7 and v8 */ |
265 | void *e_vp8_filter_options;/* v7 and v8 */ | 265 | volatile void __iomem *e_vp8_filter_options;/* v7 and v8 */ |
266 | void *e_vp8_golden_frame_option;/* v7 and v8 */ | 266 | volatile void __iomem *e_vp8_golden_frame_option;/* v7 and v8 */ |
267 | void *e_vp8_num_t_layer;/* v7 and v8 */ | 267 | volatile void __iomem *e_vp8_num_t_layer;/* v7 and v8 */ |
268 | void *e_vp8_hierarchical_qp_layer0;/* v7 and v8 */ | 268 | volatile void __iomem *e_vp8_hierarchical_qp_layer0;/* v7 and v8 */ |
269 | void *e_vp8_hierarchical_qp_layer1;/* v7 and v8 */ | 269 | volatile void __iomem *e_vp8_hierarchical_qp_layer1;/* v7 and v8 */ |
270 | void *e_vp8_hierarchical_qp_layer2;/* v7 and v8 */ | 270 | volatile void __iomem *e_vp8_hierarchical_qp_layer2;/* v7 and v8 */ |
271 | }; | 271 | }; |
272 | 272 | ||
273 | struct s5p_mfc_hw_ops { | 273 | struct s5p_mfc_hw_ops { |
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c index e9d1eaf72682..ed3d20f12184 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | |||
@@ -1880,7 +1880,7 @@ static void s5p_mfc_write_info_v6(struct s5p_mfc_ctx *ctx, unsigned int data, | |||
1880 | unsigned int ofs) | 1880 | unsigned int ofs) |
1881 | { | 1881 | { |
1882 | s5p_mfc_clock_on(); | 1882 | s5p_mfc_clock_on(); |
1883 | writel(data, (void *)ofs); | 1883 | writel(data, (volatile void __iomem *)ofs); |
1884 | s5p_mfc_clock_off(); | 1884 | s5p_mfc_clock_off(); |
1885 | } | 1885 | } |
1886 | 1886 | ||
@@ -1890,7 +1890,7 @@ s5p_mfc_read_info_v6(struct s5p_mfc_ctx *ctx, unsigned int ofs) | |||
1890 | int ret; | 1890 | int ret; |
1891 | 1891 | ||
1892 | s5p_mfc_clock_on(); | 1892 | s5p_mfc_clock_on(); |
1893 | ret = readl((void *)ofs); | 1893 | ret = readl((volatile void __iomem *)ofs); |
1894 | s5p_mfc_clock_off(); | 1894 | s5p_mfc_clock_off(); |
1895 | 1895 | ||
1896 | return ret; | 1896 | return ret; |