Home
last modified time | relevance | path

Searched refs:W2B (Results 1 - 1 of 1) sorted by relevance

/device/qemu/riscv32_virt/liteos_m/board/driver/cfiflash/
H A Dcfiflash.c70 static inline unsigned W2B(unsigned words) in W2B() function
84 if (p[W2B(wordOffset++)] == 'Q') { in CfiFlashQueryQRY()
85 if (p[W2B(wordOffset++)] == 'R') { in CfiFlashQueryQRY()
86 if (p[W2B(wordOffset)] == 'Y') { in CfiFlashQueryQRY()
96 if (p[W2B(wordOffset)] != expect) { in CfiFlashQueryUint8()
97 PRINT_ERR("[%s]name:0x%x value:%u expect:%u \n", __func__, wordOffset, p[W2B(wordOffset)], expect); in CfiFlashQueryUint8()
107 v = (p[W2B(wordOffset + 1)] << BIT_SHIFT8) + p[W2B(wordOffset)]; in CfiFlashQueryUint16()

Completed in 1 milliseconds