Searched refs:vol_to_set (Results 1 – 2 of 2) sorted by relevance
117 static int ma901radio_set_volume(struct ma901radio_device *radio, u16 vol_to_set) in ma901radio_set_volume() argument124 radio->buffer[3] = vol_to_set + 0x20; in ma901radio_set_volume()136 radio->volume = vol_to_set; in ma901radio_set_volume()
287 int fm_rx_set_volume(struct fmdev *fmdev, u16 vol_to_set) in fm_rx_set_volume() argument295 if (vol_to_set > FM_RX_VOLUME_MAX) { in fm_rx_set_volume()300 vol_to_set *= FM_RX_VOLUME_GAIN_STEP; in fm_rx_set_volume()302 payload = vol_to_set; in fm_rx_set_volume()308 fmdev->rx.volume = vol_to_set; in fm_rx_set_volume()