Home
last modified time | relevance | path

Searched full:matrix (Results 1 – 25 of 748) sorted by relevance

12345678910>>...30

/openbmc/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 …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Datmel-matrix.txt1 * Device tree bindings for Atmel Bus Matrix
3 The Bus Matrix registers are used to configure Atmel SoCs internal bus
8 "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"
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/csc/csc_1.0/
H A 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 …]
H A Dia_css_csc_types.h32 * 2. Color Correction Matrix (YCgCo to RGB) for ISP2.
33 * ISP block: CCM2 (Color Correction Matrix)
72 u32 fraction_bits;/** Fractional bits of matrix.
74 s32 matrix[3 * 3]; /** Conversion matrix. member
/openbmc/linux/drivers/s390/crypto/
H A Dvfio_ap_private.h3 * 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 …]
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
631 struct ap_matrix *matrix) in vfio_ap_matrix_init() argument
633 matrix->apm_max = info->apxa ? info->na : 63; in vfio_ap_matrix_init()
634 matrix->aqm_max = info->apxa ? info->nd : 15; in vfio_ap_matrix_init()
635 matrix->adm_max = info->apxa ? info->nd : 15; in vfio_ap_matrix_init()
[all …]
/openbmc/u-boot/drivers/misc/
H A Dcros_ec_sandbox.c56 /* A single entry of the key matrix */
58 int row; /* key matrix row */
59 int col; /* key matrix column */
71 * @matrix_count: Number of keys to decode in matrix
72 * @matrix: Information about keyboard matrix
83 struct ec_keymatrix_entry *matrix; /* the key matrix info */ member
182 * Read the key matrix from the device tree
199 ec->matrix = calloc(ec->matrix_count, sizeof(*ec->matrix)); in keyscan_read_fdt_matrix()
200 if (!ec->matrix) { in keyscan_read_fdt_matrix()
201 debug("%s: Out of memory for key matrix\n", __func__); in keyscan_read_fdt_matrix()
[all …]
/openbmc/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()
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 …]
/openbmc/u-boot/include/
H A Dkey_matrix.h3 * Keyboard matrix helper functions
13 /* Information about a matrix keyboard */
15 /* Dimensions of the keyboard matrix, in rows and columns */
18 int key_count; /* number of keys in the matrix (= rows * cols) */
30 /* Information about a particular key (row, column pair) in the matrix */
49 * @param config Keyboard matrix config
66 * @param config Keyboard matrix config
74 * Set up a new key matrix.
76 * @param config Keyboard matrix config
77 * @param rows Number of rows in key matrix
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A 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";
H A 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.
/openbmc/linux/drivers/of/
H A 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()
87 pr_err("No distance-matrix property in distance-map\n"); in of_numa_parse_distance_map_v1()
91 entry_count = of_property_count_u32_elems(map, "distance-matrix"); in of_numa_parse_distance_map_v1()
93 pr_err("Invalid distance-matrix\n"); 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()
[all …]
/openbmc/qemu/docs/system/s390x/
H A Dvfio-ap.rst103 APQN is defined by the matrix calculated from the APM and AQM; it is the
159 AP Matrix Configuration on Linux Host
163 the AP resources configured for the LPAR. The LPAR's AP matrix is
317 Configuring an AP matrix for a linux guest
320 The sysfs interfaces for configuring an AP matrix for a guest are built on the
321 VFIO mediated device framework. To configure an AP matrix for a guest, a
322 mediated matrix device must first be created for the ``/sys/devices/vfio_ap/matrix``
325 creating mediated matrix devices is created::
329 ......[matrix]
335 A mediated AP matrix device is created by writing a UUID to the attribute file
[all …]
/openbmc/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 …]
/openbmc/u-boot/drivers/input/
H A Dcros_ec_keyb.c3 * Chromium OS Matrix Keyboard
25 struct key_matrix matrix; /* The key matrix layer */ member
33 * Check the keyboard controller and return a list of key matrix positions
68 for (col = num_keys = bit = 0; col < priv->matrix.num_cols; in check_for_keys()
70 for (row = 0; row < priv->matrix.num_rows; row++) { in check_for_keys()
137 num_keycodes = key_matrix_decode(&priv->matrix, keys, in cros_ec_kbc_check()
172 debug("%s: Invalid key matrix size %d x %d\n", __func__, in cros_ec_keyb_decode_fdt()
195 ret = key_matrix_init(&priv->matrix, priv->key_rows, priv->key_cols, in cros_ec_kbd_probe()
198 debug("%s: cannot init key matrix\n", __func__); in cros_ec_kbd_probe()
201 ret = key_matrix_decode_fdt(dev, &priv->matrix); in cros_ec_kbd_probe()
[all …]
H A Dtegra-kbc.c44 struct key_matrix matrix; /* The key matrix layer */ member
88 return key_matrix_decode(&priv->matrix, keys, KBC_MAX_KPENT, fifo, in tegra_kbc_find_keys()
212 if (i < priv->matrix.num_rows) { in config_kbc_gpio()
215 col_cfg |= (((i - priv->matrix.num_rows) << 1) | 1) in config_kbc_gpio()
299 /* Decode the keyboard matrix information (16 rows, 8 columns) */ in tegra_kbd_probe()
300 ret = key_matrix_init(&priv->matrix, 16, 8, 1); in tegra_kbd_probe()
302 debug("%s: Could not init key matrix: %d\n", __func__, ret); in tegra_kbd_probe()
305 ret = key_matrix_decode_fdt(dev, &priv->matrix); in tegra_kbd_probe()
307 debug("%s: Could not decode key matrix from fdt: %d\n", in tegra_kbd_probe()
312 if (priv->matrix.fn_keycode) { in tegra_kbd_probe()
[all …]
/openbmc/linux/kernel/irq/
H A Dmatrix.c44 * @matrix_bits: Number of matrix bits must be <= IRQ_MATRIX_BITS
75 * irq_matrix_online - Bring the local CPU matrix online
76 * @m: Matrix pointer
96 * irq_matrix_offline - Bring the local CPU matrix offline
97 * @m: Matrix pointer
171 * irq_matrix_assign_system - Assign system wide entry in the matrix
172 * @m: Matrix pointer
203 * @m: Matrix pointer
241 * @m: Matrix pointer
282 * @m: Matrix pointer
[all …]
/openbmc/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
/openbmc/u-boot/board/laird/wb45n/
H A Dwb45n.c25 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in wb45n_nand_hw_init() local
28 csa = readl(&matrix->ebicsa); in wb45n_nand_hw_init()
33 writel(csa, &matrix->ebicsa); in wb45n_nand_hw_init()
131 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in matrix_init() local
134 csa = readl(&matrix->ebicsa); in matrix_init()
142 writel(csa, &matrix->ebicsa); in matrix_init()
181 struct at91_matrix *matrix = (struct at91_matrix *)ATMEL_BASE_MATRIX; in mem_init() local
191 csa = readl(&matrix->ebicsa); in mem_init()
193 writel(csa, &matrix->ebicsa); in mem_init()
/openbmc/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)``
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
/openbmc/openbmc/meta-arm/
H A D.gitlab-ci.yml131 matrix:
147 matrix:
153 matrix:
163 matrix:
195 matrix:
208 matrix:
217 matrix:
260 matrix:
276 matrix:
291 matrix:
[all …]
/openbmc/openbmc/meta-raspberrypi/.github/workflows/
H A Dyocto-builds.yml16 matrix:
36 name: ${{ matrix.machine }}/${{ matrix.image }}/poky/systemd
74 --env "MACHINE=${{ matrix.machine }}" \
75 --env "DISTRO=${{ matrix.distro }}" \
76 --env "IMAGE=${{ matrix.image }}" \
/openbmc/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 …]
/openbmc/linux/Documentation/RCU/Design/Memory-Ordering/
H A DTreeRCU-dyntick.svg48 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 …]
/openbmc/linux/drivers/media/i2c/
H A Dov7670.c141 * This matrix defines how the colors are generated, must be
362 /* Matrix coefficients */
417 { 0x4f, 0x80 }, /* "matrix coefficient 1" */
418 { 0x50, 0x80 }, /* "matrix coefficient 2" */
420 { 0x52, 0x22 }, /* "matrix coefficient 4" */
421 { 0x53, 0x5e }, /* "matrix coefficient 5" */
422 { 0x54, 0x80 }, /* "matrix coefficient 6" */
433 { 0x4f, 0xb3 }, /* "matrix coefficient 1" */
434 { 0x50, 0xb3 }, /* "matrix coefficient 2" */
436 { 0x52, 0x3d }, /* "matrix coefficient 4" */
[all …]

12345678910>>...30