• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/dev/hpt27xx/

Lines Matching refs:HPT_U32

52 typedef unsigned int HPT_UINT, HPT_U32;
80 static __inline HPT_U32 CPU_TO_BE32(HPT_U32 x)
83 return ((HPT_U32)p[0] << 24) |
84 ((HPT_U32)p[1] << 16) |
85 ((HPT_U32)p[2] << 8) | p[3];
107 #define LO_LBA(x) ((HPT_U32)(x))
108 #define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
112 #define LO_BUSADDR(x) ((HPT_U32)(x))
120 HPT_U32 seconds:6; /* 0 - 59 */
121 HPT_U32 minutes:6; /* 0 - 59 */
122 HPT_U32 month:4; /* 1 - 12 */
123 HPT_U32 hours:6; /* 0 - 59 */
124 HPT_U32 day:5; /* 1 - 31 */
125 HPT_U32 year:5; /* 0=2000, 31=2031 */
131 HPT_U32 os_inl (void *port);
134 void os_outl (void *port, HPT_U32 value);
135 void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
136 void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
138 extern HPT_U32 __dummy_reg; /* to avoid the compiler warning */
142 #define os_readl(addr) (*(HPT_U32 *)&__dummy_reg = *(volatile HPT_U32 *)(addr))
146 #define os_writel(addr, val) *(volatile HPT_U32 *)(addr) = (HPT_U32)(val)
151 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
154 void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
161 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
163 void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v);
169 HPT_U32 offset,
170 HPT_U32 length
181 void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
183 void os_request_timer(void * osext, HPT_U32 interval);
199 HPT_U32 os_get_stamp(void);
200 void os_stallexec(HPT_U32 microseconds);
214 #define farMemoryCopy(a,b,c) memcpy((char *)(a), (char *)(b), (HPT_U32)c)