Home
last modified time | relevance | path

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

12345678

/Linux-v5.15/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-v5.15/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-v5.15/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"
22 matrix: matrix@ffffec00 {
[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-v5.15/drivers/s390/crypto/
Dvfio_ap_ops.c55 if (!test_bit_inv(AP_QID_CARD(apqn), matrix_mdev->matrix.apm)) in vfio_ap_get_queue()
57 if (!test_bit_inv(AP_QID_QUEUE(apqn), matrix_mdev->matrix.aqm)) in vfio_ap_get_queue()
324 struct ap_matrix *matrix) in vfio_ap_matrix_init() argument
326 matrix->apm_max = info->apxa ? info->Na : 63; in vfio_ap_matrix_init()
327 matrix->aqm_max = info->apxa ? info->Nd : 15; in vfio_ap_matrix_init()
328 matrix->adm_max = info->apxa ? info->Nd : 15; in vfio_ap_matrix_init()
348 vfio_ap_matrix_init(&matrix_dev->info, &matrix_mdev->matrix); in vfio_ap_mdev_probe()
531 unsigned long nbits = matrix_mdev->matrix.aqm_max + 1; in vfio_ap_mdev_verify_queues_reserved_for_apid()
533 if (find_first_bit_inv(matrix_mdev->matrix.aqm, nbits) >= nbits) in vfio_ap_mdev_verify_queues_reserved_for_apid()
536 for_each_set_bit_inv(apqi, matrix_mdev->matrix.aqm, nbits) { in vfio_ap_mdev_verify_queues_reserved_for_apid()
[all …]
/Linux-v5.15/drivers/of/
Dof_numa.c79 const __be32 *matrix; in of_numa_parse_distance_map_v1() local
85 matrix = of_get_property(map, "distance-matrix", NULL); in of_numa_parse_distance_map_v1()
86 if (!matrix) { in of_numa_parse_distance_map_v1()
100 nodea = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
101 matrix++; in of_numa_parse_distance_map_v1()
102 nodeb = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
103 matrix++; in of_numa_parse_distance_map_v1()
104 distance = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
105 matrix++; in of_numa_parse_distance_map_v1()
/Linux-v5.15/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";
Dqcom,pm8xxx-keypad.txt29 input/matrix-keymap.txt.
46 in input/matrix-keymap.txt.
52 found in input/matrix-keymap.txt.
64 of the matrix array.
70 the matrix array.
Dstmpe-keypad.txt5 - linux,keymap : See ./matrix-keymap.txt
11 - keypad,num-rows : See ./matrix-keymap.txt
12 - keypad,num-columns : See ./matrix-keymap.txt
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-v5.15/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-v5.15/Documentation/s390/
Dvfio-ap.rst153 be received (DQAP instruction). The validity of an APQN is defined by the matrix
193 1. AP matrix device
195 3. VFIO AP mediated matrix pass-through device
203 2. Sets up the VFIO mediated device interfaces to manage a mediated matrix
205 domains, and control domains comprising the matrix for a KVM guest.
208 SIE state description to grant the guest access to a matrix of AP devices
224 | +----------------> Device core +----------> matrix device |
242 | admin | | VFIO device core |---------> matrix |
254 2. The vfio-ap driver during its initialization will register a single 'matrix'
256 all mediated matrix devices used to configure an AP matrix for a guest.
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/media/i2c/
Dov7670.c1283 int matrix[CMATRIX_LEN]) in ov7670_store_cmatrix()
1298 if (matrix[i] < 0) { in ov7670_store_cmatrix()
1300 if (matrix[i] < -255) in ov7670_store_cmatrix()
1303 raw = (-1 * matrix[i]) & 0xff; in ov7670_store_cmatrix()
1305 if (matrix[i] > 255) in ov7670_store_cmatrix()
1308 raw = matrix[i] & 0xff; in ov7670_store_cmatrix()
1367 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix()
1374 matrix[i] = (info->fmt->cmatrix[i] * sat) >> 7; in ov7670_calc_cmatrix()
1381 memcpy(tmpmatrix, matrix, CMATRIX_LEN*sizeof(int)); in ov7670_calc_cmatrix()
1385 matrix[0] = (matrix[3]*sinth + matrix[0]*costh)/1000; in ov7670_calc_cmatrix()
[all …]
/Linux-v5.15/drivers/gpu/drm/msm/disp/
Dmdp_format.c15 .matrix = {
27 .matrix = {
39 .matrix = {
51 .matrix = {
/Linux-v5.15/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-v5.15/drivers/staging/media/sunxi/cedrus/
Dcedrus_mpeg2.c61 const u8 *matrix; in cedrus_mpeg2_setup() local
76 matrix = quantisation->intra_quantiser_matrix; in cedrus_mpeg2_setup()
78 reg = VE_DEC_MPEG_IQMINPUT_WEIGHT(i, matrix[i]); in cedrus_mpeg2_setup()
85 matrix = quantisation->non_intra_quantiser_matrix; in cedrus_mpeg2_setup()
87 reg = VE_DEC_MPEG_IQMINPUT_WEIGHT(i, matrix[i]); in cedrus_mpeg2_setup()
/Linux-v5.15/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>,
272 distance-matrix = <0 0 10>,
/Linux-v5.15/drivers/gpu/drm/vc4/
Dvc4_kms.c163 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[0]), in vc4_ctm_commit()
165 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[3]), in vc4_ctm_commit()
167 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[6]), in vc4_ctm_commit()
170 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[1]), in vc4_ctm_commit()
172 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[4]), in vc4_ctm_commit()
174 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[7]), in vc4_ctm_commit()
177 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[2]), in vc4_ctm_commit()
179 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[5]), in vc4_ctm_commit()
181 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[8]), in vc4_ctm_commit()
529 for (i = 0; i < ARRAY_SIZE(ctm->matrix); i++) { in vc4_ctm_atomic_check()
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/dispnv50/
Dbase907c.c148 u32 *val = &asyw->csc.matrix[j * 4 + i]; in base907c_csc()
154 *val = csc_drm_to_base(ctm->matrix[j * 3 + i]); in base907c_csc()
185 NVVAL(NV907C, SET_CSC_RED2RED, COEFF, asyw->csc.matrix[0]), in base907c_csc_set()
187 SET_CSC_GRN2RED, &asyw->csc.matrix[1], 11); in base907c_csc_set()
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c162 struct fixed31_32 *matrix) in __drm_ctm_to_dc_matrix() argument
178 matrix[i] = dc_fixpt_zero; in __drm_ctm_to_dc_matrix()
183 val = ctm->matrix[i - (i / 4)]; in __drm_ctm_to_dc_matrix()
188 matrix[i].value = val; in __drm_ctm_to_dc_matrix()
429 __drm_ctm_to_dc_matrix(ctm, stream->gamut_remap_matrix.matrix); in amdgpu_dm_update_crtc_color_mgmt()

12345678