Lines Matching +full:channel +full:- +full:4
1 // SPDX-License-Identifier: ISC
15 int mt76x2_mcu_set_channel(struct mt76x02_dev *dev, u8 channel, u8 bw, in mt76x2_mcu_set_channel() argument
28 } __packed __aligned(4) msg = { in mt76x2_mcu_set_channel()
29 .idx = channel, in mt76x2_mcu_set_channel()
32 .chainmask = cpu_to_le16(dev->mphy.chainmask), in mt76x2_mcu_set_channel()
35 /* first set the channel without the extension channel info */ in mt76x2_mcu_set_channel()
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()
48 u8 channel) in mt76x2_mcu_load_cr() argument
57 } __packed __aligned(4) msg = { in mt76x2_mcu_load_cr()
60 .ch = channel, in mt76x2_mcu_load_cr()
69 /* first set the channel without the extension channel info */ in mt76x2_mcu_load_cr()
70 return mt76_mcu_send_msg(&dev->mt76, CMD_LOAD_CR, &msg, sizeof(msg), in mt76x2_mcu_load_cr()
75 int mt76x2_mcu_init_gain(struct mt76x02_dev *dev, u8 channel, u32 gain, in mt76x2_mcu_init_gain() argument
79 __le32 channel; in mt76x2_mcu_init_gain() member
81 } __packed __aligned(4) msg = { in mt76x2_mcu_init_gain()
82 .channel = cpu_to_le32(channel), 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()
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()