/linux/drivers/gpu/drm/panel/ |
H A D | panel-innolux-p079zca.c | 60 if (err < 0) in innolux_panel_unprepare() 64 if (err < 0) { in innolux_panel_unprepare() 72 gpiod_set_value_cansleep(innolux->enable_gpio, 0); in innolux_panel_unprepare() 79 if (err < 0) in innolux_panel_unprepare() 82 return 0; in innolux_panel_unprepare() 90 gpiod_set_value_cansleep(innolux->enable_gpio, 0); in innolux_panel_prepare() 94 if (err < 0) in innolux_panel_prepare() 107 if (err < 0) in innolux_panel_prepare() 112 if (err < 0) { in innolux_panel_prepare() 121 if (err < 0) { in innolux_panel_prepare() [all …]
|
H A D | panel-samsung-db7430.c | 24 #define DB7430_ACCESS_PROT_OFF 0xb0 25 #define DB7430_UNKNOWN_B4 0xb4 26 #define DB7430_USER_SELECT 0xb5 27 #define DB7430_UNKNOWN_B7 0xb7 28 #define DB7430_UNKNOWN_B8 0xb8 29 #define DB7430_PANEL_DRIVING 0xc0 30 #define DB7430_SOURCE_CONTROL 0xc1 31 #define DB7430_GATE_INTERFACE 0xc4 32 #define DB7430_DISPLAY_H_TIMING 0xc5 33 #define DB7430_RGB_SYNC_OPTION 0xc6 [all …]
|
H A D | panel-feixin-k101-im2ba02.c | 42 /* Switch to page 0 */ 43 { .data = { 0xE0, 0x00 } }, 46 { .data = { 0xE1, 0x93} }, 47 { .data = { 0xE2, 0x65 } }, 48 { .data = { 0xE3, 0xF8 } }, 50 /* Lane number, 0x02 - 3 lanes, 0x03 - 4 lanes */ 51 { .data = { 0x80, 0x03 } }, 54 { .data = { 0x70, 0x02 } }, 55 { .data = { 0x71, 0x23 } }, 56 { .data = { 0x72, 0x06 } }, [all …]
|
H A D | panel-widechips-ws2401.c | 25 #define WS2401_RESCTL 0xb8 /* Resolution select control */ 26 #define WS2401_PSMPS 0xbd /* SMPS positive control */ 27 #define WS2401_NSMPS 0xbe /* SMPS negative control */ 28 #define WS2401_SMPS 0xbf 29 #define WS2401_BCMODE 0xc1 /* Backlight control mode */ 30 #define WS2401_WRBLCTL 0xc3 /* Backlight control */ 31 #define WS2401_WRDISBV 0xc4 /* Write manual brightness */ 32 #define WS2401_WRCTRLD 0xc6 /* Write BL control */ 33 #define WS2401_WRMIE 0xc7 /* Write MIE mode */ 34 #define WS2401_READ_ID1 0xda /* Read panel ID 1 */ [all …]
|
/linux/drivers/staging/media/meson/vdec/ |
H A D | codec_h264.c | 15 #define SIZE_WORKSPACE 0x1ee000 22 #define WORKSPACE_BUF_OFFSET 0x1000000 25 #define CMD_MASK GENMASK(7, 0) 43 #define PIC_STRUCT_MASK GENMASK(2, 0) 44 #define BUF_IDX_MASK GENMASK(4, 0) 47 #define OFFSET_MASK GENMASK(15, 0) 51 #define MB_TOTAL_MASK GENMASK(15, 0) 52 #define MB_WIDTH_MASK GENMASK(7, 0) 54 #define MAX_REF_MASK GENMASK(6, 0) 56 #define AR_IDC_MASK GENMASK(7, 0) [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | stv0900_init.h | 24 { 0, 11101 }, /*C/N=-0dB*/ 83 { -5, 0xCAA1 }, /*-5dBm*/ 84 { -10, 0xC229 }, /*-10dBm*/ 85 { -15, 0xBB08 }, /*-15dBm*/ 86 { -20, 0xB4BC }, /*-20dBm*/ 87 { -25, 0xAD5A }, /*-25dBm*/ 88 { -30, 0xA298 }, /*-30dBm*/ 89 { -35, 0x98A8 }, /*-35dBm*/ 90 { -40, 0x8389 }, /*-40dBm*/ 91 { -45, 0x59BE }, /*-45dBm*/ [all …]
|
H A D | stv090x.c | 111 { 0, 8917 }, /* 0.0dB */ 168 { -20, 12640 }, /* -2d.0B */ 170 { 0, 11101 }, /* -0.0dB */ 226 { -5, 0xcaa1 }, /* -5dBm */ 227 { -10, 0xc229 }, /* -10dBm */ 228 { -15, 0xbb08 }, /* -15dBm */ 229 { -20, 0xb4bc }, /* -20dBm */ 230 { -25, 0xad5a }, /* -25dBm */ 231 { -30, 0xa298 }, /* -30dBm */ 232 { -35, 0x98a8 }, /* -35dBm */ [all …]
|
/linux/lib/crypto/ |
H A D | aesgcm.c | 43 * Returns: 0 on success, or -EINVAL if @keysize or @authsize contain values 60 return 0; in aesgcm_expandkey() 67 while (len > 0) { in aesgcm_ghash() 114 while (len > 0) { in aesgcm_crypt() 224 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 238 "\x3d\x58\xe0\x91\x47\x3f\x59\x85" 246 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 260 "\x3d\x58\xe0\x91" 278 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72" 289 "\x7d\x77\x3d\x0 [all...] |
H A D | aescfb.c | 48 while (len > 0) { in aescfb_encrypt() 76 aescfb_encrypt_block(ctx, ks[0], iv); in aescfb_decrypt() 78 for (int i = 0; len > 0; i ^= 1) { in aescfb_decrypt() 125 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" 149 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" 159 "\x96\x1a\x2b\x70\x17\x1d\x3d\x7a" 166 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe" 174 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" 188 "\x20\x31\x62\x3d\x55\xb1\xe4\x71", 197 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a" [all …]
|
H A D | blake2s-selftest.c | 28 * for (i = 0; i < len; i++) { 29 * if (i && (i % 12) == 0) 31 * printf("0x%02x, ", vec[i]); 43 * key[0] = key[1] = 1; 47 * for (i = 0; i < BLAKE2S_TESTVEC_COUNT; ++i) 52 * for (i = 0; i < BLAKE2S_TESTVEC_COUNT; ++i) { 62 * return 0; 66 { 0xa1, }, 67 { 0x7c, 0x89, }, 68 { 0x74, 0x0e, 0xd4, }, [all …]
|
H A D | chacha20poly1305-selftest.c | 31 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x65, 0x74, 32 0x2d, 0x44, 0x72, 0x61, 0x66, 0x74, 0x73, 0x20, 33 0x61, 0x72, 0x65, 0x20, 0x64, 0x72, 0x61, 0x66, 34 0x74, 0x20, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 35 0x6e, 0x74, 0x73, 0x20, 0x76, 0x61, 0x6c, 0x69, 36 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x61, 0x20, 37 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x20, 38 0x6f, 0x66, 0x20, 0x73, 0x69, 0x78, 0x20, 0x6d, 39 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x20, 0x61, 0x6e, 40 0x64, 0x20, 0x6d, 0x61, 0x79, 0x20, 0x62, 0x65, [all …]
|
/linux/kernel/bpf/preload/iterators/ |
H A D | iterators.lskel-big-endian.h | 27 int fd = skel_link_create(prog_fd, 0, BPF_TRACE_ITER); in iterators_bpf__dump_bpf_map__attach() 29 if (fd > 0) in iterators_bpf__dump_bpf_map__attach() 38 int fd = skel_link_create(prog_fd, 0, BPF_TRACE_ITER); in iterators_bpf__dump_bpf_prog__attach() 40 if (fd > 0) in iterators_bpf__dump_bpf_prog__attach() 48 int ret = 0; in iterators_bpf__attach() 50 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_map__attach(skel); in iterators_bpf__attach() 51 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_prog__attach(skel); in iterators_bpf__attach() 52 return ret < 0 ? ret : 0; in iterators_bpf__attach() 96 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ in iterators_bpf__load() 97 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ in iterators_bpf__load() [all …]
|
H A D | iterators.lskel-little-endian.h | 27 int fd = skel_link_create(prog_fd, 0, BPF_TRACE_ITER); in iterators_bpf__dump_bpf_map__attach() 29 if (fd > 0) in iterators_bpf__dump_bpf_map__attach() 38 int fd = skel_link_create(prog_fd, 0, BPF_TRACE_ITER); in iterators_bpf__dump_bpf_prog__attach() 40 if (fd > 0) in iterators_bpf__dump_bpf_prog__attach() 48 int ret = 0; in iterators_bpf__attach() 50 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_map__attach(skel); in iterators_bpf__attach() 51 ret = ret < 0 ? ret : iterators_bpf__dump_bpf_prog__attach(skel); in iterators_bpf__attach() 52 return ret < 0 ? ret : 0; in iterators_bpf__attach() 96 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ in iterators_bpf__load() 97 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\ in iterators_bpf__load() [all …]
|
/linux/crypto/ |
H A D | dh.c | 27 memset(ctx, 0, sizeof(*ctx)); in dh_clear_ctx() 50 return (p_len < 2048) ? -EINVAL : 0; in dh_check_params_length() 52 return (p_len < 1536) ? -EINVAL : 0; in dh_check_params_length() 68 return 0; in dh_set_params() 80 if (crypto_dh_decode_key(buf, len, ¶ms) < 0) in dh_set_secret() 83 if (dh_set_params(ctx, ¶ms) < 0) in dh_set_secret() 90 return 0; in dh_set_secret() 113 return 0; in dh_is_pubkey_valid() 126 if (mpi_cmp_ui(y, 1) < 1 || mpi_cmp(y, ctx->p) >= 0) in dh_is_pubkey_valid() 134 val = mpi_alloc(0); in dh_is_pubkey_valid() [all …]
|
/linux/drivers/hid/ |
H A D | hid-uclogic-core-test.c | 22 .event = { 0xA1, 0xB2, 0xC3, 0xD4 }, 26 .event = { 0x1F, 0x2E, 0x3D, 0x4C, 0x5B, 0x6A }, 33 .event = { 0xA1, 0xB2, 0xC3, 0xD4 }, 38 .event = { 0x1F, 0x2E, 0x3D, 0x4C, 0x5B, 0x6A }, 43 .event = { 0xA1, 0xB2, 0xC3 }, 48 .event = { 0xA1, 0xB2, 0xC3, 0xD4, 0x00 }, 53 .event = { 0x2E, 0x3D, 0x4C, 0x5B, 0x6A, 0x1F }, 66 struct uclogic_params p = {0, }; in hid_test_uclogic_exec_event_hook_test() 76 for (n = 0; n < ARRAY_SIZE(hook_events); n++) { in hid_test_uclogic_exec_event_hook_test() 83 memcpy(filter->event, &hook_events[n].event[0], filter->size); in hid_test_uclogic_exec_event_hook_test() [all …]
|
/linux/sound/soc/codecs/ |
H A D | pcm6240.h | 43 #define PCMDEV_GENERIC_VOL_CTRL 0x0 44 #define PCMDEV_PCM1690_VOL_CTRL 0x1 45 #define PCMDEV_PCM1690_FINE_VOL_CTRL 0x2 64 #define PCMDEVICE_PAGE_SELECT 0x00 66 #define PCMDEVICE_REG_SWRESET PCMDEVICE_REG(0X0, 0x01) 67 #define PCMDEVICE_REG_SWRESET_RESET BIT(0) 69 #define ADC5120_REG_CH1_ANALOG_GAIN PCMDEVICE_REG(0X0, 0x3d) 70 #define ADC5120_REG_CH1_DIGITAL_GAIN PCMDEVICE_REG(0X0, 0x3e) 71 #define ADC5120_REG_CH2_ANALOG_GAIN PCMDEVICE_REG(0X0, 0x42) 72 #define ADC5120_REG_CH2_DIGITAL_GAIN PCMDEVICE_REG(0X0, 0x43) [all …]
|
/linux/arch/x86/kernel/cpu/microcode/ |
H A D | amd_shas.c | 3 { 0x8001227, { 4 0x99,0xc0,0x9b,0x2b,0xcc,0x9f,0x52,0x1b, 5 0x1a,0x5f,0x1d,0x83,0xa1,0x6c,0xc4,0x46, 6 0xe2,0x6c,0xda,0x73,0xfb,0x2d,0x23,0xa8, 7 0x77,0xdc,0x15,0x31,0x33,0x4a,0x46,0x18, 10 { 0x8001250, { 11 0xc0,0x0b,0x6b,0x19,0xfd,0x5c,0x39,0x60, 12 0xd5,0xc3,0x57,0x46,0x54,0xe4,0xd1,0xaa, 13 0xa8,0xf7,0x1f,0xa8,0x6a,0x60,0x3e,0xe3, 14 0x27,0x39,0x8e,0x53,0x30,0xf8,0x49,0x19, [all …]
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_7322_regs.h | 35 #define QIB_7322_Revision_OFFS 0x0 36 #define QIB_7322_Revision_DEF 0x0000000002010601 37 #define QIB_7322_Revision_R_Simulator_LSB 0x3F 38 #define QIB_7322_Revision_R_Simulator_MSB 0x3F 39 #define QIB_7322_Revision_R_Simulator_RMASK 0x1 40 #define QIB_7322_Revision_R_Emulation_LSB 0x3E 41 #define QIB_7322_Revision_R_Emulation_MSB 0x3E 42 #define QIB_7322_Revision_R_Emulation_RMASK 0x1 43 #define QIB_7322_Revision_R_Emulation_Revcode_LSB 0x28 44 #define QIB_7322_Revision_R_Emulation_Revcode_MSB 0x3D [all …]
|
/linux/include/video/ |
H A D | mipi_display.h | 15 MIPI_DSI_V_SYNC_START = 0x01, 16 MIPI_DSI_V_SYNC_END = 0x11, 17 MIPI_DSI_H_SYNC_START = 0x21, 18 MIPI_DSI_H_SYNC_END = 0x31, 20 MIPI_DSI_COMPRESSION_MODE = 0x07, 21 MIPI_DSI_END_OF_TRANSMISSION = 0x08, 23 MIPI_DSI_COLOR_MODE_OFF = 0x02, 24 MIPI_DSI_COLOR_MODE_ON = 0x12, 25 MIPI_DSI_SHUTDOWN_PERIPHERAL = 0x22, 26 MIPI_DSI_TURN_ON_PERIPHERAL = 0x32, [all …]
|
/linux/drivers/iio/accel/ |
H A D | kionix-kx022a.h | 14 #define KX022A_REG_WHO 0x0f 15 #define KX022A_ID 0xc8 16 #define KX132ACR_LBZ_ID 0xd8 17 #define KX134ACR_LBZ_ID 0xcc 19 #define KX022A_REG_CNTL2 0x19 21 #define KX022A_REG_CNTL 0x18 27 #define KX022A_GSEL_2 0x0 32 #define KX022A_REG_INS2 0x13 36 #define KX022A_REG_XHP_L 0x0 37 #define KX022A_REG_XOUT_L 0x0 [all...] |
/linux/sound/pci/nm256/ |
H A D | nm256_coef.c | 2 #define NM_TOTAL_COEFF_COUNT 0x3158 5 0xFF, 0xFF, 0x2F, 0x00, 0x4B, 0xFF, 0xA5, 0x01, 0xEF, 0xFC, 0x21, 6 0x05, 0x87, 0xF7, 0x62, 0x11, 0xE9, 0x45, 0x5E, 0xF9, 0xB5, 0x01, 7 0xDE, 0xFF, 0xA4, 0xFF, 0x60, 0x00, 0xCA, 0xFF, 0x0D, 0x00, 0xFD, 8 0xFF, 0x36, 0x00, 0x36, 0xFF, 0xE6, 0x01, 0x3D, 0xFC, 0xD6, 0x06, 9 0x4C, 0xF3, 0xED, 0x20, 0x3D, 0x3D, 0x4A, 0xF3, 0x4E, 0x05, 0xB1, 10 0xFD, 0xE1, 0x00, 0xC3, 0xFF, 0x05, 0x00, 0x02, 0x00, 0xFD, 0xFF, 11 0x2A, 0x00, 0x5C, 0xFF, 0xAA, 0x01, 0x71, 0xFC, 0x07, 0x07, 0x7E, 12 0xF1, 0x44, 0x30, 0x44, 0x30, 0x7E, 0xF1, 0x07, 0x07, 0x71, 0xFC, 13 0xAA, 0x01, 0x5C, 0xFF, 0x2A, 0x00, 0xFD, 0xFF, 0x02, 0x00, 0x05, [all …]
|
/linux/drivers/net/ethernet/davicom/ |
H A D | dm9051.h | 14 #define DM9051_ID 0x9051 16 #define DM9051_NCR 0x00 17 #define DM9051_NSR 0x01 18 #define DM9051_TCR 0x02 19 #define DM9051_RCR 0x05 20 #define DM9051_BPTR 0x08 21 #define DM9051_FCR 0x0A 22 #define DM9051_EPCR 0x0B 23 #define DM9051_EPAR 0x0C 24 #define DM9051_EPDRL 0x0D [all …]
|
/linux/fs/xfs/ |
H A D | xfs_dahash_test.c | 20 0x5b, 0x85, 0x21, 0xcb, 0x09, 0x68, 0x7d, 0x30, 21 0xc7, 0x69, 0xd7, 0x30, 0x92, 0xde, 0x59, 0xe4, 22 0xc9, 0x6e, 0x8b, 0xdb, 0x98, 0x6b, 0xaa, 0x60, 23 0xa8, 0xb5, 0xbc, 0x6c, 0xa9, 0xb1, 0x5b, 0x2c, 24 0xea, 0xb4, 0x92, 0x6a, 0x3f, 0x79, 0x91, 0xe4, 25 0xe9, 0x70, 0x51, 0x8c, 0x7f, 0x95, 0x6f, 0x1a, 26 0x56, 0xa1, 0x5c, 0x27, 0x03, 0x67, 0x9f, 0x3a, 27 0xe2, 0x31, 0x11, 0x29, 0x6b, 0x98, 0xfc, 0xc4, 28 0x53, 0x24, 0xc5, 0x8b, 0xce, 0x47, 0xb2, 0xb9, 29 0x32, 0xcb, 0xc1, 0xd0, 0x03, 0x57, 0x4e, 0xd4, [all …]
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | radio_2056.h | 9 #define B2056_SYN (0x0 << 12) 10 #define B2056_TX0 (0x2 << 12) 11 #define B2056_TX1 (0x3 << 12) 12 #define B2056_RX0 (0x6 << 12) 13 #define B2056_RX1 (0x7 << 12) 14 #define B2056_ALLTX (0xE << 12) 15 #define B2056_ALLRX (0xF << 12) 17 #define B2056_SYN_RESERVED_ADDR0 0x00 18 #define B2056_SYN_IDCODE 0x01 19 #define B2056_SYN_RESERVED_ADDR2 0x02 [all …]
|
/linux/drivers/media/usb/gspca/gl860/ |
H A D | gl860-ov9655.c | 12 {0x0000, 0x0000}, {0x0010, 0x0010}, {0x0008, 0x00c0}, {0x0001, 0x00c1}, 13 {0x0001, 0x00c2}, {0x0020, 0x0006}, {0x006a, 0x000d}, 15 {0x0040, 0x0000}, 19 {0x0041, 0x0000}, {0x006a, 0x0007}, {0x0063, 0x0006}, {0x006a, 0x000d}, 20 {0x0000, 0x00c0}, {0x0010, 0x0010}, {0x0001, 0x00c1}, {0x0041, 0x00c2}, 21 {0x0004, 0x00d8}, {0x0012, 0x0004}, {0x0000, 0x0058}, {0x0040, 0x0000}, 22 {0x00f3, 0x0006}, {0x0058, 0x0000}, {0x0048, 0x0000}, {0x0061, 0x0000}, 29 0x00, 0x40, 0x07, 0x6a, 0x06, 0xf3, 0x0d, 0x6a, 30 0x10, 0x10, 0xc1, 0x01 32 0x12, 0x80, 0x00, 0x00, 0x01, 0x98, 0x02, 0x80, [all …]
|