Home
last modified time | relevance | path

Searched refs:bit_position (Results 1 – 2 of 2) sorted by relevance

/btstack/src/classic/
H A Davrcp_browsing_controller.c90 int bit_position = 1; in avrcp_browsing_controller_send_get_folder_items_cmd() local
92 if (connection->attr_bitmap & (1 << bit_position)){ in avrcp_browsing_controller_send_get_folder_items_cmd()
93 big_endian_store_32(command, pos, bit_position); in avrcp_browsing_controller_send_get_folder_items_cmd()
97 bit_position++; in avrcp_browsing_controller_send_get_folder_items_cmd()
138 int bit_position = 1; in avrcp_browsing_controller_send_get_item_attributes_cmd() local
140 if (connection->attr_bitmap & (1 << bit_position)){ in avrcp_browsing_controller_send_get_item_attributes_cmd()
141 big_endian_store_32(command, pos, bit_position); in avrcp_browsing_controller_send_get_item_attributes_cmd()
145 bit_position++; in avrcp_browsing_controller_send_get_item_attributes_cmd()
/btstack/src/
H A Dhci.c2771 uint8_t bit_position; in hci_store_local_supported_commands() member
2790 …ported_hci_commands_map[i].byte_offset] & (1 << supported_hci_commands_map[i].bit_position)) != 0){ in hci_store_local_supported_commands()
2792 …ames[i], i, supported_hci_commands_map[i].byte_offset, supported_hci_commands_map[i].bit_position); in hci_store_local_supported_commands()
2794 … %u/%u", i, supported_hci_commands_map[i].byte_offset, supported_hci_commands_map[i].bit_position); in hci_store_local_supported_commands()