Home
last modified time | relevance | path

Searched refs:mdp (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-mtk-disp.c57 static void mtk_disp_pwm_update_bits(struct mtk_disp_pwm *mdp, u32 offset, in mtk_disp_pwm_update_bits() argument
60 void __iomem *address = mdp->base + offset; in mtk_disp_pwm_update_bits()
72 struct mtk_disp_pwm *mdp = to_mtk_disp_pwm(chip); in mtk_disp_pwm_config() local
87 rate = clk_get_rate(mdp->clk_main); in mtk_disp_pwm_config()
101 err = clk_enable(mdp->clk_main); in mtk_disp_pwm_config()
105 err = clk_enable(mdp->clk_mm); in mtk_disp_pwm_config()
107 clk_disable(mdp->clk_main); in mtk_disp_pwm_config()
111 mtk_disp_pwm_update_bits(mdp, mdp->data->con0, in mtk_disp_pwm_config()
114 mtk_disp_pwm_update_bits(mdp, mdp->data->con1, in mtk_disp_pwm_config()
118 if (mdp->data->has_commit) { in mtk_disp_pwm_config()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/
Dsh_eth.c351 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_write() local
352 u16 offset = mdp->reg_offset[enum_index]; in sh_eth_write()
357 iowrite32(data, mdp->addr + offset); in sh_eth_write()
362 struct sh_eth_private *mdp = netdev_priv(ndev); in sh_eth_read() local
363 u16 offset = mdp->reg_offset[enum_index]; in sh_eth_read()
368 return ioread32(mdp->addr + offset); in sh_eth_read()
378 static u16 sh_eth_tsu_get_offset(struct sh_eth_private *mdp, int enum_index) in sh_eth_tsu_get_offset() argument
380 return mdp->reg_offset[enum_index]; in sh_eth_tsu_get_offset()
383 static void sh_eth_tsu_write(struct sh_eth_private *mdp, u32 data, in sh_eth_tsu_write() argument
386 u16 offset = sh_eth_tsu_get_offset(mdp, enum_index); in sh_eth_tsu_write()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_core.c55 static void mtk_mdp_clock_on(struct mtk_mdp_dev *mdp) in mtk_mdp_clock_on() argument
57 struct device *dev = &mdp->pdev->dev; in mtk_mdp_clock_on()
60 list_for_each_entry(comp_node, &mdp->comp_list, node) in mtk_mdp_clock_on()
64 static void mtk_mdp_clock_off(struct mtk_mdp_dev *mdp) in mtk_mdp_clock_off() argument
66 struct device *dev = &mdp->pdev->dev; in mtk_mdp_clock_off()
69 list_for_each_entry(comp_node, &mdp->comp_list, node) in mtk_mdp_clock_off()
75 struct mtk_mdp_dev *mdp = in mtk_mdp_wdt_worker() local
81 list_for_each_entry(ctx, &mdp->ctx_list, list) { in mtk_mdp_wdt_worker()
89 struct mtk_mdp_dev *mdp = priv; in mtk_mdp_reset_handler() local
91 queue_work(mdp->wdt_wq, &mdp->wdt_work); in mtk_mdp_reset_handler()
[all …]
Dmtk_mdp_m2m.c176 struct mtk_mdp_dev *mdp = ctx->mdp_dev; in mtk_mdp_try_fmt_mplane() local
177 struct mtk_mdp_variant *variant = mdp->variant; in mtk_mdp_try_fmt_mplane()
282 struct mtk_mdp_dev *mdp = ctx->mdp_dev; in mtk_mdp_try_crop() local
283 struct mtk_mdp_variant *variant = mdp->variant; in mtk_mdp_try_crop()
476 struct mtk_mdp_dev *mdp = priv; in mtk_mdp_process_done() local
480 ctx = v4l2_m2m_get_curr_priv(mdp->m2m_dev); in mtk_mdp_process_done()
501 struct mtk_mdp_dev *mdp = ctx->mdp_dev; in mtk_mdp_m2m_worker() local
506 dev_err(&mdp->pdev->dev, "ctx is in error state"); in mtk_mdp_m2m_worker()
526 dev_err(&mdp->pdev->dev, "processing failed: %d", ret); in mtk_mdp_m2m_worker()
533 mtk_mdp_process_done(mdp, buf_state); in mtk_mdp_m2m_worker()
[all …]
DMakefile2 mtk-mdp-y += mtk_mdp_core.o
3 mtk-mdp-y += mtk_mdp_comp.o
4 mtk-mdp-y += mtk_mdp_m2m.o
5 mtk-mdp-y += mtk_mdp_regs.o
6 mtk-mdp-y += mtk_mdp_vpu.o
8 obj-$(CONFIG_VIDEO_MEDIATEK_MDP) += mtk-mdp.o
Dmtk_mdp_m2m.h11 int mtk_mdp_register_m2m_device(struct mtk_mdp_dev *mdp);
12 void mtk_mdp_unregister_m2m_device(struct mtk_mdp_dev *mdp);
Dmtk_mdp_vpu.c63 struct mtk_mdp_dev *mdp = platform_get_drvdata(pdev); in mtk_mdp_vpu_register() local
66 err = vpu_ipi_register(mdp->vpu_dev, IPI_MDP, in mtk_mdp_vpu_register()
69 dev_err(&mdp->pdev->dev, in mtk_mdp_vpu_register()
Dmtk_mdp_core.h224 void mtk_mdp_register_component(struct mtk_mdp_dev *mdp,
227 void mtk_mdp_unregister_component(struct mtk_mdp_dev *mdp,
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_top.c53 static void dpu_hw_setup_split_pipe(struct dpu_hw_mdp *mdp, in dpu_hw_setup_split_pipe() argument
60 if (!mdp || !cfg) in dpu_hw_setup_split_pipe()
63 c = &mdp->hw; in dpu_hw_setup_split_pipe()
91 static bool dpu_hw_setup_clk_force_ctrl(struct dpu_hw_mdp *mdp, in dpu_hw_setup_clk_force_ctrl() argument
99 if (!mdp) in dpu_hw_setup_clk_force_ctrl()
102 c = &mdp->hw; in dpu_hw_setup_clk_force_ctrl()
107 reg_off = mdp->caps->clk_ctrls[clk_ctrl].reg_off; in dpu_hw_setup_clk_force_ctrl()
108 bit_off = mdp->caps->clk_ctrls[clk_ctrl].bit_off; in dpu_hw_setup_clk_force_ctrl()
125 static void dpu_hw_get_danger_status(struct dpu_hw_mdp *mdp, in dpu_hw_get_danger_status() argument
131 if (!mdp || !status) in dpu_hw_get_danger_status()
[all …]
Ddpu_hw_top.h52 u8 mdp; member
84 void (*setup_split_pipe)(struct dpu_hw_mdp *mdp,
92 void (*setup_traffic_shaper)(struct dpu_hw_mdp *mdp,
102 bool (*setup_clk_force_ctrl)(struct dpu_hw_mdp *mdp,
110 void (*get_danger_status)(struct dpu_hw_mdp *mdp,
118 void (*setup_vsync_source)(struct dpu_hw_mdp *mdp,
126 void (*get_safe_status)(struct dpu_hw_mdp *mdp,
133 void (*intf_audio_select)(struct dpu_hw_mdp *mdp);
158 void dpu_hw_mdp_destroy(struct dpu_hw_mdp *mdp);
Ddpu_vbif.c160 struct dpu_hw_mdp *mdp; in dpu_vbif_set_ot_limit() local
165 mdp = dpu_kms->hw_mdp; in dpu_vbif_set_ot_limit()
168 if (!vbif || !mdp) { in dpu_vbif_set_ot_limit()
170 vbif != NULL, mdp != NULL); in dpu_vbif_set_ot_limit()
174 if (!mdp->ops.setup_clk_force_ctrl || in dpu_vbif_set_ot_limit()
191 forced_on = mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, true); in dpu_vbif_set_ot_limit()
204 mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, false); in dpu_vbif_set_ot_limit()
211 struct dpu_hw_mdp *mdp; in dpu_vbif_set_qos_remap() local
220 mdp = dpu_kms->hw_mdp; in dpu_vbif_set_qos_remap()
229 if (!vbif->ops.set_qos_remap || !mdp->ops.setup_clk_force_ctrl) { in dpu_vbif_set_qos_remap()
[all …]
Ddpu_hw_sspp.c307 ctx->mdp->highest_bank_bit << 18); in dpu_hw_sspp_setup_format()
315 fast_clear | (ctx->mdp->ubwc_swizzle) | in dpu_hw_sspp_setup_format()
316 (ctx->mdp->highest_bank_bit << 4)); in dpu_hw_sspp_setup_format()
320 BIT(30) | (ctx->mdp->ubwc_swizzle) | in dpu_hw_sspp_setup_format()
321 (ctx->mdp->highest_bank_bit << 4)); in dpu_hw_sspp_setup_format()
734 hw_pipe->mdp = &catalog->mdp[0]; in dpu_hw_sspp_init()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/
Dmediatek-mdp.txt6 - compatible: "mediatek,mt8173-mdp"
12 "mediatek,mt8173-mdp-rdma" - read DMA
13 "mediatek,mt8173-mdp-rsz" - resizer
14 "mediatek,mt8173-mdp-wdma" - write DMA
15 "mediatek,mt8173-mdp-wrot" - write DMA with rotation
24 "mediatek,mt8173-mdp-rdma"
25 "mediatek,mt8173-mdp-wdma"
26 "mediatek,mt8173-mdp-wrot"
36 compatible = "mediatek,mt8173-mdp-rdma";
37 "mediatek,mt8173-mdp";
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cfg.c19 .mdp = {
103 .mdp = {
185 .mdp = {
280 .mdp = {
347 .mdp = {
422 .mdp = {
517 .mdp = {
625 .mdp = {
722 .mdp = {
807 .mdp = {
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iommu/
Dmsm,iommu-v0.txt41 Example: mdp iommu and its bus master
59 mdp: qcom,mdp@5100000 {
60 compatible = "qcom,mdp";
Dqcom,iommu.txt113 mdp: mdp@1a01000 {
/kernel/linux/linux-5.10/Documentation/admin-guide/LSM/
DSELinux.rst12 testing, you can do using ``mdp`` provided under
19 2. Type ``make`` to compile ``mdp``.
/kernel/linux/linux-5.10/scripts/selinux/
Dinstall_policy.sh39 cd mdp
40 ./mdp -m policy.conf file_contexts
DMakefile2 subdir-y := mdp genheaders
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt8173.dtsi46 mdp-rdma0 = &mdp_rdma0;
47 mdp-rdma1 = &mdp_rdma1;
48 mdp-rsz0 = &mdp_rsz0;
49 mdp-rsz1 = &mdp_rsz1;
50 mdp-rsz2 = &mdp_rsz2;
51 mdp-wdma0 = &mdp_wdma0;
52 mdp-wrot0 = &mdp_wrot0;
53 mdp-wrot1 = &mdp_wrot1;
938 compatible = "mediatek,mt8173-mdp-rdma",
939 "mediatek,mt8173-mdp";
[all …]
/kernel/linux/linux-5.10/scripts/selinux/mdp/
D.gitignore2 mdp
DMakefile2 hostprogs-always-y += mdp
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/msm/
Dmdp4.txt66 mdp: mdp@5100000 {
Ddpu.txt47 * "mdp"
105 mdss_mdp: mdp@ae01000 {
108 reg-names = "mdp", "vbif";
Ddsi.txt127 - qcom,mdss-mdp-transfer-time-us: Specifies the dsi transfer time for command mode
130 Increasing this value would slow down the mdp processing
132 Decreasing this value can speed up the mdp processing,
151 interrupt-parent = <&mdp>;
191 qcom,mdss-mdp-transfer-time-us = <12000>;

123