Home
last modified time | relevance | path

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

12345678

/linux/include/trace/events/
H A 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/drivers/s390/crypto/
H A 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()
646 struct ap_matrix *matrix) in vfio_ap_matrix_init() argument
648 matrix->apm_max = info->apxa ? info->na : 63; in vfio_ap_matrix_init()
649 matrix->aqm_max = info->apxa ? info->nd : 15; in vfio_ap_matrix_init()
650 matrix->adm_max = info->apxa ? info->nd : 15; in vfio_ap_matrix_init()
676 bitmap_and(matrix_mdev->shadow_apcb.adm, matrix_mdev->matrix.adm, in vfio_ap_mdev_filter_cdoms()
737 bitmap_and(matrix_mdev->shadow_apcb.apm, matrix_mdev->matrix.apm, in vfio_ap_mdev_filter_matrix()
739 bitmap_and(matrix_mdev->shadow_apcb.aqm, matrix_mdev->matrix.aqm, in vfio_ap_mdev_filter_matrix()
782 vfio_ap_matrix_init(&matrix_dev->info, &matrix_mdev->matrix); in vfio_ap_mdev_init_dev()
[all …]
/linux/drivers/of/
H A 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/Documentation/ABI/testing/
H A 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/samples/auxdisplay/
H A 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/Documentation/devicetree/bindings/iio/
H A 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/drivers/media/i2c/
H A 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/drivers/gpu/drm/amd/display/dc/basics/
H A 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()
H A Dconversion.h37 uint16_t *matrix,
44 void convert_hw_matrix(struct fixed31_32 *matrix,
/linux/drivers/staging/media/sunxi/cedrus/
H A 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/Documentation/arch/s390/
H A 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/Documentation/devicetree/bindings/mfd/
H A 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/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-detect.rst40 ``V4L2_CID_DETECT_MD_THRESHOLD_GRID`` matrix control.
47 ``V4L2_CID_DETECT_MD_REGION_GRID`` matrix control.
55 ``V4L2_CID_DETECT_MD_THRESHOLD_GRID (__u16 matrix)``
61 ``V4L2_CID_DETECT_MD_REGION_GRID (__u8 matrix)``
/linux/Documentation/devicetree/bindings/input/
H A 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
H A Dclps711x-keypad.txt1 * Cirrus Logic CLPS711X matrix keypad device tree bindings
8 bindings/input/matrix-keymap.txt.
H A Domap-keypad.txt3 TI's Keypad controller is used to interface a SoC with a matrix-type
9 This binding is based on the matrix-keymap binding with the following
H A Dbrcm,bcm-keypad.txt3 Broadcom Keypad controller is used to interface a SoC with a matrix-type
9 This binding is based on the matrix-keymap binding with the following
62 devicetree/bindings/input/matrix-keymap.txt.
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A 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()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_kms.c146 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[0]), in vc4_ctm_commit()
148 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[3]), in vc4_ctm_commit()
150 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[6]), in vc4_ctm_commit()
153 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[1]), in vc4_ctm_commit()
155 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[4]), in vc4_ctm_commit()
157 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[7]), in vc4_ctm_commit()
160 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[2]), in vc4_ctm_commit()
162 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[5]), in vc4_ctm_commit()
164 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[8]), in vc4_ctm_commit()
631 for (i = 0; i < ARRAY_SIZE(ctm->matrix); i++) { in vc4_ctm_atomic_check()
[all …]
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c497 uint32_t *matrix; in csc_enable() local
509 matrix = csc->matrix; in csc_enable()
511 MDP5_PIPE_CSC_1_MATRIX_COEFF_0_COEFF_11(matrix[0]) | in csc_enable()
512 MDP5_PIPE_CSC_1_MATRIX_COEFF_0_COEFF_12(matrix[1])); in csc_enable()
514 MDP5_PIPE_CSC_1_MATRIX_COEFF_1_COEFF_13(matrix[2]) | in csc_enable()
515 MDP5_PIPE_CSC_1_MATRIX_COEFF_1_COEFF_21(matrix[3])); in csc_enable()
517 MDP5_PIPE_CSC_1_MATRIX_COEFF_2_COEFF_22(matrix[4]) | in csc_enable()
518 MDP5_PIPE_CSC_1_MATRIX_COEFF_2_COEFF_23(matrix[5])); in csc_enable()
520 MDP5_PIPE_CSC_1_MATRIX_COEFF_3_COEFF_31(matrix[6]) | in csc_enable()
521 MDP5_PIPE_CSC_1_MATRIX_COEFF_3_COEFF_32(matrix[7])); in csc_enable()
[all …]
/linux/drivers/gpu/drm/omapdrm/
H A Domap_crtc.c385 cpr->rr = omap_crtc_s31_32_to_s2_8(ctm->matrix[0]); in omap_crtc_cpr_coefs_from_ctm()
386 cpr->rg = omap_crtc_s31_32_to_s2_8(ctm->matrix[1]); in omap_crtc_cpr_coefs_from_ctm()
387 cpr->rb = omap_crtc_s31_32_to_s2_8(ctm->matrix[2]); in omap_crtc_cpr_coefs_from_ctm()
388 cpr->gr = omap_crtc_s31_32_to_s2_8(ctm->matrix[3]); in omap_crtc_cpr_coefs_from_ctm()
389 cpr->gg = omap_crtc_s31_32_to_s2_8(ctm->matrix[4]); in omap_crtc_cpr_coefs_from_ctm()
390 cpr->gb = omap_crtc_s31_32_to_s2_8(ctm->matrix[5]); in omap_crtc_cpr_coefs_from_ctm()
391 cpr->br = omap_crtc_s31_32_to_s2_8(ctm->matrix[6]); in omap_crtc_cpr_coefs_from_ctm()
392 cpr->bg = omap_crtc_s31_32_to_s2_8(ctm->matrix[7]); in omap_crtc_cpr_coefs_from_ctm()
393 cpr->bb = omap_crtc_s31_32_to_s2_8(ctm->matrix[8]); in omap_crtc_cpr_coefs_from_ctm()
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-librem5-r3.dtsi19 mount-matrix = "1", "0", "0",
42 mount-matrix = "1", "0", "0",
/linux/drivers/irqchip/
H A Dirq-riscv-imsic-state.c433 irq_matrix_debug_show(m, imsic->matrix, ind); in imsic_vector_debug_show_summary()
446 local_id = irq_matrix_alloc(imsic->matrix, mask, false, &cpu); in imsic_vector_alloc()
467 irq_matrix_free(imsic->matrix, vec->cpu, vec->local_id, false); in imsic_vector_free()
541 irq_matrix_online(imsic->matrix); in imsic_state_online()
550 irq_matrix_offline(imsic->matrix); in imsic_state_offline()
567 imsic->matrix = irq_alloc_matrix(global->nr_ids + 1, in imsic_matrix_init()
569 if (!imsic->matrix) in imsic_matrix_init()
573 irq_matrix_assign_system(imsic->matrix, 0, false); in imsic_matrix_init()
577 irq_matrix_assign_system(imsic->matrix, IMSIC_IPI_ID, false); in imsic_matrix_init()
/linux/tools/verification/rvgen/rvgen/
H A Dautomata.py159 # declare the matrix....
160 matrix = [[ self.invalid_state_str for x in range(nr_event)] for y in range(nr_state)]
162 # and we are back! Let's fill the matrix
172 matrix[states_dict[origin_state]][events_dict[event]] = dest_state
175 return matrix
/linux/arch/arm/boot/dts/microchip/
H A Dat91sam9261.dtsi105 atmel,matrix = <&matrix>;
151 atmel,matrix = <&matrix>;
292 matrix: matrix@ffffee00 { label
293 compatible = "atmel,at91sam9261-matrix", "syscon";

12345678