Searched refs:idx1 (Results 1 – 2 of 2) sorted by relevance
170 static inline void key_idx_pack_pair(struct net_buf_simple *buf, uint16_t idx1, uint16_t idx2) in key_idx_pack_pair() argument172 net_buf_simple_add_le16(buf, idx1 | ((idx2 & 0x00f) << 12)); in key_idx_pack_pair()176 static inline void key_idx_unpack_pair(struct net_buf_simple *buf, uint16_t *idx1, uint16_t *idx2) in key_idx_unpack_pair() argument178 *idx1 = sys_get_le16(&buf->data[0]) & 0xfff; in key_idx_unpack_pair()
153 for idx1, folder in enumerate(folders):