/linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/ |
H A 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 …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/sec/ |
H A 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 },
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A 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 …]
|
/linux/drivers/net/ethernet/amd/xgbe/ |
H A 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 …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A 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 …]
|
H A 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 …]
|
/linux/drivers/gpu/drm/mediatek/ |
H A 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 …]
|
/linux/Documentation/translations/sp_SP/process/ |
H A D | maintainer-kvm-x86.rst | 1 .. include:: ../disclaimer-sp.rst 3 :Original: Documentation/process/maintainer-kvm-x86.rst 10 -------- 15 principiantes en algún momento. Mientras haga un esfuerzo honesto por 21 ----- 26 ------- 27 KVM x86 se encuentra actualmente en un período de transición de ser parte 31 x86, ``github.com/kvm-x86/linux.git``. 33 Por lo general, las correcciones para el ciclo en curso se aplican 35 para el siguiente ciclo se dirige a través del árbol de KVM x86. En el [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A 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 …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A 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 …]
|
/linux/drivers/media/i2c/ |
H A D | tc358746.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TC358746 - Parallel <-> CSI-2 Bridge 8 * - Currently only 'Parallel-in -> CSI-out' mode is supported! 13 #include <linux/clk-provider.h> 19 #include <linux/phy/phy-mipi-dphy.h> 24 #include <media/v4l2-ctrls.h> 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-fwnode.h> 27 #include <media/v4l2-mc.h> 29 /* 16-bit registers */ [all …]
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A 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 …]
|
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | sienna_cichlid_ppt.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 78 if (amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == \ 80 (*member) = (smu->smu_table.driver_pptable + \ 83 (*member) = (smu->smu_table.driver_pptable + \ 87 /* STB FIFO depth is in 64bit units */ 98 if (amdgpu_ip_version(smu->adev, MP1_HWIP, 0) == IP_VERSION(11, 0, 13)) in get_table_size() 282 struct amdgpu_device *adev = smu->adev; in sienna_cichlid_get_allowed_feature_mask() 285 return -EINVAL; in sienna_cichlid_get_allowed_feature_mask() 310 if (adev->pm.pp_feature & PP_SCLK_DPM_MASK) { in sienna_cichlid_get_allowed_feature_mask() 315 if ((adev->pm.pp_feature & PP_GFX_DCS_MASK) && in sienna_cichlid_get_allowed_feature_mask() [all …]
|
/linux/drivers/usb/gadget/function/ |
H A D | f_ncm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_ncm.c -- USB CDC Network (NCM) link function driver 10 * Copyright (C) 2003-2005,2008 David Brownell 31 * NCM is intended to be used with high-speed network attachments. 38 /* to trigger crc/non-crc ndp signature */ 72 /* For multi-frame NDP TX */ 84 /*- [all...] |
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_helpers.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 53 return (u32)edid->mfg_id[0] << 24 | in edid_extract_panel_id() 54 (u32)edid->mfg_id[1] << 16 | in edid_extract_panel_id() 68 edid_caps->panel_patch.disable_fams = true; in apply_edid_quirks() 77 edid_caps->panel_patch.remove_sink_ext_caps = true; in apply_edid_quirks() 81 edid_caps->panel_patch.disable_colorimetry = true; in apply_edid_quirks() 89 * dm_helpers_parse_edid_caps() - Parse edid caps 102 struct amdgpu_dm_connector *aconnector = link->priv; in dm_helpers_parse_edid_caps() 103 struct drm_connector *connector = &aconnector->base; in dm_helpers_parse_edid_caps() 104 struct edid *edid_buf = edid ? (struct edid *) edid->raw_edid : NULL; in dm_helpers_parse_edid_caps() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 87 p = 3 * wx - w; in dml32_dscceComputeDelay() 91 L = (ax + wx - 1) / wx; in dml32_dscceComputeDelay() 96 Delay = L * wx * (numSlices - 1) + ax + s + lstall + 22; in dml32_dscceComputeDelay() 123 // dscc - input deserializer in dml32_dscComputeDelay() 127 // dscc - input cdc fifo in dml32_dscComputeDelay() 131 // dscc - cdc uncertainty in dml32_dscComputeDelay() 133 // dscc - output cdc fifo in dml32_dscComputeDelay() 137 // dscc - cdc uncertainty in dml32_dscComputeDelay() 139 // dscc - output serializer in dml32_dscComputeDelay() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | display_mode_core.c | 1 /* SPDX-License-Identifier: MIT */ 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 36 // --------------------------- 38 // --------------------------- 834 // --------------------------- 836 // --------------------------- 894 p = 3 * wx - w; in dscceComputeDelay() 898 L = (ax + wx - 1) / wx; in dscceComputeDelay() 903 Delay = L * wx * (numSlices - 1) + ax + s + lstall + 22; in dscceComputeDelay() 929 // dscc - input deserializer in dscComputeDelay() [all …]
|