Lines Matching refs:rf_mode
228 dev->rf_mode = NFC_RF_NONE; in nfc_start_poll()
261 dev->rf_mode = NFC_RF_NONE; in nfc_stop_poll()
319 dev->rf_mode = NFC_RF_INITIATOR; in nfc_dep_link_up()
352 dev->rf_mode = NFC_RF_NONE; in nfc_dep_link_down()
364 u8 comm_mode, u8 rf_mode) in nfc_dep_link_is_up() argument
368 if (!dev->active_target && rf_mode == NFC_RF_INITIATOR) { in nfc_dep_link_is_up()
379 dev->rf_mode = rf_mode; in nfc_dep_link_is_up()
381 nfc_llcp_mac_is_up(dev, target_idx, comm_mode, rf_mode); in nfc_dep_link_is_up()
383 return nfc_genl_dep_link_up_event(dev, target_idx, comm_mode, rf_mode); in nfc_dep_link_is_up()
423 dev->rf_mode = NFC_RF_INITIATOR; in nfc_activate_target()
504 if (dev->rf_mode == NFC_RF_INITIATOR && dev->active_target != NULL) { in nfc_data_exchange()
520 } else if (dev->rf_mode == NFC_RF_TARGET && dev->ops->tm_send != NULL) { in nfc_data_exchange()
682 dev->rf_mode = NFC_RF_TARGET; in nfc_tm_activated()
699 dev->rf_mode = NFC_RF_NONE; in nfc_tm_deactivated()
1086 dev->rf_mode = NFC_RF_NONE; in nfc_allocate_device()