/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
A 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()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
A 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()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | mcu.c | 256 return mt76_mcu_send_msg(&dev->mt76, in mt7615_rf_rr() 661 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_MUAR_UPDATE, &req, in mt7615_mcu_muar_config() 705 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_DEV_INFO_UPDATE, in mt7615_mcu_add_dev() 1288 return mt76_mcu_send_msg(&dev->mt76, MCU_UNI_CMD_BSS_INFO_UPDATE, in mt7615_mcu_uni_add_beacon_offload() 2075 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_DBDC_CTRL, &req, in mt7615_mcu_set_dbdc() 2397 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_GET_TEMP, &req, in mt7615_mcu_get_temperature() 2418 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_ATE_CTRL, &req, in mt7615_mcu_set_test_param() 2436 return mt76_mcu_send_msg(&dev->mt76, in mt7615_mcu_set_sku_en() 2698 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_TXDPD_CAL, &req, in mt7615_mcu_apply_tx_dpd() 2727 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_RX_HDR_TRANS, in mt7615_mcu_set_rx_hdr_trans_blacklist() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A 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()
|
A 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() 179 return mt76_mcu_send_msg(dev, MCU_EXT_CMD_MAC_INIT_CTRL, &req_mac, in mt76_connac_mcu_set_mac_enable() 201 return mt76_mcu_send_msg(dev, MCU_CMD_SET_PS_PROFILE, &req, in mt76_connac_mcu_set_vif_ps() 221 return mt76_mcu_send_msg(dev, MCU_EXT_CMD_PROTECT_CTRL, &req, in mt76_connac_mcu_set_rts_thresh() 1078 err = mt76_mcu_send_msg(dev, cmd, data, len, true); in mt76_connac_mcu_uni_add_dev() 1086 return mt76_mcu_send_msg(dev, cmd, data, len, true); in mt76_connac_mcu_uni_add_dev() 1393 err = mt76_mcu_send_msg(mdev, MCU_UNI_CMD_BSS_INFO_UPDATE, in mt76_connac_mcu_uni_add_bss() [all …]
|
A D | mcu.c | 117 err = mt76_mcu_send_msg(dev, cmd, data, cur_len, false); in __mt76_mcu_send_firmware()
|
A D | mt76.h | 1315 mt76_mcu_send_msg(struct mt76_dev *dev, int cmd, const void *data, int len, in mt76_mcu_send_msg() function
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A 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() 510 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RF_TEST), &req, in mt7915_tm_rf_switch_mode() 622 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RF_TEST), &req, in mt7915_tm_set_tx_cont() 633 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RF_TEST), &req, in mt7915_tm_set_tx_cont()
|
A D | mcu.c | 431 return mt76_mcu_send_msg(&dev->mt76, cmd, &req, sizeof(req), false); in mt7915_mcu_wa_cmd() 2674 return mt76_mcu_send_msg(&dev->mt76, MCU_CMD(FW_START_REQ), &req, in mt7915_mcu_start_firmware() 2687 return mt76_mcu_send_msg(dev, MCU_CMD(NIC_POWER_CTRL), &req, in mt7915_mcu_restart() 3163 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RX_HDR_TRANS), in mt7915_mcu_set_rx_hdr_trans_blacklist() 3192 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(RX_HDR_TRANS), in mt7915_mcu_set_mac() 3200 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(MAC_INIT_CTRL), in mt7915_mcu_set_mac() 3819 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(THERMAL_PROT), in mt7915_mcu_set_thermal_throttling() 3836 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD(THERMAL_PROT), in mt7915_mcu_set_thermal_throttling() 3886 return mt76_mcu_send_msg(&dev->mt76, in mt7915_mcu_set_txpower_sku() 3960 return mt76_mcu_send_msg(&dev->mt76, in mt7915_mcu_set_sku_en() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
A D | mcu.c | 605 return mt76_mcu_send_msg(dev, MCU_CMD_NIC_POWER_CTRL, &req, in mt7921_mcu_restart() 899 return mt76_mcu_send_msg(&dev->mt76, MCU_CMD_FWLOG_2_HOST, &data, in mt7921_mcu_fw_log_2_host() 1000 ret = mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_EDCA_UPDATE, &req, in mt7921_mcu_set_tx() 1025 return mt76_mcu_send_msg(&dev->mt76, MCU_CMD_SET_MU_EDCA_PARMS, &req_mu, in mt7921_mcu_set_tx() 1082 return mt76_mcu_send_msg(&dev->mt76, cmd, &req, sizeof(req), true); in mt7921_mcu_set_chan_info() 1096 return mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_EFUSE_BUFFER_MODE, in mt7921_mcu_set_eeprom() 1157 return mt76_mcu_send_msg(&dev->mt76, MCU_UNI_CMD_BSS_INFO_UPDATE, in mt7921_mcu_uni_bss_ps() 1193 return mt76_mcu_send_msg(&dev->mt76, MCU_UNI_CMD_BSS_INFO_UPDATE, in mt7921_mcu_uni_bss_bcnft() 1229 err = mt76_mcu_send_msg(&dev->mt76, MCU_CMD_SET_BSS_ABORT, &req_hdr, in mt7921_mcu_set_bss_pm() 1234 return mt76_mcu_send_msg(&dev->mt76, MCU_CMD_SET_BSS_CONNECTED, &req, in mt7921_mcu_set_bss_pm()
|
A D | testmode.c | 69 ret = mt76_mcu_send_msg(&dev->mt76, MCU_CMD_TEST_CTRL, &cmd, in mt7921_tm_set()
|