Lines Matching refs:new_mode
556 static int wl1273_fm_start(struct wl1273_device *radio, int new_mode) in wl1273_fm_start() argument
570 if (new_mode == WL1273_MODE_RX) { in wl1273_fm_start()
592 } else if (new_mode == WL1273_MODE_TX) { in wl1273_fm_start()
633 if (new_mode == WL1273_MODE_RX) { in wl1273_fm_start()
644 } else if (new_mode == WL1273_MODE_TX) { in wl1273_fm_start()
994 static int wl1273_fm_set_rds(struct wl1273_device *radio, unsigned int new_mode) in wl1273_fm_set_rds() argument
1003 if (new_mode == WL1273_RDS_RESET) { in wl1273_fm_set_rds()
1008 if (core->mode == WL1273_MODE_TX && new_mode == WL1273_RDS_OFF) { in wl1273_fm_set_rds()
1010 } else if (core->mode == WL1273_MODE_TX && new_mode == WL1273_RDS_ON) { in wl1273_fm_set_rds()
1012 } else if (core->mode == WL1273_MODE_RX && new_mode == WL1273_RDS_OFF) { in wl1273_fm_set_rds()
1014 } else if (core->mode == WL1273_MODE_RX && new_mode == WL1273_RDS_ON) { in wl1273_fm_set_rds()
1018 __func__, new_mode); in wl1273_fm_set_rds()
1023 radio->rds_on = (new_mode == WL1273_RDS_ON) ? true : false; in wl1273_fm_set_rds()