| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/mediatek/ |
| D | mediatek,merge.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,merge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek display merge 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Philipp Zabel <p.zabel@pengutronix.de> 14 Mediatek display merge, namely MERGE, is used to merge two slice-per-line 15 inputs into one side-by-side output. 16 MERGE device node must be siblings to the central MMSYS_CONFIG node. [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| D | nv50.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 29 #include <engine/fifo.h> 35 return fb->func->ram_new(&fb->base, pram); in nv50_fb_ram_new() 138 struct nvkm_subdev *subdev = &fb->base.subdev; in nv50_fb_intr() 139 struct nvkm_device *device = subdev->device; in nv50_fb_intr() 140 struct nvkm_fifo *fifo = device->fifo; in nv50_fb_intr() local 142 const struct nvkm_enum *en, *re, *cl, *sc; in nv50_fb_intr() local 160 if (device->chipset < 0xa3 || in nv50_fb_intr() 161 device->chipset == 0xaa || device->chipset == 0xac) { in nv50_fb_intr() 174 en = nvkm_enum_find(vm_engine, st0); in nv50_fb_intr() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
| D | gt215.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 30 #include <engine/fifo.h> 45 struct nvkm_subdev *subdev = &ce->engine.subdev; in gt215_ce_intr() 46 struct nvkm_device *device = subdev->device; in gt215_ce_intr() 47 const u32 base = (subdev->index - NVKM_ENGINE_CE0) * 0x1000; in gt215_ce_intr() 53 const struct nvkm_enum *en = in gt215_ce_intr() local 58 en ? en->name : "", chan ? chan->chid : -1, in gt215_ce_intr() 59 chan ? chan->inst->addr : 0, in gt215_ce_intr() 60 chan ? chan->object.client->name : "unknown", in gt215_ce_intr() 72 { -1, -1, GT212_DMA }, [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
| D | gt215.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 30 #include <engine/fifo.h> 45 struct nvkm_subdev *subdev = &ce->engine.subdev; in gt215_ce_intr() 46 struct nvkm_device *device = subdev->device; in gt215_ce_intr() 47 const u32 base = subdev->inst * 0x1000; in gt215_ce_intr() 53 const struct nvkm_enum *en = in gt215_ce_intr() local 58 en ? en->name : "", chan ? chan->id : -1, in gt215_ce_intr() 59 chan ? chan->inst->addr : 0, in gt215_ce_intr() 60 chan ? chan->name : "unknown", in gt215_ce_intr() 72 { -1, -1, GT212_DMA }, [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/sec/ |
| D | g98.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 25 #include <engine/fifo.h> 45 struct nvkm_subdev *subdev = &sec->engine.subdev; in g98_sec_intr() 46 struct nvkm_device *device = subdev->device; in g98_sec_intr() 52 const struct nvkm_enum *en = in g98_sec_intr() local 57 en ? en->name : "UNKNOWN", chan ? chan->chid : -1, in g98_sec_intr() 58 chan ? chan->inst->addr : 0, in g98_sec_intr() 59 chan ? chan->object.client->name : "unknown", in g98_sec_intr() 71 { -1, -1, G98_SEC },
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/sec/ |
| D | g98.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 25 #include <engine/fifo.h> 45 struct nvkm_subdev *subdev = &sec->engine.subdev; in g98_sec_intr() 46 struct nvkm_device *device = subdev->device; in g98_sec_intr() 52 const struct nvkm_enum *en = in g98_sec_intr() local 57 en ? en->name : "UNKNOWN", chan ? chan->id : -1, in g98_sec_intr() 58 chan ? chan->inst->addr : 0, in g98_sec_intr() 59 chan ? chan->name : "unknown", in g98_sec_intr() 71 { -1, -1, G98_SEC },
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| D | gk104.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 52 gk104_fifo_engine_status(struct gk104_fifo *fifo, int engn, in gk104_fifo_engine_status() argument 55 struct nvkm_engine *engine = fifo->engine[engn].engine; in gk104_fifo_engine_status() 56 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gk104_fifo_engine_status() 57 struct nvkm_device *device = subdev->device; in gk104_fifo_engine_status() 60 status->busy = !!(stat & 0x80000000); in gk104_fifo_engine_status() 61 status->faulted = !!(stat & 0x40000000); in gk104_fifo_engine_status() 62 status->next.tsg = !!(stat & 0x10000000); in gk104_fifo_engine_status() 63 status->next.id = (stat & 0x0fff0000) >> 16; in gk104_fifo_engine_status() 64 status->chsw = !!(stat & 0x00008000); in gk104_fifo_engine_status() [all …]
|
| D | gf100.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 37 gf100_fifo_uevent_init(struct nvkm_fifo *fifo) in gf100_fifo_uevent_init() argument 39 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_init() 44 gf100_fifo_uevent_fini(struct nvkm_fifo *fifo) in gf100_fifo_uevent_fini() argument 46 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_fini() 51 gf100_fifo_runlist_commit(struct gf100_fifo *fifo) in gf100_fifo_runlist_commit() argument 54 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gf100_fifo_runlist_commit() 55 struct nvkm_device *device = subdev->device; in gf100_fifo_runlist_commit() 60 mutex_lock(&subdev->mutex); in gf100_fifo_runlist_commit() 61 cur = fifo->runlist.mem[fifo->runlist.active]; in gf100_fifo_runlist_commit() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
| D | nv50.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 29 #include <engine/fifo.h> 35 return fb->func->ram_new(&fb->base, pram); in nv50_fb_ram_new() 138 struct nvkm_subdev *subdev = &fb->base.subdev; in nv50_fb_intr() 139 struct nvkm_device *device = subdev->device; in nv50_fb_intr() 141 const struct nvkm_enum *en, *re, *cl, *sc; in nv50_fb_intr() local 159 if (device->chipset < 0xa3 || in nv50_fb_intr() 160 device->chipset == 0xaa || device->chipset == 0xac) { in nv50_fb_intr() 173 en = nvkm_enum_find(vm_engine, st0); in nv50_fb_intr() 176 if (cl && cl->data) sc = nvkm_enum_find(cl->data, st3); in nv50_fb_intr() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-i2c.c | 37 * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 97 * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 125 #include "xgbe-common.h" 149 XI2C_IOWRITE_BITS(pdata, IC_ENABLE, EN, 1); in xgbe_i2c_abort() 154 while (wait--) { in xgbe_i2c_abort() 161 return -EBUSY; in xgbe_i2c_abort() 169 while (wait--) { in xgbe_i2c_set_enable() 170 XI2C_IOWRITE_BITS(pdata, IC_ENABLE, EN, mode); in xgbe_i2c_set_enable() 171 if (XI2C_IOREAD_BITS(pdata, IC_ENABLE_STATUS, EN) == mode) in xgbe_i2c_set_enable() 177 return -EBUSY; in xgbe_i2c_set_enable() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
| D | xgbe-i2c.c | 37 * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 97 * copy, modify, merge, publish, distribute, sublicense, and/or sell copies 125 #include "xgbe-common.h" 149 XI2C_IOWRITE_BITS(pdata, IC_ENABLE, EN, 1); in xgbe_i2c_abort() 154 while (wait--) { in xgbe_i2c_abort() 161 return -EBUSY; in xgbe_i2c_abort() 169 while (wait--) { in xgbe_i2c_set_enable() 170 XI2C_IOWRITE_BITS(pdata, IC_ENABLE, EN, mode); in xgbe_i2c_set_enable() 171 if (XI2C_IOREAD_BITS(pdata, IC_ENABLE_STATUS, EN) == mode) in xgbe_i2c_set_enable() 177 return -EBUSY; in xgbe_i2c_set_enable() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| D | gk104.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 42 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_stop() 44 nvkm_mask(device, 0x800004 + (chan->id * 8), 0x00000800, 0x00000800); in gk104_chan_stop() 50 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_start() 52 nvkm_mask(device, 0x800004 + (chan->id * 8), 0x00000400, 0x00000400); in gk104_chan_start() 58 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_unbind() 60 nvkm_wr32(device, 0x800000 + (chan->id * 8), 0x00000000); in gk104_chan_unbind() 66 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gk104_chan_bind_inst() 68 nvkm_wr32(device, 0x800000 + (chan->id * 8), 0x80000000 | chan->inst->addr >> 12); in gk104_chan_bind_inst() 74 struct nvkm_runl *runl = chan->cgrp->runl; in gk104_chan_bind() [all …]
|
| D | gf100.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 43 nvkm_wr32(chan->cgrp->runl->fifo->engine.subdev.device, 0x002634, chan->id); in gf100_chan_preempt() 49 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gf100_chan_stop() 51 nvkm_mask(device, 0x003004 + (chan->id * 8), 0x00000001, 0x00000000); in gf100_chan_stop() 57 struct nvkm_device *device = chan->cgrp->runl->fifo->engine.subdev.device; in gf100_chan_start() 59 nvkm_wr32(device, 0x003004 + (chan->id * 8), 0x001f0001); in gf100_chan_start() 67 struct nvkm_fifo *fifo = chan->cgrp->runl->fifo; in gf100_chan_unbind() local 68 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_chan_unbind() 70 /*TODO: Is this cargo-culted, or necessary? RM does *something* here... Why? */ in gf100_chan_unbind() 71 gf100_fifo_intr_engine(fifo); in gf100_chan_unbind() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
| D | mtk_disp_merge.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/soc/mediatek/mtk-cmdq.h> 87 if (priv->mute_support) in mtk_merge_start_cmdq() 88 mtk_ddp_write(cmdq_pkt, 0x0, &priv->cmdq_reg, priv->regs, in mtk_merge_start_cmdq() 91 mtk_ddp_write(cmdq_pkt, 1, &priv->cmdq_reg, priv->regs, in mtk_merge_start_cmdq() 99 if (priv->mute_support) in mtk_merge_stop_cmdq() 100 mtk_ddp_write(cmdq_pkt, 0x1, &priv->cmdq_reg, priv->regs, in mtk_merge_stop_cmdq() 103 mtk_ddp_write(cmdq_pkt, 0, &priv->cmdq_reg, priv->regs, in mtk_merge_stop_cmdq() 106 if (!cmdq_pkt && priv->async_clk) in mtk_merge_stop_cmdq() 107 reset_control_reset(priv->reset_ctl); in mtk_merge_stop_cmdq() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| D | nv50.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 28 #include <engine/fifo.h> 35 return nvkm_rd32(gr->engine.subdev.device, 0x1540); in nv50_gr_units() 46 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, in nv50_gr_object_bind() 50 nvkm_wo32(*pgpuobj, 0x00, object->oclass); in nv50_gr_object_bind() 72 struct nv50_gr *gr = nv50_gr_chan(object)->gr; in nv50_gr_chan_bind() 73 int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size, in nv50_gr_chan_bind() 77 nv50_grctx_fill(gr->base.engine.subdev.device, *pgpuobj); in nv50_gr_chan_bind() 96 return -ENOMEM; in nv50_gr_chan_new() 97 nvkm_object_ctor(&nv50_gr_chan, oclass, &chan->object); in nv50_gr_chan_new() [all …]
|
| D | gf100.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 37 #include <engine/fifo.h> 51 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_zbc_clear_color() 52 if (gr->zbc_color[zbc].format) { in gf100_gr_zbc_clear_color() 53 nvkm_wr32(device, 0x405804, gr->zbc_color[zbc].ds[0]); in gf100_gr_zbc_clear_color() 54 nvkm_wr32(device, 0x405808, gr->zbc_color[zbc].ds[1]); in gf100_gr_zbc_clear_color() 55 nvkm_wr32(device, 0x40580c, gr->zbc_color[zbc].ds[2]); in gf100_gr_zbc_clear_color() 56 nvkm_wr32(device, 0x405810, gr->zbc_color[zbc].ds[3]); in gf100_gr_zbc_clear_color() 58 nvkm_wr32(device, 0x405814, gr->zbc_color[zbc].format); in gf100_gr_zbc_clear_color() 67 struct nvkm_ltc *ltc = gr->base.engine.subdev.device->ltc; in gf100_gr_zbc_color_get() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | smu_v11_0_i2c.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 50 static void smu_v11_0_i2c_set_clock_gating(struct i2c_adapter *control, bool en) in smu_v11_0_i2c_set_clock_gating() argument 55 reg = REG_SET_FIELD(reg, SMUIO_PWRMGT, i2c_clk_gate_en, en ? 1 : 0); in smu_v11_0_i2c_set_clock_gating() 120 /* Convert fromr 8-bit to 7-bit address */ in smu_v11_0_i2c_set_address() 213 * smu_v11_0_i2c_transmit - Send a block of data over the I2C bus to a slave device. 276 numbytes--; in smu_v11_0_i2c_transmit() 284 * We waited too long for the transmission FIFO to become not-full. in smu_v11_0_i2c_transmit() 314 * smu_v11_0_i2c_receive - Receive a block of data over the I2C bus from a slave device. 383 numbytes--; in smu_v11_0_i2c_receive() 543 ret = smu_v11_0_i2c_receive(control, address, data + 2, numbytes - 2, in smu_v11_0_i2c_read_data() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| D | nv50.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 28 #include <engine/fifo.h> 35 return nvkm_rd32(gr->engine.subdev.device, 0x1540); in nv50_gr_units() 46 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, in nv50_gr_object_bind() 50 nvkm_wo32(*pgpuobj, 0x00, object->oclass); in nv50_gr_object_bind() 72 struct nv50_gr *gr = nv50_gr_chan(object)->gr; in nv50_gr_chan_bind() 73 int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size, in nv50_gr_chan_bind() 77 nv50_grctx_fill(gr->base.engine.subdev.device, *pgpuobj); in nv50_gr_chan_bind() 96 return -ENOMEM; in nv50_gr_chan_new() 97 nvkm_object_ctor(&nv50_gr_chan, oclass, &chan->object); in nv50_gr_chan_new() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | smu_v11_0_i2c.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 47 static void smu_v11_0_i2c_set_clock_gating(struct i2c_adapter *control, bool en) in smu_v11_0_i2c_set_clock_gating() argument 50 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_set_clock_gating() 53 reg = REG_SET_FIELD(reg, SMUIO_PWRMGT, i2c_clk_gate_en, en ? 1 : 0); in smu_v11_0_i2c_set_clock_gating() 62 * I2C data transfer mode is 400 kb/s, then t_i2c_poll is 25 us." -- 79 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_enable() 86 for (ii = I2C_MAX_T_POLL_COUNT; ii > 0; ii--) { in smu_v11_0_i2c_enable() 105 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_clear_status() 116 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_configure() 124 * 1: standard mode, 0 - 100 Kb/s, in smu_v11_0_i2c_configure() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | ls1021a.dtsi | 2 * Copyright 2013-2014 Freescale Semiconductor, Inc. 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 30 * copy, modify, merge, publish, distribute, sublicense, and/or 48 #include <dt-bindings/interrupt-controller/arm-gic.h> 49 #include <dt-bindings/thermal/thermal.h> 52 #address-cells = <2>; 53 #size-cells = <2>; 55 interrupt-parent = <&gic>; 73 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_display_types.h | 3 * Copyright (c) 2007-2008 Intel Corporation 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 44 #include <media/cec-notifier.h> 56 /* these are outputs from the chip - integrated only 74 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 96 /* for each plane in the rotated GTT view for no-CCS formats */ 185 * state. This must be called _after_ display->get_pipe_config has 186 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 257 * and the bus-specific code. What that means is that HDCP over HDMI differs 262 * - DP AUX vs. DDC [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
| D | enetc_ethtool.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /* Copyright 2017-2019 NXP */ 44 struct enetc_hw *hw = &priv->si->hw; in enetc_get_reglen() 48 len += ARRAY_SIZE(enetc_txbdr_regs) * priv->num_tx_rings; in enetc_get_reglen() 49 len += ARRAY_SIZE(enetc_rxbdr_regs) * priv->num_rx_rings; in enetc_get_reglen() 51 if (hw->port) in enetc_get_reglen() 54 if (hw->port && !!(priv->si->hw_features & ENETC_SI_F_QBU)) in enetc_get_reglen() 66 struct enetc_hw *hw = &priv->si->hw; in enetc_get_regs() 76 for (i = 0; i < priv->num_tx_rings; i++) { in enetc_get_regs() 85 for (i = 0; i < priv->num_rx_rings; i++) { in enetc_get_regs() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_display_types.h | 3 * Copyright (c) 2007-2008 Intel Corporation 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 47 #include <media/cec-notifier.h> 69 /* these are outputs from the chip - integrated only 87 HDMI_AUDIO_OFF_DVI = -2, /* no aux data for HDMI-DVI converter */ 103 * create the DMA scatter-gather list for each FB color plane. This sg 115 * in the rotated and remapped GTT view all no-CCS formats (up to 2 206 * state. This must be called _after_ display->get_pipe_config has 207 * pre-filled the pipe config. Note that intel_encoder->base.crtc must 422 * and the bus-specific code. What that means is that HDCP over HDMI differs [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt8195.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/clock/mt8195-clk.h> 9 #include <dt-bindings/gce/mt8195-gce.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/memory/mt8195-memory-port.h> 13 #include <dt-bindings/phy/phy.h> 14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 15 #include <dt-bindings/power/mt8195-power.h> [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| D | amdgpu_dm_helpers.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 49 return (u32)edid->mfg_id[0] << 24 | in edid_extract_panel_id() 50 (u32)edid->mfg_id[1] << 16 | in edid_extract_panel_id() 64 edid_caps->panel_patch.disable_fams = true; in apply_edid_quirks() 72 edid_caps->panel_patch.remove_sink_ext_caps = true; in apply_edid_quirks() 76 edid_caps->panel_patch.disable_colorimetry = true; in apply_edid_quirks() 84 * dm_helpers_parse_edid_caps() - Parse edid caps 97 struct amdgpu_dm_connector *aconnector = link->priv; in dm_helpers_parse_edid_caps() 98 struct drm_connector *connector = &aconnector->base; in dm_helpers_parse_edid_caps() 99 struct edid *edid_buf = edid ? (struct edid *) edid->raw_edid : NULL; in dm_helpers_parse_edid_caps() [all …]
|