/openbmc/linux/drivers/media/usb/gspca/ |
H A D | zc3xx.c | 88 .priv = 0}, 101 .priv = 0}, 114 .priv = 0}, 131 {0xa0, 0x01, ZC3XX_R000_SYSTEMCONTROL}, /* 00,00,01,cc */ 132 {0xa0, 0x04, ZC3XX_R002_CLOCKSELECT}, /* 00,02,04,cc */ 133 {0xa0, 0x00, ZC3XX_R008_CLOCKSETTING}, /* 00,08,03,cc */ 134 {0xa0, 0x0a, ZC3XX_R010_CMOSSENSORSELECT}, /* 00,10,0a,cc */ 135 {0xa0, 0xd3, ZC3XX_R08B_I2CDEVICEADDR}, /* 00,8b,d3,cc */ 136 {0xa0, 0x02, ZC3XX_R003_FRAMEWIDTHHIGH}, /* 00,03,02,cc */ 137 {0xa0, 0x80, ZC3XX_R004_FRAMEWIDTHLOW}, /* 00,04,80,cc */ [all …]
|
H A D | sonixb.c | 14 0x10 high nibble red gain low nibble blue gain 15 0x11 low nibble green gain 17 0x05 red gain 0-127 18 0x06 blue gain 0-127 19 0x07 green gain 0-127 21 0x08-0x0f i2c / 3wire registers 22 0x12 hstart 23 0x13 vstart 24 0x15 hsize (hsize = register-value * 16) 25 0x16 vsize (vsize = register-value * 16) [all …]
|
H A D | sonixj.c | 64 #define BRIDGE_SN9C102P 0 94 #define F_PDN_INV 0x01 /* inverse pin S_PWR_DN / sn_xxx tables */ 95 #define F_ILLUM 0x02 /* presence of illuminator */ 98 /* register 0x01 */ 99 #define S_PWR_DN 0x01 /* sensor power down */ 100 #define S_PDN_INV 0x02 /* inverse pin S_PWR_DN */ 101 #define V_TX_EN 0x04 /* video transfer enable */ 102 #define LED 0x08 /* output to pin LED */ 103 #define SCL_SEL_OD 0x20 /* open-drain mode */ 104 #define SYS_SEL_48M 0x40 /* system clock 0: 24MHz, 1: 48MHz */ [all …]
|
H A D | nw80x.c | 159 * - 3rd byte: data length (=0 for end of sequence) 162 #define I2C0 0xff 165 0x04, 0x05, 0x01, 0x61, 166 0x04, 0x04, 0x01, 0x01, 167 0x04, 0x06, 0x01, 0x04, 168 0x04, 0x04, 0x03, 0x00, 0x00, 0x00, 169 0x05, 0x05, 0x01, 0x00, 170 0, 0, 0 173 0x04, 0x06, 0x01, 0xc0, 174 0x00, 0x00, 0x40, 0x10, 0x43, 0x00, 0xb4, 0x01, 0x10, 0x00, 0x4f, [all …]
|
/openbmc/linux/arch/s390/crypto/ |
H A D | chacha-s390.S | 20 .long 0x61707865,0x3320646e,0x79622d32,0x6b206574 # endian-neutral 21 .long 1,0,0,0 22 .long 2,0,0,0 23 .long 3,0,0,0 24 .long 0x03020100,0x07060504,0x0b0a0908,0x0f0e0d0c # byte swap 26 .long 0,1,2,3 27 .long 0x61707865,0x61707865,0x61707865,0x61707865 # smashed sigma 28 .long 0x3320646e,0x3320646e,0x3320646e,0x3320646e 29 .long 0x79622d32,0x79622d32,0x79622d32,0x79622d32 30 .long 0x6b206574,0x6b206574,0x6b206574,0x6b206574 [all …]
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-sitronix-st7701.c | 21 #define DSI_CMD2BKX_SEL 0xFF 22 #define DSI_CMD1 0 24 #define DSI_CMD2BK_MASK GENMASK(3, 0) 27 #define DSI_CMD2_BK0_PVGAMCTRL 0xB0 /* Positive Voltage Gamma Control */ 28 #define DSI_CMD2_BK0_NVGAMCTRL 0xB1 /* Negative Voltage Gamma Control */ 29 #define DSI_CMD2_BK0_LNESET 0xC0 /* Display Line setting */ 30 #define DSI_CMD2_BK0_PORCTRL 0xC1 /* Porch control */ 31 #define DSI_CMD2_BK0_INVSEL 0xC2 /* Inversion selection, Frame Rate Control */ 34 #define DSI_CMD2_BK1_VRHS 0xB0 /* Vop amplitude setting */ 35 #define DSI_CMD2_BK1_VCOM 0xB1 /* VCOM amplitude setting */ [all …]
|
/openbmc/phosphor-power/phosphor-regulators/test/actions/ |
H A D | i2c_compare_byte_action_tests.cpp | 45 I2CCompareByteAction action{0x7C, 0xDE}; in TEST() 46 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 47 EXPECT_EQ(action.getValue(), 0xDE); in TEST() 48 EXPECT_EQ(action.getMask(), 0xFF); in TEST() 53 I2CCompareByteAction action{0xA0, 0x03, 0x47}; in TEST() 54 EXPECT_EQ(action.getRegister(), 0xA0); in TEST() 55 EXPECT_EQ(action.getValue(), 0x03); in TEST() 56 EXPECT_EQ(action.getMask(), 0x47); in TEST() 65 // Create mock I2CInterface: read() returns value 0xD7 in TEST() 69 EXPECT_CALL(*i2cInterface, read(0xA0, A<uint8_t&>())) in TEST() [all …]
|
H A D | i2c_write_bytes_action_tests.cpp | 53 std::vector<uint8_t> values{0x56, 0x14, 0xDA}; in TEST() 54 I2CWriteBytesAction action{0x7C, values}; in TEST() 56 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 59 EXPECT_EQ(action.getValues()[0], 0x56); in TEST() 60 EXPECT_EQ(action.getValues()[1], 0x14); in TEST() 61 EXPECT_EQ(action.getValues()[2], 0xDA); in TEST() 63 EXPECT_EQ(action.getMasks().size(), 0); in TEST() 74 I2CWriteBytesAction action{0x7C, values}; in TEST() 95 std::vector<uint8_t> values{0x56, 0x14}; in TEST() 96 std::vector<uint8_t> masks{0x7E, 0x3C}; in TEST() [all …]
|
H A D | i2c_compare_bytes_action_tests.cpp | 50 std::vector<uint8_t> values{0x56, 0x14, 0xDA}; in TEST() 51 I2CCompareBytesAction action{0x7C, values}; in TEST() 53 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 56 EXPECT_EQ(action.getValues()[0], 0x56); in TEST() 57 EXPECT_EQ(action.getValues()[1], 0x14); in TEST() 58 EXPECT_EQ(action.getValues()[2], 0xDA); in TEST() 61 EXPECT_EQ(action.getMasks()[0], 0xFF); in TEST() 62 EXPECT_EQ(action.getMasks()[1], 0xFF); in TEST() 63 EXPECT_EQ(action.getMasks()[2], 0xFF); in TEST() 74 I2CCompareBytesAction action{0x7C, values}; in TEST() [all …]
|
H A D | i2c_write_byte_action_tests.cpp | 46 I2CWriteByteAction action{0x7C, 0x0A}; in TEST() 47 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 48 EXPECT_EQ(action.getValue(), 0x0A); in TEST() 49 EXPECT_EQ(action.getMask(), 0xFF); in TEST() 54 I2CWriteByteAction action{0xA0, 0xD6, 0xC3}; in TEST() 55 EXPECT_EQ(action.getRegister(), 0xA0); in TEST() 56 EXPECT_EQ(action.getValue(), 0xD6); in TEST() 57 EXPECT_EQ(action.getMask(), 0xC3); in TEST() 70 EXPECT_CALL(*i2cInterface, read(A<uint8_t>(), A<uint8_t&>())).Times(0); in TEST() 72 write(TypedEq<uint8_t>(0x7C), TypedEq<uint8_t>(0x0A))) in TEST() [all …]
|
H A D | i2c_capture_bytes_action_tests.cpp | 47 I2CCaptureBytesAction action{0x2A, 2}; in TEST() 48 EXPECT_EQ(action.getRegister(), 0x2A); in TEST() 59 I2CCaptureBytesAction action{0x2A, 0}; in TEST() 77 // Create mock I2CInterface: read() returns value 0xD7 in TEST() 80 uint8_t values[] = {0xD7}; in TEST() 82 EXPECT_CALL(*i2cInterface, read(0xA0, TypedEq<uint8_t&>(1), NotNull(), in TEST() 97 I2CCaptureBytesAction action{0xA0, 1}; in TEST() 101 "[ 0xD7 ]"); in TEST() 111 // Create mock I2CInterface: read() returns values 0x56, 0x14, 0xDA in TEST() 114 uint8_t values[] = {0x56, 0x14, 0xDA}; in TEST() [all …]
|
H A D | i2c_write_bit_action_tests.cpp | 47 I2CWriteBitAction action{0x7C, 2, 0}; in TEST() 48 EXPECT_EQ(action.getRegister(), 0x7C); in TEST() 50 EXPECT_EQ(action.getValue(), 0); in TEST() 60 I2CWriteBitAction action{0x7C, 8, 0}; in TEST() 75 I2CWriteBitAction action{0x7C, 2, 2}; in TEST() 90 // Test where works: Value is 0 in TEST() 93 // Create mock I2CInterface: read() returns value 0xB6 in TEST() 97 EXPECT_CALL(*i2cInterface, read(0xA0, A<uint8_t&>())) in TEST() 99 .WillOnce(SetArgReferee<1>(0xB6)); in TEST() 101 write(TypedEq<uint8_t>(0xA0), TypedEq<uint8_t>(0x96))) in TEST() [all …]
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | r8152_fw.c | 13 0x08, 0xe0, 0x40, 0xe0, 0x78, 0xe0, 0x85, 0xe0, 14 0x5d, 0xe1, 0xa1, 0xe1, 0xa3, 0xe1, 0xab, 0xe1, 15 0x31, 0xc3, 0x60, 0x72, 0xa0, 0x49, 0x10, 0xf0, 16 0xa4, 0x49, 0x0e, 0xf0, 0x2c, 0xc3, 0x62, 0x72, 17 0x26, 0x70, 0x80, 0x49, 0x05, 0xf0, 0x2f, 0x48, 18 0x62, 0x9a, 0x24, 0x70, 0x60, 0x98, 0x24, 0xc3, 19 0x60, 0x99, 0x23, 0xc3, 0x00, 0xbb, 0x2c, 0x75, 20 0xdc, 0x21, 0xbc, 0x25, 0x04, 0x13, 0x0a, 0xf0, 21 0x03, 0x13, 0x08, 0xf0, 0x02, 0x13, 0x06, 0xf0, 22 0x01, 0x13, 0x04, 0xf0, 0x08, 0x13, 0x02, 0xf0, [all …]
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_hdmi.c | 54 #define HDMI_MAPPED_BASE 0xffff0000 162 0x01, 0x05, 0x00, 0xD8, 0x10, 0x1C, 0x30, 0x40, 163 0x6B, 0x10, 0x02, 0x51, 0xDF, 0xF2, 0x54, 0x87, 164 0x84, 0x00, 0x30, 0x38, 0x00, 0x08, 0x10, 0xE0, 165 0x22, 0x40, 0xE3, 0x26, 0x00, 0x00, 0x00, 0x80, 171 0x01, 0x05, 0x00, 0xD4, 0x10, 0x9C, 0x09, 0x64, 172 0x6B, 0x10, 0x02, 0x51, 0xDF, 0xF2, 0x54, 0x87, 173 0x84, 0x00, 0x30, 0x38, 0x00, 0x08, 0x10, 0xE0, 174 0x22, 0x40, 0xE3, 0x26, 0x00, 0x00, 0x00, 0x80, 180 0x01, 0x05, 0x00, 0xD8, 0x10, 0x9C, 0xef, 0x5B, [all …]
|
/openbmc/pldm/fw-update/test/ |
H A D | package_parser_test.cpp | 13 0xF0, 0x18, 0x87, 0x8C, 0xCB, 0x7D, 0x49, 0x43, 0x98, 0x00, 0xA0, 0x2F, in TEST() 14 0x05, 0x9A, 0xCA, 0x02, 0x01, 0x8B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in TEST() 15 0x00, 0x00, 0x00, 0x19, 0x0C, 0xE5, 0x07, 0x00, 0x08, 0x00, 0x01, 0x0E, in TEST() 16 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E, 0x53, 0x74, 0x72, 0x69, 0x6E, in TEST() 17 0x67, 0x31, 0x01, 0x2E, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x01, 0x0E, in TEST() 18 0x00, 0x00, 0x01, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6F, 0x6E, 0x53, 0x74, in TEST() 19 0x72, 0x69, 0x6E, 0x67, 0x32, 0x02, 0x00, 0x10, 0x00, 0x16, 0x20, 0x23, in TEST() 20 0xC9, 0x3E, 0xC5, 0x41, 0x15, 0x95, 0xF4, 0x48, 0x70, 0x1D, 0x49, 0xD6, in TEST() 21 0x75, 0x01, 0x00, 0x0A, 0x00, 0x64, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, in TEST() 22 0x00, 0x00, 0x00, 0x8B, 0x00, 0x00, 0x00, 0x1B, 0x00, 0x00, 0x00, 0x01, in TEST() [all …]
|
H A D | inventory_manager_test.cpp | 40 0x00, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x03, 0x01, 0x00, in TEST_F() 41 0x04, 0x00, 0x0a, 0x0b, 0x0c, 0x0d, 0x02, 0x00, 0x10, 0x00, 0x12, in TEST_F() 42 0x44, 0xd2, 0x64, 0x8d, 0x7d, 0x47, 0x18, 0xa0, 0x30, 0xfc, 0x8a, in TEST_F() 43 0x56, 0x58, 0x7d, 0x5b, 0xFF, 0xFF, 0x0B, 0x00, 0x01, 0x07, 0x4f, in TEST_F() 44 0x70, 0x65, 0x6e, 0x42, 0x4d, 0x43, 0x01, 0x02}; in TEST_F() 51 {0x01, in TEST_F() 53 std::vector<uint8_t>{0x0a, 0x0b, 0x0c, 0xd}}, in TEST_F() 55 std::vector<uint8_t>{0x12, 0x44, 0xd2, 0x64, 0x8d, 0x7d, 0x47, 0x18, in TEST_F() 56 0xa0, 0x30, 0xfc, 0x8a, 0x56, 0x58, 0x7d, in TEST_F() 57 0x5b}}, in TEST_F() [all …]
|
/openbmc/linux/crypto/ |
H A D | testmgr.h | 33 * @ksize: Length of @key in bytes (0 if no key) 103 * @crypt_error: When @novrfy=0, the expected error from encrypt(). When 192 "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5" 193 "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93" 194 "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1" 287 "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f" 288 "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34" 306 "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1" 311 "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A" 337 "\x77\xE7\x11\x21\xCD\x4A\xF8\xA4\x3F\x0F\xEF\x31\xE3\xF3\x55\xA0" [all …]
|
/openbmc/qemu/bsd-user/riscv/ |
H A D | target_arch_cpu.h | 54 signo = 0; in target_cpu_loop() 70 env->gpr[xA0], in target_cpu_loop() 78 0); in target_cpu_loop() 82 env->gpr[xA0], in target_cpu_loop() 97 if (ret >= 0) { in target_cpu_loop() 98 env->gpr[xA0] = ret; in target_cpu_loop() 99 env->gpr[xT0] = 0; in target_cpu_loop() 103 env->gpr[xA0] = -ret; in target_cpu_loop() 121 "0x%x - aborting\n", trapnr); in target_cpu_loop() 122 cpu_dump_state(cs, stderr, 0); in target_cpu_loop() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt_multi.c | 16 /* Set IP_TOS to the expected value (0x80). */ in run_getsockopt_test() 18 buf = 0x80; in run_getsockopt_test() 20 if (err < 0) { in run_getsockopt_test() 25 buf = 0x00; in run_getsockopt_test() 33 if (buf != 0x80) { in run_getsockopt_test() 34 log_err("Unexpected getsockopt 0x%x != 0x80 without BPF", buf); in run_getsockopt_test() 40 * - kernel: -> 0x80 in run_getsockopt_test() 41 * - child: 0x80 -> 0x90 in run_getsockopt_test() 49 buf = 0x00; in run_getsockopt_test() 57 if (buf != 0x90) { in run_getsockopt_test() [all …]
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | i8259.c | 17 static unsigned char cached_8259[2] = { 0xff, 0xff }; 18 #define cached_A1 (cached_8259[0]) 34 int lock = 0; in i8259_irq() 44 outb(0x0C, 0x20); /* prepare for poll */ in i8259_irq() 45 irq = inb(0x20) & 7; in i8259_irq() 51 outb(0x0C, 0xA0); /* prepare for poll */ in i8259_irq() 52 irq = (inb(0xA0) & 7) + 8; in i8259_irq() 65 outb(0x0B, 0x20); /* ISR register */ in i8259_irq() 66 if(~inb(0x20) & 0x80) in i8259_irq() 67 irq = 0; in i8259_irq() [all …]
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | kfence.rst | 29 CONFIG_KFENCE_SAMPLE_INTERVAL=0 41 ``CONFIG_KFENCE_SAMPLE_INTERVAL``. Setting ``kfence.sample_interval=0`` 80 BUG: KFENCE: out-of-bounds read in test_out_of_bounds_read+0xa6/0x234 82 Out-of-bounds read at 0xffff8c3f2e291fff (1B left of kfence-#72): 83 test_out_of_bounds_read+0xa6/0x234 84 kunit_try_run_case+0x61/0xa0 85 kunit_generic_run_threadfn_adapter+0x16/0x30 86 kthread+0x176/0x1b0 87 ret_from_fork+0x22/0x30 89 kfence-#72: 0xffff8c3f2e292000-0xffff8c3f2e29201f, size=32, cache=kmalloc-32 [all …]
|
/openbmc/linux/drivers/ata/pata_parport/ |
H A D | kbic.c | 23 #define r12w() (delay_p, inw(pi->port + 1) & 0xffff) 25 #define j44(a, b) ((((a >> 4) & 0x0f) | (b & 0xf0)) ^ 0x88) 26 #define j53(w) (((w >> 3) & 0x1f) | ((w >> 4) & 0xe0)) 30 * cont = 0 - access the IDE register file 33 static int cont_map[2] = { 0x80, 0x40 }; 42 case 0: in kbic_read_regr() 43 w0(regr | 0x18 | s); w2(4); w2(6); w2(4); w2(1); w0(8); in kbic_read_regr() 44 a = r1(); w0(0x28); b = r1(); w2(4); in kbic_read_regr() 47 w0(regr|0x38 | s); w2(4); w2(6); w2(4); w2(5); w0(8); in kbic_read_regr() 51 w0(regr | 0x08 | s); w2(4); w2(6); w2(4); w2(0xa5); w2(0xa1); in kbic_read_regr() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | m88ds3103_priv.h | 23 #define M88RS6000_CHIP_ID 0x74 24 #define M88DS3103_CHIP_ID 0x70 26 #define M88DS3103_CHIPTYPE_3103 0 60 {0x23, 0x07}, 61 {0x08, 0x03}, 62 {0x0c, 0x02}, 63 {0x21, 0x54}, 64 {0x25, 0x8a}, 65 {0x27, 0x31}, 66 {0x30, 0x08}, [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | ctxnv50.c | 23 #define CP_FLAG_CLEAR 0 25 #define CP_FLAG_SWAP_DIRECTION ((0 * 32) + 0) 26 #define CP_FLAG_SWAP_DIRECTION_LOAD 0 28 #define CP_FLAG_UNK01 ((0 * 32) + 1) 29 #define CP_FLAG_UNK01_CLEAR 0 31 #define CP_FLAG_UNK03 ((0 * 32) + 3) 32 #define CP_FLAG_UNK03_CLEAR 0 34 #define CP_FLAG_USER_SAVE ((0 * 32) + 5) 35 #define CP_FLAG_USER_SAVE_NOT_PENDING 0 37 #define CP_FLAG_USER_LOAD ((0 * 32) + 6) [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | socfpga.dtsi | 23 #size-cells = <0>; 26 cpu0: cpu@0 { 29 reg = <0>; 43 interrupts = <0 176 4>, <0 177 4>; 45 reg = <0xff111000 0x1000>, 46 <0xff113000 0x1000>; 53 reg = <0xfffed000 0x1000>, 54 <0xfffec100 0x100>; 73 reg = <0xffe01000 0x1000>; 74 interrupts = <0 104 4>, [all …]
|