Searched refs:reg_flags (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/ath/ath12k/ |
D | reg.c | 289 static u32 ath12k_map_fw_reg_flags(u16 reg_flags) in ath12k_map_fw_reg_flags() argument 293 if (reg_flags & REGULATORY_CHAN_NO_IR) in ath12k_map_fw_reg_flags() 296 if (reg_flags & REGULATORY_CHAN_RADAR) in ath12k_map_fw_reg_flags() 299 if (reg_flags & REGULATORY_CHAN_NO_OFDM) in ath12k_map_fw_reg_flags() 302 if (reg_flags & REGULATORY_CHAN_INDOOR_ONLY) in ath12k_map_fw_reg_flags() 305 if (reg_flags & REGULATORY_CHAN_NO_HT40) in ath12k_map_fw_reg_flags() 308 if (reg_flags & REGULATORY_CHAN_NO_80MHZ) in ath12k_map_fw_reg_flags() 311 if (reg_flags & REGULATORY_CHAN_NO_160MHZ) in ath12k_map_fw_reg_flags() 476 u32 reg_flags) in ath12k_reg_update_rule() argument 483 reg_rule->flags = reg_flags; in ath12k_reg_update_rule()
|
/drivers/net/wireless/ath/ath11k/ |
D | reg.c | 328 static u32 ath11k_map_fw_reg_flags(u16 reg_flags) in ath11k_map_fw_reg_flags() argument 332 if (reg_flags & REGULATORY_CHAN_NO_IR) in ath11k_map_fw_reg_flags() 335 if (reg_flags & REGULATORY_CHAN_RADAR) in ath11k_map_fw_reg_flags() 338 if (reg_flags & REGULATORY_CHAN_NO_OFDM) in ath11k_map_fw_reg_flags() 341 if (reg_flags & REGULATORY_CHAN_INDOOR_ONLY) in ath11k_map_fw_reg_flags() 344 if (reg_flags & REGULATORY_CHAN_NO_HT40) in ath11k_map_fw_reg_flags() 347 if (reg_flags & REGULATORY_CHAN_NO_80MHZ) in ath11k_map_fw_reg_flags() 350 if (reg_flags & REGULATORY_CHAN_NO_160MHZ) in ath11k_map_fw_reg_flags() 520 u32 reg_flags) in ath11k_reg_update_rule() argument 527 reg_rule->flags = reg_flags; in ath11k_reg_update_rule()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | common.h | 2022 unsigned long reg_flags; in il_rd() local 2024 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_rd() 2028 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_rd() 2035 unsigned long reg_flags; in il_wr() local 2037 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_wr() 2042 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_wr() 2062 unsigned long reg_flags; in il_set_bits_prph() local 2064 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_set_bits_prph() 2069 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_set_bits_prph() 2075 unsigned long reg_flags; in il_set_bits_mask_prph() local [all …]
|
D | common.c | 46 unsigned long reg_flags; in il_set_bit() local 48 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_set_bit() 50 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_set_bit() 57 unsigned long reg_flags; in il_clear_bit() local 59 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_clear_bit() 61 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_clear_bit() 127 unsigned long reg_flags; in il_rd_prph() local 130 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_rd_prph() 134 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_rd_prph() 142 unsigned long reg_flags; in il_wr_prph() local [all …]
|