On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote:This is like template/wrappers, smart card phy driver will write API functions. And smartcard controller will call these functions.
SmartCard controller uses this interface to communicate with
SmartCard via PHY
Some SmartCard PHY has multiple slots for cards.
This inerface also enables controller to communicate
with one or more SmartCard connected over phy.
interface structure includes following APIs
- set/get config
- activate/deactivate smart card
- warm reset
- register_notify (for card insert/remove/overheat)
- unregister_notify
Signed-off-by: Satish Patel <satish.patel@xxxxxx>
---
Documentation/sc_phy.txt | 171 ++++++++++++++++++++++++++++++++++++++++++++++
include/linux/sc_phy.h | 136 ++++++++++++++++++++++++++++++++++++
2 files changed, 307 insertions(+)
create mode 100644 Documentation/sc_phy.txt
create mode 100644 include/linux/sc_phy.h
These are .h files, but where is the "api" functions that use
these structures defined at?
confused,--
greg k-h