/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | sdio_mcu.c | 143 struct mt7615_mcu_ops *mcu_ops; in mt7663s_mcu_init() local 150 dev->mt76.mcu_ops = &mt7663s_mcu_ops, in mt7663s_mcu_init() 164 mcu_ops = devm_kmemdup(dev->mt76.dev, dev->mcu_ops, sizeof(*mcu_ops), in mt7663s_mcu_init() 166 if (!mcu_ops) in mt7663s_mcu_init() 169 mcu_ops->set_drv_ctrl = mt7663s_mcu_drv_pmctrl; in mt7663s_mcu_init() 170 mcu_ops->set_fw_ctrl = mt7663s_mcu_fw_pmctrl; in mt7663s_mcu_init() 171 dev->mcu_ops = mcu_ops; in mt7663s_mcu_init()
|
H A D | mt7615.h | 207 #define mt7615_mcu_add_tx_ba(dev, ...) (dev)->mcu_ops->add_tx_ba((dev), __VA_ARGS__) 208 #define mt7615_mcu_add_rx_ba(dev, ...) (dev)->mcu_ops->add_rx_ba((dev), __VA_ARGS__) 209 #define mt7615_mcu_sta_add(phy, ...) ((phy)->dev)->mcu_ops->sta_add((phy), __VA_ARGS__) 210 #define mt7615_mcu_add_dev_info(phy, ...) ((phy)->dev)->mcu_ops->add_dev_info((phy), __VA_ARGS__) 211 #define mt7615_mcu_add_bss_info(phy, ...) ((phy)->dev)->mcu_ops->add_bss_info((phy), __VA_ARGS__) 212 #define mt7615_mcu_add_beacon(dev, ...) (dev)->mcu_ops->add_beacon_offload((dev), __VA_ARGS__) 213 #define mt7615_mcu_set_pm(dev, ...) (dev)->mcu_ops->set_pm_state((dev), __VA_ARGS__) 214 #define mt7615_mcu_set_drv_ctrl(dev) (dev)->mcu_ops->set_drv_ctrl((dev)) 215 #define mt7615_mcu_set_fw_ctrl(dev) (dev)->mcu_ops->set_fw_ctrl((dev)) 216 #define mt7615_mcu_set_sta_decap_offload(dev, ...) (dev)->mcu_ops->set_sta_decap_offload((dev), __V… [all …]
|
H A D | usb_mcu.c | 75 dev->mt76.mcu_ops = &mt7663u_mcu_ops, in mt7663u_mcu_init()
|
H A D | mcu.c | 1366 dev->mcu_ops = &sta_update_ops; in mt7615_load_n9() 1369 dev->mcu_ops = &wtbl_update_ops; in mt7615_load_n9() 1627 dev->mcu_ops = &uni_update_ops; in mt7663_load_rom_patch() 1631 dev->mcu_ops = &sta_update_ops; in mt7663_load_rom_patch() 1699 dev->mt76.mcu_ops = &mt7615_mcu_ops, in mt7615_mcu_init()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mcu.c | 12 const struct mt76_mcu_ops *ops = dev->mcu_ops; in __mt76_mcu_msg_alloc() 61 if (dev->mcu_ops->mcu_send_msg) in mt76_mcu_send_and_get_msg() 62 return dev->mcu_ops->mcu_send_msg(dev, cmd, data, len, wait_resp); in mt76_mcu_send_and_get_msg() 84 ret = dev->mcu_ops->mcu_skb_send_msg(dev, skb, cmd, &seq); in mt76_mcu_skb_send_and_get_msg() 97 ret = dev->mcu_ops->mcu_parse_response(dev, cmd, skb, seq); in mt76_mcu_skb_send_and_get_msg()
|
H A D | sdio.c | 147 return dev->mcu_ops->mcu_rr(dev, offset); in mt76s_rr() 156 dev->mcu_ops->mcu_wr(dev, offset, val); in mt76s_wr()
|
H A D | mt76x02_usb_mcu.c | 291 dev->mcu_ops = &mt76x02u_mcu_ops; in mt76x02u_init_mcu()
|
H A D | mt76.h | 792 const struct mt76_mcu_ops *mcu_ops; member 1018 #define mt76_mcu_restart(dev, ...) (dev)->mt76.mcu_ops->mcu_restart(&((dev)->mt76)) 1517 int max_len = 4096 - dev->mcu_ops->headroom; in mt76_mcu_send_firmware()
|
H A D | usb.c | 251 return dev->mcu_ops->mcu_wr_rp(dev, base, data, n); in mt76u_wr_rp() 278 return dev->mcu_ops->mcu_rd_rp(dev, base, data, n); in mt76u_rd_rp()
|
H A D | mt76x02_mmio.c | 429 bool restart = dev->mt76.mcu_ops->mcu_restart; in mt76x02_watchdog_reset()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | usb.c | 59 static const struct mt76_mcu_ops mcu_ops = { in mt7921u_mcu_init() local 68 dev->mt76.mcu_ops = &mcu_ops; in mt7921u_mcu_init()
|
H A D | pci_mcu.c | 50 dev->mt76.mcu_ops = &mt7921_mcu_ops; in mt7921e_mcu_init()
|
H A D | sdio_mcu.c | 89 dev->mt76.mcu_ops = &mt7921s_mcu_ops; in mt7921s_mcu_init()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | pci_mcu.c | 124 dev->mt76.mcu_ops = &mt76x0e_mcu_ops; in mt76x0e_mcu_init()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | pci_mcu.c | 186 dev->mt76.mcu_ops = &mt76x2_mcu_ops; in mt76x2_mcu_init()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mcu.c | 226 dev->mt76.mcu_ops = &mt7603_mcu_ops; in mt7603_mcu_init()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mcu.c | 2383 dev->mt76.mcu_ops = &mt7915_mcu_ops; in mt7915_mcu_init()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mcu.c | 2616 dev->mt76.mcu_ops = &mt7996_mcu_ops; in mt7996_mcu_init()
|