Lines Matching refs:rf

240 #define UW2453_PRIV(rf) ((struct uw2453_priv *) (rf)->priv)  argument
296 static int uw2453_init_hw(struct zd_rf *rf) in uw2453_init_hw() argument
301 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_init_hw()
423 UW2453_PRIV(rf)->config = found_config + 1; in uw2453_init_hw()
428 static int uw2453_set_channel(struct zd_rf *rf, u8 channel) in uw2453_set_channel() argument
432 int config = UW2453_PRIV(rf)->config; in uw2453_set_channel()
434 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_set_channel()
469 static int uw2453_switch_radio_on(struct zd_rf *rf) in uw2453_switch_radio_on() argument
472 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_switch_radio_on()
488 static int uw2453_switch_radio_off(struct zd_rf *rf) in uw2453_switch_radio_off() argument
491 struct zd_chip *chip = zd_rf_to_chip(rf); in uw2453_switch_radio_off()
505 static void uw2453_clear(struct zd_rf *rf) in uw2453_clear() argument
507 kfree(rf->priv); in uw2453_clear()
510 int zd_rf_init_uw2453(struct zd_rf *rf) in zd_rf_init_uw2453() argument
512 rf->init_hw = uw2453_init_hw; in zd_rf_init_uw2453()
513 rf->set_channel = uw2453_set_channel; in zd_rf_init_uw2453()
514 rf->switch_radio_on = uw2453_switch_radio_on; in zd_rf_init_uw2453()
515 rf->switch_radio_off = uw2453_switch_radio_off; in zd_rf_init_uw2453()
516 rf->patch_6m_band_edge = zd_rf_generic_patch_6m; in zd_rf_init_uw2453()
517 rf->clear = uw2453_clear; in zd_rf_init_uw2453()
519 rf->update_channel_int = 0; in zd_rf_init_uw2453()
521 rf->priv = kmalloc(sizeof(struct uw2453_priv), GFP_KERNEL); in zd_rf_init_uw2453()
522 if (rf->priv == NULL) in zd_rf_init_uw2453()