/linux/include/trace/events/ |
H A D | irq_matrix.h | 14 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 D | vfio_ap_private.h | 3 * Private data and functions for adjunct processor VFIO matrix driver. 30 * struct ap_matrix_dev - Contains the data for the matrix device. 32 * @device: generic device structure associated with the AP matrix device 34 * @mdev_list: the list of mediated matrix devices created 35 * @mdevs_lock: mutex for locking the AP matrix device. This lock will be 62 * struct ap_matrix - matrix of adapters, domains and control domains 65 * @apm: identifies the AP adapters in the matrix 67 * @aqm: identifies the AP queues (domains) in the matrix 69 * @adm: identifies the AP control domains in the matrix 71 * The AP matrix is comprised of three bit masks identifying the adapters, [all …]
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_color.c | 89 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 …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-matrix-keypad.txt | 1 * 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";
|
H A D | nvidia,tegra20-kbc.txt | 2 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
|
/linux/drivers/of/ |
H A D | of_numa.c | 77 const __be32 *matrix; in of_numa_parse_distance_map_v1() local 83 matrix = of_get_property(map, "distance-matrix", NULL); in of_numa_parse_distance_map_v1() 84 if (!matrix) { in of_numa_parse_distance_map_v1() 85 pr_err("No distance-matrix property in distance-map\n"); in of_numa_parse_distance_map_v1() 89 entry_count = of_property_count_u32_elems(map, "distance-matrix"); in of_numa_parse_distance_map_v1() 91 pr_err("Invalid distance-matrix\n"); in of_numa_parse_distance_map_v1() 98 nodea = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1() 99 matrix++; in of_numa_parse_distance_map_v1() 100 nodeb = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1() 101 matrix++; in of_numa_parse_distance_map_v1() [all …]
|
/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 5 * 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/kernel/irq/ |
H A D | matrix.c | 42 * @matrix_bits: Number of matrix bits must be <= IRQ_MATRIX_BITS 81 * irq_matrix_online - Bring the local CPU matrix online 82 * @m: Matrix pointer 102 * irq_matrix_offline - Bring the local CPU matrix offline 103 * @m: Matrix pointer 177 * irq_matrix_assign_system - Assign system wide entry in the matrix 178 * @m: Matrix pointer 209 * @m: Matrix pointer 247 * @m: Matrix pointer 288 * @m: Matrix pointer [all …]
|
/linux/Documentation/arch/s390/ |
H A D | vfio-ap.rst | 150 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/amd/display/dc/basics/ |
H A D | conversion.c | 80 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()
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-detect.rst | 39 ``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)`` 57 detection mode. Matrix element (0, 0) represents the cell at the 60 ``V4L2_CID_DETECT_MD_REGION_GRID (__u8 matrix)`` 63 detection mode. Matrix element (0, 0) represents the cell at the
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio-mpu6050 | 7 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/drivers/input/ |
H A D | matrix-keymap.c | 3 * Helpers for matrix keyboard bindings 45 * matrix_keypad_parse_properties() - Read properties of matrix keypad 48 * @rows: Returns number of matrix rows 49 * @cols: Returns number of matrix columns 117 * matrix_keypad_build_keymap - convert platform keymap into matrix keymap 124 * matrix keyboard driver 128 * an array of keycodes that is suitable for using in a standard matrix 195 MODULE_DESCRIPTION("Helpers for matrix keyboard bindings");
|
/linux/drivers/media/i2c/ |
H A D | ov7670.c | 142 * This matrix defines how the colors are generated, must be 356 /* Matrix coefficients */ 411 { 0x4f, 0x80 }, /* "matrix coefficient 1" */ 412 { 0x50, 0x80 }, /* "matrix coefficient 2" */ 414 { 0x52, 0x22 }, /* "matrix coefficient 4" */ 415 { 0x53, 0x5e }, /* "matrix coefficient 5" */ 416 { 0x54, 0x80 }, /* "matrix coefficient 6" */ 427 { 0x4f, 0xb3 }, /* "matrix coefficient 1" */ 428 { 0x50, 0xb3 }, /* "matrix coefficient 2" */ 430 { 0x52, 0x3d }, /* "matrix coefficient 4" */ [all …]
|
/linux/Documentation/RCU/Design/Memory-Ordering/ |
H A D | TreeRCU-dyntick.svg | 48 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" 104 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 118 transform="matrix(-0.4,0,0,-0.4,-4,0)" 147 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 161 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 175 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 188 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 202 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 216 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 230 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" [all …]
|
H A D | TreeRCU-hotplug.svg | 48 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" 104 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 118 transform="matrix(-0.4,0,0,-0.4,-4,0)" 147 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 161 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 175 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 188 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 202 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 216 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" 230 transform="matrix(-1.1,0,0,-1.1,-1.1,0)" [all …]
|
/linux/samples/auxdisplay/ |
H A D | cfag12864b-example.c | 146 * 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/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_mpeg2.c | 59 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/gpu/amdgpu/display/ |
H A D | mpo-cursor.svg | 33 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" 48 transform="matrix(-0.4,0,0,-0.4,-4,0)" 94 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 109 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 124 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 139 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 154 transform="matrix(-0.2,0,0,-0.2,-1.2,0)" /> 198 transform="matrix(0.33108827,0,0,0.33108827,-46.847588,7.8396545)"> 220 transform="matrix(0.33108827,0,0,0.33108827,-49.701591,6.5552955)"> 242 transform="matrix(0.33108827,0,0,0.33108827,-46.847588,7.8396518)"> [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | tc3589x.txt | 50 - 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/drivers/input/keyboard/ |
H A D | cros_ec_keyb.c | 38 * @ghost_filter: true to enable the matrix key-ghosting filter 39 * @valid_keys: bitmap of existing keys for each matrix column 43 * @idev: The input device for the matrix keys. 44 * @bs_idev: The input device for non-matrix buttons and switches (or NULL). 266 "Discarded incomplete key matrix event.\n"); in cros_ec_keyb_work() 442 * cros_ec_keyb_register_bs - Register non-matrix buttons/switches 444 * Handles all the bits of the keyboard driver related to non-matrix buttons 488 * We call the non-matrix buttons/switches 'input1', if present. in cros_ec_keyb_register_bs() 566 * Convert (in place) from row/column encoding to matrix "scancode" in cros_ec_keyb_parse_vivaldi_physmap() 580 * cros_ec_keyb_register_matrix - Register matrix keys [all …]
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_color.c | 418 * __drm_ctm_to_dc_matrix - converts a DRM CTM to a DC CSC float matrix 419 * @ctm: DRM color transformation matrix 420 * @matrix: DC CSC float matrix 422 * The matrix needs to be a 3x4 (12 entry) matrix. 425 struct fixed31_32 *matrix) in __drm_ctm_to_dc_matrix() argument 430 * DRM gives a 3x3 matrix, but DC wants 3x4. Assuming we're operating in __drm_ctm_to_dc_matrix() 431 * with homogeneous coordinates, augment the matrix with 0's. in __drm_ctm_to_dc_matrix() 440 matrix[i] = dc_fixpt_zero; in __drm_ctm_to_dc_matrix() 445 matrix[i] = amdgpu_dm_fixpt_from_s3132(ctm->matrix[i - (i / 4)]); in __drm_ctm_to_dc_matrix() 450 * __drm_ctm_3x4_to_dc_matrix - converts a DRM CTM 3x4 to a DC CSC float matrix [all …]
|
/linux/drivers/net/pse-pd/ |
H A D | tps23881.c | 585 /* Fill port matrix with the matching channels */ 661 /* Sort the port matrix to following particular hardware ports matrix 665 * hardware matrix has to be fully configured even with unused chan to be 674 /* Configure 4p port matrix */ in tps23881_sort_port_matrix() 701 /* Configure 2p port matrix */ in tps23881_sort_port_matrix() 721 /* Complete the rest of the first 4 port group matrix even if in tps23881_sort_port_matrix() 727 pr_err("tps23881: port matrix issue, no chan available\n"); in tps23881_sort_port_matrix() 741 /* Complete the rest of the second 4 port group matrix even if in tps23881_sort_port_matrix() 747 pr_err("tps23881: port matrix issue, no chan available\n"); in tps23881_sort_port_matrix() 766 /* Write port matrix to the hardware port matrix and the software port [all …]
|
/linux/Documentation/devicetree/bindings/perf/ |
H A D | riscv,pmu.yaml | 38 $ref: /schemas/types.yaml#/definitions/uint32-matrix 43 The mapping is encoded in an matrix format where each element represents 55 $ref: /schemas/types.yaml#/definitions/uint32-matrix 59 of events. The information is encoded in an matrix format where each 69 $ref: /schemas/types.yaml#/definitions/uint32-matrix 75 encoded in a matrix format where each element represents the specific raw
|
/linux/Documentation/RCU/Design/Data-Structures/ |
H A D | BigTreePreemptRCUBHdyntickCB.svg | 49 transform="matrix(-0.4,0,0,-0.4,-4,0)" 64 transform="matrix(-0.8,0,0,-0.8,-10,0)" 78 transform="matrix(-0.4,0,0,-0.4,-4,0)" 118 transform="matrix(1,0,0,0.95854605,12.340758,1579.9033)" /> 125 transform="matrix(1,0,0,0.95854605,12.340758,1579.9033)" /> 132 transform="matrix(1,0,0,0.95854605,12.340758,1579.9033)" /> 139 transform="matrix(1,0,0,0.95854605,12.340758,1579.9033)" /> 146 transform="matrix(1,0,0,0.95854605,12.340758,1579.9033)" /> 153 transform="matrix(1,0,0,0.95854605,12.340758,1579.9033)" /> 177 transform="matrix(1,0,0,0.95854605,12.340758,1579.9033)" /> [all …]
|