Lines Matching refs:HPT_U32
51 typedef unsigned int HPT_UINT, HPT_U32;
75 #define LO_LBA(x) ((HPT_U32)(x))
76 #define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
80 #define LO_BUSADDR(x) ((HPT_U32)(x))
88 HPT_U32 seconds:6; /* 0 - 59 */
89 HPT_U32 minutes:6; /* 0 - 59 */
90 HPT_U32 month:4; /* 1 - 12 */
91 HPT_U32 hours:6; /* 0 - 59 */
92 HPT_U32 day:5; /* 1 - 31 */
93 HPT_U32 year:5; /* 0=2000, 31=2031 */
99 HPT_U32 os_inl (void *port);
102 void os_outl (void *port, HPT_U32 value);
103 void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
104 void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
106 extern HPT_U32 __dummy_reg; /* to avoid the compiler warning */
110 #define os_readl(addr) (*(HPT_U32 *)&__dummy_reg = *(volatile HPT_U32 *)(addr))
114 #define os_writel(addr, val) *(volatile HPT_U32 *)(addr) = (HPT_U32)(val)
119 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
122 void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
134 HPT_U32 offset,
135 HPT_U32 length
146 void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
148 void os_request_timer(void * osext, HPT_U32 interval);
164 HPT_U32 os_get_stamp(void);
165 void os_stallexec(HPT_U32 microseconds);
179 #define farMemoryCopy(a,b,c) memcpy((char *)(a), (char *)(b), (HPT_U32)c)