Home
last modified time | relevance | path

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

/freebsd/sys/dev/hptrr/
H A Dhptrr_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 …]
H A Dosm.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 …]
H A Dldm.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));
H A Dhimfuncs.h49 …E(HPT_BOOL, create_adapter, (const PCI_ID *id, PCI_ADDRESS pciAddress, void *adapter, void *osext))
/freebsd/sys/dev/hptnr/
H A Dhptnr_os_bsd.c34 BUS_ADDRESS get_dmapool_phy_addr(void *osext, void * dmapool_virt_addr);
54 HPT_U8 os_pci_readb (void *osext, HPT_U8 offset) in os_pci_readb() argument
56 return pci_read_config(((PHBA)osext)->pcidev, offset, 1); in os_pci_readb()
59 HPT_U16 os_pci_readw (void *osext, HPT_U8 offset) in os_pci_readw() argument
61 return pci_read_config(((PHBA)osext)->pcidev, offset, 2); in os_pci_readw()
64 HPT_U32 os_pci_readl (void *osext, HPT_U8 offset) in os_pci_readl() argument
66 return pci_read_config(((PHBA)osext)->pcidev, offset, 4); in os_pci_readl()
69 void os_pci_writeb (void *osext, HPT_U8 offset, HPT_U8 value) in os_pci_writeb() argument
71 pci_write_config(((PHBA)osext)->pcidev, offset, value, 1); in os_pci_writeb()
74 void os_pci_writew (void *osext, HPT_U8 offset, HPT_U16 value) in os_pci_writew() argument
[all …]
H A Dosm.h145 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);
163 void *osext,
170 void os_unmap_pci_bar(void *osext, void *base);
177 void *os_add_timer(void *osext, HPT_U32 microseconds, void (*proc)(void *), void *arg);
179 void os_request_timer(void * osext, HPT_U32 interval);
[all …]
H A Dldm.h86 void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count);
91 void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HP…
96 #define freelist_reserve_with_tag(list, osext, size, count) \ argument
99 freelist_reserve(list, osext, (HPT_UINT)(size), (HPT_UINT)(count));\
102 #define freelist_reserve_dma_with_tag(list, osext, size, alignment, count) \ argument
105 freelist_reserve_dma(list, osext, (HPT_UINT)(size), (HPT_UINT)(alignment), (HPT_UINT)(count));\
302 void (*get_mem_info)(PVBUS vbus, void *osext, int phydev_count);
424 void ldm_create_vbus(PVBUS vbus, void *osext);
427 void ldm_get_mem_info(PVBUS vbus, void *osext);
440 void ldm_initialize_vbus_async(PVBUS vbus, PLDM_ADAPTER master_adapter, void (*done)(void *osext));
H A Dhimfuncs.h48 …E(HPT_BOOL, create_adapter, (const PCI_ID *id, PCI_ADDRESS pciAddress, void *adapter, void *osext))
/freebsd/sys/dev/hpt27xx/
H A Dhpt27xx_os_bsd.c35 BUS_ADDRESS get_dmapool_phy_addr(void *osext, void * dmapool_virt_addr);
55 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
[all …]
H A Dosm.h147 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);
165 void *osext,
172 void os_unmap_pci_bar(void *osext, void *base);
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);
[all …]
H A Dldm.h86 void freelist_reserve(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT count);
91 void freelist_reserve_dma(struct freelist *list, void *osext, HPT_UINT size, HPT_UINT alignment, HP…
96 #define freelist_reserve_with_tag(list, osext, size, count) \ argument
99 freelist_reserve(list, osext, (HPT_UINT)(size), (HPT_UINT)(count));\
102 #define freelist_reserve_dma_with_tag(list, osext, size, alignment, count) \ argument
105 freelist_reserve_dma(list, osext, (HPT_UINT)(size), (HPT_UINT)(alignment), (HPT_UINT)(count));\
303 void (*get_mem_info)(PVBUS vbus, void *osext, int phydev_count);
425 void ldm_create_vbus(PVBUS vbus, void *osext);
428 void ldm_get_mem_info(PVBUS vbus, void *osext);
441 void ldm_initialize_vbus_async(PVBUS vbus, PLDM_ADAPTER master_adapter, void (*done)(void *osext));
H A Dhimfuncs.h48 …E(HPT_BOOL, create_adapter, (const PCI_ID *id, PCI_ADDRESS pciAddress, void *adapter, void *osext))