Lines Matching refs:HPT_U8
53 typedef unsigned char HPT_U8;
67 HPT_U8 *p = (HPT_U8 *)&x;
80 HPT_U8 *p = (HPT_U8 *)&x;
88 return ((HPT_U8)x << 8) | (x>>8);
127 HPT_U8 os_inb (void *port);
130 void os_outb (void *port, HPT_U8 value);
138 #define os_readb(addr) (*(HPT_U8 *)&__dummy_reg = *(volatile HPT_U8 *)(addr))
142 #define os_writeb(addr, val) *(volatile HPT_U8 *)(addr) = (HPT_U8)(val)
147 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
148 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
149 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
150 void os_pci_writeb(void *osext, HPT_U8 offset, HPT_U8 value);
151 void os_pci_writew(void *osext, HPT_U8 offset, HPT_U16 value);
152 void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
158 HPT_U8 pcicfg_read_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
159 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
160 void pcicfg_write_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U8 v);
161 void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v);
220 HPT_U8 os_get_vbus_seq(void *osext);