Searched refs:byte0 (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | avctp_internal.h | 32 uint8_t byte0; /** [7:4]: Transaction label, [3:2]: Packet_type, [1]: C/R, [0]: IPID */ member 40 #define BT_AVCTP_HDR_GET_TRANSACTION_LABLE(hdr) FIELD_GET(GENMASK(7, 4), ((hdr)->byte0)) 44 #define BT_AVCTP_HDR_GET_PACKET_TYPE(hdr) FIELD_GET(GENMASK(3, 2), ((hdr)->byte0)) 46 #define BT_AVCTP_HDR_GET_CR(hdr) FIELD_GET(BIT(1), ((hdr)->byte0)) 51 #define BT_AVCTP_HDR_GET_IPID(hdr) FIELD_GET(BIT(0), ((hdr)->byte0)) 58 (hdr)->byte0 = (((hdr)->byte0) & ~GENMASK(7, 4)) | FIELD_PREP(GENMASK(7, 4), (tl)) 63 (hdr)->byte0 = (((hdr)->byte0) & ~GENMASK(3, 2)) | FIELD_PREP(GENMASK(3, 2), (packet_type)) 66 (hdr)->byte0 = (((hdr)->byte0) & ~BIT(1)) | FIELD_PREP(BIT(1), (cr)) 72 (hdr)->byte0 = (((hdr)->byte0) & ~BIT(0)) | FIELD_PREP(BIT(0), (ipid))
|
D | avrcp_internal.h | 62 uint8_t byte0; /** [7:4]: RFA, [3:0]: Ctype */ member 68 #define BT_AVRCP_HDR_GET_CTYPE(hdr) FIELD_GET(GENMASK(3, 0), ((hdr)->byte0)) 84 (hdr)->byte0 = (((hdr)->byte0) & ~GENMASK(3, 0)) | FIELD_PREP(GENMASK(3, 0), (ctype))
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_bitbang.c | 236 unsigned int byte0 = slave_address << 1; in i2c_bitbang_transfer() local 238 byte0 |= (flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_bitbang_transfer() 239 if (!i2c_write_byte(context, byte0)) { in i2c_bitbang_transfer()
|
D | i2c_imx.c | 182 uint8_t byte0 = addr << 1; in i2c_imx_send_addr() local 184 byte0 |= (flags & I2C_MSG_RW_MASK) == I2C_MSG_READ; in i2c_imx_send_addr() 185 return i2c_imx_write(dev, &byte0, 1); in i2c_imx_send_addr()
|