Searched refs:bits_per_entry (Results 1 – 1 of 1) sorted by relevance
208 #define WMI_PACKED_ARR_SIZE(num_entries,bits_per_entry) \ argument209 (((num_entries) / (32 / (bits_per_entry))) + \210 (((num_entries) % (32 / (bits_per_entry))) ? 1 : 0))215 A_UINT32 entry_index, A_UINT32 bits_per_entry) in wmi_packed_arr_get_bits() argument217 A_UINT32 entries_per_uint = (32 / bits_per_entry); in wmi_packed_arr_get_bits()221 A_UINT32 start_bit_in_uint = (index_in_uint * bits_per_entry); in wmi_packed_arr_get_bits()223 (((A_UINT32) 1 << bits_per_entry) - 1); in wmi_packed_arr_get_bits()227 A_UINT32 bits_per_entry, A_UINT32 val) in wmi_packed_arr_set_bits() argument229 A_UINT32 entries_per_uint = (32 / bits_per_entry); in wmi_packed_arr_set_bits()233 A_UINT32 start_bit_in_uint = (index_in_uint * bits_per_entry); in wmi_packed_arr_set_bits()[all …]