/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | mcu.c | 36 mt76_mcu_send_msg(&dev->mt76, CMD_SWITCH_CHANNEL_OP, &msg, in mt76x2_mcu_set_channel() 42 return mt76_mcu_send_msg(&dev->mt76, CMD_SWITCH_CHANNEL_OP, &msg, in mt76x2_mcu_set_channel() 70 return mt76_mcu_send_msg(&dev->mt76, CMD_LOAD_CR, &msg, sizeof(msg), in mt76x2_mcu_load_cr() 89 return mt76_mcu_send_msg(&dev->mt76, CMD_INIT_GAIN_OP, &msg, in mt76x2_mcu_init_gain() 105 return mt76_mcu_send_msg(&dev->mt76, CMD_CALIBRATION_OP, &msg, in mt76x2_mcu_tssi_comp()
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mcu.c | 256 return mt76_mcu_send_msg(&dev->mt76, in mt7615_rf_rr() 273 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_RF_REG_ACCESS, &req, in mt7615_rf_wr() 662 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_MUAR_UPDATE, &req, in mt7615_mcu_muar_config() 706 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_DEV_INFO_UPDATE, in mt7615_mcu_add_dev() 775 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_BCN_OFFLOAD, &req, in mt7615_mcu_add_beacon_offload() 806 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_PM_STATE_CTRL, &req, in mt7615_mcu_ctrl_pm_state() 1289 return mt76_mcu_send_msg(&dev->mt76, MCU_UNI_CMD_BSS_INFO_UPDATE, in mt7615_mcu_uni_add_beacon_offload() 1403 return mt76_mcu_send_msg(dev, MCU_CMD_RESTART_DL_REQ, NULL, 0, true); in mt7615_mcu_restart() 1698 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_FW_LOG_2_HOST, &data, in mt7615_mcu_fw_log_2_host() 1999 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_EDCA_UPDATE, &req, in mt7615_mcu_set_wmm() [all …]
|
/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | mcu.c | 91 return mt76_mcu_send_msg(&dev->mt76, -MCU_CMD_TARGET_ADDRESS_LEN_REQ, in mt7603_mcu_init_download() 106 return mt76_mcu_send_msg(&dev->mt76, -MCU_CMD_FW_START_REQ, &req, in mt7603_mcu_start_firmware() 113 return mt76_mcu_send_msg(dev, -MCU_CMD_RESTART_DL_REQ, NULL, 0, true); in mt7603_mcu_restart() 334 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_EFUSE_BUFFER_MODE, in mt7603_mcu_set_eeprom() 381 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_SET_TX_POWER_CTRL, in mt7603_mcu_set_tx_power() 427 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_CHANNEL_SWITCH, &req, in mt7603_mcu_set_channel()
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | testmode.c | 80 ret = mt76_mcu_send_msg(&dev->mt76, in mt7915_tm_set_tx_power() 98 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(ATE_CTRL), &req, in mt7915_tm_set_freq_offset() 114 return mt76_mcu_send_msg(&dev->mt76, in mt7915_tm_mode_ctrl() 131 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(ATE_CTRL), &req, in mt7915_tm_set_trx() 146 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(ATE_CTRL), &req, in mt7915_tm_clean_hwq() 164 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(ATE_CTRL), &req, in mt7915_tm_set_slot_time() 487 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RF_TEST), &req, in mt7915_tm_rf_switch_mode() 599 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RF_TEST), &req, in mt7915_tm_set_tx_cont() 610 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RF_TEST), &req, in mt7915_tm_set_tx_cont()
|
D | mcu.c | 432 mt76_mcu_send_msg(&dev->mt76, cmd, &req, sizeof(req), true); in mt7915_mcu_wa_cmd() 1137 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(MUAR_UPDATE), &req, in mt7915_mcu_muar_config() 2358 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(SET_DRR_CTRL), &req, in mt7915_mcu_add_group() 2537 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(DEV_INFO_UPDATE), in mt7915_mcu_add_dev_info() 2646 return mt76_mcu_send_msg(&dev->mt76, MCU_CMD(FW_START_REQ), &req, in mt7915_mcu_start_firmware() 2659 return mt76_mcu_send_msg(dev, MCU_CMD(NIC_POWER_CTRL), &req, in mt7915_mcu_restart() 2671 return mt76_mcu_send_msg(&dev->mt76, MCU_CMD(PATCH_SEM_CONTROL), &req, in mt7915_mcu_patch_sem_ctrl() 2684 return mt76_mcu_send_msg(&dev->mt76, MCU_CMD(PATCH_FINISH_REQ), &req, in mt7915_mcu_start_patch() 2719 return mt76_mcu_send_msg(&dev->mt76, attr, &req, sizeof(req), true); in mt7915_mcu_init_download() 2963 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(FW_LOG_2_HOST), &data, in mt7915_mcu_fw_log_2_host() [all …]
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mcu.c | 97 return mt76_mcu_send_msg(&dev->mt76, CMD_FUN_SET_OP, &msg, in mt76x02_mcu_function_select() 112 return mt76_mcu_send_msg(&dev->mt76, CMD_POWER_SAVING_OP, &msg, in mt76x02_mcu_set_radio_state() 132 ret = mt76_mcu_send_msg(&dev->mt76, CMD_CALIBRATION_OP, &msg, in mt76x02_mcu_calibrate()
|
D | mt76_connac_mcu.c | 16 return mt76_mcu_send_msg(dev, MCU_CMD_FW_START_REQ, &req, sizeof(req), in mt76_connac_mcu_start_firmware() 30 return mt76_mcu_send_msg(dev, MCU_CMD_PATCH_SEM_CONTROL, &req, in mt76_connac_mcu_patch_sem_ctrl() 44 return mt76_mcu_send_msg(dev, MCU_CMD_PATCH_FINISH_REQ, &req, in mt76_connac_mcu_start_patch() 71 return mt76_mcu_send_msg(dev, cmd, &req, sizeof(req), true); in mt76_connac_mcu_init_download() 162 return mt76_mcu_send_msg(dev, MCU_EXT_CMD_MAC_INIT_CTRL, &req_mac, in mt76_connac_mcu_set_mac_enable() 184 return mt76_mcu_send_msg(dev, MCU_CMD_SET_PS_PROFILE, &req, in mt76_connac_mcu_set_vif_ps() 204 return mt76_mcu_send_msg(dev, MCU_EXT_CMD_PROTECT_CTRL, &req, in mt76_connac_mcu_set_rts_thresh() 1052 err = mt76_mcu_send_msg(dev, cmd, data, len, true); in mt76_connac_mcu_uni_add_dev() 1060 return mt76_mcu_send_msg(dev, cmd, data, len, true); in mt76_connac_mcu_uni_add_dev() 1318 err = mt76_mcu_send_msg(mdev, MCU_UNI_CMD_BSS_INFO_UPDATE, &basic_req, in mt76_connac_mcu_uni_add_bss() [all …]
|
D | mcu.c | 117 err = mt76_mcu_send_msg(dev, cmd, data, cur_len, false); in mt76_mcu_send_firmware()
|
D | mt76.h | 1248 mt76_mcu_send_msg(struct mt76_dev *dev, int cmd, const void *data, int len, in mt76_mcu_send_msg() function
|
/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mcu.c | 736 return mt76_mcu_send_msg(dev, MCU_CMD_NIC_POWER_CTRL, &req, in mt7921_mcu_restart() 985 return mt76_mcu_send_msg(&dev->mt76, MCU_CMD_FWLOG_2_HOST, &data, in mt7921_mcu_fw_log_2_host() 1077 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_EDCA_UPDATE, &req, in mt7921_mcu_set_tx() 1130 return mt76_mcu_send_msg(&dev->mt76, cmd, &req, sizeof(req), true); in mt7921_mcu_set_chan_info() 1144 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_EFUSE_BUFFER_MODE, in mt7921_mcu_set_eeprom() 1204 return mt76_mcu_send_msg(&dev->mt76, MCU_UNI_CMD_BSS_INFO_UPDATE, in mt7921_mcu_uni_bss_ps() 1240 return mt76_mcu_send_msg(&dev->mt76, MCU_UNI_CMD_BSS_INFO_UPDATE, in mt7921_mcu_uni_bss_bcnft() 1276 err = mt76_mcu_send_msg(&dev->mt76, MCU_CMD_SET_BSS_ABORT, &req_hdr, in mt7921_mcu_set_bss_pm() 1281 return mt76_mcu_send_msg(&dev->mt76, MCU_CMD_SET_BSS_CONNECTED, &req, in mt7921_mcu_set_bss_pm()
|