Lines Matching refs:_v
37 static inline void write8(le8_t * _p, uint8_t _v) in write8() argument
39 *_p = _v; in write8()
51 static inline void write16(le16_t * _p, unsigned short _v) in write16() argument
53 *((uint16_t *) _p) = _v; in write16()
61 static inline void write32(le32_t * _p, uint32_t _v) in write32() argument
63 *((uint32_t *) _p) = _v; in write32()
73 uint16_t _v; in read16() local
75 _v = _p[0]; in read16()
76 _v |= _p[1] << 8; in read16()
77 return _v; in read16()
80 static inline void write16(le16_t * _pp, uint16_t _v) in write16() argument
84 _p[0] = _v & 0xFF; in write16()
85 _p[1] = (_v >> 8) & 0xFF; in write16()
91 uint32_t _v; in read32() local
93 _v = _p[0]; in read32()
94 _v |= _p[1] << 8; in read32()
95 _v |= _p[2] << 16; in read32()
96 _v |= _p[3] << 24; in read32()
97 return _v; in read32()
100 static inline void write32(le32_t * _pp, uint32_t _v) in write32() argument
104 _p[0] = _v & 0xFF; in write32()
105 _p[1] = (_v >> 8) & 0xFF; in write32()
106 _p[2] = (_v >> 16) & 0xFF; in write32()
107 _p[3] = (_v >> 24) & 0xFF; in write32()