Home
last modified time | relevance | path

Searched refs:matrix (Results 1 – 25 of 235) sorted by relevance

12345678910

/linux-6.12.1/include/trace/events/
Dirq_matrix.h14 TP_PROTO(struct irq_matrix *matrix),
16 TP_ARGS(matrix),
26 __entry->online_maps = matrix->online_maps;
27 __entry->global_available = matrix->global_available;
28 __entry->global_reserved = matrix->global_reserved;
29 __entry->total_allocated = matrix->total_allocated;
39 TP_PROTO(int bit, struct irq_matrix *matrix),
41 TP_ARGS(bit, matrix),
53 __entry->online_maps = matrix->online_maps;
54 __entry->global_available = matrix->global_available;
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/
Dia_css_csc.host.c42 to->m00 = (int16_t)from->matrix[0]; in ia_css_encode_cc()
43 to->m01 = (int16_t)from->matrix[1]; in ia_css_encode_cc()
44 to->m02 = (int16_t)from->matrix[2]; in ia_css_encode_cc()
45 to->m10 = (int16_t)from->matrix[3]; in ia_css_encode_cc()
46 to->m11 = (int16_t)from->matrix[4]; in ia_css_encode_cc()
47 to->m12 = (int16_t)from->matrix[5]; in ia_css_encode_cc()
48 to->m20 = (int16_t)from->matrix[6]; in ia_css_encode_cc()
49 to->m21 = (int16_t)from->matrix[7]; in ia_css_encode_cc()
50 to->m22 = (int16_t)from->matrix[8]; in ia_css_encode_cc()
122 config->matrix[0], in ia_css_cc_config_debug_dtrace()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Datmel-matrix.txt8 "atmel,at91sam9260-matrix", "syscon"
9 "atmel,at91sam9261-matrix", "syscon"
10 "atmel,at91sam9263-matrix", "syscon"
11 "atmel,at91sam9rl-matrix", "syscon"
12 "atmel,at91sam9g45-matrix", "syscon"
13 "atmel,at91sam9n12-matrix", "syscon"
14 "atmel,at91sam9x5-matrix", "syscon"
15 "atmel,sama5d3-matrix", "syscon"
16 "microchip,sam9x60-matrix", "syscon"
17 "microchip,sam9x7-matrix", "atmel,at91sam9x5-matrix", "syscon"
[all …]
Dtc3589x.txt50 - keypad,num-rows : number of rows in the matrix, see
51 bindings/input/matrix-keymap.txt
52 - keypad,num-columns : number of columns in the matrix, see
53 bindings/input/matrix-keymap.txt
55 bindings/input/matrix-keymap.txt
/linux-6.12.1/drivers/media/platform/amphion/
Dvpu_color.c89 u32 vpu_color_cvrt_matrix_v2i(u32 matrix) in vpu_color_cvrt_matrix_v2i() argument
91 return vpu_helper_find_in_array_u8(colormatrixcoefs, ARRAY_SIZE(colormatrixcoefs), matrix); in vpu_color_cvrt_matrix_v2i()
94 u32 vpu_color_cvrt_matrix_i2v(u32 matrix) in vpu_color_cvrt_matrix_i2v() argument
96 return matrix < ARRAY_SIZE(colormatrixcoefs) ? colormatrixcoefs[matrix] : 0; in vpu_color_cvrt_matrix_i2v()
122 int vpu_color_check_matrix(u32 matrix) in vpu_color_check_matrix() argument
124 return vpu_color_cvrt_matrix_v2i(matrix) ? 0 : -EINVAL; in vpu_color_check_matrix()
146 u32 matrix; in vpu_color_get_default() local
152 matrix = V4L2_YCBCR_ENC_709; in vpu_color_get_default()
158 matrix = V4L2_YCBCR_ENC_601; in vpu_color_get_default()
162 matrix = V4L2_YCBCR_ENC_SMPTE240M; in vpu_color_get_default()
[all …]
Dvpu_helpers.h59 int vpu_color_check_matrix(u32 matrix);
65 u32 vpu_color_cvrt_matrix_v2i(u32 matrix);
66 u32 vpu_color_cvrt_matrix_i2v(u32 matrix);
/linux-6.12.1/drivers/s390/crypto/
Dvfio_ap_ops.c157 if (test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm) && in get_update_locks_by_apqn()
158 test_bit_inv(AP_QID_QUEUE(apqn), matrix_mdev->matrix.aqm)) { in get_update_locks_by_apqn()
634 struct ap_matrix *matrix) in vfio_ap_matrix_init() argument
636 matrix->apm_max = info->apxa ? info->na : 63; in vfio_ap_matrix_init()
637 matrix->aqm_max = info->apxa ? info->nd : 15; in vfio_ap_matrix_init()
638 matrix->adm_max = info->apxa ? info->nd : 15; in vfio_ap_matrix_init()
655 bitmap_and(matrix_mdev->shadow_apcb.adm, matrix_mdev->matrix.adm, in vfio_ap_mdev_filter_cdoms()
716 bitmap_and(matrix_mdev->shadow_apcb.apm, matrix_mdev->matrix.apm, in vfio_ap_mdev_filter_matrix()
718 bitmap_and(matrix_mdev->shadow_apcb.aqm, matrix_mdev->matrix.aqm, in vfio_ap_mdev_filter_matrix()
761 vfio_ap_matrix_init(&matrix_dev->info, &matrix_mdev->matrix); in vfio_ap_mdev_init_dev()
[all …]
/linux-6.12.1/drivers/of/
Dof_numa.c80 const __be32 *matrix; in of_numa_parse_distance_map_v1() local
86 matrix = of_get_property(map, "distance-matrix", NULL); in of_numa_parse_distance_map_v1()
87 if (!matrix) { in of_numa_parse_distance_map_v1()
101 nodea = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
102 matrix++; in of_numa_parse_distance_map_v1()
103 nodeb = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
104 matrix++; in of_numa_parse_distance_map_v1()
105 distance = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
106 matrix++; in of_numa_parse_distance_map_v1()
/linux-6.12.1/Documentation/devicetree/bindings/input/
Dgpio-matrix-keypad.txt1 * GPIO driven matrix keypad device tree bindings
3 GPIO driven matrix keypad is used to interface a SoC with a matrix keypad.
4 The matrix keypad supports multiple row and column lines, a key can be
5 placed at each intersection of a unique row and a unique column. The matrix
10 - compatible: Should be "gpio-matrix-keypad"
18 bindings/input/matrix-keymap.txt
31 matrix-keypad {
32 compatible = "gpio-matrix-keypad";
Dnvidia,tegra20-kbc.txt2 The key controller has maximum 24 pins to make matrix keypad. Any pin
15 devicetree/bindings/input/matrix-keymap.txt.
24 matrix-keyboard bindings:
27 matrix-keyboard-controller spec but to be used when the KEY_FN modifier
Dtca8418_keypad.txt1 This binding is based on the matrix-keymap binding with the following
10 - linux,keymap: Keys definitions, see keypad-matrix.
Dclps711x-keypad.txt1 * Cirrus Logic CLPS711X matrix keypad device tree bindings
8 bindings/input/matrix-keymap.txt.
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-iio-mpu60507 This is mounting matrix for motion sensors. Mounting matrix
8 is a 3x3 unitary matrix. A typical mounting matrix would look like
11 positions relative to the board that holds these sensors. Identity matrix
/linux-6.12.1/samples/auxdisplay/
Dcfag12864b-example.c151 static void cfag12864b_format(unsigned char * matrix) in cfag12864b_format() argument
160 if (matrix[i * CFAG12864B_WIDTH + in cfag12864b_format()
189 unsigned char matrix[CFAG12864B_WIDTH * CFAG12864B_HEIGHT]; in example() local
212 memset(matrix, 0, CFAG12864B_WIDTH * CFAG12864B_HEIGHT); in example()
215 matrix[j * CFAG12864B_WIDTH + i] = 1; in example()
216 cfag12864b_format(matrix); in example()
/linux-6.12.1/Documentation/devicetree/bindings/iio/
Dmount-matrix.txt5 * should we have HOWTO engineer a correct matrix for a new device (without comparing to a different…
10 Mounting matrix
12 The mounting matrix is a device tree property used to orient any device
16 The purpose of the mounting matrix is to translate the sensor frame of
17 reference into the device frame of reference using a translation matrix as
43 to this world. When using the mounting matrix, the sensor and device orientation
154 To achieve this, use the device tree property "mount-matrix" for the sensor.
156 This supplies a 3x3 rotation matrix in the strict linear algebraic sense,
159 multiplied by this matrix to give the proper vectors values in three-dimensional
165 The mounting matrix has the layout:
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_tables.h28 .matrix = {141, 18, 68, -40, -5, -19, 35, 4, 16},
34 .matrix = {255, 29, 120, 0, 374, 342, 0, 672, -301},
40 .matrix = {255, 29, 120, 0, 0, 0, 0, 0, 0},
/linux-6.12.1/drivers/media/i2c/
Dov7670.c1279 int matrix[CMATRIX_LEN]) in ov7670_store_cmatrix()
1294 if (matrix[i] < 0) { in ov7670_store_cmatrix()
1296 if (matrix[i] < -255) in ov7670_store_cmatrix()
1299 raw = (-1 * matrix[i]) & 0xff; in ov7670_store_cmatrix()
1301 if (matrix[i] > 255) in ov7670_store_cmatrix()
1304 raw = matrix[i] & 0xff; in ov7670_store_cmatrix()
1363 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix()
1370 matrix[i] = (info->fmt->cmatrix[i] * sat) >> 7; in ov7670_calc_cmatrix()
1377 memcpy(tmpmatrix, matrix, CMATRIX_LEN*sizeof(int)); in ov7670_calc_cmatrix()
1381 matrix[0] = (matrix[3]*sinth + matrix[0]*costh)/1000; in ov7670_calc_cmatrix()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dconversion.c80 uint16_t *matrix, in convert_float_matrix() argument
100 matrix[i] = (uint16_t)reg_value; in convert_float_matrix()
130 void convert_hw_matrix(struct fixed31_32 *matrix, in convert_hw_matrix() argument
135 matrix[i] = int_frac_to_fixed_point(reg[i], 2, 13); in convert_hw_matrix()
Dconversion.h37 uint16_t *matrix,
44 void convert_hw_matrix(struct fixed31_32 *matrix,
/linux-6.12.1/drivers/staging/media/sunxi/cedrus/
Dcedrus_mpeg2.c59 const u8 *matrix; in cedrus_mpeg2_setup() local
72 matrix = quantisation->intra_quantiser_matrix; in cedrus_mpeg2_setup()
74 reg = VE_DEC_MPEG_IQMINPUT_WEIGHT(i, matrix[i]); in cedrus_mpeg2_setup()
81 matrix = quantisation->non_intra_quantiser_matrix; in cedrus_mpeg2_setup()
83 reg = VE_DEC_MPEG_IQMINPUT_WEIGHT(i, matrix[i]); in cedrus_mpeg2_setup()
/linux-6.12.1/Documentation/devicetree/bindings/
Dnuma.txt44 - distance-matrix
45 This property defines a matrix to describe the relative distances
55 3. distance-matrix should have entries in lexicographical ascending
60 distance-matrix is used.
83 and dt presentation for this distance matrix is,
87 distance-matrix = <0 0 10>,
131 distance-matrix = <0 0 10>,
316 distance-matrix = <0 0 10>,
/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dext-ctrls-detect.rst39 ``V4L2_CID_DETECT_MD_THRESHOLD_GRID`` matrix control.
46 ``V4L2_CID_DETECT_MD_REGION_GRID`` matrix control.
54 ``V4L2_CID_DETECT_MD_THRESHOLD_GRID (__u16 matrix)``
60 ``V4L2_CID_DETECT_MD_REGION_GRID (__u8 matrix)``
/linux-6.12.1/Documentation/arch/s390/
Dvfio-ap.rst150 be received (DQAP instruction). The validity of an APQN is defined by the matrix
190 1. AP matrix device
202 domains, and control domains comprising the matrix for a KVM guest.
205 by a KVM guest's SIE state description to grant the guest access to a matrix
222 | +----------------> Device core +----------> matrix device |
240 | admin | | VFIO device core |---------> matrix |
252 2. The vfio-ap driver during its initialization will register a single 'matrix'
254 all vfio_ap mediated devices used to configure an AP matrix for a guest.
255 3. The /sys/devices/vfio_ap/matrix device is created by the device core
302 | | device | | | vfio_ap.ko |<-> matrix
[all …]
/linux-6.12.1/drivers/gpu/drm/vc4/
Dvc4_kms.c143 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[0]), in vc4_ctm_commit()
145 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[3]), in vc4_ctm_commit()
147 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[6]), in vc4_ctm_commit()
150 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[1]), in vc4_ctm_commit()
152 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[4]), in vc4_ctm_commit()
154 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[7]), in vc4_ctm_commit()
157 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[2]), in vc4_ctm_commit()
159 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[5]), in vc4_ctm_commit()
161 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[8]), in vc4_ctm_commit()
555 for (i = 0; i < ARRAY_SIZE(ctm->matrix); i++) { in vc4_ctm_atomic_check()
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv50/
Dbase907c.c144 u32 *val = &asyw->csc.matrix[j * 4 + i]; in base907c_csc()
150 *val = csc_drm_to_base(ctm->matrix[j * 3 + i]); in base907c_csc()
181 NVVAL(NV907C, SET_CSC_RED2RED, COEFF, asyw->csc.matrix[0]), in base907c_csc_set()
183 SET_CSC_GRN2RED, &asyw->csc.matrix[1], 11); in base907c_csc_set()

12345678910