Lines Matching refs:HPT_U8
52 typedef unsigned char HPT_U8;
65 HPT_U8 *p = (HPT_U8 *)&x;
78 HPT_U8 *p = (HPT_U8 *)&x;
86 return ((HPT_U8)x << 8) | (x>>8);
125 HPT_U8 os_inb (void *port);
128 void os_outb (void *port, HPT_U8 value);
136 #define os_readb(addr) (*(HPT_U8 *)&__dummy_reg = *(volatile HPT_U8 *)(addr))
140 #define os_writeb(addr, val) *(volatile HPT_U8 *)(addr) = (HPT_U8)(val)
145 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
146 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
147 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
148 void os_pci_writeb(void *osext, HPT_U8 offset, HPT_U8 value);
149 void os_pci_writew(void *osext, HPT_U8 offset, HPT_U16 value);
150 void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
156 HPT_U8 pcicfg_read_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
157 HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg);
158 void pcicfg_write_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U8 v);
159 void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v);
218 HPT_U8 os_get_vbus_seq(void *osext);