Home
last modified time | relevance | path

Searched refs:osext (Results 1 – 8 of 8) sorted by relevance

/dragonfly/sys/dev/raid/hptrr/
HDhptrr_os_bsd.c55 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) in os_pci_readb() argument
57 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); in os_pci_readb()
60 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) in os_pci_readw() argument
62 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); in os_pci_readw()
65 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) in os_pci_readl() argument
67 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); in os_pci_readl()
70 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) in os_pci_writeb() argument
72 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); in os_pci_writeb()
75 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) in os_pci_writew() argument
77 pci_write_config(((PHBA)osext)->pcidev, offset, value, 2); in os_pci_writew()
[all …]
HDosm.h115 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
116 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
117 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
118 void os_pci_writeb(void *osext, HPT_U8 offset, HPT_U8 value);
119 void os_pci_writew(void *osext, HPT_U8 offset, HPT_U16 value);
120 void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
130 void *osext,
137 void os_unmap_pci_bar(void *osext, void *base);
144 void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
146 void os_request_timer(void * osext, HPT_U32 interval);
[all …]
HDldm.h85 void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count);
90 void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HP…
95 #define freelist_reserve_with_tag(list, osext, size, count) \ argument
98 freelist_reserve(list, osext, size, count);\
101 #define freelist_reserve_dma_with_tag(list, osext, size, alignment, count) \ argument
104 freelist_reserve_dma(list, osext, size, alignment, count);\
297 void (*get_mem_info)(PVBUS vbus, void *osext, int phydev_count);
418 void ldm_create_vbus(PVBUS vbus, void *osext);
421 void ldm_get_mem_info(PVBUS vbus, void *osext);
434 void ldm_initialize_vbus_async(PVBUS vbus, PLDM_ADAPTER master_adapter, void (*done)(void *osext));
HDhimfuncs.h49 …E(HPT_BOOL, create_adapter, (const PCI_ID *id, PCI_ADDRESS pciAddress, void *adapter, void *osext))
/dragonfly/sys/dev/raid/hpt27xx/
HDhpt27xx_os_bsd.c51 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) in os_pci_readb() argument
53 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); in os_pci_readb()
56 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) in os_pci_readw() argument
58 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); in os_pci_readw()
61 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) in os_pci_readl() argument
63 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); in os_pci_readl()
66 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) in os_pci_writeb() argument
68 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); in os_pci_writeb()
71 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) in os_pci_writew() argument
73 pci_write_config(((PHBA)osext)->pcidev, offset, value, 2); in os_pci_writew()
[all …]
HDosm.h146 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset);
147 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset);
148 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset);
149 void os_pci_writeb(void *osext, HPT_U8 offset, HPT_U8 value);
150 void os_pci_writew(void *osext, HPT_U8 offset, HPT_U16 value);
151 void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value);
164 void *osext,
171 void os_unmap_pci_bar(void *osext, void *base);
178 void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
180 void os_request_timer(void * osext, HPT_U32 interval);
[all …]
HDldm.h90 void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count);
95 void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HP…
100 #define freelist_reserve_with_tag(list, osext, size, count) \ argument
103 freelist_reserve(list, osext, (HPT_UINT)(size), (HPT_UINT)(count));\
106 #define freelist_reserve_dma_with_tag(list, osext, size, alignment, count) \ argument
109 … freelist_reserve_dma(list, osext, (HPT_UINT)(size), (HPT_UINT)(alignment), (HPT_UINT)(count));\
301 void (*get_mem_info)(PVBUS vbus, void *osext, int phydev_count);
423 void ldm_create_vbus(PVBUS vbus, void *osext);
426 void ldm_get_mem_info(PVBUS vbus, void *osext);
439 void ldm_initialize_vbus_async(PVBUS vbus, PLDM_ADAPTER master_adapter, void (*done)(void *osext));
HDhimfuncs.h48 …E(HPT_BOOL, create_adapter, (const PCI_ID *id, PCI_ADDRESS pciAddress, void *adapter, void *osext))