Lines Matching defs:HPT_U32
49 typedef unsigned int HPT_UINT, HPT_U32;
76 static __inline HPT_U32 CPU_TO_BE32(HPT_U32 x)
79 return ((HPT_U32)p[0] << 24) |
80 ((HPT_U32)p[1] << 16) |
81 ((HPT_U32)p[2] << 8) | p[3];
103 #define LO_LBA(x) ((HPT_U32)(x))
104 #define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
108 #define LO_BUSADDR(x) ((HPT_U32)(x))
116 HPT_U32 seconds:6; /* 0 - 59 */
117 HPT_U32 minutes:6; /* 0 - 59 */
118 HPT_U32 month:4; /* 1 - 12 */
119 HPT_U32 hours:6; /* 0 - 59 */
120 HPT_U32 day:5; /* 1 - 31 */
121 HPT_U32 year:5; /* 0=2000, 31=2031 */
127 HPT_U32 os_inl (void *port);
130 void os_outl (void *port, HPT_U32 value);
131 void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
132 void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
134 extern HPT_U32 __dummy_reg; /* to avoid the compiler warning */
138 #define os_readl(addr) (*(HPT_U32 *)&__dummy_reg = *(volatile HPT_U32 *)(addr))
142 #define os_writel(addr, val) *(volatile HPT_U32 *)(addr) = (HPT_U32)(val)
147 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
150 void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
156 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
162 HPT_U32 offset,
163 HPT_U32 length
174 void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
176 void os_request_timer(void * osext, HPT_U32 interval);
192 HPT_U32 os_get_stamp(void);
193 void os_stallexec(HPT_U32 microseconds);
207 #define farMemoryCopy(a,b,c) memcpy((char *)(a), (char *)(b), (HPT_U32)c)