···122122 hw->reg_spacing = reg_spacing;123123 hw->inten = 0x0;124124}125125+EXPORT_SYMBOL(hermes_struct_init);125126126127int hermes_init(hermes_t *hw)127128{···203202 out:204203 return err;205204}205205+EXPORT_SYMBOL(hermes_init);206206207207/* Issue a command to the chip, and (busy!) wait for it to208208 * complete.···274272 out:275273 return err;276274}275275+EXPORT_SYMBOL(hermes_docmd_wait);277276278277int hermes_allocate(hermes_t *hw, u16 size, u16 *fid)279278{···317314318315 return 0;319316}320320-317317+EXPORT_SYMBOL(hermes_allocate);321318322319/* Set up a BAP to read a particular chunk of data from card's internal buffer.323320 *···401398 out:402399 return err;403400}401401+EXPORT_SYMBOL(hermes_bap_pread);404402405403/* Write a block of data to the chip's buffer, via the406404 * BAP. Synchronization/serialization is the caller's problem.···427423 out: 428424 return err;429425}426426+EXPORT_SYMBOL(hermes_bap_pwrite);430427431428/* Read a Length-Type-Value record from the card.432429 *···481476482477 return 0;483478}479479+EXPORT_SYMBOL(hermes_read_ltv);484480485481int hermes_write_ltv(hermes_t *hw, int bap, u16 rid, 486482 u16 length, const void *value)···509503510504 return err;511505}512512-513513-EXPORT_SYMBOL(hermes_struct_init);514514-EXPORT_SYMBOL(hermes_init);515515-EXPORT_SYMBOL(hermes_docmd_wait);516516-EXPORT_SYMBOL(hermes_allocate);517517-518518-EXPORT_SYMBOL(hermes_bap_pread);519519-EXPORT_SYMBOL(hermes_bap_pwrite);520520-EXPORT_SYMBOL(hermes_read_ltv);521506EXPORT_SYMBOL(hermes_write_ltv);522507523508static int __init init_hermes(void)