mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
media: platform: samsung: s5p-jpeg: Remove deadcode
exynos3250_jpeg_operating() has been unused since it was added in 2014's commit3246fdaa0a
("[media] s5p-jpeg: Add support for Exynos3250 SoC") exynos4_jpeg_get_fifo_status(), exynos4_jpeg_get_frame_size(), and exynos4_jpeg_set_timer_count() have been unused since they were added by commit80529ae5c1
("[media] s5p-jpeg: JPEG codec") Remove them. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Jacek Anaszewski <jacek.anaszewski@gmail.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
parent
7ee35e07cc
commit
9b47364fd7
@ -427,11 +427,6 @@ void exynos3250_jpeg_clear_int_status(void __iomem *regs,
|
||||
writel(value, regs + EXYNOS3250_JPGINTST);
|
||||
}
|
||||
|
||||
unsigned int exynos3250_jpeg_operating(void __iomem *regs)
|
||||
{
|
||||
return readl(regs + S5P_JPGOPR) & EXYNOS3250_JPGOPR_MASK;
|
||||
}
|
||||
|
||||
unsigned int exynos3250_jpeg_compressed_size(void __iomem *regs)
|
||||
{
|
||||
return readl(regs + EXYNOS3250_JPGCNT) & EXYNOS3250_JPGCNT_MASK;
|
||||
|
@ -45,7 +45,6 @@ void exynos3250_jpeg_rstart(void __iomem *regs);
|
||||
unsigned int exynos3250_jpeg_get_int_status(void __iomem *regs);
|
||||
void exynos3250_jpeg_clear_int_status(void __iomem *regs,
|
||||
unsigned int value);
|
||||
unsigned int exynos3250_jpeg_operating(void __iomem *regs);
|
||||
unsigned int exynos3250_jpeg_compressed_size(void __iomem *regs);
|
||||
void exynos3250_jpeg_dec_stream_size(void __iomem *regs, unsigned int size);
|
||||
void exynos3250_jpeg_dec_scaling_ratio(void __iomem *regs, unsigned int sratio);
|
||||
|
@ -185,11 +185,6 @@ unsigned int exynos4_jpeg_get_int_status(void __iomem *base)
|
||||
return readl(base + EXYNOS4_INT_STATUS_REG);
|
||||
}
|
||||
|
||||
unsigned int exynos4_jpeg_get_fifo_status(void __iomem *base)
|
||||
{
|
||||
return readl(base + EXYNOS4_FIFO_STATUS_REG);
|
||||
}
|
||||
|
||||
void exynos4_jpeg_set_huf_table_enable(void __iomem *base, int value)
|
||||
{
|
||||
unsigned int reg;
|
||||
@ -300,22 +295,8 @@ void exynos4_jpeg_set_dec_bitstream_size(void __iomem *base, unsigned int size)
|
||||
writel(size, base + EXYNOS4_BITSTREAM_SIZE_REG);
|
||||
}
|
||||
|
||||
void exynos4_jpeg_get_frame_size(void __iomem *base,
|
||||
unsigned int *width, unsigned int *height)
|
||||
{
|
||||
*width = (readl(base + EXYNOS4_DECODE_XY_SIZE_REG) &
|
||||
EXYNOS4_DECODED_SIZE_MASK);
|
||||
*height = (readl(base + EXYNOS4_DECODE_XY_SIZE_REG) >> 16) &
|
||||
EXYNOS4_DECODED_SIZE_MASK;
|
||||
}
|
||||
|
||||
unsigned int exynos4_jpeg_get_frame_fmt(void __iomem *base)
|
||||
{
|
||||
return readl(base + EXYNOS4_DECODE_IMG_FMT_REG) &
|
||||
EXYNOS4_JPEG_DECODED_IMG_FMT_MASK;
|
||||
}
|
||||
|
||||
void exynos4_jpeg_set_timer_count(void __iomem *base, unsigned int size)
|
||||
{
|
||||
writel(size, base + EXYNOS4_INT_TIMER_COUNT_REG);
|
||||
}
|
||||
|
@ -35,10 +35,6 @@ void exynos4_jpeg_select_dec_h_tbl(void __iomem *base, char c, char x);
|
||||
void exynos4_jpeg_set_encode_hoff_cnt(void __iomem *base, unsigned int fmt);
|
||||
void exynos4_jpeg_set_dec_bitstream_size(void __iomem *base, unsigned int size);
|
||||
unsigned int exynos4_jpeg_get_stream_size(void __iomem *base);
|
||||
void exynos4_jpeg_get_frame_size(void __iomem *base,
|
||||
unsigned int *width, unsigned int *height);
|
||||
unsigned int exynos4_jpeg_get_frame_fmt(void __iomem *base);
|
||||
unsigned int exynos4_jpeg_get_fifo_status(void __iomem *base);
|
||||
void exynos4_jpeg_set_timer_count(void __iomem *base, unsigned int size);
|
||||
|
||||
#endif /* JPEG_HW_EXYNOS4_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user