Searched refs:mt7996_dev (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | mt7996.h | 371 struct mt7996_dev *dev; 405 struct mt7996_dev { struct 569 static inline struct mt7996_dev * 574 return container_of(phy->dev, struct mt7996_dev, mt76); in mt7996_hw_dev() 578 __mt7996_phy(struct mt7996_dev *dev, enum mt76_band_id band) in __mt7996_phy() 589 mt7996_phy2(struct mt7996_dev *dev) in mt7996_phy2() 595 mt7996_phy3(struct mt7996_dev *dev) in mt7996_phy3() 601 mt7996_band_valid(struct mt7996_dev *dev, u8 band) in mt7996_band_valid() 610 mt7996_band_phy(struct mt7996_dev *dev, enum nl80211_band band) in mt7996_band_phy() 622 mt7996_vif_link(struct mt7996_dev *dev, struct ieee80211_vif *vif, int link_id) in mt7996_vif_link() [all …]
|
| H A D | mmio.c | 285 static u32 mt7996_reg_map_l1(struct mt7996_dev *dev, u32 addr) in mt7996_reg_map_l1() 306 static u32 mt7996_reg_map_l2(struct mt7996_dev *dev, u32 addr) in mt7996_reg_map_l2() 329 static u32 mt7996_reg_map_cbtop(struct mt7996_dev *dev, u32 addr) in mt7996_reg_map_cbtop() 343 static u32 __mt7996_reg_addr(struct mt7996_dev *dev, u32 addr) in __mt7996_reg_addr() 366 static u32 __mt7996_reg_remap_addr(struct mt7996_dev *dev, u32 addr) in __mt7996_reg_remap_addr() 390 void mt7996_memcpy_fromio(struct mt7996_dev *dev, void *buf, u32 offset, in mt7996_memcpy_fromio() 408 struct mt7996_dev *dev = container_of(mdev, struct mt7996_dev, mt76); in mt7996_rr() 423 struct mt7996_dev *dev = container_of(mdev, struct mt7996_dev, mt76); in mt7996_wr() 438 struct mt7996_dev *dev = container_of(mdev, struct mt7996_dev, mt76); in mt7996_rmw() 455 struct mt7996_dev *dev = container_of(mdev, struct mt7996_dev, mt76); in mt7996_mmio_wed_reset() [all …]
|
| H A D | eeprom.c | 10 static int mt7996_check_eeprom(struct mt7996_dev *dev) in mt7996_check_eeprom() 27 static char *mt7996_eeprom_name(struct mt7996_dev *dev) in mt7996_eeprom_name() 98 static bool mt7996_eeprom_variant_valid(struct mt7996_dev *dev, const u8 *def) in mt7996_eeprom_variant_valid() 137 mt7996_eeprom_check_or_use_default(struct mt7996_dev *dev, bool use_default) in mt7996_eeprom_check_or_use_default() 172 static int mt7996_eeprom_load(struct mt7996_dev *dev) in mt7996_eeprom_load() 242 struct mt7996_dev *dev = phy->dev; in mt7996_eeprom_parse_efuse_hw_cap() 303 int mt7996_eeprom_parse_hw_cap(struct mt7996_dev *dev, struct mt7996_phy *phy) in mt7996_eeprom_parse_hw_cap() 339 int mt7996_eeprom_init(struct mt7996_dev *dev) in mt7996_eeprom_init() 356 int mt7996_eeprom_get_target_power(struct mt7996_dev *dev, in mt7996_eeprom_get_target_power() 374 s8 mt7996_eeprom_get_power_delta(struct mt7996_dev *dev, int band) in mt7996_eeprom_get_power_delta() [all …]
|
| H A D | main.c | 12 struct mt7996_dev *dev = phy->dev; in mt7996_run() 52 struct mt7996_dev *dev = mt7996_hw_dev(hw); in mt7996_start() 71 struct mt7996_dev *dev; in mt7996_stop_phy() 190 struct mt7996_dev *dev = mt7996_hw_dev(hw); in mt7996_set_hw_key() 300 struct mt7996_dev *dev = phy->dev; in mt7996_vif_link_add() 417 struct mt7996_dev *dev = phy->dev; in mt7996_vif_link_destroy() 501 struct mt7996_dev *dev = phy->dev; in mt7996_phy_set_rxfilter() 525 struct mt7996_dev *dev; in mt7996_set_monitor() 553 struct mt7996_dev *dev = mt7996_hw_dev(hw); in mt7996_add_interface() 604 struct mt7996_dev *dev = mt7996_hw_dev(hw); in mt7996_remove_interface() [all …]
|
| H A D | mac.c | 16 static struct mt76_wcid *mt7996_rx_get_wcid(struct mt7996_dev *dev, in mt7996_rx_get_wcid() 58 bool mt7996_mac_wtbl_update(struct mt7996_dev *dev, int idx, u32 mask) in mt7996_mac_wtbl_update() 67 u32 mt7996_mac_wtbl_lmac_addr(struct mt7996_dev *dev, u16 wcid, u8 dw) in mt7996_mac_wtbl_lmac_addr() 75 static void mt7996_mac_sta_poll(struct mt7996_dev *dev) in mt7996_mac_sta_poll() 274 mt7996_mac_fill_rx_rate(struct mt7996_dev *dev, in mt7996_mac_fill_rx_rate() 388 mt7996_wed_check_ppe(struct mt7996_dev *dev, struct mt76_queue *q, in mt7996_wed_check_ppe() 415 mt7996_mac_fill_rx(struct mt7996_dev *dev, enum mt76_rxq_id q, in mt7996_mac_fill_rx() 722 mt7996_mac_write_txwi_8023(struct mt7996_dev *dev, __le32 *txwi, in mt7996_mac_write_txwi_8023() 759 mt7996_mac_write_txwi_80211(struct mt7996_dev *dev, __le32 *txwi, in mt7996_mac_write_txwi_80211() 894 void mt7996_mac_write_txwi(struct mt7996_dev *dev, __le32 *txwi, in mt7996_mac_write_txwi() [all …]
|
| H A D | mcu.c | 222 struct mt7996_dev *dev = container_of(mdev, struct mt7996_dev, mt76); in mt7996_mcu_parse_response() 293 struct mt7996_dev *dev = container_of(mdev, struct mt7996_dev, mt76); in mt7996_mcu_send_message() 384 int mt7996_mcu_wa_cmd(struct mt7996_dev *dev, int cmd, u32 a1, u32 a2, u32 a3) in mt7996_mcu_wa_cmd() 476 mt7996_mcu_ie_countdown(struct mt7996_dev *dev, struct sk_buff *skb) in mt7996_mcu_ie_countdown() 526 mt7996_mcu_rx_radar_detected(struct mt7996_dev *dev, struct sk_buff *skb) in mt7996_mcu_rx_radar_detected() 571 mt7996_mcu_rx_log_message(struct mt7996_dev *dev, struct sk_buff *skb) in mt7996_mcu_rx_log_message() 648 mt7996_mcu_rx_all_sta_info_event(struct mt7996_dev *dev, struct sk_buff *skb) in mt7996_mcu_rx_all_sta_info_event() 706 mt7996_mcu_rx_thermal_notify(struct mt7996_dev *dev, struct sk_buff *skb) in mt7996_mcu_rx_thermal_notify() 734 mt7996_mcu_rx_ext_event(struct mt7996_dev *dev, struct sk_buff *skb) in mt7996_mcu_rx_ext_event() 748 mt7996_mcu_rx_unsolicited_event(struct mt7996_dev *dev, struct sk_buff *skb) in mt7996_mcu_rx_unsolicited_event() [all …]
|
| H A D | init.c | 293 struct mt7996_dev *dev; in mt7996_led_set_config() 298 dev = container_of(mphy->dev, struct mt7996_dev, mt76); in mt7996_led_set_config() 359 struct mt7996_dev *dev = phy->dev; in __mt7996_init_txpower() 399 struct mt7996_dev *dev = mt7996_hw_dev(hw); in mt7996_regd_notifier() 418 struct mt7996_dev *dev = phy->dev; in mt7996_init_wiphy_band() 480 struct mt7996_dev *dev = mt7996_hw_dev(hw); in mt7996_init_wiphy() 560 mt7996_mac_init_band(struct mt7996_dev *dev, u8 band) in mt7996_mac_init_band() 603 static void mt7996_mac_init_basic_rates(struct mt7996_dev *dev) in mt7996_mac_init_basic_rates() 618 void mt7996_mac_init(struct mt7996_dev *dev) in mt7996_mac_init() 670 int mt7996_txbf_init(struct mt7996_dev *dev) in mt7996_txbf_init() [all …]
|