Home
last modified time | relevance | path

Searched refs:rf_mode (Results 1 – 8 of 8) sorted by relevance

/net/nfc/
Dcore.c239 dev->rf_mode = NFC_RF_NONE; in nfc_start_poll()
272 dev->rf_mode = NFC_RF_NONE; in nfc_stop_poll()
330 dev->rf_mode = NFC_RF_INITIATOR; in nfc_dep_link_up()
363 dev->rf_mode = NFC_RF_NONE; in nfc_dep_link_down()
375 u8 comm_mode, u8 rf_mode) in nfc_dep_link_is_up() argument
379 if (!dev->active_target && rf_mode == NFC_RF_INITIATOR) { in nfc_dep_link_is_up()
390 dev->rf_mode = rf_mode; in nfc_dep_link_is_up()
392 nfc_llcp_mac_is_up(dev, target_idx, comm_mode, rf_mode); in nfc_dep_link_is_up()
394 return nfc_genl_dep_link_up_event(dev, target_idx, comm_mode, rf_mode); in nfc_dep_link_is_up()
434 dev->rf_mode = NFC_RF_INITIATOR; in nfc_activate_target()
[all …]
Dnfc.h60 u8 comm_mode, u8 rf_mode);
96 u8 comm_mode, u8 rf_mode);
Dllcp_core.c1557 u8 comm_mode, u8 rf_mode) in nfc_llcp_mac_is_up() argument
1561 pr_debug("rf mode %d\n", rf_mode); in nfc_llcp_mac_is_up()
1569 local->rf_mode = rf_mode; in nfc_llcp_mac_is_up()
1571 if (rf_mode == NFC_RF_INITIATOR) { in nfc_llcp_mac_is_up()
Dllcp.h79 u8 rf_mode; member
Dnetlink.c578 nla_put_u8(msg, NFC_ATTR_RF_MODE, dev->rf_mode)) in nfc_genl_send_device()
644 u8 comm_mode, u8 rf_mode) in nfc_genl_dep_link_up_event() argument
661 if (rf_mode == NFC_RF_INITIATOR && in nfc_genl_dep_link_up_event()
665 nla_put_u8(msg, NFC_ATTR_RF_MODE, rf_mode)) in nfc_genl_dep_link_up_event()
Dllcp_sock.c711 if (local->rf_mode == NFC_RF_INITIATOR && in llcp_sock_connect()
/net/nfc/nci/
Ddata.c268 if (ndev->nfc_dev->rf_mode == NFC_RF_TARGET) { in nci_add_rx_data_frag()
Dcore.c905 if (nfc_dev->rf_mode == NFC_RF_INITIATOR) { in nci_dep_link_down()