Searched refs:HIDI2C_LENGTH_LEN (Results 1 – 2 of 2) sorted by relevance
47 #define HIDI2C_LENGTH_LEN sizeof(__le16) macro49 #define HIDI2C_PACKET_LEN(data_len) ((data_len) + HIDI2C_LENGTH_LEN)50 #define HIDI2C_DATA_LEN(pkt_len) ((pkt_len) - HIDI2C_LENGTH_LEN)
27 buf_len += data_len + HIDI2C_LENGTH_LEN; in quicki2c_init_write_buf()43 __le16 len = cpu_to_le16(data_len + HIDI2C_LENGTH_LEN); in quicki2c_init_write_buf()45 memcpy(write_buf + offset, &len, HIDI2C_LENGTH_LEN); in quicki2c_init_write_buf()46 offset += HIDI2C_LENGTH_LEN; in quicki2c_init_write_buf()