Home
last modified time | relevance | path

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

123456789

/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
[all...]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/
H A Dia_css_csc.host.c33 to->m00 = (int16_t)from->matrix[0]; in ia_css_encode_cc()
34 to->m01 = (int16_t)from->matrix[1]; in ia_css_encode_cc()
35 to->m02 = (int16_t)from->matrix[2]; in ia_css_encode_cc()
36 to->m10 = (int16_t)from->matrix[3]; in ia_css_encode_cc()
37 to->m11 = (int16_t)from->matrix[4]; in ia_css_encode_cc()
38 to->m12 = (int16_t)from->matrix[5]; in ia_css_encode_cc()
39 to->m20 = (int16_t)from->matrix[6]; in ia_css_encode_cc()
40 to->m21 = (int16_t)from->matrix[7]; in ia_css_encode_cc()
41 to->m22 = (int16_t)from->matrix[8]; in ia_css_encode_cc()
113 config->matrix[ in ia_css_cc_config_debug_dtrace()
[all...]
/linux/drivers/gpu/drm/vkms/
H A Dvkms_formats.c263 const struct conversion_matrix *matrix) in argb_u16_from_yuv888() argument
269 fp_y = drm_int2fixp(((int)y - matrix->y_offset) * 257); in argb_u16_from_yuv888()
273 fp_r = drm_fixp_mul(matrix->matrix[0][0], fp_y) + in argb_u16_from_yuv888()
274 drm_fixp_mul(matrix->matrix[0][1], fp_channel_1) + in argb_u16_from_yuv888()
275 drm_fixp_mul(matrix->matrix[0][2], fp_channel_2); in argb_u16_from_yuv888()
276 fp_g = drm_fixp_mul(matrix->matrix[ in argb_u16_from_yuv888()
864 swap_uv_columns(struct conversion_matrix * matrix) swap_uv_columns() argument
883 get_conversion_matrix_to_argb_u16(u32 format,enum drm_color_encoding encoding,enum drm_color_range range,struct conversion_matrix * matrix) get_conversion_matrix_to_argb_u16() argument
[all...]
H A Dvkms_formats.h14 struct conversion_matrix *matrix);
18 const struct conversion_matrix *matrix);
/linux/drivers/s390/crypto/
H A Dvfio_ap_ops.c3 * Adjunct processor matrix VFIO device driver callbacks.
157 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()
175 * KVM guest to which the matrix mdev linked to a
199 * hash table of queues assigned to a matrix mdev
200 * @matrix_mdev: the matrix mdev
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 in vfio_ap_matrix_init()
1579 vfio_ap_mdev_matrix_show(struct ap_matrix * matrix,char * buf) vfio_ap_mdev_matrix_show() argument
[all...]
/linux/drivers/media/platform/amphion/
H A 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()
/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.c146 * format a [128*64] matrix
151 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
211 printf("Draw rows formatting a [128*64] matrix"); in example()
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 one)?
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 ha
[all...]
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_tables.h17 .matrix = {141, 18, 68, -40, -5, -19, 35, 4, 16},
23 .matrix = {255, 29, 120, 0, 374, 342, 0, 672, -301},
29 .matrix = {255, 29, 120, 0, 0, 0, 0, 0, 0},
/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()
122 * convert_hw_matrix - converts HW values into fixed31_32 matrix.
123 * @matrix: fixed point 31.32 matrix
128 * 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/media/platform/amlogic/c3/isp/
H A Dc3-isp-params.c402 /* Configure 3 x 3 ccm matrix */
417 ISP_CCM_MTX_00_01_MTX_00(ccm->matrix[0][0])); in c3_isp_params_cfg_ccm()
420 ISP_CCM_MTX_00_01_MTX_01(ccm->matrix[0][1])); in c3_isp_params_cfg_ccm()
423 ISP_CCM_MTX_02_03_MTX_02(ccm->matrix[0][2])); in c3_isp_params_cfg_ccm()
427 ISP_CCM_MTX_10_11_MTX_10(ccm->matrix[1][0])); in c3_isp_params_cfg_ccm()
430 ISP_CCM_MTX_10_11_MTX_11(ccm->matrix[1][1])); in c3_isp_params_cfg_ccm()
433 ISP_CCM_MTX_12_13_MTX_12(ccm->matrix[1][2])); in c3_isp_params_cfg_ccm()
437 ISP_CCM_MTX_20_21_MTX_20(ccm->matrix[2][0])); in c3_isp_params_cfg_ccm()
440 ISP_CCM_MTX_20_21_MTX_21(ccm->matrix[2][1])); in c3_isp_params_cfg_ccm()
443 ISP_CCM_MTX_22_23_RS_MTX_22(ccm->matrix[ in c3_isp_params_cfg_ccm()
[all...]
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_mpeg2.c59 const u8 *matrix; in cedrus_mpeg2_setup() local
71 /* Set intra quantisation matrix. */ in cedrus_mpeg2_setup()
72 matrix = quantisation->intra_quantiser_matrix; in cedrus_mpeg2_setup()
74 reg = VE_DEC_MPEG_IQMINPUT_WEIGHT(i, matrix[i]); in cedrus_mpeg2_setup()
80 /* Set non-intra quantisation matrix. */ 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.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/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 Dtca8418_keypad.txt1 This binding is based on the matrix-keymap binding with the following
10 - linux,keymap: Keys definitions, see keypad-matrix.
H A Dclps711x-keypad.txt1 * Cirrus Logic CLPS711X matrix keypad device tree bindings
8 bindings/input/matrix-keymap.txt.
/linux/drivers/gpu/drm/vkms/tests/
H A Dvkms_format_test.c234 struct conversion_matrix matrix; in vkms_format_test_yuv_u8_to_argb_u16() local
237 (DRM_FORMAT_NV12, param->encoding, param->range, &matrix); in vkms_format_test_yuv_u8_to_argb_u16()
239 argb = argb_u16_from_yuv888(color->yuv.y, color->yuv.u, color->yuv.v, &matrix); in vkms_format_test_yuv_u8_to_argb_u16()
/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/gpu/drm/vc4/
H A Dvc4_kms.c145 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[0]), in vc4_ctm_commit()
147 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[3]), in vc4_ctm_commit()
149 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[6]), in vc4_ctm_commit()
152 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[1]), in vc4_ctm_commit()
154 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[4]), in vc4_ctm_commit()
156 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[7]), in vc4_ctm_commit()
159 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[2]), in vc4_ctm_commit()
161 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[5]), in vc4_ctm_commit()
163 VC4_SET_FIELD(vc4_ctm_s31_32_to_s0_9(ctm->matrix[8]), in vc4_ctm_commit()
609 /* CTM is being enabled or the matrix change in vc4_ctm_atomic_check()
[all...]
/linux/drivers/gpu/drm/omapdrm/
H A Domap_crtc.c384 cpr->rr = omap_crtc_s31_32_to_s2_8(ctm->matrix[0]); in omap_crtc_cpr_coefs_from_ctm()
385 cpr->rg = omap_crtc_s31_32_to_s2_8(ctm->matrix[1]); in omap_crtc_cpr_coefs_from_ctm()
386 cpr->rb = omap_crtc_s31_32_to_s2_8(ctm->matrix[2]); in omap_crtc_cpr_coefs_from_ctm()
387 cpr->gr = omap_crtc_s31_32_to_s2_8(ctm->matrix[3]); in omap_crtc_cpr_coefs_from_ctm()
388 cpr->gg = omap_crtc_s31_32_to_s2_8(ctm->matrix[4]); in omap_crtc_cpr_coefs_from_ctm()
389 cpr->gb = omap_crtc_s31_32_to_s2_8(ctm->matrix[5]); in omap_crtc_cpr_coefs_from_ctm()
390 cpr->br = omap_crtc_s31_32_to_s2_8(ctm->matrix[6]); in omap_crtc_cpr_coefs_from_ctm()
391 cpr->bg = omap_crtc_s31_32_to_s2_8(ctm->matrix[7]); in omap_crtc_cpr_coefs_from_ctm()
392 cpr->bb = omap_crtc_s31_32_to_s2_8(ctm->matrix[8]); in omap_crtc_cpr_coefs_from_ctm()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c498 uint32_t *matrix; in csc_enable() local
510 matrix = csc->matrix; in csc_enable()
512 MDP5_PIPE_CSC_1_MATRIX_COEFF_0_COEFF_11(matrix[0]) | in csc_enable()
513 MDP5_PIPE_CSC_1_MATRIX_COEFF_0_COEFF_12(matrix[1])); in csc_enable()
515 MDP5_PIPE_CSC_1_MATRIX_COEFF_1_COEFF_13(matrix[2]) | in csc_enable()
516 MDP5_PIPE_CSC_1_MATRIX_COEFF_1_COEFF_21(matrix[3])); in csc_enable()
518 MDP5_PIPE_CSC_1_MATRIX_COEFF_2_COEFF_22(matrix[4]) | in csc_enable()
519 MDP5_PIPE_CSC_1_MATRIX_COEFF_2_COEFF_23(matrix[5])); in csc_enable()
521 MDP5_PIPE_CSC_1_MATRIX_COEFF_3_COEFF_31(matrix[ in csc_enable()
[all...]

123456789