linux/net/nfc/digital_technology.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * NFC Digital Protocol stack
 * Copyright (c) 2013, Intel Corporation.
 */

#define pr_fmt(fmt)

#include "digital.h"

#define DIGITAL_CMD_SENS_REQ
#define DIGITAL_CMD_ALL_REQ
#define DIGITAL_CMD_SEL_REQ_CL1
#define DIGITAL_CMD_SEL_REQ_CL2
#define DIGITAL_CMD_SEL_REQ_CL3

#define DIGITAL_SDD_REQ_SEL_PAR

#define DIGITAL_SDD_RES_CT
#define DIGITAL_SDD_RES_LEN
#define DIGITAL_SEL_RES_LEN

#define DIGITAL_SEL_RES_NFCID1_COMPLETE(sel_res)
#define DIGITAL_SEL_RES_IS_T2T(sel_res)
#define DIGITAL_SEL_RES_IS_T4T(sel_res)
#define DIGITAL_SEL_RES_IS_NFC_DEP(sel_res)

#define DIGITAL_SENS_RES_IS_T1T(sens_res)
#define DIGITAL_SENS_RES_IS_VALID(sens_res)

#define DIGITAL_MIFARE_READ_RES_LEN
#define DIGITAL_MIFARE_ACK_RES

#define DIGITAL_CMD_SENSB_REQ
#define DIGITAL_SENSB_ADVANCED
#define DIGITAL_SENSB_EXTENDED
#define DIGITAL_SENSB_ALLB_REQ
#define DIGITAL_SENSB_N(n)

#define DIGITAL_CMD_SENSB_RES

#define DIGITAL_CMD_ATTRIB_REQ
#define DIGITAL_ATTRIB_P1_TR0_DEFAULT
#define DIGITAL_ATTRIB_P1_TR1_DEFAULT
#define DIGITAL_ATTRIB_P1_SUPRESS_EOS
#define DIGITAL_ATTRIB_P1_SUPRESS_SOS
#define DIGITAL_ATTRIB_P2_LISTEN_POLL_1
#define DIGITAL_ATTRIB_P2_POLL_LISTEN_1
#define DIGITAL_ATTRIB_P2_MAX_FRAME_256
#define DIGITAL_ATTRIB_P4_DID(n)

#define DIGITAL_CMD_SENSF_REQ
#define DIGITAL_CMD_SENSF_RES

#define DIGITAL_SENSF_RES_MIN_LENGTH
#define DIGITAL_SENSF_RES_RD_AP_B1
#define DIGITAL_SENSF_RES_RD_AP_B2

#define DIGITAL_SENSF_REQ_RC_NONE
#define DIGITAL_SENSF_REQ_RC_SC
#define DIGITAL_SENSF_REQ_RC_AP

#define DIGITAL_CMD_ISO15693_INVENTORY_REQ

#define DIGITAL_ISO15693_REQ_FLAG_DATA_RATE
#define DIGITAL_ISO15693_REQ_FLAG_INVENTORY
#define DIGITAL_ISO15693_REQ_FLAG_NB_SLOTS
#define DIGITAL_ISO15693_RES_FLAG_ERROR
#define DIGITAL_ISO15693_RES_IS_VALID(flags)

#define DIGITAL_ISO_DEP_I_PCB
#define DIGITAL_ISO_DEP_PNI(pni)

#define DIGITAL_ISO_DEP_PCB_TYPE(pcb)

#define DIGITAL_ISO_DEP_I_BLOCK

#define DIGITAL_ISO_DEP_BLOCK_HAS_DID(pcb)

static const u8 digital_ats_fsc[] =;

#define DIGITAL_ATS_FSCI(t0)
#define DIGITAL_SENSB_FSCI(pi2)
#define DIGITAL_ATS_MAX_FSC

#define DIGITAL_RATS_BYTE1
#define DIGITAL_RATS_PARAM

struct digital_sdd_res {} __packed;

struct digital_sel_req {} __packed;

struct digital_sensb_req {} __packed;

struct digital_sensb_res {} __packed;

struct digital_attrib_req {} __packed;

struct digital_attrib_res {} __packed;

struct digital_sensf_req {} __packed;

struct digital_sensf_res {} __packed;

struct digital_iso15693_inv_req {} __packed;

struct digital_iso15693_inv_res {} __packed;

static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev,
				   struct nfc_target *target);

int digital_in_iso_dep_pull_sod(struct nfc_digital_dev *ddev,
				struct sk_buff *skb)
{}

int digital_in_iso_dep_push_sod(struct nfc_digital_dev *ddev,
				struct sk_buff *skb)
{}

static void digital_in_recv_ats(struct nfc_digital_dev *ddev, void *arg,
				struct sk_buff *resp)
{}

static int digital_in_send_rats(struct nfc_digital_dev *ddev,
				struct nfc_target *target)
{}

static void digital_in_recv_sel_res(struct nfc_digital_dev *ddev, void *arg,
				    struct sk_buff *resp)
{}

static int digital_in_send_sel_req(struct nfc_digital_dev *ddev,
				   struct nfc_target *target,
				   struct digital_sdd_res *sdd_res)
{}

static void digital_in_recv_sdd_res(struct nfc_digital_dev *ddev, void *arg,
				    struct sk_buff *resp)
{}

static int digital_in_send_sdd_req(struct nfc_digital_dev *ddev,
				   struct nfc_target *target)
{}

static void digital_in_recv_sens_res(struct nfc_digital_dev *ddev, void *arg,
				     struct sk_buff *resp)
{}

int digital_in_send_sens_req(struct nfc_digital_dev *ddev, u8 rf_tech)
{}

int digital_in_recv_mifare_res(struct sk_buff *resp)
{}

static void digital_in_recv_attrib_res(struct nfc_digital_dev *ddev, void *arg,
				       struct sk_buff *resp)
{}

static int digital_in_send_attrib_req(struct nfc_digital_dev *ddev,
			       struct nfc_target *target,
			       struct digital_sensb_res *sensb_res)
{}

static void digital_in_recv_sensb_res(struct nfc_digital_dev *ddev, void *arg,
				      struct sk_buff *resp)
{}

int digital_in_send_sensb_req(struct nfc_digital_dev *ddev, u8 rf_tech)
{}

static void digital_in_recv_sensf_res(struct nfc_digital_dev *ddev, void *arg,
				   struct sk_buff *resp)
{}

int digital_in_send_sensf_req(struct nfc_digital_dev *ddev, u8 rf_tech)
{}

static void digital_in_recv_iso15693_inv_res(struct nfc_digital_dev *ddev,
		void *arg, struct sk_buff *resp)
{}

int digital_in_send_iso15693_inv_req(struct nfc_digital_dev *ddev, u8 rf_tech)
{}

static int digital_tg_send_sel_res(struct nfc_digital_dev *ddev)
{}

static void digital_tg_recv_sel_req(struct nfc_digital_dev *ddev, void *arg,
				    struct sk_buff *resp)
{}

static int digital_tg_send_sdd_res(struct nfc_digital_dev *ddev)
{}

static void digital_tg_recv_sdd_req(struct nfc_digital_dev *ddev, void *arg,
				    struct sk_buff *resp)
{}

static int digital_tg_send_sens_res(struct nfc_digital_dev *ddev)
{}

void digital_tg_recv_sens_req(struct nfc_digital_dev *ddev, void *arg,
			      struct sk_buff *resp)
{}

static void digital_tg_recv_atr_or_sensf_req(struct nfc_digital_dev *ddev,
		void *arg, struct sk_buff *resp)
{}

static int digital_tg_send_sensf_res(struct nfc_digital_dev *ddev,
			      struct digital_sensf_req *sensf_req)
{}

void digital_tg_recv_sensf_req(struct nfc_digital_dev *ddev, void *arg,
			       struct sk_buff *resp)
{}

static int digital_tg_config_nfca(struct nfc_digital_dev *ddev)
{}

int digital_tg_listen_nfca(struct nfc_digital_dev *ddev, u8 rf_tech)
{}

static int digital_tg_config_nfcf(struct nfc_digital_dev *ddev, u8 rf_tech)
{}

int digital_tg_listen_nfcf(struct nfc_digital_dev *ddev, u8 rf_tech)
{}

void digital_tg_recv_md_req(struct nfc_digital_dev *ddev, void *arg,
			    struct sk_buff *resp)
{}