Lines Matching full:cap
82 enum wcn36xx_firmware_feat_caps cap) in wcn36xx_firmware_set_feat_caps() argument
86 if (cap < 0 || cap > 127) { in wcn36xx_firmware_set_feat_caps()
87 wcn36xx_warn("error cap idx %d\n", cap); in wcn36xx_firmware_set_feat_caps()
91 arr_idx = cap / 32; in wcn36xx_firmware_set_feat_caps()
92 bit_idx = cap % 32; in wcn36xx_firmware_set_feat_caps()
97 enum wcn36xx_firmware_feat_caps cap) in wcn36xx_firmware_get_feat_caps() argument
101 if (cap < 0 || cap > 127) { in wcn36xx_firmware_get_feat_caps()
102 wcn36xx_warn("error cap idx %d\n", cap); in wcn36xx_firmware_get_feat_caps()
106 arr_idx = cap / 32; in wcn36xx_firmware_get_feat_caps()
107 bit_idx = cap % 32; in wcn36xx_firmware_get_feat_caps()
113 enum wcn36xx_firmware_feat_caps cap) in wcn36xx_firmware_clear_feat_caps() argument
117 if (cap < 0 || cap > 127) { in wcn36xx_firmware_clear_feat_caps()
118 wcn36xx_warn("error cap idx %d\n", cap); in wcn36xx_firmware_clear_feat_caps()
122 arr_idx = cap / 32; in wcn36xx_firmware_clear_feat_caps()
123 bit_idx = cap % 32; in wcn36xx_firmware_clear_feat_caps()