~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/soc/mediatek/mtk-mmsys.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/linux/soc/mediatek/mtk-mmsys.h (Architecture sparc) and /include/linux/soc/mediatek/mtk-mmsys.h (Architecture sparc64)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*                                                  2 /*
  3  * Copyright (c) 2015 MediaTek Inc.                 3  * Copyright (c) 2015 MediaTek Inc.
  4  */                                                 4  */
  5                                                     5 
  6 #ifndef __MTK_MMSYS_H                               6 #ifndef __MTK_MMSYS_H
  7 #define __MTK_MMSYS_H                               7 #define __MTK_MMSYS_H
  8                                                     8 
  9 #include <linux/mailbox_controller.h>               9 #include <linux/mailbox_controller.h>
 10 #include <linux/mailbox/mtk-cmdq-mailbox.h>        10 #include <linux/mailbox/mtk-cmdq-mailbox.h>
 11 #include <linux/soc/mediatek/mtk-cmdq.h>           11 #include <linux/soc/mediatek/mtk-cmdq.h>
 12                                                    12 
 13 enum mtk_ddp_comp_id;                              13 enum mtk_ddp_comp_id;
 14 struct device;                                     14 struct device;
 15                                                    15 
 16 enum mtk_dpi_out_format_con {                      16 enum mtk_dpi_out_format_con {
 17         MTK_DPI_RGB888_SDR_CON,                    17         MTK_DPI_RGB888_SDR_CON,
 18         MTK_DPI_RGB888_DDR_CON,                    18         MTK_DPI_RGB888_DDR_CON,
 19         MTK_DPI_RGB565_SDR_CON,                    19         MTK_DPI_RGB565_SDR_CON,
 20         MTK_DPI_RGB565_DDR_CON                     20         MTK_DPI_RGB565_DDR_CON
 21 };                                                 21 };
 22                                                    22 
 23 enum mtk_ddp_comp_id {                             23 enum mtk_ddp_comp_id {
 24         DDP_COMPONENT_AAL0,                        24         DDP_COMPONENT_AAL0,
 25         DDP_COMPONENT_AAL1,                        25         DDP_COMPONENT_AAL1,
 26         DDP_COMPONENT_BLS,                         26         DDP_COMPONENT_BLS,
 27         DDP_COMPONENT_CCORR,                       27         DDP_COMPONENT_CCORR,
 28         DDP_COMPONENT_COLOR0,                      28         DDP_COMPONENT_COLOR0,
 29         DDP_COMPONENT_COLOR1,                      29         DDP_COMPONENT_COLOR1,
 30         DDP_COMPONENT_DITHER0,                     30         DDP_COMPONENT_DITHER0,
 31         DDP_COMPONENT_DITHER1,                     31         DDP_COMPONENT_DITHER1,
 32         DDP_COMPONENT_DP_INTF0,                    32         DDP_COMPONENT_DP_INTF0,
 33         DDP_COMPONENT_DP_INTF1,                    33         DDP_COMPONENT_DP_INTF1,
 34         DDP_COMPONENT_DPI0,                        34         DDP_COMPONENT_DPI0,
 35         DDP_COMPONENT_DPI1,                        35         DDP_COMPONENT_DPI1,
 36         DDP_COMPONENT_DSC0,                        36         DDP_COMPONENT_DSC0,
 37         DDP_COMPONENT_DSC1,                        37         DDP_COMPONENT_DSC1,
 38         DDP_COMPONENT_DSI0,                        38         DDP_COMPONENT_DSI0,
 39         DDP_COMPONENT_DSI1,                        39         DDP_COMPONENT_DSI1,
 40         DDP_COMPONENT_DSI2,                        40         DDP_COMPONENT_DSI2,
 41         DDP_COMPONENT_DSI3,                        41         DDP_COMPONENT_DSI3,
 42         DDP_COMPONENT_ETHDR_MIXER,                 42         DDP_COMPONENT_ETHDR_MIXER,
 43         DDP_COMPONENT_GAMMA,                       43         DDP_COMPONENT_GAMMA,
 44         DDP_COMPONENT_MDP_RDMA0,                   44         DDP_COMPONENT_MDP_RDMA0,
 45         DDP_COMPONENT_MDP_RDMA1,                   45         DDP_COMPONENT_MDP_RDMA1,
 46         DDP_COMPONENT_MDP_RDMA2,                   46         DDP_COMPONENT_MDP_RDMA2,
 47         DDP_COMPONENT_MDP_RDMA3,                   47         DDP_COMPONENT_MDP_RDMA3,
 48         DDP_COMPONENT_MDP_RDMA4,                   48         DDP_COMPONENT_MDP_RDMA4,
 49         DDP_COMPONENT_MDP_RDMA5,                   49         DDP_COMPONENT_MDP_RDMA5,
 50         DDP_COMPONENT_MDP_RDMA6,                   50         DDP_COMPONENT_MDP_RDMA6,
 51         DDP_COMPONENT_MDP_RDMA7,                   51         DDP_COMPONENT_MDP_RDMA7,
 52         DDP_COMPONENT_MERGE0,                      52         DDP_COMPONENT_MERGE0,
 53         DDP_COMPONENT_MERGE1,                      53         DDP_COMPONENT_MERGE1,
 54         DDP_COMPONENT_MERGE2,                      54         DDP_COMPONENT_MERGE2,
 55         DDP_COMPONENT_MERGE3,                      55         DDP_COMPONENT_MERGE3,
 56         DDP_COMPONENT_MERGE4,                      56         DDP_COMPONENT_MERGE4,
 57         DDP_COMPONENT_MERGE5,                      57         DDP_COMPONENT_MERGE5,
 58         DDP_COMPONENT_OD0,                         58         DDP_COMPONENT_OD0,
 59         DDP_COMPONENT_OD1,                         59         DDP_COMPONENT_OD1,
 60         DDP_COMPONENT_OVL0,                        60         DDP_COMPONENT_OVL0,
 61         DDP_COMPONENT_OVL_2L0,                     61         DDP_COMPONENT_OVL_2L0,
 62         DDP_COMPONENT_OVL_2L1,                     62         DDP_COMPONENT_OVL_2L1,
 63         DDP_COMPONENT_OVL_2L2,                     63         DDP_COMPONENT_OVL_2L2,
 64         DDP_COMPONENT_OVL1,                        64         DDP_COMPONENT_OVL1,
 65         DDP_COMPONENT_PADDING0,                    65         DDP_COMPONENT_PADDING0,
 66         DDP_COMPONENT_PADDING1,                    66         DDP_COMPONENT_PADDING1,
 67         DDP_COMPONENT_PADDING2,                    67         DDP_COMPONENT_PADDING2,
 68         DDP_COMPONENT_PADDING3,                    68         DDP_COMPONENT_PADDING3,
 69         DDP_COMPONENT_PADDING4,                    69         DDP_COMPONENT_PADDING4,
 70         DDP_COMPONENT_PADDING5,                    70         DDP_COMPONENT_PADDING5,
 71         DDP_COMPONENT_PADDING6,                    71         DDP_COMPONENT_PADDING6,
 72         DDP_COMPONENT_PADDING7,                    72         DDP_COMPONENT_PADDING7,
 73         DDP_COMPONENT_POSTMASK0,                   73         DDP_COMPONENT_POSTMASK0,
 74         DDP_COMPONENT_PWM0,                        74         DDP_COMPONENT_PWM0,
 75         DDP_COMPONENT_PWM1,                        75         DDP_COMPONENT_PWM1,
 76         DDP_COMPONENT_PWM2,                        76         DDP_COMPONENT_PWM2,
 77         DDP_COMPONENT_RDMA0,                       77         DDP_COMPONENT_RDMA0,
 78         DDP_COMPONENT_RDMA1,                       78         DDP_COMPONENT_RDMA1,
 79         DDP_COMPONENT_RDMA2,                       79         DDP_COMPONENT_RDMA2,
 80         DDP_COMPONENT_RDMA4,                       80         DDP_COMPONENT_RDMA4,
 81         DDP_COMPONENT_UFOE,                        81         DDP_COMPONENT_UFOE,
 82         DDP_COMPONENT_WDMA0,                       82         DDP_COMPONENT_WDMA0,
 83         DDP_COMPONENT_WDMA1,                       83         DDP_COMPONENT_WDMA1,
 84         DDP_COMPONENT_ID_MAX,                      84         DDP_COMPONENT_ID_MAX,
 85 };                                                 85 };
 86                                                    86 
 87 void mtk_mmsys_ddp_connect(struct device *dev,     87 void mtk_mmsys_ddp_connect(struct device *dev,
 88                            enum mtk_ddp_comp_i     88                            enum mtk_ddp_comp_id cur,
 89                            enum mtk_ddp_comp_i     89                            enum mtk_ddp_comp_id next);
 90                                                    90 
 91 void mtk_mmsys_ddp_disconnect(struct device *d     91 void mtk_mmsys_ddp_disconnect(struct device *dev,
 92                               enum mtk_ddp_com     92                               enum mtk_ddp_comp_id cur,
 93                               enum mtk_ddp_com     93                               enum mtk_ddp_comp_id next);
 94                                                    94 
 95 void mtk_mmsys_ddp_dpi_fmt_config(struct devic     95 void mtk_mmsys_ddp_dpi_fmt_config(struct device *dev, u32 val);
 96                                                    96 
 97 void mtk_mmsys_merge_async_config(struct devic     97 void mtk_mmsys_merge_async_config(struct device *dev, int idx, int width,
 98                                   int height,      98                                   int height, struct cmdq_pkt *cmdq_pkt);
 99                                                    99 
100 void mtk_mmsys_hdr_config(struct device *dev,     100 void mtk_mmsys_hdr_config(struct device *dev, int be_width, int be_height,
101                           struct cmdq_pkt *cmd    101                           struct cmdq_pkt *cmdq_pkt);
102                                                   102 
103 void mtk_mmsys_mixer_in_config(struct device *    103 void mtk_mmsys_mixer_in_config(struct device *dev, int idx, bool alpha_sel, u16 alpha,
104                                u8 mode, u32 bi    104                                u8 mode, u32 biwidth, struct cmdq_pkt *cmdq_pkt);
105                                                   105 
106 void mtk_mmsys_mixer_in_channel_swap(struct de    106 void mtk_mmsys_mixer_in_channel_swap(struct device *dev, int idx, bool channel_swap,
107                                      struct cm    107                                      struct cmdq_pkt *cmdq_pkt);
108                                                   108 
109 void mtk_mmsys_vpp_rsz_merge_config(struct dev    109 void mtk_mmsys_vpp_rsz_merge_config(struct device *dev, u32 id, bool enable,
110                                     struct cmd    110                                     struct cmdq_pkt *cmdq_pkt);
111                                                   111 
112 void mtk_mmsys_vpp_rsz_dcm_config(struct devic    112 void mtk_mmsys_vpp_rsz_dcm_config(struct device *dev, bool enable,
113                                   struct cmdq_    113                                   struct cmdq_pkt *cmdq_pkt);
114                                                   114 
115 #endif /* __MTK_MMSYS_H */                        115 #endif /* __MTK_MMSYS_H */
116                                                   116 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php