Changeset 550 for trunk/hal/tsar_mips32/drivers/soclib_sdc.h
- Timestamp:
- Sep 21, 2018, 10:24:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/drivers/soclib_sdc.h
r543 r550 10 10 11 11 12 #include <chdev.h> 12 13 #include <soclib_spi.h> 13 14 #include <hard_config.h> … … 43 44 // Returns 0 if success, other value if failure 44 45 /////////////////////////////////////////////////////////////////////////////// 45 unsigned int _sdc_init(); 46 // unsigned int _sdc_init(); 47 extern void soclib_sdc_init( chdev_t* chdev ); 46 48 47 49 /////////////////////////////////////////////////////////////////////////////// … … 54 56 // Returns 0 if success, > 0 if error. 55 57 /////////////////////////////////////////////////////////////////////////////// 56 unsigned int _sdc_access( unsigned int use_irq, 57 unsigned int to_mem, 58 unsigned int lba, 59 unsigned long long buf_vaddr, 60 unsigned int count); 58 extern void soclib_sdc_cmd( xptr_t thread_xp ); 61 59 62 60 /////////////////////////////////////////////////////////////////////////////// 63 61 // This ISR handles the IRQ generated by a SDC controler 64 62 /////////////////////////////////////////////////////////////////////////////// 65 void _sdc_isr( unsigned int irq_type, 66 unsigned int irq_id, 67 unsigned int channel ); 63 extern void soclib_sdc_isr( chdev_t* chdev ); 68 64 69 65 ///////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.