Home
last modified time | relevance | path

Searched refs:matrix (Results 1 – 25 of 190) 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/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/drivers/gpu/drm/vkms/
H A Dvkms_composer.c132 const struct drm_color_ctm_3x4 *matrix) in apply_3x4_matrix() argument
141 rf = drm_fixp_mul(drm_sm2fixp(matrix->matrix[0]), r) + in apply_3x4_matrix()
142 drm_fixp_mul(drm_sm2fixp(matrix->matrix[1]), g) + in apply_3x4_matrix()
143 drm_fixp_mul(drm_sm2fixp(matrix->matrix[2]), b) + in apply_3x4_matrix()
144 drm_sm2fixp(matrix->matrix[3]); in apply_3x4_matrix()
146 gf = drm_fixp_mul(drm_sm2fixp(matrix->matrix[4]), r) + in apply_3x4_matrix()
147 drm_fixp_mul(drm_sm2fixp(matrix->matrix[5]), g) + in apply_3x4_matrix()
148 drm_fixp_mul(drm_sm2fixp(matrix->matrix[6]), b) + in apply_3x4_matrix()
149 drm_sm2fixp(matrix->matrix[7]); in apply_3x4_matrix()
151 bf = drm_fixp_mul(drm_sm2fixp(matrix->matrix[8]), r) + in apply_3x4_matrix()
[all …]
/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/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)``
H A Dmetafmt-vsp1-hgt.rst24 The histogram is a matrix of 6 Hue and 32 Saturation buckets, 192 in
29 The Saturation position **n** (0 - 31) of the bucket in the matrix is
34 The Hue position **m** (0 - 5) of the bucket in the matrix depends on
/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/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.
H A Dst-keyscan.txt4 matrix-keymap.
20 devicetree/bindings/input/matrix-keymap.txt.
/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/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/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.py160 matrix = [[ self.invalid_state_str for x in range(nr_event)] for y in range(nr_state)]
172 matrix[states_dict[origin_state]][events_dict[event]] = dest_state
175 return matrix
/linux/drivers/media/platform/ti/omap3isp/
H A Disppreview.c365 val = (rgbrgb->matrix[0][0] & 0xfff) << ISPPRV_RGB_MAT1_MTX_RR_SHIFT; in preview_config_rgb_blending()
366 val |= (rgbrgb->matrix[0][1] & 0xfff) << ISPPRV_RGB_MAT1_MTX_GR_SHIFT; in preview_config_rgb_blending()
369 val = (rgbrgb->matrix[0][2] & 0xfff) << ISPPRV_RGB_MAT2_MTX_BR_SHIFT; in preview_config_rgb_blending()
370 val |= (rgbrgb->matrix[1][0] & 0xfff) << ISPPRV_RGB_MAT2_MTX_RG_SHIFT; in preview_config_rgb_blending()
373 val = (rgbrgb->matrix[1][1] & 0xfff) << ISPPRV_RGB_MAT3_MTX_GG_SHIFT; in preview_config_rgb_blending()
374 val |= (rgbrgb->matrix[1][2] & 0xfff) << ISPPRV_RGB_MAT3_MTX_BG_SHIFT; in preview_config_rgb_blending()
377 val = (rgbrgb->matrix[2][0] & 0xfff) << ISPPRV_RGB_MAT4_MTX_RB_SHIFT; in preview_config_rgb_blending()
378 val |= (rgbrgb->matrix[2][1] & 0xfff) << ISPPRV_RGB_MAT4_MTX_GB_SHIFT; in preview_config_rgb_blending()
381 val = (rgbrgb->matrix[2][2] & 0xfff) << ISPPRV_RGB_MAT5_MTX_BB_SHIFT; in preview_config_rgb_blending()
403 val = (csc->matrix[0][0] & 0x3ff) << ISPPRV_CSC0_RY_SHIFT; in preview_config_csc()
[all …]
/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