Home
last modified time | relevance | path

Searched refs:g_assert_cmphex (Results 1 – 25 of 75) sorted by relevance

123

/openbmc/qemu/tests/qtest/
H A Dendianness-test.c125 g_assert_cmphex(isa_inl(qts, test, 0xe0), ==, 0x87654321); in test_endianness()
126 g_assert_cmphex(isa_inw(qts, test, 0xe2), ==, 0x8765); in test_endianness()
127 g_assert_cmphex(isa_inw(qts, test, 0xe0), ==, 0x4321); in test_endianness()
128 g_assert_cmphex(isa_inb(qts, test, 0xe3), ==, 0x87); in test_endianness()
129 g_assert_cmphex(isa_inb(qts, test, 0xe2), ==, 0x65); in test_endianness()
130 g_assert_cmphex(isa_inb(qts, test, 0xe1), ==, 0x43); in test_endianness()
131 g_assert_cmphex(isa_inb(qts, test, 0xe0), ==, 0x21); in test_endianness()
134 g_assert_cmphex(isa_inl(qts, test, 0xe0), ==, 0x88664321); in test_endianness()
135 g_assert_cmphex(isa_inw(qts, test, 0xe2), ==, 0x8866); in test_endianness()
136 g_assert_cmphex(isa_inw(qts, test, 0xe0), ==, 0x4321); in test_endianness()
[all …]
H A Dstm32l4x5_exti-test.c73 g_assert_cmphex(exti_readl(EXTI_IMR1), ==, 0xFFFFFFFF); in test_reg_write_read()
75 g_assert_cmphex(exti_readl(EXTI_IMR1), ==, 0x00000000); in test_reg_write_read()
78 g_assert_cmphex(exti_readl(EXTI_EMR1), ==, 0xFFFFFFFF); in test_reg_write_read()
80 g_assert_cmphex(exti_readl(EXTI_EMR1), ==, 0x00000000); in test_reg_write_read()
83 g_assert_cmphex(exti_readl(EXTI_RTSR1), ==, 0x007DFFFF); in test_reg_write_read()
85 g_assert_cmphex(exti_readl(EXTI_RTSR1), ==, 0x00000000); in test_reg_write_read()
88 g_assert_cmphex(exti_readl(EXTI_FTSR1), ==, 0x007DFFFF); in test_reg_write_read()
90 g_assert_cmphex(exti_readl(EXTI_FTSR1), ==, 0x00000000); in test_reg_write_read()
93 g_assert_cmphex(exti_readl(EXTI_IMR2), ==, 0x000000FF); in test_reg_write_read()
95 g_assert_cmphex(exti_readl(EXTI_IMR2), ==, 0x00000000); in test_reg_write_read()
[all …]
H A Dstm32l4x5_syscfg-test.c63 g_assert_cmphex(syscfg_readl(SYSCFG_MEMRMP), ==, 0x00000000); in test_reset()
65 g_assert_cmphex(syscfg_readl(SYSCFG_CFGR1), ==, 0x7C000001); in test_reset()
67 g_assert_cmphex(syscfg_readl(SYSCFG_EXTICR1), ==, 0x00000000); in test_reset()
69 g_assert_cmphex(syscfg_readl(SYSCFG_EXTICR2), ==, 0x00000000); in test_reset()
71 g_assert_cmphex(syscfg_readl(SYSCFG_EXTICR3), ==, 0x00000000); in test_reset()
73 g_assert_cmphex(syscfg_readl(SYSCFG_EXTICR4), ==, 0x00000000); in test_reset()
75 g_assert_cmphex(syscfg_readl(SYSCFG_SCSR), ==, 0x00000000); in test_reset()
77 g_assert_cmphex(syscfg_readl(SYSCFG_CFGR2), ==, 0x00000000); in test_reset()
79 g_assert_cmphex(syscfg_readl(SYSCFG_SWPR), ==, 0x00000000); in test_reset()
81 g_assert_cmphex(syscfg_readl(SYSCFG_SKR), ==, 0x00000000); in test_reset()
[all …]
H A Disl_pmbus_vr-test.c105 g_assert_cmphex(i2c_value, ==, ISL_CAPABILITY_DEFAULT); in test_defaults()
108 g_assert_cmphex(i2c_value, ==, ISL_OPERATION_DEFAULT); in test_defaults()
111 g_assert_cmphex(i2c_value, ==, ISL_ON_OFF_CONFIG_DEFAULT); in test_defaults()
114 g_assert_cmphex(i2c_value, ==, ISL_VOUT_MODE_DEFAULT); in test_defaults()
117 g_assert_cmphex(i2c_value, ==, ISL_VOUT_COMMAND_DEFAULT); in test_defaults()
120 g_assert_cmphex(i2c_value, ==, ISL_VOUT_MAX_DEFAULT); in test_defaults()
123 g_assert_cmphex(i2c_value, ==, ISL_VOUT_MARGIN_HIGH_DEFAULT); in test_defaults()
126 g_assert_cmphex(i2c_value, ==, ISL_VOUT_MARGIN_LOW_DEFAULT); in test_defaults()
129 g_assert_cmphex(i2c_value, ==, ISL_VOUT_TRANSITION_RATE_DEFAULT); in test_defaults()
132 g_assert_cmphex(i2c_value, ==, ISL_VOUT_OV_FAULT_LIMIT_DEFAULT); in test_defaults()
[all …]
H A Dnpcm7xx_gpio-test.c90 g_assert_cmphex(readl(GPIO(0) + GP_N_DOUT), ==, 0x12345678); in test_dout_to_din()
91 g_assert_cmphex(readl(GPIO(0) + GP_N_DIN), ==, 0x12345678); in test_dout_to_din()
108 g_assert_cmphex(readl(GPIO(0) + GP_N_PU), ==, 0x23456789); in test_pullup_pulldown()
109 g_assert_cmphex(readl(GPIO(0) + GP_N_PD), ==, ~0x23456789U); in test_pullup_pulldown()
110 g_assert_cmphex(readl(GPIO(0) + GP_N_DIN), ==, 0x23456789); in test_pullup_pulldown()
125 g_assert_cmphex(readl(GPIO(0) + GP_N_OE), ==, 0x3456789a); in test_output_enable()
126 g_assert_cmphex(readl(GPIO(0) + GP_N_DIN), ==, 0x3456789a); in test_output_enable()
129 g_assert_cmphex(readl(GPIO(0) + GP_N_OE), ==, 0x34547898); in test_output_enable()
130 g_assert_cmphex(readl(GPIO(0) + GP_N_DIN), ==, 0x34547898); in test_output_enable()
133 g_assert_cmphex(readl(GPIO(0) + GP_N_OE), ==, 0x3454f899); in test_output_enable()
[all …]
H A Dstm32l4x5_gpio-test.c226 g_assert_cmphex(moder, ==, reset(GPIO_A, MODER)); in test_idr_reset_value()
227 g_assert_cmphex(odr, ==, reset(GPIO_A, ODR)); in test_idr_reset_value()
228 g_assert_cmphex(otyper, ==, reset(GPIO_A, OTYPER)); in test_idr_reset_value()
230 g_assert_cmphex(pupdr, ==, reset(GPIO_A, PUPDR)); in test_idr_reset_value()
232 g_assert_cmphex(idr, ==, reset(GPIO_A, IDR)); in test_idr_reset_value()
241 g_assert_cmphex(moder, ==, reset(GPIO_B, MODER)); in test_idr_reset_value()
242 g_assert_cmphex(odr, ==, reset(GPIO_B, ODR)); in test_idr_reset_value()
243 g_assert_cmphex(otyper, ==, reset(GPIO_B, OTYPER)); in test_idr_reset_value()
245 g_assert_cmphex(pupdr, ==, reset(GPIO_B, PUPDR)); in test_idr_reset_value()
247 g_assert_cmphex(idr, ==, reset(GPIO_B, IDR)); in test_idr_reset_value()
[all …]
H A Dadm1272-test.c200 g_assert_cmphex(i2c_value, ==, ADM1272_OPERATION_DEFAULT); in test_defaults()
203 g_assert_cmphex(i2c_value, ==, ADM1272_DIRECT_MODE); in test_defaults()
206 g_assert_cmphex(i2c_value, ==, ADM1272_HIGH_LIMIT_DEFAULT); in test_defaults()
209 g_assert_cmphex(i2c_value, ==, 0); in test_defaults()
212 g_assert_cmphex(i2c_value, ==, ADM1272_HIGH_LIMIT_DEFAULT); in test_defaults()
215 g_assert_cmphex(i2c_value, ==, ADM1272_HIGH_LIMIT_DEFAULT); in test_defaults()
218 g_assert_cmphex(i2c_value, ==, ADM1272_HIGH_LIMIT_DEFAULT); in test_defaults()
221 g_assert_cmphex(i2c_value, ==, ADM1272_HIGH_LIMIT_DEFAULT); in test_defaults()
224 g_assert_cmphex(i2c_value, ==, 0); in test_defaults()
227 g_assert_cmphex(i2c_value, ==, ADM1272_PIN_OP_DEFAULT); in test_defaults()
[all …]
H A Dtmp105-test.c54 g_assert_cmphex(value, ==, 0); in send_and_receive()
61 g_assert_cmphex(value, ==, 0x1400); in send_and_receive()
71 g_assert_cmphex(value, ==, 0x60); in send_and_receive()
74 g_assert_cmphex(value, ==, 0x14f0); in send_and_receive()
78 g_assert_cmphex(i2c_get8(i2cdev, TMP105_REG_CONFIG), ==, 0x00); in send_and_receive()
80 g_assert_cmphex(value, ==, 0x1480); in send_and_receive()
83 g_assert_cmphex(i2c_get8(i2cdev, TMP105_REG_CONFIG), ==, 0x20); in send_and_receive()
85 g_assert_cmphex(value, ==, 0x14c0); in send_and_receive()
88 g_assert_cmphex(i2c_get8(i2cdev, TMP105_REG_CONFIG), ==, 0x40); in send_and_receive()
90 g_assert_cmphex(value, ==, 0x14e0); in send_and_receive()
[all …]
H A Dnpcm7xx_timer-test.c196 g_assert_cmphex(tim_read_tcsr(td), ==, TCSR_DEFAULT); in test_reset()
197 g_assert_cmphex(tim_read_ticr(td), ==, 0); in test_reset()
198 g_assert_cmphex(tim_read_tdr(td), ==, 0); in test_reset()
199 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_reset()
200 g_assert_cmphex(tim_read(td, WTCR), ==, WTCLK(1)); in test_reset()
213 g_assert_cmphex(tim_read_tcsr(td), ==, TCSR_DEFAULT); in test_reset_overrides_enable()
214 g_assert_cmphex(tim_read_tdr(td), ==, 0); in test_reset_overrides_enable()
215 g_assert_cmphex(tim_read(td, TISR), ==, 0); in test_reset_overrides_enable()
229 g_assert_cmphex(tim_read_tcsr(td), ==, TCSR_DEFAULT); in test_oneshot_enable_then_disable()
230 g_assert_cmphex(tim_read_tdr(td), ==, 0); in test_oneshot_enable_then_disable()
[all …]
H A Daspeed_hace-test.c170 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0); in test_md5()
178 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0x00000200); in test_md5()
182 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0); in test_md5()
203 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0); in test_sha256()
211 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0x00000200); in test_sha256()
215 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0); in test_sha256()
236 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0); in test_sha512()
244 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0x00000200); in test_sha512()
248 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0); in test_sha512()
280 g_assert_cmphex(qtest_readl(s, base + HACE_STS), ==, 0); in test_sha256_sg()
[all …]
H A Dlsm303dlhc-mag-test.c57 g_assert_cmphex(i2c_get8(i2cdev, LSM303DLHC_MAG_REG_CRB), ==, 0x20); in send_and_receive()
87 g_assert_cmphex(value, ==, 1100); in send_and_receive()
91 g_assert_cmphex(value, ==, 1650); in send_and_receive()
95 g_assert_cmphex(value, ==, 490); in send_and_receive()
99 g_assert_cmphex(value, ==, 0); in send_and_receive()
106 g_assert_cmphex(value, ==, 188); in send_and_receive()
121 g_assert_cmphex(value[0], ==, 0x06); in reg_wraparound()
122 g_assert_cmphex(value[1], ==, 0x72); in reg_wraparound()
124 g_assert_cmphex(value[2], ==, 0x04); in reg_wraparound()
125 g_assert_cmphex(value[3], ==, 0x4C); in reg_wraparound()
[all …]
H A Dpca9552-test.c39 g_assert_cmphex(resp, ==, 0x54); in receive_autoinc()
43 g_assert_cmphex(resp, ==, 0x55); in receive_autoinc()
47 g_assert_cmphex(resp, ==, 0x55); in receive_autoinc()
51 g_assert_cmphex(resp, ==, 0x54); in receive_autoinc()
60 g_assert_cmphex(value, ==, 0x55); in send_and_receive()
63 g_assert_cmphex(value, ==, 0xFF); in send_and_receive()
68 g_assert_cmphex(value, ==, 0x54); in send_and_receive()
71 g_assert_cmphex(value, ==, 0xFE); in send_and_receive()
74 g_assert_cmphex(value, ==, 0x54); in send_and_receive()
77 g_assert_cmphex(value, ==, 0xEF); in send_and_receive()
H A Dpflash-cfi02-test.c215 g_assert_cmphex(flash_read(c, byte_addr), ==, flash_read(c, byte_addr)); in wait_for_completion()
298 g_assert_cmphex(flash_query(c, FLASH_ADDR(0)), ==, replicate(c, 0xBF)); in test_geometry()
306 g_assert_cmphex(flash_query(c, FLASH_ADDR(1)), ==, in test_geometry()
313 g_assert_cmphex(flash_query(c, FLASH_ADDR(0x10)), ==, replicate(c, 'Q')); in test_geometry()
314 g_assert_cmphex(flash_query(c, FLASH_ADDR(0x11)), ==, replicate(c, 'R')); in test_geometry()
315 g_assert_cmphex(flash_query(c, FLASH_ADDR(0x12)), ==, replicate(c, 'Y')); in test_geometry()
319 g_assert_cmphex(nb_erase_regions, ==, in test_geometry()
325 g_assert_cmphex(device_len, ==, UNIFORM_FLASH_SIZE); in test_geometry()
350 g_assert_cmphex(nb_sectors, ==, c->nb_blocs[region]); in test_geometry()
351 g_assert_cmphex(sector_len, ==, c->sector_len[region]); in test_geometry()
[all …]
H A Dpnv-host-i2c-test.c74 g_assert_cmphex(reg64 & I2C_EXTD_STAT_I2C_BUSY, ==, 0); in pnv_i2c_send()
76 g_assert_cmphex(reg64 & (I2C_STAT_ANY_ERR | I2C_STAT_CMD_COMP), ==, in pnv_i2c_send()
87 g_assert_cmphex(reg64 & I2C_STAT_ANY_ERR, ==, 0); in pnv_i2c_send()
97 g_assert_cmphex(reg64 & I2C_EXTD_STAT_I2C_BUSY, ==, 0); in pnv_i2c_send()
99 g_assert_cmphex(reg64 & (I2C_STAT_ANY_ERR | I2C_STAT_CMD_COMP), ==, in pnv_i2c_send()
116 g_assert_cmphex(reg64 & I2C_EXTD_STAT_I2C_BUSY, ==, 0); in pnv_i2c_recv()
118 g_assert_cmphex(reg64 & (I2C_STAT_ANY_ERR | I2C_STAT_CMD_COMP), ==, in pnv_i2c_recv()
130 g_assert_cmphex(reg64 & I2C_STAT_ANY_ERR, ==, 0); in pnv_i2c_recv()
140 g_assert_cmphex(reg64 & I2C_EXTD_STAT_I2C_BUSY, ==, 0); in pnv_i2c_recv()
142 g_assert_cmphex(reg64 & (I2C_STAT_ANY_ERR | I2C_STAT_CMD_COMP), ==, in pnv_i2c_recv()
[all …]
H A Dcmsdk-apb-watchdog-test.c147 g_assert_cmphex(extract32(rcc, SYSDIV_SHIFT, SYSDIV_LENGTH), ==, 0xf); in test_clock_change()
182 g_assert_cmphex(readl(wdog_base + WDOGLOAD), ==, WDOGLOAD_DEFAULT); in test_watchdog_reset()
183 g_assert_cmphex(readl(wdog_base + WDOGVALUE), ==, WDOGVALUE_DEFAULT); in test_watchdog_reset()
185 g_assert_cmphex(readl(wdog_base + WDOGCONTROL), ==, 0); in test_watchdog_reset()
192 g_assert_cmphex(readl(wdog_base + WDOGLOAD), ==, WDOGLOAD_DEFAULT); in test_watchdog_reset()
193 g_assert_cmphex(readl(wdog_base + WDOGVALUE), ==, WDOGVALUE_DEFAULT); in test_watchdog_reset()
207 g_assert_cmphex(readl(wdog_base + WDOGLOAD), ==, WDOGLOAD_DEFAULT); in test_watchdog_reset()
208 g_assert_cmphex(readl(wdog_base + WDOGVALUE), ==, WDOGVALUE_DEFAULT); in test_watchdog_reset()
212 g_assert_cmphex(readl(wdog_base + WDOGLOAD), ==, WDOGLOAD_DEFAULT); in test_watchdog_reset()
213 g_assert_cmphex(readl(wdog_base + WDOGVALUE), ==, WDOGVALUE_DEFAULT); in test_watchdog_reset()
[all …]
H A Dmicrobit-test.c81 g_assert_cmphex(qtest_readl(qts, NRF51_UART_BASE + A_UART_RXD), ==, 0x00); in test_nrf51_uart()
88 g_assert_cmphex(qtest_readl(qts, NRF51_UART_BASE + A_UART_RXD), ==, 'c'); in test_nrf51_uart()
91 g_assert_cmphex(qtest_readl(qts, NRF51_UART_BASE + A_UART_INTEN), ==, 0x04); in test_nrf51_uart()
93 g_assert_cmphex(qtest_readl(qts, NRF51_UART_BASE + A_UART_INTEN), ==, 0x00); in test_nrf51_uart()
101 g_assert_cmphex(s[0], ==, 'd'); in test_nrf51_uart()
146 g_assert_cmphex(val, ==, 0x5A); in test_microbit_i2c()
149 g_assert_cmphex(val, ==, 0x5A); in test_microbit_i2c()
153 g_assert_cmphex(val, ==, 0x40); in test_microbit_i2c()
174 g_assert_cmphex(qtest_readl(qts, base + i * 4), ==, 0xFFFFFFFF); in fill_and_erase()
194 g_assert_cmphex(value & 0x01, ==, 0x01); in test_nrf51_nvmc()
[all …]
H A Dahci-test.c69 g_assert_cmphex((bytes & 1), ==, 0); in string_bswap16()
89 g_assert_cmphex(ahci_fingerprint, ==, ahci->fingerprint); in verify_state()
97 g_assert_cmphex(hba_base, ==, hba_old); in verify_state()
99 g_assert_cmphex(ahci_rreg(ahci, AHCI_CAP), ==, ahci->cap); in verify_state()
100 g_assert_cmphex(ahci_rreg(ahci, AHCI_CAP2), ==, ahci->cap2); in verify_state()
103 g_assert_cmphex(ahci_px_rreg(ahci, i, AHCI_PX_FB), ==, in verify_state()
105 g_assert_cmphex(ahci_px_rreg(ahci, i, AHCI_PX_CLB), ==, in verify_state()
109 g_assert_cmphex(cmd.prdtl, ==, ahci->port[i].prdtl[j]); in verify_state()
110 g_assert_cmphex(cmd.ctba, ==, ahci->port[i].ctba[j]); in verify_state()
288 g_assert_cmphex(PCI_BCC(datal), ==, 0x01); in ahci_test_pci_spec()
[all …]
H A Daspeed_fsi-test.c66 g_assert_cmphex(curval, ==, 0x0); in test_fsi_setup()
71 g_assert_cmphex(curval, ==, 0x1); in test_fsi_setup()
76 g_assert_cmphex(curval, ==, 0x0); in test_fsi_setup()
81 g_assert_cmphex(curval, ==, 0x1); in test_fsi_setup()
148 g_assert_cmphex(curval, ==, 0x10000); in test_fsi0_getcfam_addr0()
150 g_assert_cmphex(curval, ==, 0x0); in test_fsi0_getcfam_addr0()
152 g_assert_cmphex(curval, ==, 0x152d02c0); in test_fsi0_getcfam_addr0()
171 g_assert_cmphex(curval, ==, 0x20000); in test_fsi1_getcfam_addr0()
173 g_assert_cmphex(curval, ==, 0x0); in test_fsi1_getcfam_addr0()
175 g_assert_cmphex(curval, ==, 0x152d02c0); in test_fsi1_getcfam_addr0()
H A Dpnv-xive2-test.c194 g_assert_cmphex(val1, ==, val2); in init_xive()
239 g_assert_cmphex(nsr, ==, 0x80); in test_hw_irq()
240 g_assert_cmphex(cppr, ==, 0xFF); in test_hw_irq()
246 g_assert_cmphex(nsr, ==, 0x80); in test_hw_irq()
247 g_assert_cmphex(cppr, ==, priority); in test_hw_irq()
251 g_assert_cmphex((reg32 & 0x7fffffff), ==, (irq_data & 0x7fffffff)); in test_hw_irq()
263 g_assert_cmphex(nsr, ==, 0x00); in test_hw_irq()
264 g_assert_cmphex(cppr, ==, 0xFF); in test_hw_irq()
300 g_assert_cmphex(qw1w0, ==, be32_to_cpu(cl_word)); in test_pull_thread_ctx_to_odd_thread_cl()
302 g_assert_cmphex(qw3w0, ==, be32_to_cpu(cl_word)); in test_pull_thread_ctx_to_odd_thread_cl()
[all …]
H A Daspeed-smc-utils.c205 g_assert_cmphex(page[i], ==, expected_value); in assert_page_mem()
225 g_assert_cmphex(jedec, ==, test_data->jedec_id); in aspeed_smc_test_read_jedec()
243 g_assert_cmphex(page[i], ==, 0xffffffff); in aspeed_smc_test_erase_sector()
261 g_assert_cmphex(page[i], ==, some_page_addr + i * 4); in aspeed_smc_test_erase_sector()
274 g_assert_cmphex(page[i], ==, 0xffffffff); in aspeed_smc_test_erase_sector()
295 g_assert_cmphex(page[i], ==, 0xffffffff); in aspeed_smc_test_erase_all()
313 g_assert_cmphex(page[i], ==, some_page_addr + i * 4); in aspeed_smc_test_erase_all()
324 g_assert_cmphex(page[i], ==, 0xffffffff); in aspeed_smc_test_erase_all()
355 g_assert_cmphex(page[i], ==, my_page_addr + i * 4); in aspeed_smc_test_write_page()
361 g_assert_cmphex(page[i], ==, 0xffffffff); in aspeed_smc_test_write_page()
[all …]
H A Dvirtio-scsi-test.c188 g_assert_cmphex(0, ==, in test_unaligned_write_same()
192 g_assert_cmphex(0, ==, in test_unaligned_write_same()
196 g_assert_cmphex(0, ==, in test_unaligned_write_same()
233 g_assert_cmphex(resp.response, ==, 0); in test_unmap_large_lba()
234 g_assert_cmphex(resp.status, !=, CHECK_CONDITION); in test_unmap_large_lba()
255 g_assert_cmphex(resp.response, ==, 0); in test_write_to_cdrom()
256 g_assert_cmphex(resp.status, ==, CHECK_CONDITION); in test_write_to_cdrom()
257 g_assert_cmphex(resp.sense[0], ==, 0x70); in test_write_to_cdrom()
258 g_assert_cmphex(resp.sense[2], ==, DATA_PROTECT); in test_write_to_cdrom()
259 g_assert_cmphex(resp.sense[12], ==, 0x27); /* WRITE PROTECTED */ in test_write_to_cdrom()
[all …]
H A Dnpcm7xx_smbus-test.c184 g_assert_cmphex(qtest_readb(qts, base_addr + OFFSET_ST), ==, 0); in check_stopped()
219 g_assert_cmphex(qtest_readb(qts, base_addr + OFFSET_CTL1), ==, in start_transfer()
221 g_assert_cmphex(qtest_readb(qts, base_addr + OFFSET_ST), ==, in start_transfer()
239 g_assert_cmphex(qtest_readb(qts, base_addr + OFFSET_ST), ==, in send_byte()
285 g_assert_cmphex(st, ==, ST_MODE | ST_SDAST | ST_STASTR); in send_address()
287 g_assert_cmphex(st, ==, ST_MODE | ST_XMIT | ST_SDAST | ST_STASTR); in send_address()
295 g_assert_cmphex(st, ==, ST_MODE | ST_XMIT | ST_SDAST); in send_address()
299 g_assert_cmphex(st, ==, ST_MODE | ST_NEGACK); in send_address()
301 g_assert_cmphex(st, ==, ST_MODE | ST_XMIT | ST_NEGACK); in send_address()
324 g_assert_cmphex(qtest_readb(qts, base_addr + OFFSET_FIF_CTS), ==, in start_fifo_mode()
[all …]
H A Dnpcm7xx_sdhci-test.c143 g_assert_cmphex(qtest_readl(qts, addr) | mask, ==, in test_reset()
148 g_assert_cmphex(qtest_readb(qts, addr), ==, NPCM7XX_BLKGAP_RESET); in test_reset()
152 g_assert_cmphex(qtest_readq(qts, addr), ==, NPCM7XX_CAPAB_RESET); in test_reset()
156 g_assert_cmphex(qtest_readq(qts, addr), ==, NPCM7XX_MAXCURR_RESET); in test_reset()
160 g_assert_cmphex(qtest_readw(qts, addr), ==, NPCM7XX_HCVER_RESET); in test_reset()
165 g_assert_cmphex(qtest_readw(qts, addr + 2 * i), ==, in test_reset()
171 g_assert_cmphex(qtest_readb(qts, addr), ==, 0); in test_reset()
H A Demc141x-test.c50 g_assert_cmphex(value, ==, 0); in send_and_receive()
54 g_assert_cmphex(value, ==, 0x55); in send_and_receive()
57 g_assert_cmphex(value, ==, 0); in send_and_receive()
65 g_assert_cmphex(value, ==, 30); in send_and_receive()
H A Dast2700-gpio-test.c31 g_assert_cmphex(value, ==, 0x00000003); in test_output_pins()
36 g_assert_cmphex(value, ==, 0x00000002); in test_output_pins()
62 g_assert_cmphex(value, ==, 0x00002000); in test_input_pins()
67 g_assert_cmphex(value, ==, 0); in test_input_pins()

123