Lines Matching refs:val
22 DECLINLINE(void) vscsiH2BEU16(uint8_t *pbBuf, uint16_t val)
24 pbBuf[0] = val >> 8;
25 pbBuf[1] = val;
29 DECLINLINE(void) vscsiH2BEU24(uint8_t *pbBuf, uint32_t val)
31 pbBuf[0] = val >> 16;
32 pbBuf[1] = val >> 8;
33 pbBuf[2] = val;
37 DECLINLINE(void) vscsiH2BEU32(uint8_t *pbBuf, uint32_t val)
39 pbBuf[0] = val >> 24;
40 pbBuf[1] = val >> 16;
41 pbBuf[2] = val >> 8;
42 pbBuf[3] = val;
45 DECLINLINE(void) vscsiH2BEU64(uint8_t *pbBuf, uint64_t val)
47 pbBuf[0] = val >> 56;
48 pbBuf[1] = val >> 48;
49 pbBuf[2] = val >> 40;
50 pbBuf[3] = val >> 32;
51 pbBuf[4] = val >> 24;
52 pbBuf[5] = val >> 16;
53 pbBuf[6] = val >> 8;
54 pbBuf[7] = val;