Home
last modified time | relevance | path

Searched refs:reg_flags (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/include/net/
Dregulatory.h237 #define REG_RULE_EXT(start, end, bw, gain, eirp, dfs_cac, reg_flags) \ argument
244 .flags = reg_flags, \
248 #define REG_RULE(start, end, bw, gain, eirp, reg_flags) \ argument
249 REG_RULE_EXT(start, end, bw, gain, eirp, 0, reg_flags)
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dreg.c327 static u32 ath11k_map_fw_reg_flags(u16 reg_flags) in ath11k_map_fw_reg_flags() argument
331 if (reg_flags & REGULATORY_CHAN_NO_IR) in ath11k_map_fw_reg_flags()
334 if (reg_flags & REGULATORY_CHAN_RADAR) in ath11k_map_fw_reg_flags()
337 if (reg_flags & REGULATORY_CHAN_NO_OFDM) in ath11k_map_fw_reg_flags()
340 if (reg_flags & REGULATORY_CHAN_INDOOR_ONLY) in ath11k_map_fw_reg_flags()
343 if (reg_flags & REGULATORY_CHAN_NO_HT40) in ath11k_map_fw_reg_flags()
346 if (reg_flags & REGULATORY_CHAN_NO_80MHZ) in ath11k_map_fw_reg_flags()
349 if (reg_flags & REGULATORY_CHAN_NO_160MHZ) in ath11k_map_fw_reg_flags()
519 u32 reg_flags) in ath11k_reg_update_rule() argument
526 reg_rule->flags = reg_flags; in ath11k_reg_update_rule()
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
Dcommon.h2022 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 …]
Dcommon.c46 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 …]