/linux/drivers/pwm/ |
A D | pwm-mtk-disp.c | 83 mtk_disp_pwm_update_bits(mdp, DISP_PWM_EN, mdp->data->enable_mask, in mtk_disp_pwm_apply() 141 mtk_disp_pwm_update_bits(mdp, mdp->data->con0, in mtk_disp_pwm_apply() 144 mtk_disp_pwm_update_bits(mdp, mdp->data->con1, in mtk_disp_pwm_apply() 149 mtk_disp_pwm_update_bits(mdp, mdp->data->commit, in mtk_disp_pwm_apply() 152 mtk_disp_pwm_update_bits(mdp, mdp->data->commit, in mtk_disp_pwm_apply() 160 mtk_disp_pwm_update_bits(mdp, mdp->data->bls_debug, in mtk_disp_pwm_apply() 163 mtk_disp_pwm_update_bits(mdp, mdp->data->con0, in mtk_disp_pwm_apply() 198 con0 = readl(mdp->base + mdp->data->con0); in mtk_disp_pwm_get_state() 199 con1 = readl(mdp->base + mdp->data->con1); in mtk_disp_pwm_get_state() 227 mdp = devm_kzalloc(&pdev->dev, sizeof(*mdp), GFP_KERNEL); in mtk_disp_pwm_probe() [all …]
|
/linux/drivers/net/ethernet/renesas/ |
A D | sh_eth.c | 1241 for (; mdp->cur_tx - mdp->dirty_tx > 0; mdp->dirty_tx++) { in sh_eth_tx_free() 1242 entry = mdp->dirty_tx % mdp->num_tx_ring; in sh_eth_tx_free() 1415 mdp->rx_skbuff = kcalloc(mdp->num_rx_ring, sizeof(*mdp->rx_skbuff), in sh_eth_ring_init() 1420 mdp->tx_skbuff = kcalloc(mdp->num_tx_ring, sizeof(*mdp->tx_skbuff), in sh_eth_ring_init() 1592 int boguscnt = (mdp->dirty_rx + mdp->num_rx_ring) - mdp->cur_rx; in sh_eth_rx() 1672 for (; mdp->cur_rx - mdp->dirty_rx > 0; mdp->dirty_rx++) { in sh_eth_rx() 1673 entry = mdp->dirty_rx % mdp->num_rx_ring; in sh_eth_rx() 1951 if (mdp->cd->no_psr || mdp->no_ether_link) in sh_eth_adjust_link() 2017 mdp->mii_bus->id, mdp->phy_id); in sh_eth_phy_init() 2504 if ((mdp->cur_tx - mdp->dirty_tx) >= (mdp->num_tx_ring - 4)) { in sh_eth_start_xmit() [all …]
|
/linux/drivers/media/platform/mtk-mdp/ |
A D | mtk_mdp_core.c | 91 queue_work(mdp->wdt_wq, &mdp->wdt_work); in mtk_mdp_reset_handler() 108 struct mtk_mdp_dev *mdp; in mtk_mdp_probe() local 114 mdp = devm_kzalloc(dev, sizeof(*mdp), GFP_KERNEL); in mtk_mdp_probe() 115 if (!mdp) in mtk_mdp_probe() 118 mdp->id = pdev->id; in mtk_mdp_probe() 119 mdp->pdev = pdev; in mtk_mdp_probe() 123 mutex_init(&mdp->lock); in mtk_mdp_probe() 170 if (!mdp->job_wq) { in mtk_mdp_probe() 177 if (!mdp->wdt_wq) { in mtk_mdp_probe() 198 ret = vpu_wdt_reg_handler(mdp->vpu_dev, mtk_mdp_reset_handler, mdp, in mtk_mdp_probe() [all …]
|
A D | mtk_mdp_m2m.c | 1080 ctx->mdp_dev = mdp; in mtk_mdp_m2m_open() 1109 mutex_unlock(&mdp->lock); in mtk_mdp_m2m_open() 1126 mdp->ctx_num--; in mtk_mdp_m2m_open() 1146 mutex_lock(&mdp->lock); in mtk_mdp_m2m_release() 1152 mdp->ctx_num--; in mtk_mdp_m2m_release() 1183 if (!mdp->vdev) { in mtk_mdp_register_m2m_device() 1192 mdp->vdev->lock = &mdp->lock; in mtk_mdp_register_m2m_device() 1194 mdp->vdev->v4l2_dev = &mdp->v4l2_dev; in mtk_mdp_register_m2m_device() 1195 snprintf(mdp->vdev->name, sizeof(mdp->vdev->name), "%s:m2m", in mtk_mdp_register_m2m_device() 1197 video_set_drvdata(mdp->vdev, mdp); in mtk_mdp_register_m2m_device() [all …]
|
A D | Makefile | 2 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
|
A D | mtk_mdp_m2m.h | 11 int mtk_mdp_register_m2m_device(struct mtk_mdp_dev *mdp); 12 void mtk_mdp_unregister_m2m_device(struct mtk_mdp_dev *mdp);
|
A D | mtk_mdp_vpu.c | 63 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()
|
A D | mtk_mdp_core.h | 224 void mtk_mdp_register_component(struct mtk_mdp_dev *mdp, 227 void mtk_mdp_unregister_component(struct mtk_mdp_dev *mdp,
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
A D | dpu_hw_top.c | 63 c = &mdp->hw; in dpu_hw_setup_split_pipe() 99 if (!mdp) in dpu_hw_setup_clk_force_ctrl() 102 c = &mdp->hw; in dpu_hw_setup_clk_force_ctrl() 134 c = &mdp->hw; in dpu_hw_get_danger_status() 255 if (!mdp) in dpu_hw_intf_audio_select() 285 if (mdp == m->mdp[i].id) { in _top_offset() 308 mdp = kzalloc(sizeof(*mdp), GFP_KERNEL); in dpu_hw_mdptop_init() 309 if (!mdp) in dpu_hw_mdptop_init() 323 _setup_mdp_ops(&mdp->ops, mdp->caps->features); in dpu_hw_mdptop_init() 325 return mdp; in dpu_hw_mdptop_init() [all …]
|
A D | dpu_hw_top.h | 52 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);
|
A D | dpu_vbif.c | 152 struct dpu_hw_mdp *mdp; in dpu_vbif_set_ot_limit() local 157 mdp = dpu_kms->hw_mdp; in dpu_vbif_set_ot_limit() 165 if (!vbif || !mdp) { in dpu_vbif_set_ot_limit() 167 vbif != NULL, mdp != NULL); in dpu_vbif_set_ot_limit() 171 if (!mdp->ops.setup_clk_force_ctrl || in dpu_vbif_set_ot_limit() 188 forced_on = mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, true); in dpu_vbif_set_ot_limit() 201 mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, false); in dpu_vbif_set_ot_limit() 208 struct dpu_hw_mdp *mdp; in dpu_vbif_set_qos_remap() local 217 mdp = dpu_kms->hw_mdp; in dpu_vbif_set_qos_remap() 245 forced_on = mdp->ops.setup_clk_force_ctrl(mdp, params->clk_ctrl, true); in dpu_vbif_set_qos_remap() [all …]
|
A D | dpu_hw_sspp.c | 307 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() 733 hw_pipe->mdp = &catalog->mdp[0]; in dpu_hw_sspp_init()
|
/linux/Documentation/devicetree/bindings/media/ |
A D | mediatek-mdp.txt | 6 - compatible: "mediatek,mt8173-mdp" 12 "mediatek,mt8173-mdp-rdma" - read DMA 13 "mediatek,mt8173-mdp-rsz" - resizer 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"; 58 compatible = "mediatek,mt8173-mdp-rsz"; 65 compatible = "mediatek,mt8173-mdp-rsz"; [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_cfg.c | 19 .mdp = { 108 .mdp = { 195 .mdp = { 295 .mdp = { 367 .mdp = { 447 .mdp = { 547 .mdp = { 660 .mdp = { 757 .mdp = { 845 .mdp = { [all …]
|
/linux/Documentation/devicetree/bindings/iommu/ |
A D | msm,iommu-v0.txt | 41 Example: mdp iommu and its bus master 59 mdp: qcom,mdp@5100000 { 60 compatible = "qcom,mdp";
|
/linux/arch/arm64/boot/dts/mediatek/ |
A D | mt8173.dtsi | 46 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; 998 "mediatek,mt8173-mdp"; 1019 compatible = "mediatek,mt8173-mdp-rsz"; [all …]
|
/linux/scripts/selinux/ |
A D | install_policy.sh | 39 cd mdp 40 ./mdp -m policy.conf file_contexts
|
A D | Makefile | 2 subdir-y := mdp genheaders
|
/linux/Documentation/admin-guide/LSM/ |
A D | SELinux.rst | 12 testing, you can do using ``mdp`` provided under 19 2. Type ``make`` to compile ``mdp``.
|
/linux/Documentation/devicetree/bindings/display/msm/ |
A D | dpu-sdm845.yaml | 74 - description: Address offset and size for mdp register set 79 - const: mdp 179 reg-names = "mdp", "vbif";
|
A D | dpu-sc7180.yaml | 80 - description: Address offset and size for mdp register set 85 - const: mdp 192 reg-names = "mdp", "vbif";
|
A D | dpu-sc7280.yaml | 78 - description: Address offset and size for mdp register set 83 - const: mdp 192 reg-names = "mdp", "vbif";
|
A D | mdp4.txt | 66 mdp: mdp@5100000 {
|
/linux/scripts/selinux/mdp/ |
A D | .gitignore | 2 mdp
|
A D | Makefile | 2 hostprogs-always-y += mdp
|