Lines Matching refs:payload

36 	u16 payload, curr_frq, intr_flag;  in fm_rx_set_freq()  local
47 payload = FM_RX_AUDIO_ENABLE_I2S_AND_ANALOG; in fm_rx_set_freq()
49 ret = fmc_send_cmd(fmdev, AUDIO_ENABLE_SET, REG_WR, &payload, in fm_rx_set_freq()
50 sizeof(payload), NULL, NULL); in fm_rx_set_freq()
55 payload = FM_RX_IFFREQ_HILO_AUTOMATIC; in fm_rx_set_freq()
56 ret = fmc_send_cmd(fmdev, HILO_SET, REG_WR, &payload, in fm_rx_set_freq()
57 sizeof(payload), NULL, NULL); in fm_rx_set_freq()
62 payload = (freq - fmdev->rx.region.bot_freq) / FM_FREQ_MUL; in fm_rx_set_freq()
64 ret = fmc_send_cmd(fmdev, FREQ_SET, REG_WR, &payload, in fm_rx_set_freq()
65 sizeof(payload), NULL, NULL); in fm_rx_set_freq()
77 payload = fmdev->irq_info.mask; in fm_rx_set_freq()
78 ret = fmc_send_cmd(fmdev, INT_MASK_SET, REG_WR, &payload, in fm_rx_set_freq()
79 sizeof(payload), NULL, NULL); in fm_rx_set_freq()
84 payload = FM_TUNER_PRESET_MODE; in fm_rx_set_freq()
85 ret = fmc_send_cmd(fmdev, TUNER_MODE_SET, REG_WR, &payload, in fm_rx_set_freq()
86 sizeof(payload), NULL, NULL); in fm_rx_set_freq()
119 payload = fmdev->irq_info.mask; in fm_rx_set_freq()
120 ret = fmc_send_cmd(fmdev, INT_MASK_SET, REG_WR, &payload, in fm_rx_set_freq()
121 sizeof(payload), NULL, NULL); in fm_rx_set_freq()
134 u16 payload; in fm_rx_set_channel_spacing() local
145 payload = spacing; in fm_rx_set_channel_spacing()
146 ret = fmc_send_cmd(fmdev, CHANL_BW_SET, REG_WR, &payload, in fm_rx_set_channel_spacing()
147 sizeof(payload), NULL, NULL); in fm_rx_set_channel_spacing()
161 u16 payload, int_reason, intr_flag; in fm_rx_seek() local
200 payload = next_frq; in fm_rx_seek()
201 ret = fmc_send_cmd(fmdev, FREQ_SET, REG_WR, &payload, in fm_rx_seek()
202 sizeof(payload), NULL, NULL); in fm_rx_seek()
207 payload = (seek_upward ? FM_SEARCH_DIRECTION_UP : FM_SEARCH_DIRECTION_DOWN); in fm_rx_seek()
208 ret = fmc_send_cmd(fmdev, SEARCH_DIR_SET, REG_WR, &payload, in fm_rx_seek()
209 sizeof(payload), NULL, NULL); in fm_rx_seek()
221 payload = fmdev->irq_info.mask; in fm_rx_seek()
222 ret = fmc_send_cmd(fmdev, INT_MASK_SET, REG_WR, &payload, in fm_rx_seek()
223 sizeof(payload), NULL, NULL); in fm_rx_seek()
228 payload = FM_TUNER_AUTONOMOUS_SEARCH_MODE; in fm_rx_seek()
229 ret = fmc_send_cmd(fmdev, TUNER_MODE_SET, REG_WR, &payload, in fm_rx_seek()
230 sizeof(payload), NULL, NULL); in fm_rx_seek()
248 payload = fmdev->irq_info.mask; in fm_rx_seek()
249 ret = fmc_send_cmd(fmdev, INT_MASK_SET, REG_WR, &payload, in fm_rx_seek()
250 sizeof(payload), NULL, NULL); in fm_rx_seek()
289 u16 payload; in fm_rx_set_volume() local
302 payload = vol_to_set; in fm_rx_set_volume()
303 ret = fmc_send_cmd(fmdev, VOLUME_SET, REG_WR, &payload, in fm_rx_set_volume()
304 sizeof(payload), NULL, NULL); in fm_rx_set_volume()
349 u16 payload; in fm_rx_set_region() local
365 payload = (u16)region_to_set; in fm_rx_set_region()
366 ret = fmc_send_cmd(fmdev, BAND_SET, REG_WR, &payload, in fm_rx_set_region()
367 sizeof(payload), NULL, NULL); in fm_rx_set_region()
407 u16 payload, muteval; in fm_config_rx_mute_reg() local
429 payload = muteval; in fm_config_rx_mute_reg()
430 ret = fmc_send_cmd(fmdev, MUTE_STATUS_SET, REG_WR, &payload, in fm_config_rx_mute_reg()
431 sizeof(payload), NULL, NULL); in fm_config_rx_mute_reg()
532 u16 payload; in fm_rx_set_rssi_threshold() local
540 payload = (u16)rssi_lvl_toset; in fm_rx_set_rssi_threshold()
541 ret = fmc_send_cmd(fmdev, SEARCH_LVL_SET, REG_WR, &payload, in fm_rx_set_rssi_threshold()
542 sizeof(payload), NULL, NULL); in fm_rx_set_rssi_threshold()
570 u16 payload; in fm_rx_set_stereo_mono() local
579 payload = (u16)mode; in fm_rx_set_stereo_mono()
580 ret = fmc_send_cmd(fmdev, MOST_MODE_SET, REG_WR, &payload, in fm_rx_set_stereo_mono()
581 sizeof(payload), NULL, NULL); in fm_rx_set_stereo_mono()
586 payload = FM_STEREO_SOFT_BLEND; in fm_rx_set_stereo_mono()
587 ret = fmc_send_cmd(fmdev, MOST_BLEND_SET, REG_WR, &payload, in fm_rx_set_stereo_mono()
588 sizeof(payload), NULL, NULL); in fm_rx_set_stereo_mono()
620 u16 payload; in fm_rx_set_deemphasis_mode() local
632 payload = mode; in fm_rx_set_deemphasis_mode()
633 ret = fmc_send_cmd(fmdev, DEMPH_MODE_SET, REG_WR, &payload, in fm_rx_set_deemphasis_mode()
634 sizeof(payload), NULL, NULL); in fm_rx_set_deemphasis_mode()
662 u16 payload; in fm_rx_set_rds_mode() local
673 payload = FM_RX_PWR_SET_FM_AND_RDS_BLK_ON; in fm_rx_set_rds_mode()
674 ret = fmc_send_cmd(fmdev, POWER_SET, REG_WR, &payload, in fm_rx_set_rds_mode()
675 sizeof(payload), NULL, NULL); in fm_rx_set_rds_mode()
680 payload = FM_RX_RDS_FLUSH_FIFO; in fm_rx_set_rds_mode()
681 ret = fmc_send_cmd(fmdev, RDS_CNTRL_SET, REG_WR, &payload, in fm_rx_set_rds_mode()
682 sizeof(payload), NULL, NULL); in fm_rx_set_rds_mode()
693 payload = FM_RX_RDS_FIFO_THRESHOLD; in fm_rx_set_rds_mode()
694 ret = fmc_send_cmd(fmdev, RDS_MEM_SET, REG_WR, &payload, in fm_rx_set_rds_mode()
695 sizeof(payload), NULL, NULL); in fm_rx_set_rds_mode()
701 payload = fmdev->irq_info.mask; in fm_rx_set_rds_mode()
702 ret = fmc_send_cmd(fmdev, INT_MASK_SET, REG_WR, &payload, in fm_rx_set_rds_mode()
703 sizeof(payload), NULL, NULL); in fm_rx_set_rds_mode()
714 payload = FM_RX_PWR_SET_FM_ON_RDS_OFF; in fm_rx_set_rds_mode()
715 ret = fmc_send_cmd(fmdev, POWER_SET, REG_WR, &payload, in fm_rx_set_rds_mode()
716 sizeof(payload), NULL, NULL); in fm_rx_set_rds_mode()
753 u16 payload; in fm_rx_set_rds_system() local
764 payload = (u16)rds_mode; in fm_rx_set_rds_system()
765 ret = fmc_send_cmd(fmdev, RDS_SYSTEM_SET, REG_WR, &payload, in fm_rx_set_rds_system()
766 sizeof(payload), NULL, NULL); in fm_rx_set_rds_system()
778 u16 payload; in fm_rx_set_af_switch() local
795 payload = fmdev->irq_info.mask; in fm_rx_set_af_switch()
796 ret = fmc_send_cmd(fmdev, INT_MASK_SET, REG_WR, &payload, in fm_rx_set_af_switch()
797 sizeof(payload), NULL, NULL); in fm_rx_set_af_switch()