| /kernel/linux/linux-6.6/drivers/dma/ |
| D | txx9dmac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/dma-mapping.h> 24 static struct txx9dmac_cregs __iomem *__dma_regs(const struct txx9dmac_chan *dc) in __dma_regs() argument 26 return dc->ch_regs; in __dma_regs() 30 const struct txx9dmac_chan *dc) in __dma_regs32() argument 32 return dc->ch_regs; in __dma_regs32() 35 #define channel64_readq(dc, name) \ argument 36 __raw_readq(&(__dma_regs(dc)->name)) 37 #define channel64_writeq(dc, name, val) \ argument 38 __raw_writeq((val), &(__dma_regs(dc)->name)) [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| D | txx9dmac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/dma-mapping.h> 24 static struct txx9dmac_cregs __iomem *__dma_regs(const struct txx9dmac_chan *dc) in __dma_regs() argument 26 return dc->ch_regs; in __dma_regs() 30 const struct txx9dmac_chan *dc) in __dma_regs32() argument 32 return dc->ch_regs; in __dma_regs32() 35 #define channel64_readq(dc, name) \ argument 36 __raw_readq(&(__dma_regs(dc)->name)) 37 #define channel64_writeq(dc, name, val) \ argument 38 __raw_writeq((val), &(__dma_regs(dc)->name)) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/ |
| D | dcn10_hw_sequencer.h | 2 * Copyright 2016-2020 Advanced Micro Devices, Inc. 32 struct dc; 34 void dcn10_hw_sequencer_construct(struct dc *dc); 38 struct dc *dc, 42 void dcn10_setup_vupdate_interrupt(struct dc *dc, struct pipe_ctx *pipe_ctx); 46 struct dc *dc); 48 struct dc *dc, 51 struct dc *dc, 54 struct dc *dc, 57 void dcn10_cursor_lock(struct dc *dc, struct pipe_ctx *pipe, bool lock); [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/ |
| D | nozomi.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * nozomi.c -- HSDPA driver Broadband Wireless Data Card - Globe Trotter 18 * -------------------------------------------------------------------------- 25 * -------------------------------------------------------------------------- 81 if (tbuf[data_len - 2] == '\r') \ 82 tbuf[data_len - 2] = 'r'; \ 152 F32_2 = 2048, /* 512 bytes downlink + uplink * 2 -> 2048 */ 153 F32_8 = 8192, /* 3072 bytes downl. + 1024 bytes uplink * 2 -> 8192 */ 177 CTRL_ERROR = -1, 187 PORT_ERROR = -1, [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/ |
| D | nozomi.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * nozomi.c -- HSDPA driver Broadband Wireless Data Card - Globe Trotter 18 * -------------------------------------------------------------------------- 25 * -------------------------------------------------------------------------- 78 if (tbuf[data_len - 2] == '\r') \ 79 tbuf[data_len - 2] = 'r'; \ 148 F32_2 = 2048, /* 512 bytes downlink + uplink * 2 -> 2048 */ 149 F32_8 = 8192, /* 3072 bytes downl. + 1024 bytes uplink * 2 -> 8192 */ 173 CTRL_ERROR = -1, 183 PORT_ERROR = -1, [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc.c | 27 #include "dc.h" 81 dc->ctx 84 dc->ctx->logger 86 static const char DC_BUILD_ID[] = "production-build"; 91 * DC is the OS-agnostic component of the amdgpu DC driver. 93 * DC maintains and validates a set of structs representing the state of the 96 * Main DC HW structs: 98 * struct dc - The central struct. One per driver. Created on driver load, 101 * struct dc_context - One per driver. 102 * Used as a backpointer by most other structs in dc. [all …]
|
| D | dc_link_exports.c | 27 * This file provides single entrance to link functionality declared in dc 32 * When exporting a new link related dc function, add function declaration in 33 * dc.h with detail interface documentation, then add function implementation 38 struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index) in dc_get_link_at_index() argument 43 return dc->links[link_index]; in dc_get_link_at_index() 46 void dc_get_edp_links(const struct dc *dc, in dc_get_edp_links() argument 53 for (i = 0; i < dc->link_count; i++) { in dc_get_edp_links() 55 if (!dc->links[i]) in dc_get_edp_links() 57 if (dc->links[i]->connector_signal == SIGNAL_TYPE_EDP) { in dc_get_edp_links() 58 edp_links[*edp_num] = dc->links[i]; in dc_get_edp_links() [all …]
|
| D | dc_stream.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 28 #include "dc.h" 35 #define DC_LOGGER dc->ctx->logger 42 if (sink->sink_signal == SIGNAL_TYPE_NONE) in update_stream_signal() 43 stream->signal = stream->link->connector_signal; in update_stream_signal() 45 stream->signal = sink->sink_signal; in update_stream_signal() 47 if (dc_is_dvi_signal(stream->signal)) { in update_stream_signal() 48 if (stream->ctx->dc->caps.dual_link_dvi && in update_stream_signal() 49 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal() 50 sink->sink_signal != SIGNAL_TYPE_DVI_SINGLE_LINK) in update_stream_signal() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
| D | dc.c | 30 #include "dc.h" 74 dc->ctx 77 dc->ctx->logger 79 static const char DC_BUILD_ID[] = "production-build"; 84 * DC is the OS-agnostic component of the amdgpu DC driver. 86 * DC maintains and validates a set of structs representing the state of the 89 * Main DC HW structs: 91 * struct dc - The central struct. One per driver. Created on driver load, 94 * struct dc_context - One per driver. 95 * Used as a backpointer by most other structs in dc. [all …]
|
| D | dc_stream.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 31 #include "dc.h" 37 #define DC_LOGGER dc->ctx->logger 44 if (sink->sink_signal == SIGNAL_TYPE_NONE) in update_stream_signal() 45 stream->signal = stream->link->connector_signal; in update_stream_signal() 47 stream->signal = sink->sink_signal; in update_stream_signal() 49 if (dc_is_dvi_signal(stream->signal)) { in update_stream_signal() 50 if (stream->ctx->dc->caps.dual_link_dvi && in update_stream_signal() 51 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal() 52 sink->sink_signal != SIGNAL_TYPE_DVI_SINGLE_LINK) in update_stream_signal() [all …]
|
| /kernel/linux/linux-6.6/drivers/md/ |
| D | dm-delay.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2007 Red Hat GmbH 17 #include <linux/device-mapper.h> 54 struct delay_c *dc = from_timer(dc, t, delay_timer); in handle_delayed_timer() local 56 queue_work(dc->kdelayd_wq, &dc->flush_expired_bios); in handle_delayed_timer() 59 static void queue_timeout(struct delay_c *dc, unsigned long expires) in queue_timeout() argument 61 mutex_lock(&dc->timer_lock); in queue_timeout() 63 if (!timer_pending(&dc->delay_timer) || expires < dc->delay_timer.expires) in queue_timeout() 64 mod_timer(&dc->delay_timer, expires); in queue_timeout() 66 mutex_unlock(&dc->timer_lock); in queue_timeout() [all …]
|
| /kernel/linux/linux-5.10/drivers/md/ |
| D | dm-delay.c | 2 * Copyright (C) 2005-2007 Red Hat GmbH 16 #include <linux/device-mapper.h> 53 struct delay_c *dc = from_timer(dc, t, delay_timer); in handle_delayed_timer() local 55 queue_work(dc->kdelayd_wq, &dc->flush_expired_bios); in handle_delayed_timer() 58 static void queue_timeout(struct delay_c *dc, unsigned long expires) in queue_timeout() argument 60 mutex_lock(&dc->timer_lock); in queue_timeout() 62 if (!timer_pending(&dc->delay_timer) || expires < dc->delay_timer.expires) in queue_timeout() 63 mod_timer(&dc->delay_timer, expires); in queue_timeout() 65 mutex_unlock(&dc->timer_lock); in queue_timeout() 73 n = bio->bi_next; in flush_bios() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/ |
| D | dcn31_hwseq.c | 57 hws->ctx 59 hws->regs->reg 61 dc->ctx->logger 66 hws->shifts->field_name, hws->masks->field_name 68 static void enable_memory_low_power(struct dc *dc) in enable_memory_low_power() argument 70 struct dce_hwseq *hws = dc->hwseq; in enable_memory_low_power() 73 if (dc->debug.enable_mem_low_power.bits.dmcu) { in enable_memory_low_power() 75 if (dc->debug.disable_dmcu || dc->config.disable_dmcu) { in enable_memory_low_power() 81 if (dc->debug.enable_mem_low_power.bits.optc) { in enable_memory_low_power() 86 if (dc->debug.enable_mem_low_power.bits.vga) { in enable_memory_low_power() [all …]
|
| /kernel/linux/linux-6.6/drivers/md/bcache/ |
| D | writeback.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * background writeback - scan btree for dirty data and write it to the backing 22 if (c->gc_after_writeback != (BCH_ENABLE_AUTO_GC) || in update_gc_after_writeback() 23 c->gc_stats.in_use < BCH_AUTO_GC_DIRTY_THRESHOLD) in update_gc_after_writeback() 26 c->gc_after_writeback |= BCH_DO_AUTO_GC; in update_gc_after_writeback() 30 static uint64_t __calc_target_rate(struct cached_dev *dc) in __calc_target_rate() argument 32 struct cache_set *c = dc->disk.c; in __calc_target_rate() 36 * flash-only devices in __calc_target_rate() 38 uint64_t cache_sectors = c->nbuckets * c->cache->sb.bucket_size - in __calc_target_rate() 39 atomic_long_read(&c->flash_dev_dirty_sectors); in __calc_target_rate() [all …]
|
| /kernel/linux/linux-5.10/drivers/md/bcache/ |
| D | writeback.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * background writeback - scan btree for dirty data and write it to the backing 22 if (c->gc_after_writeback != (BCH_ENABLE_AUTO_GC) || in update_gc_after_writeback() 23 c->gc_stats.in_use < BCH_AUTO_GC_DIRTY_THRESHOLD) in update_gc_after_writeback() 26 c->gc_after_writeback |= BCH_DO_AUTO_GC; in update_gc_after_writeback() 30 static uint64_t __calc_target_rate(struct cached_dev *dc) in __calc_target_rate() argument 32 struct cache_set *c = dc->disk.c; in __calc_target_rate() 36 * flash-only devices in __calc_target_rate() 38 uint64_t cache_sectors = c->nbuckets * c->cache->sb.bucket_size - in __calc_target_rate() 39 atomic_long_read(&c->flash_dev_dirty_sectors); in __calc_target_rate() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
| D | dcn_calcs.c | 28 #include "dc.h" 40 dc->ctx->logger 50 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 54 * remain as-is as it provides us with a guarantee from HW that it is correct. 70 * slow-slow corner + 10% margin with voltages aligned to FCLK. 305 input->src.is_hsplit = false; in pipe_ctx_to_e2e_pipe_params() 308 if (pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_SIDE_BY_SIDE || in pipe_ctx_to_e2e_pipe_params() 309 pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_TOP_AND_BOTTOM) { in pipe_ctx_to_e2e_pipe_params() 311 input->src.hsplit_grp = pipe->pipe_idx; in pipe_ctx_to_e2e_pipe_params() 312 } else if (pipe->top_pipe != NULL && pipe->top_pipe->plane_state == pipe->plane_state) { in pipe_ctx_to_e2e_pipe_params() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
| D | dcn_calcs.c | 28 #include "dc.h" 40 dc->ctx->logger 50 * This file is gcc-parseable HW gospel, coming straight from HW engineers. 54 * remain as-is as it provides us with a guarantee from HW that it is correct. 70 * slow-slow corner + 10% margin with voltages aligned to FCLK. 304 input->src.is_hsplit = false; in pipe_ctx_to_e2e_pipe_params() 307 if (pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_SIDE_BY_SIDE || in pipe_ctx_to_e2e_pipe_params() 308 pipe->plane_state->stereo_format == PLANE_STEREO_FORMAT_TOP_AND_BOTTOM) { in pipe_ctx_to_e2e_pipe_params() 310 input->src.hsplit_grp = pipe->pipe_idx; in pipe_ctx_to_e2e_pipe_params() 311 } else if (pipe->top_pipe != NULL && pipe->top_pipe->plane_state == pipe->plane_state) { in pipe_ctx_to_e2e_pipe_params() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/ |
| D | Makefile | 24 # Makefile for the 'utils' sub-component of DAL. 29 dml_ccflags-$(CONFIG_CC_IS_GCC) := -mhard-float 30 dml_ccflags := $(dml_ccflags-y) -msse 34 dml_ccflags := -mhard-float -maltivec 38 dml_rcflags := -mgeneral-regs-only 42 dml_ccflags := -mfpu=64 43 dml_rcflags := -msoft-float 47 ifneq ($(call gcc-min-version, 70100),y) 55 # GCC < 7.1 cannot compile code using `double` and -mpreferred-stack-boundary=3 57 dml_ccflags += -mpreferred-stack-boundary=4 [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_hwseq.c | 61 hws->ctx 63 hws->regs->reg 65 dc->ctx->logger 70 hws->shifts->field_name, hws->masks->field_name 75 struct dpp *dpp_base = pipe_ctx->plane_res.dpp; in dcn30_set_blend_lut() 79 if (plane_state->blend_tf) { in dcn30_set_blend_lut() 80 if (plane_state->blend_tf->type == TF_TYPE_HWPWL) in dcn30_set_blend_lut() 81 blend_lut = &plane_state->blend_tf->pwl; in dcn30_set_blend_lut() 82 else if (plane_state->blend_tf->type == TF_TYPE_DISTRIBUTED_POINTS) { in dcn30_set_blend_lut() 84 plane_state->blend_tf, &dpp_base->regamma_params, false); in dcn30_set_blend_lut() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
| D | dc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include "dc.h" 36 stats->frames = 0; in tegra_dc_stats_reset() 37 stats->vblank = 0; in tegra_dc_stats_reset() 38 stats->underflow = 0; in tegra_dc_stats_reset() 39 stats->overflow = 0; in tegra_dc_stats_reset() 43 static u32 tegra_dc_readl_active(struct tegra_dc *dc, unsigned long offset) in tegra_dc_readl_active() argument 47 tegra_dc_writel(dc, READ_MUX, DC_CMD_STATE_ACCESS); in tegra_dc_readl_active() 48 value = tegra_dc_readl(dc, offset); in tegra_dc_readl_active() 49 tegra_dc_writel(dc, 0, DC_CMD_STATE_ACCESS); in tegra_dc_readl_active() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
| D | dcn30_hwseq.c | 58 hws->ctx 60 hws->regs->reg 62 dc->ctx->logger 67 hws->shifts->field_name, hws->masks->field_name 72 struct dpp *dpp_base = pipe_ctx->plane_res.dpp; in dcn30_set_blend_lut() 76 if (plane_state->blend_tf) { in dcn30_set_blend_lut() 77 if (plane_state->blend_tf->type == TF_TYPE_HWPWL) in dcn30_set_blend_lut() 78 blend_lut = &plane_state->blend_tf->pwl; in dcn30_set_blend_lut() 79 else if (plane_state->blend_tf->type == TF_TYPE_DISTRIBUTED_POINTS) { in dcn30_set_blend_lut() 81 plane_state->blend_tf, &dpp_base->regamma_params, false); in dcn30_set_blend_lut() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | axp20x.txt | 4 axp152 (X-Powers) 5 axp202 (X-Powers) 6 axp209 (X-Powers) 7 axp221 (X-Powers) 8 axp223 (X-Powers) 9 axp803 (X-Powers) 10 axp806 (X-Powers) 11 axp809 (X-Powers) 12 axp813 (X-Powers) 20 - compatible: should be one of: [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
| D | dc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 32 #include "dc.h" 43 stats->frames = 0; in tegra_dc_stats_reset() 44 stats->vblank = 0; in tegra_dc_stats_reset() 45 stats->underflow = 0; in tegra_dc_stats_reset() 46 stats->overflow = 0; in tegra_dc_stats_reset() 50 static u32 tegra_dc_readl_active(struct tegra_dc *dc, unsigned long offset) in tegra_dc_readl_active() argument 54 tegra_dc_writel(dc, READ_MUX, DC_CMD_STATE_ACCESS); in tegra_dc_readl_active() 55 value = tegra_dc_readl(dc, offset); in tegra_dc_readl_active() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
| D | dcn32_hwseq.c | 57 hws->ctx 59 hws->regs->reg 61 dc->ctx->logger 66 hws->shifts->field_name, hws->masks->field_name 77 if (hws->ctx->dc->debug.disable_dsc_power_gate) in dcn32_dsc_pg_control() 80 if (!hws->ctx->dc->debug.enable_double_buffered_dsc_pg_support) in dcn32_dsc_pg_control() 165 if (hws->ctx->dc->debug.disable_hubp_power_gate) in dcn32_hubp_pg_control() 194 static bool dcn32_check_no_memory_request_for_cab(struct dc *dc) in dcn32_check_no_memory_request_for_cab() argument 198 /* First, check no-memory-request case */ in dcn32_check_no_memory_request_for_cab() 199 for (i = 0; i < dc->current_state->stream_count; i++) { in dcn32_check_no_memory_request_for_cab() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
| D | esas2r_disc.c | 5 * Copyright (c) 2001-2013 ATTO Technology, Inc. 8 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 22 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 41 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 43 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 85 struct esas2r_sas_nvram *nvr = a->nvram; in esas2r_disc_initialize() 89 clear_bit(AF_DISC_IN_PROG, &a->flags); in esas2r_disc_initialize() 90 clear_bit(AF2_DEV_SCAN, &a->flags2); in esas2r_disc_initialize() 91 clear_bit(AF2_DEV_CNT_OK, &a->flags2); in esas2r_disc_initialize() 93 a->disc_start_time = jiffies_to_msecs(jiffies); in esas2r_disc_initialize() [all …]
|