/openbmc/qemu/tests/qtest/ |
H A D | fuzz-lsi53c895a-test.c | 67 qtest_writeb(s, 0x69736c10, 0x08); in test_lsi_do_msgout_cancel_req() 68 qtest_writeb(s, 0x69736c13, 0x58); in test_lsi_do_msgout_cancel_req() 69 qtest_writeb(s, 0x69736c1a, 0x01); in test_lsi_do_msgout_cancel_req() 70 qtest_writeb(s, 0x69736c1b, 0x06); in test_lsi_do_msgout_cancel_req() 71 qtest_writeb(s, 0x69736c22, 0x01); in test_lsi_do_msgout_cancel_req() 72 qtest_writeb(s, 0x69736c23, 0x07); in test_lsi_do_msgout_cancel_req() 73 qtest_writeb(s, 0x69736c2b, 0x02); in test_lsi_do_msgout_cancel_req() 74 qtest_writeb(s, 0x69736c48, 0x08); in test_lsi_do_msgout_cancel_req() 75 qtest_writeb(s, 0x69736c4b, 0x58); in test_lsi_do_msgout_cancel_req() 76 qtest_writeb(s, 0x69736c52, 0x04); in test_lsi_do_msgout_cancel_req() [all …]
|
H A D | fuzz-virtio-scsi-test.c | 33 qtest_writeb(s, 0x9f003, 0xff); in test_mmio_oob_from_memory_region_cache() 34 qtest_writeb(s, 0x9f004, 0x01); in test_mmio_oob_from_memory_region_cache() 35 qtest_writeb(s, 0x9e012, 0x0e); in test_mmio_oob_from_memory_region_cache() 36 qtest_writeb(s, 0x9e01b, 0x0e); in test_mmio_oob_from_memory_region_cache() 37 qtest_writeb(s, 0x9f006, 0x01); in test_mmio_oob_from_memory_region_cache() 38 qtest_writeb(s, 0x9f008, 0x01); in test_mmio_oob_from_memory_region_cache() 39 qtest_writeb(s, 0x9f00a, 0x01); in test_mmio_oob_from_memory_region_cache() 40 qtest_writeb(s, 0x9f00c, 0x01); in test_mmio_oob_from_memory_region_cache() 41 qtest_writeb(s, 0x9f00e, 0x01); in test_mmio_oob_from_memory_region_cache() 42 qtest_writeb(s, 0x9f010, 0x01); in test_mmio_oob_from_memory_region_cache() [all …]
|
H A D | fuzz-e1000e-test.c | 26 qtest_writeb(s, 0x25, 0x86); in test_lp1879531_eth_get_rss_ex_dst_addr() 27 qtest_writeb(s, 0x26, 0xdd); in test_lp1879531_eth_get_rss_ex_dst_addr() 28 qtest_writeb(s, 0x4f, 0x2b); in test_lp1879531_eth_get_rss_ex_dst_addr() 36 qtest_writeb(s, 0xe1020438, 0xe2); in test_lp1879531_eth_get_rss_ex_dst_addr() 37 qtest_writeb(s, 0x4f, 0x2b); in test_lp1879531_eth_get_rss_ex_dst_addr()
|
H A D | npcm7xx_smbus-test.c | 171 qtest_writeb(qts, base_addr + OFFSET_CTL3, ctl3); in choose_bank() 190 qtest_writeb(qts, base_addr + OFFSET_CST3, cst3); in check_stopped() 200 qtest_writeb(qts, base_addr + OFFSET_CTL2, ctl2); in enable_bus() 209 qtest_writeb(qts, base_addr + OFFSET_CTL2, ctl2); in disable_bus() 218 qtest_writeb(qts, base_addr + OFFSET_CTL1, ctl1); in start_transfer() 232 qtest_writeb(qts, base_addr + OFFSET_CTL1, ctl1); in stop_transfer() 241 qtest_writeb(qts, base_addr + OFFSET_SDA, byte); in send_byte() 312 qtest_writeb(qts, base_addr + OFFSET_CTL1, ctl1); in send_nack() 322 qtest_writeb(qts, base_addr + OFFSET_FIF_CTS, in start_fifo_mode() 333 qtest_writeb(qts, base_addr + OFFSET_TXF_CTL, 0); in start_recv_fifo() [all …]
|
H A D | q35-test.c | 176 qtest_writeb(qts, ram_offs, 1); in test_tseg_size() 181 qtest_writeb(qts, ram_offs, 1); in test_tseg_size() 211 qtest_writeb(qts, SMBASE, SMRAM_TEST_PATTERN); in test_smram_smbase_lock() 235 qtest_writeb(qts, SMBASE, SMRAM_TEST_PATTERN); in test_smram_smbase_lock() 248 qtest_writeb(qts, SMBASE, SMRAM_TEST_RESET_PATTERN); in test_smram_smbase_lock() 273 qtest_writeb(qts, SMBASE, SMRAM_TEST_PATTERN); in test_without_smram_base() 283 qtest_writeb(qts, SMBASE, SMRAM_TEST_PATTERN + 1); in test_without_smram_base()
|
H A D | fuzz-megasas-test.c | 31 qtest_writeb(s, 0x14, 0xfe); in test_lp1878263_megasas_zero_iov_cnt() 32 qtest_writeb(s, 0x0, 0x02); in test_lp1878263_megasas_zero_iov_cnt()
|
H A D | intel-hda-test.c | 54 qtest_writeb(s, 0x0, 0x12); in test_issue542_ich6() 55 qtest_writeb(s, 0x2, 0x2a); in test_issue542_ich6()
|
H A D | tpm-tis-util.c | 462 qtest_writeb(s, TIS_REG(0, TPM_TIS_REG_ACCESS), TPM_TIS_ACCESS_REQUEST_USE); in tpm_tis_transfer() 471 qtest_writeb(s, TIS_REG(0, TPM_TIS_REG_DATA_FIFO), req[i]); in tpm_tis_transfer() 475 qtest_writeb(s, TIS_REG(0, TPM_TIS_REG_STS), TPM_TIS_STS_TPM_GO); in tpm_tis_transfer() 494 qtest_writeb(s, TIS_REG(0, TPM_TIS_REG_ACCESS), in tpm_tis_transfer()
|
H A D | boot-sector.c | 157 qtest_writeb(qts, SIGNATURE_ADDR, 0x00); in boot_sector_test()
|
H A D | libqtest-single.h | 177 qtest_writeb(global_qtest, addr, value); in writeb()
|
H A D | tpm-util.c | 30 qtest_writeb(s, TPM_CRB_ADDR_BASE + A_CRB_LOC_CTRL, 1); in tpm_util_crb_transfer()
|
H A D | m48t59-test.c | 43 qtest_writeb(s, base + (uint32_t)reg_base + (uint32_t)reg, data); in cmos_write_mmio()
|
H A D | libqtest.h | 478 void qtest_writeb(QTestState *s, uint64_t addr, uint8_t value);
|
H A D | endianness-test.c | 89 qtest_writeb(qts, test->isa_base + addr, value); in isa_outb()
|
H A D | pflash-cfi02-test.c | 112 qtest_writeb(c->qtest, addr, data); in flash_write()
|
H A D | npcm7xx_pwm-test.c | 387 qtest_writeb(qts, MFT_BA(index) + offset, value); in mft_writeb()
|
H A D | libqtest.c | 1111 void qtest_writeb(QTestState *s, uint64_t addr, uint8_t value) in qtest_writeb() function
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | i2c-imx.c | 36 qtest_writeb(s->parent.qts, s->addr + I2DR_ADDR, in imx_i2c_set_slave_addr() 59 qtest_writeb(i2c->qts, s->addr + I2CR_ADDR, data); in imx_i2c_send() 70 qtest_writeb(i2c->qts, s->addr + I2SR_ADDR, 0); in imx_i2c_send() 86 qtest_writeb(i2c->qts, s->addr + I2SR_ADDR, 0); in imx_i2c_send() 95 qtest_writeb(i2c->qts, s->addr + I2CR_ADDR, data); in imx_i2c_send() 119 qtest_writeb(i2c->qts, s->addr + I2CR_ADDR, data); in imx_i2c_recv() 130 qtest_writeb(i2c->qts, s->addr + I2SR_ADDR, 0); in imx_i2c_recv() 140 qtest_writeb(i2c->qts, s->addr + I2CR_ADDR, data); in imx_i2c_recv() 150 qtest_writeb(i2c->qts, s->addr + I2SR_ADDR, 0); in imx_i2c_recv() 166 qtest_writeb(i2c->qts, s->addr + I2CR_ADDR, data); in imx_i2c_recv() [all …]
|
H A D | generic-pcihost.c | 53 qtest_writeb(bus->qts, s->gpex_pio_base + addr, val); in qpci_generic_pio_writeb()
|
H A D | pci-spapr.c | 34 qtest_writeb(bus->qts, s->pio_cpu_base + addr, val); in qpci_spapr_pio_writeb()
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | meson.build | 27 '-Wl,-wrap,qtest_writeb',
|
H A D | qtest_wrappers.c | 36 WRAP(void , qtest_writeb(QTestState *s, uint64_t addr, uint8_t value)) in WRAP()
|
H A D | generic_fuzz.c | 477 qtest_writeb(s, abs.addr, a.value & 0xFF); in op_write()
|