Home
last modified time | relevance | path

Searched +full:color +full:- +full:depth (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/linux/drivers/video/fbdev/i810/
H A Di810_accel.c1 /*-*- linux-c -*-
2 * linux/drivers/video/i810_accel.c -- Hardware Acceleration
26 i810_writel(par->cur_tail, par->iring.virtual, n); \
27 par->cur_tail += 4; \
28 par->cur_tail &= RING_SIZE_MASK; \
51 * wait_for_space - check ring buffer free space
61 struct i810fb_par *par = info->par; in wait_for_space()
63 u8 __iomem *mmio = par->mmio_start_virtual; in wait_for_space()
65 tail = par->cur_tail; in wait_for_space()
66 while (count--) { in wait_for_space()
[all …]
/linux/drivers/video/fbdev/
H A Dskeletonfb.c2 * linux/drivers/video/skeletonfb.c -- Skeleton for a frame buffer device
61 * Even less warranty that it actually works :-)
107 * This allows when one display changes it video resolution (info->var)
136 * xxxfb_open - Optional function. Called when the framebuffer is
155 * xxxfb_release - Optional function. Called when the framebuffer
174 * xxxfb_check_var - Optional function. Validates a var passed in.
191 * function must return -EINVAL.
196 * a copy of the currently working var (info->var). Better is to not
204 * contents of info->var must be left untouched at all times after
216 * xxxfb_set_par - Optional function. Alters the hardware state.
[all …]
H A Dpm2fb.c8 * Copyright (c) 1998-2000 Ilario Nardinocchi (nardinoc@CS.UniBO.IT)
14 * I have a Creative Graphics Blaster Exxtreme card - pm2fb on x86. I
16 * hopefully other big-endian) devices now work, thanks to a lot of
71 * support on TVP4010 and similar where there is no RAMDAC - see
74 * fixed-frequency monitor which absolutely has to have -ve sync. So
76 * should be silently turned in -ve sync.
128 .height = -1,
129 .width = -1,
147 return fb_readl(p->v_regs + off); in pm2_RD()
152 fb_writel(v, p->v_regs + off); in pm2_WR()
[all …]
H A Docfb.c12 #include <linux/dma-mapping.h>
36 #define OCFB_CTRL_PC 0x00000800 /* 8-bit Pseudo Color Enable*/
37 #define OCFB_CTRL_CD8 0x00000000 /* Color Depth 8 */
38 #define OCFB_CTRL_CD16 0x00000200 /* Color Depth 16 */
39 #define OCFB_CTRL_CD24 0x00000400 /* Color Depth 24 */
40 #define OCFB_CTRL_CD32 0x00000600 /* Color Depth 32 */
89 if (fbdev->little_endian) in ocfb_readreg()
90 return ioread32(fbdev->regs + offset); in ocfb_readreg()
92 return ioread32be(fbdev->regs + offset); in ocfb_readreg()
97 if (fbdev->little_endian) in ocfb_writereg()
[all …]
H A Dpm3fb.c2 * linux/drivers/video/pm3fb.c -- 3DLabs Permedia3 frame buffer device
10 * Sven Luther, <luther@dpt-info.u-strasbg.fr>
16 * Copyright (C) 1998-1999 Ilario Nardinocchi (nardinoc@CS.UniBO.IT)
97 return fb_readl(par->v_regs + off); in PM3_READ_REG()
102 fb_writel(v, par->v_regs + off); in PM3_WRITE_REG()
161 ? reqclock - freq in pm3fb_calculate_clock()
162 : freq - reqclock; in pm3fb_calculate_clock()
176 if (var->bits_per_pixel == 16) in pm3fb_depth()
177 return var->red.length + var->green.length in pm3fb_depth()
178 + var->blue.length; in pm3fb_depth()
[all …]
/linux/drivers/video/fbdev/aty/
H A Dmach64_accel.c1 // SPDX-License-Identifier: GPL-2.0
54 par->fifo_space = 0; in aty_reset_engine()
73 pitch_value = info->fix.line_length / (info->var.bits_per_pixel / 8); in aty_init_engine()
74 vxres = info->var.xres_virtual; in aty_init_engine()
76 if (info->var.bits_per_pixel == 24) { in aty_init_engine()
77 /* In 24 bpp, the engine is in 8 bpp - this requires that all */ in aty_init_engine()
89 /* Ensure that vga page pointers are set to zero - the upper */ in aty_init_engine()
95 /* ---- Setup standard engine context ---- */ in aty_init_engine()
97 /* All GUI registers here are FIFOed - therefore, wait for */ in aty_init_engine()
142 aty_st_le32(SC_BOTTOM, par->crtc.vyres - 1, par); in aty_init_engine()
[all …]
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_link.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
74 * mdss_dp_test_bit_depth_to_bpp() - convert test bit depth to bpp
75 * @tbd: test bit depth
78 * git bit depth value. This function assumes that bit depth has
85 * 1. Bit depth is per color component in dp_link_bit_depth_to_bpp()
86 * 2. If bit depth is unknown return 0 in dp_link_bit_depth_to_bpp()
87 * 3. Assume 3 color components in dp_link_bit_depth_to_bpp()
113 * dp_link_get() - get the functionalities of dp test module
/linux/drivers/gpu/drm/tiny/
H A Dofdrm.c1 // SPDX-License-Identifier: GPL-2.0-only
81 return -EINVAL; in display_get_validated_int()
90 return -EINVAL; in display_get_validated_int0()
96 u32 depth, bool big_endian) in display_get_validated_format() argument
101 switch (depth) { in display_get_validated_format()
107 format = drm_mode_legacy_fb_format(16, depth); in display_get_validated_format()
113 drm_err(dev, "unsupported framebuffer depth %u\n", depth); in display_get_validated_format()
114 return ERR_PTR(-EINVAL); in display_get_validated_format()
118 * DRM formats assume little-endian byte order. Update the format in display_get_validated_format()
119 * if the scanout buffer uses big-endian ordering. in display_get_validated_format()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce60/
H A Ddce60_hw_sequencer.c56 struct resource_context *res_ctx = &context->res_ctx; in dce60_should_enable_fbc()
57 unsigned int underlay_idx = dc->res_pool->underlay_pipe_index; in dce60_should_enable_fbc()
60 ASSERT(dc->fbc_compressor); in dce60_should_enable_fbc()
63 if (!dc->ctx->fbc_gpu_addr) in dce60_should_enable_fbc()
67 if (context->stream_count != 1) in dce60_should_enable_fbc()
70 for (i = 0; i < dc->res_pool->pipe_count; i++) { in dce60_should_enable_fbc()
71 if (res_ctx->pipe_ctx[i].stream) { in dce60_should_enable_fbc()
73 pipe_ctx = &res_ctx->pipe_ctx[i]; in dce60_should_enable_fbc()
79 if (pipe_ctx->pipe_idx != underlay_idx) { in dce60_should_enable_fbc()
86 if (i == dc->res_pool->pipe_count) in dce60_should_enable_fbc()
[all …]
/linux/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright 2018-2019 NXP
8 #include <media/v4l2-ctrls.h>
9 #include <media/v4l2-device.h>
10 #include <media/v4l2-fh.h>
15 #define MXC_JPEG_NAME "mxc-jpeg"
43 * struct mxc_jpeg_fmt - driver's internal color format data
47 * @nc: number of color components
48 * @depth: number of bits per pixel
62 int depth; member
[all …]
/linux/tools/perf/ui/stdio/
H A Dhist.c1 // SPDX-License-Identifier: GPL-2.0
18 #include "../../util/block-info.h"
33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line() argument
39 for (i = 0; i < depth; i++) in ipchain__fprintf_graph_line()
52 int depth, int depth_mask, int period, in ipchain__fprintf_graph() argument
62 for (i = 0; i < depth; i++) { in ipchain__fprintf_graph()
67 if (!period && i == depth - in ipchain__fprintf_graph()
110 __callchain__fprintf_graph(FILE * fp,struct rb_root * root,u64 total_samples,int depth,int depth_mask,int left_margin) __callchain__fprintf_graph() argument
637 int depth; hists__fprintf_hierarchy_headers() local
878 int depth = hists->nr_hpp_node + h->depth + 1; hists__fprintf() local
[all...]
/linux/drivers/video/fbdev/core/
H A Dfb_logo.c1 // SPDX-License-Identifier: GPL-2.0
9 int fb_logo_count __read_mostly = -1;
13 return n < 0 ? d >> -n : d << n; in safe_shift()
24 const unsigned char *clut = logo->clut; in fb_set_logocmap()
33 for (i = 0; i < logo->clutsize; i += n) { in fb_set_logocmap()
34 n = logo->clutsize - i; in fb_set_logocmap()
60 const unsigned char *clut = logo->clut; in fb_set_logo_truepalette()
67 redmask = mask[info->var.red.length < 8 ? info->var.red.length : 8]; in fb_set_logo_truepalette()
68 greenmask = mask[info->var.green.length < 8 ? info->var.green.length : 8]; in fb_set_logo_truepalette()
69 bluemask = mask[info->var.blue.length < 8 ? info->var.blue.length : 8]; in fb_set_logo_truepalette()
[all …]
H A Dcfbimgblt.c2 * Generic BitBLT function for frame buffer with packed pixels of any depth.
13 * image can be a bitmap where each 0 represents the background color and
14 * each 1 represents the foreground color. Great for font handling. It can
15 * also be a color image. This is determined by image_depth. The color image
18 * framebuffer depth. But not every card has this. All images must be rounded
23 * Incorporate mask tables similar to fbcon-cfb*.c in 2.4 API. This speeds
82 u32 color = 0, val, shift; in color_imageblit() local
83 int i, n, bpp = p->var.bits_per_pixel; in color_imageblit()
84 u32 null_bits = 32 - bpp; in color_imageblit()
85 u32 *palette = (u32 *) p->pseudo_palette; in color_imageblit()
[all …]
/linux/Documentation/devicetree/bindings/display/samsung/
H A Dsamsung,exynos5-dp.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/display/samsung/samsung,exynos5-dp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Inki Dae <inki.dae@samsung.com>
11 - Seung-Woo Kim <sw0312.kim@samsung.com>
12 - Kyungmin Park <kyungmin.park@samsung.com>
13 - Krzysztof Kozlowski <krzk@kernel.org>
17 const: samsung,exynos5-dp
25 clock-names:
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dbase.c31 struct nvkm_ltc *ltc = device->ltc; in nvkm_ltc_tags_clear()
32 const u32 limit = first + count - 1; in nvkm_ltc_tags_clear()
34 BUG_ON((first > limit) || (limit >= ltc->num_tags)); in nvkm_ltc_tags_clear()
36 mutex_lock(&ltc->mutex); in nvkm_ltc_tags_clear()
37 ltc->func->cbc_clear(ltc, first, limit); in nvkm_ltc_tags_clear()
38 ltc->func->cbc_wait(ltc); in nvkm_ltc_tags_clear()
39 mutex_unlock(&ltc->mutex); in nvkm_ltc_tags_clear()
43 nvkm_ltc_zbc_color_get(struct nvkm_ltc *ltc, int index, const u32 color[4]) in nvkm_ltc_zbc_color_get()
45 memcpy(ltc->zbc_color[index], color, sizeof(ltc->zbc_color[index])); in nvkm_ltc_zbc_color_get()
46 ltc->func->zbc_clear_color(ltc, index, color); in nvkm_ltc_zbc_color_get()
[all …]
H A Dgm107.c32 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_clear()
41 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_wait()
43 for (c = 0; c < ltc->ltc_nr; c++) { in gm107_ltc_cbc_wait()
44 for (s = 0; s < ltc->lts_nr; s++) { in gm107_ltc_cbc_wait()
53 gm107_ltc_zbc_clear_color(struct nvkm_ltc *ltc, int i, const u32 color[4]) in gm107_ltc_zbc_clear_color()
55 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_color()
57 nvkm_wr32(device, 0x17e33c, color[0]); in gm107_ltc_zbc_clear_color()
58 nvkm_wr32(device, 0x17e340, color[1]); in gm107_ltc_zbc_clear_color()
59 nvkm_wr32(device, 0x17e344, color[2]); in gm107_ltc_zbc_clear_color()
60 nvkm_wr32(device, 0x17e348, color[3]); in gm107_ltc_zbc_clear_color()
[all …]
/linux/drivers/media/platform/samsung/s3c-camif/
H A Dcamif-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 #include <media/media-device.h>
28 #include <media/v4l2-ctrls.h>
29 #include <media/v4l2-ioctl.h>
30 #include <media/videobuf2-v4l2.h>
31 #include <media/videobuf2-dma-contig.h>
33 #include "camif-core.h"
45 .depth = 16,
47 .color = IMG_FMT_YCBCR422P,
53 .depth = 12,
[all …]
/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-regs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
6 * Samsung EXYNOS5 SoC series G-Scaler driver
12 #include "gsc-core.h"
16 writel(GSC_SW_RESET_SRESET, dev->regs + GSC_SW_RESET); in gsc_hw_set_sw_reset()
25 cfg = readl(dev->regs + GSC_SW_RESET); in gsc_wait_reset()
31 return -EBUSY; in gsc_wait_reset()
38 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask()
43 writel(cfg, dev->regs + GSC_IRQ); in gsc_hw_set_frm_done_irq_mask()
50 cfg = readl(dev->regs + GSC_IRQ); in gsc_hw_set_gsc_irq_enable()
[all …]
/linux/Documentation/devicetree/bindings/display/bridge/
H A Dadi,adv7511.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
14 transmitters compatible with HDMI 1.4 and DVI 1.0. They support color
21 - adi,adv7511
22 - adi,adv7511w
23 - adi,adv7513
37 reg-names:
40 needing a non-default address.
[all …]
/linux/include/media/drv-intf/
H A Dexynos-fimc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2010 - 2013 Samsung Electronics Co., Ltd.
12 #include <media/media-entity.h>
13 #include <media/v4l2-dev.h>
14 #include <media/v4l2-mediabus.h>
37 /* Camera MIPI-CSI2 serial bus */
43 /* FIFO link from FIMC-IS */
62 * struct fimc_source_info - video source description required for the host
66 * @sensor_bus_type: image sensor bus type, MIPI, ITU-R BT.601 etc.
88 * struct fimc_fmt - color format data structure
[all …]
/linux/Documentation/arch/m68k/
H A Dkernel-options.rst9 Author: Roman.Hodek@informatik.uni-erlangen.de (Roman Hodek)
11 Update: jds@kom.auc.dk (Jes Sorensen) and faq@linux-m68k.org (Chris Lawrence)
58 ----------
76 /dev/ram: -> 0x0100 (initial ramdisk)
77 /dev/hda: -> 0x0300 (first IDE disk)
78 /dev/hdb: -> 0x0340 (second IDE disk)
79 /dev/sda: -> 0x0800 (first SCSI disk)
80 /dev/sdb: -> 0x0810 (second SCSI disk)
81 /dev/sdc: -> 0x0820 (third SCSI disk)
82 /dev/sdd: -> 0x0830 (forth SCSI disk)
[all …]
/linux/include/drm/
H A Ddrm_fourcc.h30 * DRM_FORMAT_MAX_PLANES - maximum number of planes a DRM format can have
60 * struct drm_format_info - information about a DRM format
67 * @depth:
69 * Color depth (number of bits per pixel excluding padding bits),
73 u8 depth; member
75 /** @num_planes: Number of color planes (1 to 3) */
105 * block and non-block formats in the same way.
107 * For formats that are intended to be used only with non-linear
143 /** @is_color_indexed: Is it a color-indexed format? */
148 * drm_format_info_is_yuv_packed - check that the format info matches a YUV
[all …]
/linux/drivers/firmware/
H A Dsysfb_simplefb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com>
8 * simple-framebuffer probing
9 * Try to convert "screen_info" into a "simple-framebuffer" compatible mode.
26 /* try parsing screen_info into a simple-framebuffer mode struct */
34 type = si->orig_video_isVGA; in sysfb_parse_mode()
39 * The meaning of depth and bpp for direct-color formats is in sysfb_parse_mode()
42 * - DRM format info specifies depth as the number of color in sysfb_parse_mode()
44 * - Linux' EFI platform code computes lfb_depth from the in sysfb_parse_mode()
45 * individual color channels, including the reserved bits. in sysfb_parse_mode()
[all …]
/linux/tools/power/pm-graph/
H A Dsleepgraph.py2 # SPDX-License-Identifier: GPL-2.0-only
21 # https://01.org/pm-graph
23 # git@github.com:intel/pm-graph
51 # ----------------- LIBRARIES --------------------
73 print('[%09.3f] %s' % (time.time()-mystarttime, msg))
81 # ----------------- CLASSES --------------------
85 # A global, single-instance container used to
107 cgtest = -1
182 tmstart = 'SUSPEND START %Y%m%d-%H:%M:%S.%f'
183 tmend = 'RESUME COMPLETE %Y%m%d-%H:%M:%S.%f'
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/
H A Ddcn10_stream_encoder.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
36 enc1->base.ctx->logger
39 (enc1->regs->reg)
43 enc1->se_shift->field_name, enc1->se_mask->field_name
55 enc1->base.ctx
73 /* poll dig_update_lock is not locked -> asic internal signal in enc1_update_generic_info_packet()
83 /* HW does is not reading GSP memory not reading too long -> in enc1_update_generic_info_packet()
97 AFMT_GENERIC_HB0, info_packet->hb0, in enc1_update_generic_info_packet()
98 AFMT_GENERIC_HB1, info_packet->hb1, in enc1_update_generic_info_packet()
99 AFMT_GENERIC_HB2, info_packet->hb2, in enc1_update_generic_info_packet()
[all …]

12345678910>>...12