Linux Kernel
3.7.1
|
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/firmware.h>
#include <linux/nfc.h>
#include <net/nfc/nci.h>
#include <net/nfc/nci_core.h>
#include <linux/ti_wilink_st.h>
Go to the source code of this file.
Data Structures | |
struct | nfcwilink_hdr |
struct | nci_vs_nfcc_info_cmd |
struct | nci_vs_nfcc_info_rsp |
struct | bts_file_hdr |
struct | bts_file_action |
struct | nfcwilink |
Macros | |
#define | NFCWILINK_CHNL 12 |
#define | NFCWILINK_OPCODE 7 |
#define | NFCWILINK_MAX_FRAME_SIZE 300 |
#define | NFCWILINK_HDR_LEN 4 |
#define | NFCWILINK_OFFSET_LEN_IN_HDR 1 |
#define | NFCWILINK_LEN_SIZE 2 |
#define | NFCWILINK_REGISTER_TIMEOUT 8000 /* 8 sec */ |
#define | NFCWILINK_CMD_TIMEOUT 5000 /* 5 sec */ |
#define | BTS_FILE_NAME_MAX_SIZE 40 |
#define | BTS_FILE_HDR_MAGIC 0x42535442 |
#define | BTS_FILE_CMD_MAX_LEN 0xff |
#define | BTS_FILE_ACTION_TYPE_SEND_CMD 1 |
#define | NCI_VS_NFCC_INFO_CMD_GID 0x2f |
#define | NCI_VS_NFCC_INFO_CMD_OID 0x12 |
#define | NCI_VS_NFCC_INFO_RSP_GID 0x4f |
#define | NCI_VS_NFCC_INFO_RSP_OID 0x12 |
Enumerations | |
enum | { NFCWILINK_RUNNING, NFCWILINK_FW_DOWNLOAD } |
Functions | |
module_platform_driver (nfcwilink_driver) | |
MODULE_AUTHOR ("Ilan Elias <[email protected]>") | |
MODULE_DESCRIPTION ("NFC Driver for TI Shared Transport") | |
MODULE_LICENSE ("GPL") | |
Variables | |
struct nfcwilink_hdr | __packed |
#define BTS_FILE_ACTION_TYPE_SEND_CMD 1 |
Definition at line 50 of file nfcwilink.c.
#define BTS_FILE_CMD_MAX_LEN 0xff |
Definition at line 49 of file nfcwilink.c.
#define BTS_FILE_HDR_MAGIC 0x42535442 |
Definition at line 48 of file nfcwilink.c.
#define BTS_FILE_NAME_MAX_SIZE 40 |
Definition at line 47 of file nfcwilink.c.
#define NCI_VS_NFCC_INFO_CMD_GID 0x2f |
Definition at line 52 of file nfcwilink.c.
#define NCI_VS_NFCC_INFO_CMD_OID 0x12 |
Definition at line 53 of file nfcwilink.c.
#define NCI_VS_NFCC_INFO_RSP_GID 0x4f |
Definition at line 54 of file nfcwilink.c.
#define NCI_VS_NFCC_INFO_RSP_OID 0x12 |
Definition at line 55 of file nfcwilink.c.
#define NFCWILINK_CHNL 12 |
Definition at line 38 of file nfcwilink.c.
#define NFCWILINK_CMD_TIMEOUT 5000 /* 5 sec */ |
Definition at line 45 of file nfcwilink.c.
#define NFCWILINK_HDR_LEN 4 |
Definition at line 41 of file nfcwilink.c.
#define NFCWILINK_LEN_SIZE 2 |
Definition at line 43 of file nfcwilink.c.
#define NFCWILINK_MAX_FRAME_SIZE 300 |
Definition at line 40 of file nfcwilink.c.
#define NFCWILINK_OFFSET_LEN_IN_HDR 1 |
Definition at line 42 of file nfcwilink.c.
#define NFCWILINK_OPCODE 7 |
Definition at line 39 of file nfcwilink.c.
#define NFCWILINK_REGISTER_TIMEOUT 8000 /* 8 sec */ |
Definition at line 44 of file nfcwilink.c.
anonymous enum |
Definition at line 107 of file nfcwilink.c.
MODULE_AUTHOR | ( | "Ilan Elias <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | nfcwilink_driver | ) |