Home
last modified time | relevance | path

Searched refs:vol_to_set (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/radio/
H A Dradio-ma901.c117 static int ma901radio_set_volume(struct ma901radio_device *radio, u16 vol_to_set) in ma901radio_set_volume() argument
124 radio->buffer[3] = vol_to_set + 0x20; in ma901radio_set_volume()
136 radio->volume = vol_to_set; in ma901radio_set_volume()
/openbmc/linux/drivers/media/radio/wl128x/
H A Dfmdrv_rx.c287 int fm_rx_set_volume(struct fmdev *fmdev, u16 vol_to_set) in fm_rx_set_volume() argument
295 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()