Home
last modified time | relevance | path

Searched refs:mcu_ops (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio_mcu.c135 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()
Dmt7615.h216 #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
Dusb_mcu.c64 dev->mt76.mcu_ops = &mt7663u_mcu_ops, in mt7663u_mcu_init()
Dsdio.c149 return dev->mcu_ops->mcu_rr(dev, offset); in mt7663s_rr()
157 dev->mcu_ops->mcu_wr(dev, offset, val); in mt7663s_wr()
Dmcu.c1939 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/
Dmcu.c12 const struct mt76_mcu_ops *ops = dev->mcu_ops; in mt76_mcu_msg_alloc()
Dmt76.h593 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))
Dmt76x02_usb_mcu.c304 dev->mcu_ops = &mt76x02u_mcu_ops; in mt76x02u_init_mcu()
Dusb.c304 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()
Dmt76x02_mmio.c437 bool restart = dev->mt76.mcu_ops->mcu_restart; in mt76x02_watchdog_reset()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x0/
Dpci_mcu.c123 dev->mt76.mcu_ops = &mt76x0e_mcu_ops; in mt76x0e_mcu_init()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt76x2/
Dpci_mcu.c185 dev->mt76.mcu_ops = &mt76x2_mcu_ops; in mt76x2_mcu_init()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmcu.c273 dev->mt76.mcu_ops = &mt7603_mcu_ops; in mt7603_mcu_init()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c2861 dev->mt76.mcu_ops = &mt7915_mcu_ops, in mt7915_mcu_init()