/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mt7603.h | 102 struct mt7603_dev { struct 184 int mt7603_eeprom_init(struct mt7603_dev *dev); 185 int mt7603_dma_init(struct mt7603_dev *dev); 186 void mt7603_dma_cleanup(struct mt7603_dev *dev); 187 int mt7603_mcu_init(struct mt7603_dev *dev); 188 void mt7603_init_debugfs(struct mt7603_dev *dev); 202 void mt7603_mac_start(struct mt7603_dev *dev); 203 void mt7603_mac_stop(struct mt7603_dev *dev); 212 void mt7603_mac_sta_poll(struct mt7603_dev *dev); 218 void mt7603_mcu_exit(struct mt7603_dev *dev); [all …]
|
H A D | debugfs.c | 8 struct mt7603_dev *dev = dev_get_drvdata(s->private); in mt7603_reset_read() 34 struct mt7603_dev *dev = dev_get_drvdata(s->private); in mt7603_radio_read() 46 struct mt7603_dev *dev = data; in mt7603_edcca_set() 63 struct mt7603_dev *dev = data; in mt7603_edcca_get() 75 struct mt7603_dev *dev = file->private; in mt7603_ampdu_stat_show() 96 void mt7603_init_debugfs(struct mt7603_dev *dev) in mt7603_init_debugfs()
|
H A D | mac.c | 24 mt76_stop_tx_ac(struct mt7603_dev *dev, u32 mask) in mt76_stop_tx_ac() 30 mt76_start_tx_ac(struct mt7603_dev *dev, u32 mask) in mt76_start_tx_ac() 45 void mt7603_mac_set_timing(struct mt7603_dev *dev) in mt7603_mac_set_timing() 690 mt7603_mac_tx_rate_val(struct mt7603_dev *dev, in mt7603_mac_tx_rate_val() 1052 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_tx_prepare_skb() 1305 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_tx_complete_skb() 1318 wait_for_wpdma(struct mt7603_dev *dev) in wait_for_wpdma() 1373 void mt7603_mac_stop(struct mt7603_dev *dev) in mt7603_mac_stop() 1623 struct mt7603_dev *dev = container_of(mphy->dev, struct mt7603_dev, mt76); in mt7603_update_channel() 1658 mt7603_edcca_check(struct mt7603_dev *dev) in mt7603_edcca_check() [all …]
|
H A D | main.c | 14 struct mt7603_dev *dev = hw->priv; in mt7603_start() 28 struct mt7603_dev *dev = hw->priv; in mt7603_stop() 39 struct mt7603_dev *dev = hw->priv; in mt7603_add_interface() 93 struct mt7603_dev *dev = hw->priv; in mt7603_remove_interface() 139 struct mt7603_dev *dev = hw->priv; in mt7603_set_channel() 219 struct mt7603_dev *dev = hw->priv; in mt7603_set_sar_specs() 236 struct mt7603_dev *dev = hw->priv; in mt7603_config() 345 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_sta_add() 375 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_sta_assoc() 384 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_sta_remove() [all …]
|
H A D | eeprom.c | 8 mt7603_efuse_read(struct mt7603_dev *dev, u32 base, u16 addr, u8 *data) in mt7603_efuse_read() 41 mt7603_efuse_init(struct mt7603_dev *dev) in mt7603_efuse_init() 67 mt7603_has_cal_free_data(struct mt7603_dev *dev, u8 *efuse) in mt7603_has_cal_free_data() 91 mt7603_apply_cal_free_data(struct mt7603_dev *dev, u8 *efuse) in mt7603_apply_cal_free_data() 126 mt7603_eeprom_load(struct mt7603_dev *dev) in mt7603_eeprom_load() 151 static inline bool is_mt7688(struct mt7603_dev *dev) in is_mt7688() 156 int mt7603_eeprom_init(struct mt7603_dev *dev) in mt7603_eeprom_init()
|
H A D | init.c | 24 mt7603_set_tmac_template(struct mt7603_dev *dev) in mt7603_set_tmac_template() 40 mt7603_dma_sched_init(struct mt7603_dev *dev) in mt7603_dma_sched_init() 114 mt7603_phy_init(struct mt7603_dev *dev) in mt7603_phy_init() 133 mt7603_mac_init(struct mt7603_dev *dev) in mt7603_mac_init() 270 mt7603_init_hardware(struct mt7603_dev *dev) in mt7603_init_hardware() 336 struct mt7603_dev *dev = container_of(mphy->dev, struct mt7603_dev, in mt7603_led_set_config() 394 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rr() 402 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_wr() 410 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rmw() 421 struct mt7603_dev *dev = hw->priv; in mt7603_regd_notifier() [all …]
|
H A D | soc.c | 12 struct mt7603_dev *dev; in mt76_wmac_probe() 31 dev = container_of(mdev, struct mt7603_dev, mt76); in mt76_wmac_probe() 59 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt76_wmac_remove()
|
H A D | mcu.c | 20 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_mcu_parse_response() 41 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_mcu_skb_send_msg() 79 mt7603_mcu_init_download(struct mt7603_dev *dev, u32 addr, u32 len) in mt7603_mcu_init_download() 96 mt7603_mcu_start_firmware(struct mt7603_dev *dev, u32 addr) in mt7603_mcu_start_firmware() 116 static int mt7603_load_firmware(struct mt7603_dev *dev) in mt7603_load_firmware() 218 int mt7603_mcu_init(struct mt7603_dev *dev) in mt7603_mcu_init() 230 void mt7603_mcu_exit(struct mt7603_dev *dev) in mt7603_mcu_exit() 236 int mt7603_mcu_set_eeprom(struct mt7603_dev *dev) in mt7603_mcu_set_eeprom() 340 static int mt7603_mcu_set_tx_power(struct mt7603_dev *dev) in mt7603_mcu_set_tx_power() 384 int mt7603_mcu_set_channel(struct mt7603_dev *dev) in mt7603_mcu_set_channel()
|
H A D | pci.c | 17 struct mt7603_dev *dev; in mt76pci_probe() 40 dev = container_of(mdev, struct mt7603_dev, mt76); in mt76pci_probe() 69 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt76pci_remove()
|
H A D | dma.c | 15 mt7603_rx_loopback_skb(struct mt7603_dev *dev, struct sk_buff *skb) in mt7603_rx_loopback_skb() 98 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_queue_rx_skb() 135 mt7603_init_rx_queue(struct mt7603_dev *dev, struct mt76_queue *q, in mt7603_init_rx_queue() 152 struct mt7603_dev *dev; in mt7603_poll_tx() 155 dev = container_of(napi, struct mt7603_dev, mt76.tx_napi); in mt7603_poll_tx() 176 int mt7603_dma_init(struct mt7603_dev *dev) in mt7603_dma_init() 251 void mt7603_dma_cleanup(struct mt7603_dev *dev) in mt7603_dma_cleanup()
|
H A D | core.c | 8 struct mt7603_dev *dev = container_of(mdev, struct mt7603_dev, mt76); in mt7603_rx_poll_complete() 15 struct mt7603_dev *dev = dev_instance; in mt7603_irq_handler() 59 u32 mt7603_reg_map(struct mt7603_dev *dev, u32 addr) in mt7603_reg_map()
|
H A D | beacon.c | 6 struct mt7603_dev *dev; 13 mt7603_mac_stuck_beacon_recovery(struct mt7603_dev *dev) in mt7603_mac_stuck_beacon_recovery() 32 struct mt7603_dev *dev = (struct mt7603_dev *)priv; in mt7603_update_beacon_iter() 80 struct mt7603_dev *dev = data->dev; in mt7603_add_buffered_bc() 103 struct mt7603_dev *dev = from_tasklet(dev, t, mt76.pre_tbtt_tasklet); in mt7603_pre_tbtt_tasklet() 180 void mt7603_beacon_set_timer(struct mt7603_dev *dev, int idx, int intval) in mt7603_beacon_set_timer()
|