Home
last modified time | relevance | path

Searched +full:double +full:- +full:buffering (Results 1 – 25 of 70) sorted by relevance

123

/linux/drivers/gpu/drm/clients/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
18 Drivers that support in-kernel DRM clients have to select this
51 is 100. Typical values for double buffering will be 200,
52 triple buffering 300.
59 In order to keep user-space compatibility, we want in certain
60 use-cases to keep leaking the fbdev physical address to the
61 user-space program handling the fbdev buffer.
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn30/
H A Ddcn30_optc.c36 optc1->tg_regs->reg
39 optc1->base.ctx
43 optc1->tg_shift->field_name, optc1->tg_mask->field_name
50 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst); in optc3_triplebuffer_lock()
62 TRACE_OPTC_LOCK_UNLOCK_STATE(optc1, optc->inst, true); in optc3_triplebuffer_lock()
81 MASTER_UPDATE_LOCK_DB_START_Y, v_blank_start - 1, in optc3_lock_doublebuffer_enable()
84 DIG_UPDATE_POSITION_X, h_blank_start - 180 - 1, in optc3_lock_doublebuffer_enable()
85 DIG_UPDATE_POSITION_Y, v_blank_start - 1); in optc3_lock_doublebuffer_enable()
89 MASTER_UPDATE_LOCK_DB_START_X, h_blank_start - 200 - 1, in optc3_lock_doublebuffer_enable()
90 MASTER_UPDATE_LOCK_DB_END_X, h_blank_start - 180, in optc3_lock_doublebuffer_enable()
[all …]
/linux/drivers/usb/gadget/legacy/
H A Dmass_storage.c1 // SPDX-License-Identifier: GPL-2.0+
3 * mass_storage.c -- Mass Storage USB Gadget
5 * Copyright (C) 2003-2008 Alan Stern
14 * appearing to the host as a disk drive or as a CD-ROM drive. In
17 * double-buffering for increased throughput. Last but not least, it
31 /*-------------------------------------------------------------------------*/
40 * Instead: allocate your own, using normal USB-IF procedures.
43 #define FSG_PRODUCT_ID 0xa4a5 /* Linux-USB File-backed Storage Gadget */
47 /*-------------------------------------------------------------------------*/
73 .language = 0x0409, /* en-us */
[all …]
/linux/Documentation/fb/
H A Dpxafb.rst10 modprobe pxafb options=vmem:2M,mode:640x480-8,passive
14 video=pxafb:vmem:2M,mode:640x480-8,passive
21 mode:XRESxYRES[-BPP]
72 Double pixel clock. 1=>true, 0=>false
87 PXA27x and later processors support overlay1 and overlay2 on-top of the
88 base framebuffer (although under-neath the base is also possible). They
89 support palette and no-palette RGB formats, as well as YUV formats (only
96 1. overlay can start at a 32-bit word aligned position within the base
98 is encoded into var->nonstd (no, var->xoffset and var->yoffset are
104 var->xres_virtual * var->yres_virtual * bpp
[all …]
/linux/drivers/devfreq/
H A Dsun8i-a33-mbus.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright (C) 2020-2021 Samuel Holland <samuel@sholland.org>
25 #define MBUS_TMR_PERIOD(x) ((x) - 1)
28 #define MBUS_PMU_CFG_PERIOD(x) (((x) - 1) << 16)
108 return readl_relaxed(priv->reg_mbus + MBUS_TOTAL_BWCR); in sun8i_a33_mbus_get_peak_bw()
115 /* All PMU counters are cleared on a disable->enable transition. */ in sun8i_a33_mbus_restart_pmu_counters()
117 priv->reg_mbus + MBUS_PMU_CFG); in sun8i_a33_mbus_restart_pmu_counters()
119 priv->reg_mbus + MBUS_PMU_CFG); in sun8i_a33_mbus_restart_pmu_counters()
130 * ------------- * ------------ * -------- in sun8i_a33_mbus_update_nominal_bw()
133 priv->nominal_bw = ddr_freq_mhz * pmu_period * priv->data_width / 1024; in sun8i_a33_mbus_update_nominal_bw()
[all …]
/linux/drivers/media/usb/gspca/
H A Dw996Xcf.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@studio.unibo.it>
23 #define Y_QUANTABLE (&sd->jpeg_hdr[JPEG_QT0_OFFSET])
24 #define UV_QUANTABLE (&sd->jpeg_hdr[JPEG_QT1_OFFSET])
51 /*--------------------------------------------------------------------------
52 Write 64-bit data to the fast serial bus registers.
53 Return 0 on success, -1 otherwise.
54 --------------------------------------------------------------------------*/
57 struct usb_device *udev = sd->gspca_dev.dev; in w9968cf_write_fsb()
61 if (sd->gspca_dev.usb_err < 0) in w9968cf_write_fsb()
[all …]
/linux/sound/mips/
H A Dsnd-n64.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/dma-mapping.h>
68 writel(value, priv->ai_reg_base + reg); in n64audio_write_reg()
73 writel(value, priv->mi_reg_base + reg); in n64mi_write_reg()
78 return readl(priv->mi_reg_base + reg); in n64mi_read_reg()
83 struct snd_pcm_runtime *runtime = priv->chan.substream->runtime; in n64audio_push()
87 spin_lock_irqsave(&priv->chan.lock, flags); in n64audio_push()
89 count = priv->chan.writesize; in n64audio_push()
91 memcpy(priv->ring_base + priv->chan.nextpos, in n64audio_push()
92 runtime->dma_area + priv->chan.nextpos, count); in n64audio_push()
[all …]
/linux/drivers/usb/gadget/udc/
H A Damd5536udc.h1 // SPDX-License-Identifier: GPL-2.0+
3 * amd5536.h -- header for AMD 5536 UDC high/full speed USB device controller
56 /* Global CSR's -------------------------------------------------------------*/
83 /* Device Config Register ---------------------------------------------------*/
106 /* Device Control Register --------------------------------------------------*/
130 /* Device Status Register ---------------------------------------------------*/
157 /* Device Interrupt Register ------------------------------------------------*/
169 /* Device Interrupt Mask Register -------------------------------------------*/
174 /* Endpoint Interrupt Register ----------------------------------------------*/
193 /* Endpoint Interrupt Mask Register -----------------------------------------*/
[all …]
H A Dpxa25x_udc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Intel PXA25x and IXP4xx on-chip full speed USB device controllers
30 #include <linux/dma-mapping.h>
40 #include <asm/mach-types.h>
48 #define UDC_RES1 0x0004 /* UDC Undocumented - Reserved1 */
49 #define UDC_RES2 0x0008 /* UDC Undocumented - Reserved2 */
50 #define UDC_RES3 0x000C /* UDC Undocumented - Reserved3 */
211 * not used here. IN-DMA (to host) is simple enough, when the data is
213 * other software can. OUT-DMA is buggy in most chip versions, as well
215 * bother using DMA. (Mostly-working IN-DMA support was available in
[all …]
H A Dgoku_udc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Toshiba TC86C001 ("Goku-S") USB Device Controller driver
5 * Copyright (C) 2000-2002 Lineo
12 * This device has ep0 and three semi-configurable bulk/interrupt endpoints.
14 * - Endpoint numbering is fixed: ep{1,2,3}-bulk
15 * - Gadget drivers can choose ep maxpacket (8/16/32/64)
16 * - Gadget drivers can choose direction (IN, OUT)
17 * - DMA works with ep1 (OUT transfers) and ep2 (IN transfers).
21 // #define USB_TRACE /* packet-level success messages */
49 #define DRIVER_VERSION "30-Oct 2003"
[all …]
/linux/drivers/staging/media/atomisp/pci/
H A Dia_css_stream_public.h1 /* SPDX-License-Identifier: GPL-2.0 */
29 IA_CSS_INPUT_MODE_FIFO, /** data from input-fifo */
30 IA_CSS_INPUT_MODE_TPG, /** data from test-pattern generator */
31 IA_CSS_INPUT_MODE_PRBS, /** data from pseudo-random bit stream */
62 int linked_isys_stream_id; /** default value is -1, other value means
119 s32 flash_gpio_pin; /** pin on which the flash is connected, -1 for no flash */
120 int left_padding; /** The number of input-formatter left-paddings, -1 for default from binary.*/
150 stream_config->online = true;
151 stream_config->left_padding = -1;
258 * @param[in] output_padded_width - the output buffer stride.
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dxylon,logicvc-display.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/display/xylon,logicvc-display.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
16 with Xilinx Zynq-7000 SoCs and Xilinx FPGAs.
20 synthesis time. As a result, many of the device-tree bindings are meant to
24 Layers are declared in the "layers" sub-node and have dedicated configuration.
32 - xylon,logicvc-3.02.a-display
33 - xylon,logicvc-4.01.a-display
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c34 * This file is gcc-parseable HW gospel, coming straight from HW engineers.
38 * remain as-is as it provides us with a guarantee from HW that it is correct.
43 double *refcyc_per_req_delivery_pre_cur,
44 double *refcyc_per_req_delivery_cur,
45 double refclk_freq_in_mhz,
46 double ref_freq_to_pix_freq,
47 double hscale_pixel_rate_l,
48 double hscl_ratio,
49 double vratio_pre_l,
50 double vratio_l,
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_rq_dlg_calc_20.c34 // pipe_src_param - pipe source configuration (e.g. vp, pitch, etc.)
36 // rq_param - values that can be used to setup RQ (e.g. swath_height, plane1_addr, etc.)
58 * This file is gcc-parseable HW gospel, coming straight from HW engineers.
62 * remain as-is as it provides us with a guarantee from HW that it is correct.
66 double *refcyc_per_req_delivery_pre_cur,
67 double *refcyc_per_req_delivery_cur,
68 double refclk_freq_in_mhz,
69 double ref_freq_to_pix_freq,
70 double hscale_pixel_rate_l,
71 double hscl_ratio,
[all …]
H A Ddisplay_rq_dlg_calc_20v2.c34 // pipe_src_param - pipe source configuration (e.g. vp, pitch, etc.)
36 // rq_param - values that can be used to setup RQ (e.g. swath_height, plane1_addr, etc.)
58 * This file is gcc-parseable HW gospel, coming straight from HW engineers.
62 * remain as-is as it provides us with a guarantee from HW that it is correct.
66 double *refcyc_per_req_delivery_pre_cur,
67 double *refcyc_per_req_delivery_cur,
68 double refclk_freq_in_mhz,
69 double ref_freq_to_pix_freq,
70 double hscale_pixel_rate_l,
71 double hscl_ratio,
[all …]
/linux/drivers/usb/musb/
H A Dmusb_gadget.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2005-2006 by Texas Instruments
7 * Copyright (C) 2006-2007 Nokia Corporation
19 #include <linux/dma-mapping.h>
26 /* ----------------------------------------------------------------------- */
29 (req->map_state != UN_MAPPED))
37 struct dma_controller *dma = musb->dma_controller; in map_dma_buffer()
39 request->map_state = UN_MAPPED; in map_dma_buffer()
41 if (!is_dma_capable() || !musb_ep->dma) in map_dma_buffer()
48 if (dma->is_compatible) in map_dma_buffer()
[all …]
H A Dmusb_regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 2005-2006 by Texas Instruments
7 * Copyright (C) 2006-2007 Nokia Corporation
13 #define MUSB_EP0_FIFOSIZE 64 /* This is non-configurable */
74 /* Allocate for double-packet buffering (effectively doubles assigned _SIZE) */
121 #define MUSB_CONFIGDATA_HBRXE 0x10 /* HB-ISO for RX */
122 #define MUSB_CONFIGDATA_HBTXE 0x08 /* HB-ISO for TX */
202 #define MUSB_FADDR 0x00 /* 8-bit */
203 #define MUSB_POWER 0x01 /* 8-bit */
205 #define MUSB_INTRTX 0x02 /* 16-bit */
[all …]
/linux/Documentation/devicetree/bindings/timer/
H A Drenesas,rz-mtu3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/timer/renesas,rz-mtu3.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas RZ/G2L Multi-Function Timer Pulse Unit 3 (MTU3a)
10 - Biju Das <biju.das.jz@bp.renesas.com>
13 This hardware block consists of eight 16-bit timer channels and one
14 32-bit timer channel. It supports the following specifications:
15 - Pulse input/output: 28 lines max
16 - Pulse input 3 lines
[all …]
/linux/Documentation/admin-guide/media/
H A Dphilips.rst1 .. SPDX-License-Identifier: GPL-2.0
7 E-mail: webcam@smcc.demon.nl Last updated: 2004-01-19
30 * Samsung MPC-C10
31 * Samsung MPC-C30
33 * AME CU-001
34 * Visionite VCS-UM100
35 * Visionite VCS-UC300
46 the latter, since it makes troubleshooting a lot easier. The built-in
50 camera; some programs depend on a particular image-size or -format and
60 Specifies the desired framerate. Is an integer in the range of 4-30.
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c42 static double get_refcyc_per_delivery(struct display_mode_lib *mode_lib, in get_refcyc_per_delivery()
43 double refclk_freq_in_mhz, in get_refcyc_per_delivery()
44 double pclk_freq_in_mhz, in get_refcyc_per_delivery()
48 double vratio, in get_refcyc_per_delivery()
49 double hscale_pixel_rate, in get_refcyc_per_delivery()
53 double refcyc_per_delivery = 0.0; in get_refcyc_per_delivery()
57 refcyc_per_delivery = (double)refclk_freq_in_mhz * (double)((unsigned int)odm_combine*2) in get_refcyc_per_delivery()
58 * dml_min((double)recout_width, (double)hactive / ((unsigned int)odm_combine*2)) in get_refcyc_per_delivery()
59 / pclk_freq_in_mhz / (double)req_per_swath_ub; in get_refcyc_per_delivery()
61 refcyc_per_delivery = (double)refclk_freq_in_mhz * (double)recout_width in get_refcyc_per_delivery()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml1_display_rq_dlg_calc.c33 * This file is gcc-parseable HW gospel, coming straight from HW engineers.
37 * remain as-is as it provides us with a guarantee from HW that it is correct.
97 static double get_refcyc_per_delivery( in get_refcyc_per_delivery()
99 double refclk_freq_in_mhz, in get_refcyc_per_delivery()
100 double pclk_freq_in_mhz, in get_refcyc_per_delivery()
102 double vratio, in get_refcyc_per_delivery()
103 double hscale_pixel_rate, in get_refcyc_per_delivery()
107 double refcyc_per_delivery = 0.0; in get_refcyc_per_delivery()
110 refcyc_per_delivery = (double) refclk_freq_in_mhz * (double) recout_width in get_refcyc_per_delivery()
111 / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery()
[all …]
/linux/block/
H A Dblk-flush.c1 // SPDX-License-Identifier: GPL-2.0
9 * optional steps - PREFLUSH, DATA and POSTFLUSH - according to the request
15 * REQ_FUA means that the data must be on non-volatile media on request
28 * The actual execution of flush is double buffered. Whenever a request
30 * fq->flush_queue[fq->flush_pending_idx]. Once certain criteria are met, a
40 * double buffering sufficient.
74 #include "blk-mq.h"
75 #include "blk-mq-sched.h"
79 REQ_FSEQ_PREFLUSH = (1 << 0), /* pre-flushing in progress */
81 REQ_FSEQ_POSTFLUSH = (1 << 2), /* post-flushing in progress */
[all …]
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_smp.c1 // SPDX-License-Identifier: GPL-2.0-only
34 struct msm_drm_private *priv = smp->dev->dev_private; in get_kms()
36 return to_mdp5_kms(to_mdp_kms(priv->kms)); in get_kms()
48 * For ViG pipes, fetch Y/Cr/Cb-components clients are always in pipe2client()
52 * if mdp5_cfg->smp.clients[SSPP_VIG0] = N, in pipe2client()
58 return mdp5_cfg->smp.clients[pipe] + plane; in pipe2client()
66 void *cs = state->client_state[cid]; in smp_request_block()
67 int i, avail, cnt = smp->blk_cnt; in smp_request_block()
70 /* we shouldn't be requesting blocks for an in-use client: */ in smp_request_block()
73 reserved = smp->reserved[cid]; in smp_request_block()
[all …]
/linux/kernel/events/
H A Dring_buffer.c1 // SPDX-License-Identifier: GPL-2.0
3 * Performance events ring-buffer code:
6 * Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
7 * Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
22 atomic_set(&handle->rb->poll, EPOLLIN | EPOLLRDNORM); in perf_output_wakeup()
24 handle->event->pending_wakeup = 1; in perf_output_wakeup()
26 if (*perf_event_fasync(handle->event) && !handle->event->pending_kill) in perf_output_wakeup()
27 handle->event->pending_kill = POLL_IN; in perf_output_wakeup()
29 irq_work_queue(&handle->event->pending_irq); in perf_output_wakeup()
37 * We only publish the head (and generate a wakeup) when the outer-most
[all …]
/linux/tools/include/uapi/linux/
H A Dpkt_sched.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
12 with obsolete IPv6 values is not occasional :-). New IPv6 drafts
51 ---------
119 #define TCA_STAB_MAX (__TCA_STAB_MAX - 1)
130 * Priorities go from zero to (SKBPRIO_MAX_PRIORITY - 1).
149 __u8 priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */
172 * Stop buffering packets until the next TCQ_PLUG_BUFFER
173 * command is received (just act as a pass-thru queue).
203 #define TCA_TBF_MAX (__TCA_TBF_MAX - 1)
238 unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */
[all …]

123