Lines Matching defs:HPT_U32

50 typedef unsigned int HPT_UINT, HPT_U32;
77 static __inline HPT_U32 CPU_TO_BE32(HPT_U32 x)
80 return ((HPT_U32)p[0] << 24) |
81 ((HPT_U32)p[1] << 16) |
82 ((HPT_U32)p[2] << 8) | p[3];
104 #define LO_LBA(x) ((HPT_U32)(x))
105 #define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
109 #define LO_BUSADDR(x) ((HPT_U32)(x))
117 HPT_U32 seconds:6; /* 0 - 59 */
118 HPT_U32 minutes:6; /* 0 - 59 */
119 HPT_U32 month:4; /* 1 - 12 */
120 HPT_U32 hours:6; /* 0 - 59 */
121 HPT_U32 day:5; /* 1 - 31 */
122 HPT_U32 year:5; /* 0=2000, 31=2031 */
128 HPT_U32 os_inl (void *port);
131 void os_outl (void *port, HPT_U32 value);
132 void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
133 void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
135 extern HPT_U32 __dummy_reg; /* to avoid the compiler warning */
139 #define os_readl(addr) (*(HPT_U32 *)&__dummy_reg = *(volatile HPT_U32 *)(addr))
143 #define os_writel(addr, val) *(volatile HPT_U32 *)(addr) = (HPT_U32)(val)
148 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
151 void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
158 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
160 void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v);
166 HPT_U32 offset,
167 HPT_U32 length
178 void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
180 void os_request_timer(void * osext, HPT_U32 interval);
196 HPT_U32 os_get_stamp(void);
197 void os_stallexec(HPT_U32 microseconds);
211 #define farMemoryCopy(a,b,c) memcpy((char *)(a), (char *)(b), (HPT_U32)c)