Lines Matching refs:msg
28 } __packed __aligned(4) msg = { in mt76x2_mcu_set_channel()
36 mt76_mcu_send_msg(&dev->mt76, CMD_SWITCH_CHANNEL_OP, &msg, in mt76x2_mcu_set_channel()
37 sizeof(msg), true); in mt76x2_mcu_set_channel()
41 msg.ext_chan = 0xe0 + bw_index; in mt76x2_mcu_set_channel()
42 return mt76_mcu_send_msg(&dev->mt76, CMD_SWITCH_CHANNEL_OP, &msg, in mt76x2_mcu_set_channel()
43 sizeof(msg), true); in mt76x2_mcu_set_channel()
57 } __packed __aligned(4) msg = { in mt76x2_mcu_load_cr()
67 msg.cfg = cpu_to_le32(val); in mt76x2_mcu_load_cr()
70 return mt76_mcu_send_msg(&dev->mt76, CMD_LOAD_CR, &msg, sizeof(msg), in mt76x2_mcu_load_cr()
81 } __packed __aligned(4) msg = { in mt76x2_mcu_init_gain()
87 msg.channel |= cpu_to_le32(BIT(31)); in mt76x2_mcu_init_gain()
89 return mt76_mcu_send_msg(&dev->mt76, CMD_INIT_GAIN_OP, &msg, in mt76x2_mcu_init_gain()
90 sizeof(msg), true); in mt76x2_mcu_init_gain()
100 } __packed __aligned(4) msg = { in mt76x2_mcu_tssi_comp()
105 return mt76_mcu_send_msg(&dev->mt76, CMD_CALIBRATION_OP, &msg, in mt76x2_mcu_tssi_comp()
106 sizeof(msg), true); in mt76x2_mcu_tssi_comp()