Lines Matching refs:se_idx

424 int nfc_genl_se_added(struct nfc_dev *dev, u32 se_idx, u16 type)  in nfc_genl_se_added()  argument
439 nla_put_u32(msg, NFC_ATTR_SE_INDEX, se_idx) || in nfc_genl_se_added()
455 int nfc_genl_se_removed(struct nfc_dev *dev, u32 se_idx) in nfc_genl_se_removed() argument
470 nla_put_u32(msg, NFC_ATTR_SE_INDEX, se_idx)) in nfc_genl_se_removed()
485 int nfc_genl_se_transaction(struct nfc_dev *dev, u8 se_idx, in nfc_genl_se_transaction() argument
501 se = nfc_find_se(dev, se_idx); in nfc_genl_se_transaction()
506 nla_put_u32(msg, NFC_ATTR_SE_INDEX, se_idx) || in nfc_genl_se_transaction()
531 int nfc_genl_se_connectivity(struct nfc_dev *dev, u8 se_idx) in nfc_genl_se_connectivity() argument
546 se = nfc_find_se(dev, se_idx); in nfc_genl_se_connectivity()
551 nla_put_u32(msg, NFC_ATTR_SE_INDEX, se_idx) || in nfc_genl_se_connectivity()
1277 u32 idx, se_idx; in nfc_genl_enable_se() local
1284 se_idx = nla_get_u32(info->attrs[NFC_ATTR_SE_INDEX]); in nfc_genl_enable_se()
1290 rc = nfc_enable_se(dev, se_idx); in nfc_genl_enable_se()
1300 u32 idx, se_idx; in nfc_genl_disable_se() local
1307 se_idx = nla_get_u32(info->attrs[NFC_ATTR_SE_INDEX]); in nfc_genl_disable_se()
1313 rc = nfc_disable_se(dev, se_idx); in nfc_genl_disable_se()
1405 static int nfc_se_io(struct nfc_dev *dev, u32 se_idx, in nfc_se_io() argument
1412 pr_debug("%s se index %d\n", dev_name(&dev->dev), se_idx); in nfc_se_io()
1431 se = nfc_find_se(dev, se_idx); in nfc_se_io()
1442 rc = dev->ops->se_io(dev, se_idx, apdu, in nfc_se_io()
1452 u32 se_idx; member
1473 nla_put_u32(msg, NFC_ATTR_SE_INDEX, ctx->se_idx) || in se_io_cb()
1497 u32 dev_idx, se_idx; in nfc_genl_se_io() local
1507 se_idx = nla_get_u32(info->attrs[NFC_ATTR_SE_INDEX]); in nfc_genl_se_io()
1529 ctx->se_idx = se_idx; in nfc_genl_se_io()
1531 return nfc_se_io(dev, se_idx, apdu, apdu_len, se_io_cb, ctx); in nfc_genl_se_io()