Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/wcn36xx/
H A Dfirmware.c84 int arr_idx, bit_idx; in wcn36xx_firmware_set_feat_caps() local
91 arr_idx = cap / 32; in wcn36xx_firmware_set_feat_caps()
93 bitmap[arr_idx] |= (1 << bit_idx); in wcn36xx_firmware_set_feat_caps()
99 int arr_idx, bit_idx; in wcn36xx_firmware_get_feat_caps() local
106 arr_idx = cap / 32; in wcn36xx_firmware_get_feat_caps()
109 return (bitmap[arr_idx] & (1 << bit_idx)) ? 1 : 0; in wcn36xx_firmware_get_feat_caps()
115 int arr_idx, bit_idx; in wcn36xx_firmware_clear_feat_caps() local
122 arr_idx = cap / 32; in wcn36xx_firmware_clear_feat_caps()
124 bitmap[arr_idx] &= ~(1 << bit_idx); in wcn36xx_firmware_clear_feat_caps()
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c6884 u32 arr_idx = undef_opcode->cb_addr_streams_len; in gaudi_handle_last_pqes_on_err() local
6886 if (arr_idx == 0) { in gaudi_handle_last_pqes_on_err()
6891 memcpy(undef_opcode->cb_addr_streams[arr_idx], addr, sizeof(addr)); in gaudi_handle_last_pqes_on_err()