Lines Matching refs:p
18 static inline void serialize_u16(uint8_t **p, uint16_t val) in serialize_u16() argument
20 (*p)[0] = val & 0xff; in serialize_u16()
21 (*p)[1] = val >> 8; in serialize_u16()
22 (*p) += 2; in serialize_u16()
42 uint8_t *p; in tegra186_bpmp_i2c_xfer() local
47 p = &req.xfer.data_buf[0]; in tegra186_bpmp_i2c_xfer()
59 serialize_u16(&p, msg[i].addr); in tegra186_bpmp_i2c_xfer()
60 serialize_u16(&p, msg[i].flags); in tegra186_bpmp_i2c_xfer()
61 serialize_u16(&p, msg[i].len); in tegra186_bpmp_i2c_xfer()
63 memcpy(p, msg[i].buf, msg[i].len); in tegra186_bpmp_i2c_xfer()
64 p += msg[i].len; in tegra186_bpmp_i2c_xfer()
67 req.xfer.data_size = p - &req.xfer.data_buf[0]; in tegra186_bpmp_i2c_xfer()
74 p = &resp.xfer.data_buf[0]; in tegra186_bpmp_i2c_xfer()
80 memcpy(msg[i].buf, p, msg[i].len); in tegra186_bpmp_i2c_xfer()
81 p += msg[i].len; in tegra186_bpmp_i2c_xfer()