Home
last modified time | relevance | path

Searched full:ccs (Results 1 – 25 of 120) sorted by relevance

12345

/linux-6.12.1/Documentation/driver-api/media/drivers/ccs/
Dccs.rst5 .. _media-ccs-driver:
7 MIPI CCS camera sensor driver
10 The MIPI CCS camera sensor driver is a generic driver for `MIPI CCS
14 Also see :ref:`the CCS driver UAPI documentation <media-ccs-uapi>`.
16 CCS static data
19 The MIPI CCS driver supports CCS static data for all compliant devices,
20 including not just those compliant with CCS 1.1 but also CCS 1.0 and SMIA(++).
21 For CCS the file names are formed as
23 ccs/ccs-sensor-vvvv-mmmm-rrrr.fw (sensor) and
24 ccs/ccs-module-vvvv-mmmm-rrrr.fw (module).
[all …]
Dmk-ccs-regs8 my $ccsregs = "ccs-regs.asc";
28 $0 - Create CCS register definitions for C
30 usage: $0 -c ccs-regs.asc -e header -r regarray -l limit-c -L limit-header [-k]
32 -c ccs register file
44 ? '#include "ccs-os.h"' . "\n"
153 #include "ccs-extra.h"
154 #include "ccs-regs.h"
185 #include "ccs-limits.h"
186 #include "ccs-regs.h"
/linux-6.12.1/drivers/media/i2c/ccs/
DMakefile2 ccs-objs += ccs-core.o ccs-reg-access.o \
3 ccs-quirk.o ccs-limits.o ccs-data.o
4 obj-$(CONFIG_VIDEO_CCS) += ccs.o
Dccs-data.h3 * CCS static data in-memory data structure definitions
16 * struct ccs_data_block_version - CCS static data version
32 * struct ccs_reg - CCS register value
44 * struct ccs_if_rule - CCS static data if rule
56 * struct ccs_frame_format_desc - CCS frame format descriptor
66 * struct ccs_frame_format_descs - A series of CCS frame format descriptors
80 * struct ccs_pdaf_readout - CCS PDAF data readout descriptor
90 * struct ccs_rule - A CCS static data rule
182 * struct ccs_data_container - In-memory CCS static data
183 * @version: CCS static data version
Dccs.h3 * drivers/media/i2c/smiapp/ccs.h
5 * Generic driver for MIPI CCS/SMIA/SMIA++ compliant camera sensors
20 #include "ccs-data.h"
21 #include "ccs-limits.h"
22 #include "ccs-quirk.h"
23 #include "ccs-regs.h"
24 #include "ccs-reg-access.h"
25 #include "../ccs-pll.h"
50 #define CCS_NAME "ccs"
Dccs-reg-access.h3 * include/media/ccs/ccs-reg-access.h
5 * Generic driver for MIPI CCS/SMIA/SMIA++ compliant camera sensors
18 #include "ccs-regs.h"
Dccs-reg-access.c3 * drivers/media/i2c/ccs/ccs-reg-access.c
5 * Generic driver for MIPI CCS/SMIA/SMIA++ compliant camera sensors
17 #include "ccs.h"
18 #include "ccs-limits.h"
DKconfig3 tristate "MIPI CCS/SMIA++/SMIA sensor support"
8 This is a generic driver for MIPI CCS, SMIA++ and SMIA compliant
Dccs-quirk.c3 * drivers/media/i2c/ccs/ccs-quirk.c
5 * Generic driver for MIPI CCS/SMIA/SMIA++ compliant camera sensors
14 #include "ccs.h"
15 #include "ccs-limits.h"
Dccs-quirk.h3 * drivers/media/i2c/ccs/ccs-quirk.h
5 * Generic driver for MIPI CCS/SMIA/SMIA++ compliant camera sensors
/linux-6.12.1/drivers/media/i2c/
Dccs-pll.h3 * drivers/media/i2c/ccs-pll.h
5 * Generic MIPI CCS/SMIA/SMIA++ PLL calculator
25 /* CCS PLL flags */
37 * struct ccs_pll_branch_fr - CCS PLL configuration (front)
39 * A single branch front-end of the CCS PLL tree.
54 * struct ccs_pll_branch_bk - CCS PLL configuration (back)
56 * A single branch back-end of the CCS PLL tree.
71 * struct ccs_pll - Full CCS PLL configuration
73 * All information required to calculate CCS PLL configuration.
127 * struct ccs_pll_branch_limits_fr - CCS PLL front-end limits
[all …]
/linux-6.12.1/Documentation/userspace-api/media/drivers/
Dccs.rst5 .. _media-ccs-uapi:
7 MIPI CCS camera sensor driver
10 The MIPI CCS camera sensor driver is a generic driver for `MIPI CCS
18 Also see :ref:`the CCS driver kernel documentation <media-ccs-driver>`.
66 The MIPI CCS driver implements a number of private controls under
67 ``V4L2_CID_USER_BASE_CCS`` to control the MIPI CCS compliant camera sensors.
72 The CCS defines an analogue gain model where the gain can be calculated using
91 The CCS defines another analogue gain model called alternate analogue gain. In
104 The CCS standard supports lens shading correction. The feature can be controlled
/linux-6.12.1/Documentation/devicetree/bindings/media/i2c/
Dmipi-ccs.yaml5 $id: http://devicetree.org/schemas/media/i2c/mipi-ccs.yaml#
8 title: MIPI CCS, SMIA++ and SMIA compliant camera sensors
15 CCS (Camera Command Set) is a raw Bayer camera sensor standard defined by the
30 - const: mipi-ccs-1.1
31 - const: mipi-ccs
33 - const: mipi-ccs-1.0
34 - const: mipi-ccs
116 compatible = "mipi-ccs-1.0", "mipi-ccs";
/linux-6.12.1/drivers/gpu/drm/xe/tests/
Dxe_bo.c37 /* Optionally clear bo *and* CCS data in VRAM. */ in ccs_test_migrate()
48 /* Evict to system. CCS data should be copied. */ in ccs_test_migrate()
66 * Bo with CCS data is now in system memory. Verify backing store in ccs_test_migrate()
78 KUNIT_FAIL(test, "No TTM CCS pages present.\n"); in ccs_test_migrate()
85 /* Check first CCS value */ in ccs_test_migrate()
88 "Expected CCS readout 0x%016llx, got 0x%016llx.\n", in ccs_test_migrate()
94 /* Check last CCS value, or at least last value in page. */ in ccs_test_migrate()
99 "Expected CCS readout 0x%016llx, got 0x%016llx.\n", in ccs_test_migrate()
136 kunit_info(test, "Verifying that CCS data is cleared on creation.\n"); in ccs_test_run_tile()
142 kunit_info(test, "Verifying that CCS data survives migration.\n"); in ccs_test_run_tile()
[all …]
Dxe_migrate.c533 if (!sanity_fence_failed(xe, fence, "Clear ccs buffer data", test)) { in test_migrate()
535 check(retval, 0, "Clear ccs data first value", test); in test_migrate()
538 check(retval, 0, "Clear ccs data last value", test); in test_migrate()
572 if (!sanity_fence_failed(xe, fence, "Clear ccs buffer data", test)) { in test_migrate()
574 check(retval, 0, "Clear ccs data first value", test); in test_migrate()
576 check(retval, 0, "Clear ccs data last value", test); in test_migrate()
627 if (!sanity_fence_failed(xe, fence, "Clear ccs buffer data", test)) { in test_clear()
629 check(retval, expected, "Clear ccs data first value", test); in test_clear()
631 check(retval, expected, "Clear ccs data last value", test); in test_clear()
743 kunit_skip(test, "non-flat-ccs device\n"); in validate_ccs_test_run_device()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_migrate.c489 * DOC: Flat-CCS - Memory compression for Local memory
491 * On Xe-HP and later devices, we use dedicated compression control state (CCS)
495 * The memory required for the CCS of the entire local memory is 1/256 of the
497 * for the CCS data and a secure register will be programmed with the CCS base
500 * Flat CCS data needs to be cleared when a lmem object is allocated.
501 * And CCS data can be copied in and out of CCS region through
502 * XY_CTRL_SURF_COPY_BLT. CPU can't access the CCS data directly.
504 * I915 supports Flat-CCS on lmem only objects. When an objects has smem in
506 * content into smem. If the lmem object is Flat-CCS compressed by userspace,
508 * for such decompression. Hence I915 supports Flat-CCS only on lmem only objects.
[all …]
Dintel_gt_ccs_mode.c20 /* Build the value for the fixed CCS load balancing */ in intel_gt_apply_ccs_mode()
22 if (gt->ccs.cslices & BIT(cslice)) in intel_gt_apply_ccs_mode()
32 * unavailable if no CCS dispatches here in intel_gt_apply_ccs_mode()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_fb.c26 * "The Color Control Surface (CCS) contains the compression status of
28 * is specified by 2 bits in the CCS. Each CCS cache-line represents
30 * cache-line-pairs. CCS is always Y tiled."
33 * each cache line in the CCS corresponds to an area of 32x16 cache
35 * us a ratio of one byte in the CCS for each 8x16 pixels in the
50 * Gen-12 compression uses 4 bits of CCS data for each cache line pair in the
51 * main surface. And each 64B CCS cache line represents an area of 4x1 Y-tiles
53 * 32x32 pixels, the ratio turns out to 1B in the CCS for every 2x32 pixels in
152 } ccs; member
178 .ccs.packed_aux_planes = BIT(1),
[all …]
/linux-6.12.1/include/uapi/drm/
Ddrm_fourcc.h553 * Intel color control surface (CCS) for render compression
557 * the CCS will be plane index 1.
559 * Each CCS tile matches a 1024x512 pixel area of the main surface.
560 * To match certain aspects of the 3D hardware the CCS is
562 * the CCS pitch must be specified in multiples of 128 bytes.
564 * In reality the CCS tile appears to be a 64Bx64 Y tile, composed
573 * Intel color control surfaces (CCS) for Gen-12 render compression.
575 * The main surface is Y-tiled and at plane index 0, the CCS is linear and
576 * at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in
577 * main surface. In other words, 4 bits in CCS map to a main surface cache
[all …]
/linux-6.12.1/Documentation/driver-api/media/drivers/
Dindex.rst28 ccs/ccs
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dfourcc.rst3 Guidelines for Video4Linux pixel format 4CCs
11 Existing 4CCs may not obey these guidelines.
Dmetafmt-generic.rst62 the data is defined in the MIPI CCS specification.
106 the data is defined in the MIPI CCS specification.
152 the data is defined in the MIPI CCS specification.
195 the data is defined in the MIPI CCS specification.
244 the data is defined in the MIPI CCS specification.
297 the data is defined in the MIPI CCS specification.
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_drm_client.c69 * drm-cycles-ccs: 0
70 * drm-total-cycles-ccs: 7655183225
71 * drm-engine-capacity-ccs: 4
73 * Possible `drm-cycles-` key names are: `rcs`, `ccs`, `bcs`, `vcs`, `vecs` and
Dxe_migrate.c318 * if flat ccs is enabled. in xe_migrate_prepare_vm()
463 /* min chunk size corresponds to 4K of CCS Metadata */ in xe_migrate_init()
493 * min_chunk_size in order for the offset to CCS metadata to be in xe_migrate_res_sizes()
712 * user. Make sure we copy the CCS aux state as-is. in xe_migrate_ccs_copy()
714 * Otherwise if the bo doesn't have any CCS metadata attached, in xe_migrate_ccs_copy()
750 * @copy_only_ccs: If true copy only CCS metadata
752 * Copies the contents of @src to @dst: On flat CCS devices,
753 * the CCS metadata is copied as well if needed, or if not present,
754 * the CCS metadata of @dst is cleared for security reasons.
787 /* Copying CCS between two different BOs is not supported yet. */ in xe_migrate_copy()
[all …]
/linux-6.12.1/drivers/usb/gadget/udc/cdns2/
Dcdns2-debug.h75 ret += scnprintf(str + ret, size - ret, "CCS "); in cdns2_decode_dma_irq()
123 "\t\tfree trbs: %d, CCS=%d, PCS=%d\n", in cdns2_raw_ring()
124 ring->free_trbs, ring->ccs, ring->pcs); in cdns2_raw_ring()

12345