Searched refs:mcu_ops (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | sdio_mcu.c | 135 struct mt7615_mcu_ops *mcu_ops; in mt7663s_mcu_init() local 142 dev->mt76.mcu_ops = &mt7663s_mcu_ops, in mt7663s_mcu_init() 156 mcu_ops = devm_kmemdup(dev->mt76.dev, dev->mcu_ops, sizeof(*mcu_ops), in mt7663s_mcu_init() 158 if (!mcu_ops) in mt7663s_mcu_init() 161 mcu_ops->set_drv_ctrl = mt7663s_mcu_drv_pmctrl; in mt7663s_mcu_init() 162 mcu_ops->set_fw_ctrl = mt7663s_mcu_fw_pmctrl; in mt7663s_mcu_init() 163 dev->mcu_ops = mcu_ops; in mt7663s_mcu_init()
|
D | mt7615.h | 216 #define mt7615_mcu_add_tx_ba(dev, ...) (dev)->mcu_ops->add_tx_ba((dev), __VA_ARGS__) 217 #define mt7615_mcu_add_rx_ba(dev, ...) (dev)->mcu_ops->add_rx_ba((dev), __VA_ARGS__) 218 #define mt7615_mcu_sta_add(dev, ...) (dev)->mcu_ops->sta_add((dev), __VA_ARGS__) 219 #define mt7615_mcu_add_dev_info(dev, ...) (dev)->mcu_ops->add_dev_info((dev), __VA_ARGS__) 220 #define mt7615_mcu_add_bss_info(phy, ...) (phy->dev)->mcu_ops->add_bss_info((phy), __VA_ARGS__) 221 #define mt7615_mcu_add_beacon(dev, ...) (dev)->mcu_ops->add_beacon_offload((dev), __VA_ARGS__) 222 #define mt7615_mcu_set_pm(dev, ...) (dev)->mcu_ops->set_pm_state((dev), __VA_ARGS__) 223 #define mt7615_mcu_set_drv_ctrl(dev) (dev)->mcu_ops->set_drv_ctrl((dev)) 224 #define mt7615_mcu_set_fw_ctrl(dev) (dev)->mcu_ops->set_fw_ctrl((dev)) 262 const struct mt7615_mcu_ops *mcu_ops; member
|
D | usb_mcu.c | 64 dev->mt76.mcu_ops = &mt7663u_mcu_ops, in mt7663u_mcu_init()
|
D | sdio.c | 149 return dev->mcu_ops->mcu_rr(dev, offset); in mt7663s_rr() 157 dev->mcu_ops->mcu_wr(dev, offset, val); in mt7663s_wr()
|
D | mcu.c | 1939 cur_len = min_t(int, 4096 - dev->mt76.mcu_ops->headroom, len); in mt7615_mcu_send_firmware() 2164 dev->mcu_ops = &sta_update_ops; in mt7615_load_n9() 2167 dev->mcu_ops = &wtbl_update_ops; in mt7615_load_n9() 2410 dev->mcu_ops = &uni_update_ops; in mt7663_load_rom_patch() 2414 dev->mcu_ops = &sta_update_ops; in mt7663_load_rom_patch() 2483 dev->mt76.mcu_ops = &mt7615_mcu_ops, in mt7615_mcu_init()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | mcu.c | 12 const struct mt76_mcu_ops *ops = dev->mcu_ops; in mt76_mcu_msg_alloc()
|
D | mt76.h | 593 const struct mt76_mcu_ops *mcu_ops; member 693 #define mt76_mcu_send_msg(dev, ...) (dev)->mt76.mcu_ops->mcu_send_msg(&((dev)->mt76), __VA_ARGS__) 695 #define __mt76_mcu_send_msg(dev, ...) (dev)->mcu_ops->mcu_send_msg((dev), __VA_ARGS__) 696 #define __mt76_mcu_skb_send_msg(dev, ...) (dev)->mcu_ops->mcu_skb_send_msg((dev), __VA_ARGS__) 697 #define mt76_mcu_restart(dev, ...) (dev)->mt76.mcu_ops->mcu_restart(&((dev)->mt76)) 698 #define __mt76_mcu_restart(dev, ...) (dev)->mcu_ops->mcu_restart((dev))
|
D | mt76x02_usb_mcu.c | 304 dev->mcu_ops = &mt76x02u_mcu_ops; in mt76x02u_init_mcu()
|
D | usb.c | 304 return dev->mcu_ops->mcu_wr_rp(dev, base, data, n); in mt76u_wr_rp() 331 return dev->mcu_ops->mcu_rd_rp(dev, base, data, n); in mt76u_rd_rp()
|
D | mt76x02_mmio.c | 437 bool restart = dev->mt76.mcu_ops->mcu_restart; in mt76x02_watchdog_reset()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | pci_mcu.c | 123 dev->mt76.mcu_ops = &mt76x0e_mcu_ops; in mt76x0e_mcu_init()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | pci_mcu.c | 185 dev->mt76.mcu_ops = &mt76x2_mcu_ops; in mt76x2_mcu_init()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mcu.c | 273 dev->mt76.mcu_ops = &mt7603_mcu_ops; in mt7603_mcu_init()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mcu.c | 2861 dev->mt76.mcu_ops = &mt7915_mcu_ops, in mt7915_mcu_init()
|