Searched refs:reg_flags (Results 1 – 6 of 6) sorted by relevance
/linux/include/net/ |
H A D | regulatory.h | 225 #define REG_RULE_EXT(start, end, bw, gain, eirp, dfs_cac, reg_flags) \ argument 232 .flags = reg_flags, \ 236 #define REG_RULE(start, end, bw, gain, eirp, reg_flags) \ argument 237 REG_RULE_EXT(start, end, bw, gain, eirp, 0, reg_flags)
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | reg.c | 327 static u32 ath12k_map_fw_reg_flags(u16 reg_flags) in ath12k_map_fw_reg_flags() argument 331 if (reg_flags & REGULATORY_CHAN_NO_IR) in ath12k_map_fw_reg_flags() 334 if (reg_flags & REGULATORY_CHAN_RADAR) in ath12k_map_fw_reg_flags() 337 if (reg_flags & REGULATORY_CHAN_NO_OFDM) in ath12k_map_fw_reg_flags() 340 if (reg_flags & REGULATORY_CHAN_INDOOR_ONLY) in ath12k_map_fw_reg_flags() 343 if (reg_flags & REGULATORY_CHAN_NO_HT40) in ath12k_map_fw_reg_flags() 346 if (reg_flags & REGULATORY_CHAN_NO_80MHZ) in ath12k_map_fw_reg_flags() 349 if (reg_flags & REGULATORY_CHAN_NO_160MHZ) in ath12k_map_fw_reg_flags() 527 u32 reg_flags) in ath12k_reg_update_rule() argument 534 reg_rule->flags = reg_flags; in ath12k_reg_update_rule()
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | reg.c | 326 static u32 ath11k_map_fw_reg_flags(u16 reg_flags) in ath11k_map_fw_reg_flags() argument 330 if (reg_flags & REGULATORY_CHAN_NO_IR) in ath11k_map_fw_reg_flags() 333 if (reg_flags & REGULATORY_CHAN_RADAR) in ath11k_map_fw_reg_flags() 336 if (reg_flags & REGULATORY_CHAN_NO_OFDM) in ath11k_map_fw_reg_flags() 339 if (reg_flags & REGULATORY_CHAN_INDOOR_ONLY) in ath11k_map_fw_reg_flags() 342 if (reg_flags & REGULATORY_CHAN_NO_HT40) in ath11k_map_fw_reg_flags() 345 if (reg_flags & REGULATORY_CHAN_NO_80MHZ) in ath11k_map_fw_reg_flags() 348 if (reg_flags & REGULATORY_CHAN_NO_160MHZ) in ath11k_map_fw_reg_flags() 533 s8 psd, u32 reg_flags) in ath11k_reg_update_rule() argument 541 reg_rule->flags = reg_flags; in ath11k_reg_update_rule()
|
/linux/kernel/trace/ |
H A D | trace_events_user.c | 96 int reg_flags; member 206 struct user_event **newuser, int reg_flags); 220 static bool user_event_capable(u16 reg_flags) in user_event_capable() argument 223 if (reg_flags & USER_EVENT_REG_PERSIST) { in user_event_capable() 298 if (user->reg_flags & USER_EVENT_REG_PERSIST) { in user_event_put() 953 if (user->reg_flags & USER_EVENT_REG_PERSIST) in user_event_last_ref() 996 int reg_flags) in user_event_parse_cmd() argument 1010 return user_event_parse(group, name, args, flags, newuser, reg_flags); in user_event_parse_cmd() 1535 if (EVENT_MULTI_FORMAT(flags) != EVENT_MULTI_FORMAT(user->reg_flags)) in find_user_event() 1857 if (!user_event_capable(user->reg_flags)) in user_event_free() [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | common.h | 2034 unsigned long reg_flags; in il_rd() local 2036 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_rd() 2040 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_rd() 2047 unsigned long reg_flags; in il_wr() local 2049 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_wr() 2054 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_wr() 2074 unsigned long reg_flags; in il_set_bits_prph() local 2076 spin_lock_irqsave(&il->reg_lock, reg_flags); in il_set_bits_prph() 2081 spin_unlock_irqrestore(&il->reg_lock, reg_flags); in il_set_bits_prph() 2087 unsigned long reg_flags; in il_set_bits_mask_prph() local [all …]
|
H A 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 …]
|