/drivers/of/ |
D | of_numa.c | 101 const __be32 *matrix; in of_numa_parse_distance_map_v1() local 107 matrix = of_get_property(map, "distance-matrix", NULL); in of_numa_parse_distance_map_v1() 108 if (!matrix) { in of_numa_parse_distance_map_v1() 122 nodea = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1() 123 matrix++; in of_numa_parse_distance_map_v1() 124 nodeb = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1() 125 matrix++; in of_numa_parse_distance_map_v1() 126 distance = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1() 127 matrix++; in of_numa_parse_distance_map_v1()
|
/drivers/media/dvb-core/ |
D | dvb_filter.c | 435 static void initialize_quant_matrix( u32 *matrix ) 439 matrix[0] = 0x08101013; 440 matrix[1] = 0x10131616; 441 matrix[2] = 0x16161616; 442 matrix[3] = 0x1a181a1b; 443 matrix[4] = 0x1b1b1a1a; 444 matrix[5] = 0x1a1a1b1b; 445 matrix[6] = 0x1b1d1d1d; 446 matrix[7] = 0x2222221d; 447 matrix[8] = 0x1d1d1b1b; [all …]
|
D | dvb_filter.h | 190 u32 matrix[32]; member
|
/drivers/media/i2c/ |
D | ov7670.c | 1156 int matrix[CMATRIX_LEN]) in ov7670_store_cmatrix() 1171 if (matrix[i] < 0) { in ov7670_store_cmatrix() 1173 if (matrix[i] < -255) in ov7670_store_cmatrix() 1176 raw = (-1 * matrix[i]) & 0xff; in ov7670_store_cmatrix() 1179 if (matrix[i] > 255) in ov7670_store_cmatrix() 1182 raw = matrix[i] & 0xff; in ov7670_store_cmatrix() 1240 int matrix[CMATRIX_LEN], int sat, int hue) in ov7670_calc_cmatrix() 1247 matrix[i] = (info->fmt->cmatrix[i] * sat) >> 7; in ov7670_calc_cmatrix() 1254 memcpy(tmpmatrix, matrix, CMATRIX_LEN*sizeof(int)); in ov7670_calc_cmatrix() 1258 matrix[0] = (matrix[3]*sinth + matrix[0]*costh)/1000; in ov7670_calc_cmatrix() [all …]
|
D | msp3400-kthreads.c | 895 int source, matrix; in msp34xxg_set_source() local 900 matrix = 0x30; in msp34xxg_set_source() 904 matrix = 0x10; in msp34xxg_set_source() 908 matrix = 0x20; in msp34xxg_set_source() 912 matrix = 0x00; in msp34xxg_set_source() 917 matrix = 0x20; in msp34xxg_set_source() 926 source = ((in + 1) << 8) | matrix; in msp34xxg_set_source() 928 source = (in << 8) | matrix; in msp34xxg_set_source()
|
/drivers/gpu/drm/msm/mdp/ |
D | mdp_format.c | 26 .matrix = { 38 .matrix = { 50 .matrix = { 62 .matrix = {
|
D | mdp_kms.h | 132 uint32_t matrix[9]; member
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_plane.c | 426 uint32_t *matrix; in csc_enable() local 438 matrix = csc->matrix; in csc_enable() 440 MDP5_PIPE_CSC_1_MATRIX_COEFF_0_COEFF_11(matrix[0]) | in csc_enable() 441 MDP5_PIPE_CSC_1_MATRIX_COEFF_0_COEFF_12(matrix[1])); in csc_enable() 443 MDP5_PIPE_CSC_1_MATRIX_COEFF_1_COEFF_13(matrix[2]) | in csc_enable() 444 MDP5_PIPE_CSC_1_MATRIX_COEFF_1_COEFF_21(matrix[3])); in csc_enable() 446 MDP5_PIPE_CSC_1_MATRIX_COEFF_2_COEFF_22(matrix[4]) | in csc_enable() 447 MDP5_PIPE_CSC_1_MATRIX_COEFF_2_COEFF_23(matrix[5])); in csc_enable() 449 MDP5_PIPE_CSC_1_MATRIX_COEFF_3_COEFF_31(matrix[6]) | in csc_enable() 450 MDP5_PIPE_CSC_1_MATRIX_COEFF_3_COEFF_32(matrix[7])); in csc_enable() [all …]
|
/drivers/media/platform/omap3isp/ |
D | isppreview.c | 368 val = (rgbrgb->matrix[0][0] & 0xfff) << ISPPRV_RGB_MAT1_MTX_RR_SHIFT; in preview_config_rgb_blending() 369 val |= (rgbrgb->matrix[0][1] & 0xfff) << ISPPRV_RGB_MAT1_MTX_GR_SHIFT; in preview_config_rgb_blending() 372 val = (rgbrgb->matrix[0][2] & 0xfff) << ISPPRV_RGB_MAT2_MTX_BR_SHIFT; in preview_config_rgb_blending() 373 val |= (rgbrgb->matrix[1][0] & 0xfff) << ISPPRV_RGB_MAT2_MTX_RG_SHIFT; in preview_config_rgb_blending() 376 val = (rgbrgb->matrix[1][1] & 0xfff) << ISPPRV_RGB_MAT3_MTX_GG_SHIFT; in preview_config_rgb_blending() 377 val |= (rgbrgb->matrix[1][2] & 0xfff) << ISPPRV_RGB_MAT3_MTX_BG_SHIFT; in preview_config_rgb_blending() 380 val = (rgbrgb->matrix[2][0] & 0xfff) << ISPPRV_RGB_MAT4_MTX_RB_SHIFT; in preview_config_rgb_blending() 381 val |= (rgbrgb->matrix[2][1] & 0xfff) << ISPPRV_RGB_MAT4_MTX_GB_SHIFT; in preview_config_rgb_blending() 384 val = (rgbrgb->matrix[2][2] & 0xfff) << ISPPRV_RGB_MAT5_MTX_BB_SHIFT; in preview_config_rgb_blending() 406 val = (csc->matrix[0][0] & 0x3ff) << ISPPRV_CSC0_RY_SHIFT; in preview_config_csc() [all …]
|
/drivers/input/keyboard/ |
D | Kconfig | 34 This option enables support for the keypad scan matrix 175 Say Y here to enable the matrix keypad on the Cirrus Logic 198 Say Y here to enable the matrix keypad on the Cirrus EP93XX. 270 tristate "GPIO driven matrix keypad support" 274 Enable support for GPIO driven matrix keypad. 363 tristate "LPC32XX matrix key scanner support" 368 connected to a key matrix. 471 tristate "NVIDIA Tegra internal matrix keyboard controller support" 475 Say Y here if you want to use a matrix keyboard connected directly 517 to support upto 18x8 matrix based keypad design. [all …]
|
/drivers/memory/ |
D | atmel-ebi.c | 80 struct regmap *matrix; member 706 ebi->matrix = in at91_ebi_probe() 708 if (IS_ERR(ebi->matrix)) in at91_ebi_probe() 709 return PTR_ERR(ebi->matrix); in at91_ebi_probe() 711 ebi->ebi_csa = regmap_field_alloc(ebi->matrix, in at91_ebi_probe()
|
/drivers/gpu/drm/i915/ |
D | intel_color.c | 111 ctm_mult_by_limited(input, ctm->matrix); in i9xx_load_csc_matrix() 114 input[i] = ctm->matrix[i]; in i9xx_load_csc_matrix() 223 ((1ULL << 63) - 1) & ctm->matrix[i]; in cherryview_load_csc_matrix() 231 if (ctm->matrix[i] & (1ULL << 63)) in cherryview_load_csc_matrix()
|
/drivers/iio/ |
D | industrialio-core.c | 507 struct iio_mount_matrix *matrix) in iio_setup_mount_idmatrix() argument 509 *matrix = iio_mount_idmatrix; in iio_setup_mount_idmatrix() 548 struct iio_mount_matrix *matrix) in of_iio_read_mount_matrix() argument 552 propname, matrix->rotation, in of_iio_read_mount_matrix() 568 return iio_setup_mount_idmatrix(dev, matrix); in of_iio_read_mount_matrix() 573 struct iio_mount_matrix *matrix) in of_iio_read_mount_matrix() argument 575 return iio_setup_mount_idmatrix(dev, matrix); in of_iio_read_mount_matrix()
|
/drivers/input/ |
D | Makefile | 13 obj-$(CONFIG_INPUT_MATRIXKMAP) += matrix-keymap.o
|
D | Kconfig | 84 device that uses matrix keymap. This option is only 91 module will be called matrix-keymap.
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | Kconfig | 115 2xPCK (if active matrix) or 3xPCK (if passive matrix).
|
/drivers/gpu/drm/omapdrm/dss/ |
D | Kconfig | 119 2xPCK (if active matrix) or 3xPCK (if passive matrix).
|
/drivers/usb/gadget/udc/ |
D | at91_udc.h | 150 struct regmap *matrix; member
|
D | at91_udc.c | 1727 udc->matrix = syscon_regmap_lookup_by_phandle(udc->pdev->dev.of_node, in at91sam9261_udc_init() 1729 return PTR_ERR_OR_ZERO(udc->matrix); in at91sam9261_udc_init() 1739 regmap_update_bits(udc->matrix, AT91SAM9261_MATRIX_USBPUCR, in at91sam9261_udc_pullup()
|
/drivers/media/usb/gspca/ |
D | ov534_9.c | 1355 static const u8 matrix[5][2] = { in setsatur() local 1363 val1 = matrix[val][0]; in setsatur() 1364 val2 = matrix[val][1]; in setsatur()
|
D | zc3xx.c | 5665 const u8 *matrix; in setmatrix() local 5704 matrix = matrix_tb[sd->sensor]; in setmatrix() 5705 if (matrix == NULL) in setmatrix() 5708 reg_w(gspca_dev, matrix[i], 0x010a + i); in setmatrix()
|
/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_plane.c | 191 for (i = 0; i < ARRAY_SIZE(csc->matrix); i++) { in mdp4_write_csc_config() 193 csc->matrix[i]); in mdp4_write_csc_config()
|
/drivers/media/pci/bt8xx/ |
D | bttv-cards.c | 4639 int matrix = input / 4; in ivc120_muxsel() local 4642 btv->c.nr, input, matrix, key); in ivc120_muxsel() 4646 ((matrix == 3) ? (key | key << 2) : 0x00), 1); in ivc120_muxsel() 4648 ((matrix == 0) ? (key | key << 2) : 0x00), 1); in ivc120_muxsel() 4650 ((matrix == 1) ? (key | key << 2) : 0x00), 1); in ivc120_muxsel() 4652 ((matrix == 2) ? (key | key << 2) : 0x00), 1); in ivc120_muxsel() 4656 ((matrix == 3) ? 0x03 : 0x00), 1); /* 13 - 16 */ in ivc120_muxsel() 4658 ((matrix == 0) ? 0x03 : 0x00), 1); /* 1-4 */ in ivc120_muxsel() 4660 ((matrix == 1) ? 0x03 : 0x00), 1); /* 5-8 */ in ivc120_muxsel() 4662 ((matrix == 2) ? 0x03 : 0x00), 1); /* 9-12 */ in ivc120_muxsel()
|
/drivers/gpu/drm/vmwgfx/device_include/ |
D | svga3d_cmd.h | 854 float matrix[16]; member
|
/drivers/video/fbdev/ |
D | Kconfig | 471 is based on the KS-108 lcd controller and is typically a matrix
|