Lines Matching refs:se_idx

534 struct nfc_se *nfc_find_se(struct nfc_dev *dev, u32 se_idx)  in nfc_find_se()  argument
539 if (se->idx == se_idx) in nfc_find_se()
546 int nfc_enable_se(struct nfc_dev *dev, u32 se_idx) in nfc_enable_se() argument
551 pr_debug("%s se index %d\n", dev_name(&dev->dev), se_idx); in nfc_enable_se()
575 se = nfc_find_se(dev, se_idx); in nfc_enable_se()
586 rc = dev->ops->enable_se(dev, se_idx); in nfc_enable_se()
595 int nfc_disable_se(struct nfc_dev *dev, u32 se_idx) in nfc_disable_se() argument
600 pr_debug("%s se index %d\n", dev_name(&dev->dev), se_idx); in nfc_disable_se()
619 se = nfc_find_se(dev, se_idx); in nfc_disable_se()
630 rc = dev->ops->disable_se(dev, se_idx); in nfc_disable_se()
871 int nfc_add_se(struct nfc_dev *dev, u32 se_idx, u16 type) in nfc_add_se() argument
876 pr_debug("%s se index %d\n", dev_name(&dev->dev), se_idx); in nfc_add_se()
878 se = nfc_find_se(dev, se_idx); in nfc_add_se()
886 se->idx = se_idx; in nfc_add_se()
893 rc = nfc_genl_se_added(dev, se_idx, type); in nfc_add_se()
905 int nfc_remove_se(struct nfc_dev *dev, u32 se_idx) in nfc_remove_se() argument
910 pr_debug("%s se index %d\n", dev_name(&dev->dev), se_idx); in nfc_remove_se()
913 if (se->idx == se_idx) { in nfc_remove_se()
914 rc = nfc_genl_se_removed(dev, se_idx); in nfc_remove_se()
928 int nfc_se_transaction(struct nfc_dev *dev, u8 se_idx, in nfc_se_transaction() argument
933 pr_debug("transaction: %x\n", se_idx); in nfc_se_transaction()
942 rc = nfc_genl_se_transaction(dev, se_idx, evt_transaction); in nfc_se_transaction()
949 int nfc_se_connectivity(struct nfc_dev *dev, u8 se_idx) in nfc_se_connectivity() argument
953 pr_debug("connectivity: %x\n", se_idx); in nfc_se_connectivity()
956 rc = nfc_genl_se_connectivity(dev, se_idx); in nfc_se_connectivity()