Lines Matching refs:rf

14 #define IS_AL2230S(chip) ((chip)->al2230s_bit || (chip)->rf.type == AL2230S_RF)
92 static int zd1211_al2230_init_hw(struct zd_rf *rf) in zd1211_al2230_init_hw() argument
95 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al2230_init_hw()
205 static int zd1211b_al2230_init_hw(struct zd_rf *rf) in zd1211b_al2230_init_hw() argument
208 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al2230_init_hw()
347 static int zd1211_al2230_set_channel(struct zd_rf *rf, u8 channel) in zd1211_al2230_set_channel() argument
351 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al2230_set_channel()
363 static int zd1211b_al2230_set_channel(struct zd_rf *rf, u8 channel) in zd1211b_al2230_set_channel() argument
367 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al2230_set_channel()
381 static int zd1211_al2230_switch_radio_on(struct zd_rf *rf) in zd1211_al2230_switch_radio_on() argument
383 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211_al2230_switch_radio_on()
392 static int zd1211b_al2230_switch_radio_on(struct zd_rf *rf) in zd1211b_al2230_switch_radio_on() argument
394 struct zd_chip *chip = zd_rf_to_chip(rf); in zd1211b_al2230_switch_radio_on()
403 static int al2230_switch_radio_off(struct zd_rf *rf) in al2230_switch_radio_off() argument
405 struct zd_chip *chip = zd_rf_to_chip(rf); in al2230_switch_radio_off()
414 int zd_rf_init_al2230(struct zd_rf *rf) in zd_rf_init_al2230() argument
416 struct zd_chip *chip = zd_rf_to_chip(rf); in zd_rf_init_al2230()
418 rf->switch_radio_off = al2230_switch_radio_off; in zd_rf_init_al2230()
420 rf->init_hw = zd1211b_al2230_init_hw; in zd_rf_init_al2230()
421 rf->set_channel = zd1211b_al2230_set_channel; in zd_rf_init_al2230()
422 rf->switch_radio_on = zd1211b_al2230_switch_radio_on; in zd_rf_init_al2230()
424 rf->init_hw = zd1211_al2230_init_hw; in zd_rf_init_al2230()
425 rf->set_channel = zd1211_al2230_set_channel; in zd_rf_init_al2230()
426 rf->switch_radio_on = zd1211_al2230_switch_radio_on; in zd_rf_init_al2230()
428 rf->patch_6m_band_edge = zd_rf_generic_patch_6m; in zd_rf_init_al2230()
429 rf->patch_cck_gain = 1; in zd_rf_init_al2230()