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

Lines Matching refs:HPT_U32

51 typedef unsigned int HPT_UINT, HPT_U32;
78 static __inline HPT_U32 CPU_TO_BE32(HPT_U32 x)
81 return ((HPT_U32)p[0] << 24) |
82 ((HPT_U32)p[1] << 16) |
83 ((HPT_U32)p[2] << 8) | p[3];
105 #define LO_LBA(x) ((HPT_U32)(x))
106 #define HI_LBA(x) (sizeof(HPT_LBA)>4? (HPT_U32)((x)>>32) : 0)
110 #define LO_BUSADDR(x) ((HPT_U32)(x))
118 HPT_U32 seconds:6; /* 0 - 59 */
119 HPT_U32 minutes:6; /* 0 - 59 */
120 HPT_U32 month:4; /* 1 - 12 */
121 HPT_U32 hours:6; /* 0 - 59 */
122 HPT_U32 day:5; /* 1 - 31 */
123 HPT_U32 year:5; /* 0=2000, 31=2031 */
129 HPT_U32 os_inl (void *port);
132 void os_outl (void *port, HPT_U32 value);
133 void os_insw (void *port, HPT_U16 *buffer, HPT_U32 count);
134 void os_outsw(void *port, HPT_U16 *buffer, HPT_U32 count);
136 extern HPT_U32 __dummy_reg; /* to avoid the compiler warning */
140 #define os_readl(addr) (*(HPT_U32 *)&__dummy_reg = *(volatile HPT_U32 *)(addr))
144 #define os_writel(addr, val) *(volatile HPT_U32 *)(addr) = (HPT_U32)(val)
149 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
152 void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
159 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
161 void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v);
167 HPT_U32 offset,
168 HPT_U32 length
179 void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
181 void os_request_timer(void * osext, HPT_U32 interval);
197 HPT_U32 os_get_stamp(void);
198 void os_stallexec(HPT_U32 microseconds);
212 #define farMemoryCopy(a,b,c) memcpy((char *)(a), (char *)(b), (HPT_U32)c)