Searched refs:CFI_INTEL_PR (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/sys/dev/cfi/ |
H A D | cfi_reg.h | 129 #define CFI_INTEL_PR(n) (0x81+(n)) /* Protection Register */ macro
|
H A D | cfi_core.c | 900 *id = ((uint64_t)cfi_get16(sc, CFI_INTEL_PR(0)))<<48 | 901 ((uint64_t)cfi_get16(sc, CFI_INTEL_PR(1)))<<32 | 902 ((uint64_t)cfi_get16(sc, CFI_INTEL_PR(2)))<<16 | 903 ((uint64_t)cfi_get16(sc, CFI_INTEL_PR(3))); 919 *id = ((uint64_t)cfi_get16(sc, CFI_INTEL_PR(4)))<<48 | 920 ((uint64_t)cfi_get16(sc, CFI_INTEL_PR(5)))<<32 | 921 ((uint64_t)cfi_get16(sc, CFI_INTEL_PR(6)))<<16 | 922 ((uint64_t)cfi_get16(sc, CFI_INTEL_PR(7))); 949 cfi_put16(sc, CFI_INTEL_PR(i), id&0xffff);
|
Completed in 101 milliseconds