Lines Matching full:registers

185 	radio->registers[SYSCONFIG2] &= ~SYSCONFIG2_BAND;  in si470x_set_band()
186 radio->registers[SYSCONFIG2] |= radio->band << 6; in si470x_set_band()
203 if ((radio->registers[POWERCFG] & (POWERCFG_ENABLE|POWERCFG_DMUTE)) in si470x_set_chan()
209 radio->registers[CHANNEL] &= ~CHANNEL_CHAN; in si470x_set_chan()
210 radio->registers[CHANNEL] |= CHANNEL_TUNE | chan; in si470x_set_chan()
222 if ((radio->registers[STATUSRSSI] & STATUSRSSI_STC) == 0) in si470x_set_chan()
229 radio->registers[CHANNEL] &= ~CHANNEL_TUNE; in si470x_set_chan()
242 switch ((radio->registers[SYSCONFIG2] & SYSCONFIG2_SPACE) >> 4) { in si470x_get_step()
265 chan = radio->registers[READCHAN] & READCHAN_READCHAN; in si470x_get_freq()
327 radio->registers[POWERCFG] |= POWERCFG_SEEK; in si470x_set_seek()
329 radio->registers[POWERCFG] &= ~POWERCFG_SKMODE; in si470x_set_seek()
331 radio->registers[POWERCFG] |= POWERCFG_SKMODE; in si470x_set_seek()
333 radio->registers[POWERCFG] |= POWERCFG_SEEKUP; in si470x_set_seek()
335 radio->registers[POWERCFG] &= ~POWERCFG_SEEKUP; in si470x_set_seek()
347 if ((radio->registers[STATUSRSSI] & STATUSRSSI_STC) == 0) in si470x_set_seek()
349 if (radio->registers[STATUSRSSI] & STATUSRSSI_SF) in si470x_set_seek()
354 radio->registers[POWERCFG] &= ~POWERCFG_SEEK; in si470x_set_seek()
372 radio->registers[POWERCFG] = in si470x_start()
379 radio->registers[SYSCONFIG1] |= SYSCONFIG1_RDSIEN | SYSCONFIG1_STCIEN | in si470x_start()
381 radio->registers[SYSCONFIG1] &= ~SYSCONFIG1_GPIO2; in si470x_start()
382 radio->registers[SYSCONFIG1] |= SYSCONFIG1_GPIO2_INT; in si470x_start()
384 radio->registers[SYSCONFIG1] |= SYSCONFIG1_DE; in si470x_start()
390 radio->registers[SYSCONFIG2] = in si470x_start()
401 radio->registers[CHANNEL] & CHANNEL_CHAN); in si470x_start()
417 radio->registers[SYSCONFIG1] &= ~SYSCONFIG1_RDS; in si470x_stop()
423 radio->registers[POWERCFG] &= ~POWERCFG_DMUTE; in si470x_stop()
425 radio->registers[POWERCFG] |= POWERCFG_ENABLE | POWERCFG_DISABLE; in si470x_stop()
442 radio->registers[SYSCONFIG1] |= SYSCONFIG1_RDS; in si470x_rds_on()
445 radio->registers[SYSCONFIG1] &= ~SYSCONFIG1_RDS; in si470x_rds_on()
467 if ((radio->registers[SYSCONFIG1] & SYSCONFIG1_RDS) == 0) in si470x_fops_read()
524 if ((radio->registers[SYSCONFIG1] & SYSCONFIG1_RDS) == 0) in si470x_fops_poll()
582 radio->registers[SYSCONFIG2] &= ~SYSCONFIG2_VOLUME; in si470x_s_ctrl()
583 radio->registers[SYSCONFIG2] |= ctrl->val; in si470x_s_ctrl()
587 radio->registers[POWERCFG] &= ~POWERCFG_DMUTE; in si470x_s_ctrl()
589 radio->registers[POWERCFG] |= POWERCFG_DMUTE; in si470x_s_ctrl()
626 if ((radio->registers[STATUSRSSI] & STATUSRSSI_ST) == 0) in si470x_vidioc_g_tuner()
636 if ((radio->registers[POWERCFG] & POWERCFG_MONO) == 0) in si470x_vidioc_g_tuner()
643 tuner->signal = (radio->registers[STATUSRSSI] & STATUSRSSI_RSSI); in si470x_vidioc_g_tuner()
651 tuner->afc = (radio->registers[STATUSRSSI] & STATUSRSSI_AFCRL) ? 1 : 0; in si470x_vidioc_g_tuner()
671 radio->registers[POWERCFG] |= POWERCFG_MONO; /* force mono */ in si470x_vidioc_s_tuner()
675 radio->registers[POWERCFG] &= ~POWERCFG_MONO; /* try stereo */ in si470x_vidioc_s_tuner()