Home
last modified time | relevance | path

Searched refs:PVBUS (Results 1 – 11 of 11) sorted by relevance

/src/sys/dev/hptrr/
H A Dldm.h144 typedef struct _VBUS * PVBUS; typedef
148 void dmapool_register_client(PVBUS vbus, struct dmapool_client *client);
151 void dmapool_active(PVBUS vbus);
154 int dmapool_make_order(PVBUS vbus, struct dmapool_order *order);
157 void *dmapool_get_page(PVBUS vbus, BUS_ADDRESS *busaddr);
158 void *dmapool_get_page_at(PVBUS vbus, void *p, BUS_ADDRESS *busaddr);
159 void dmapool_put_page(PVBUS vbus, void *p, BUS_ADDRESS busaddr);
160 void dmapool_init(PVBUS vbus);
161 HPT_UINT dmapool_max_class_pages(PVBUS vbus);
183 void ldm_request_timer(PVBUS vbus, struct timer_call * tc);
[all …]
H A Dhptrr_osm_bsd.c84 PVBUS vbus; in hpt_attach()
121 ldm_create_vbus((PVBUS)vbus_ext->vbus, vbus_ext); in hpt_attach()
162 ldm_get_mem_info((PVBUS)vbus_ext->vbus, 0); in hpt_alloc_mem()
205 dmapool_put_page((PVBUS)vbus_ext->vbus, p, (BUS_ADDRESS)vtophys(p)); in hpt_alloc_mem()
229 p = dmapool_get_page((PVBUS)vbus_ext->vbus, &bus); in hpt_free_mem()
249 dmapool_put_page((PVBUS)vbus_ext->vbus, p, bus); in hpt_free_mem()
254 while ((p = dmapool_get_page((PVBUS)vbus_ext->vbus, &bus))) in hpt_free_mem()
268 ldm_initialize_vbus((PVBUS)vbus_ext->vbus, &vbus_ext->hba_list->ldm_adapter); in hpt_init_vbus()
342 PVBUS vbus = (PVBUS)vbus_ext->vbus; in hpt_shutdown_vbus()
434 ldm_reset_vbus((PVBUS)ext->vbus_ext->vbus); in hpt_timeout()
[all …]
H A Dhptrr_os_bsd.c215 ldm_on_timer((PVBUS)vbus_ext->vbus); in os_timer_for_ldm()
/src/sys/dev/hpt27xx/
H A Dldm.h145 typedef struct _VBUS * PVBUS; typedef
149 void dmapool_register_client(PVBUS vbus, struct dmapool_client *client);
152 void dmapool_active(PVBUS vbus);
155 int dmapool_make_order(PVBUS vbus, struct dmapool_order *order);
158 void *dmapool_get_page(PVBUS vbus, BUS_ADDRESS *busaddr);
159 void *dmapool_get_page_at(PVBUS vbus, void *p, BUS_ADDRESS *busaddr);
160 void dmapool_put_page(PVBUS vbus, void *p, BUS_ADDRESS busaddr);
161 void dmapool_init(PVBUS vbus);
162 HPT_UINT dmapool_max_class_pages(PVBUS vbus);
184 void ldm_request_timer(PVBUS vbus, struct timer_call * tc);
[all …]
H A Dwj.h39 void wj_init(PVBUS vbus, void *nvram_addr, HPT_U32 nvram_size);
40 void *wj_add_entry(PVBUS vbus, PVDEV vd, HPT_LBA lba, HPT_U16 sectors);
41 void *wj_get_entry(PVBUS vbus, PVDEV *vd_p, HPT_LBA *lba_p, HPT_U16 *sectors_p);
42 void wj_del_entry(PVBUS vbus, void *handle);
43 void wj_del_vd(PVBUS vbus, PVDEV vd);
44 void wj_sync_stamp(PVBUS vbus, PVDEV vd);
H A Dhpt27xx_osm_bsd.c75 PVBUS vbus; in hpt_attach()
116 ldm_create_vbus((PVBUS)vbus_ext->vbus, vbus_ext); in hpt_attach()
157 ldm_get_mem_info((PVBUS)vbus_ext->vbus, 0); in hpt_alloc_mem()
199 dmapool_put_page((PVBUS)vbus_ext->vbus, p, (BUS_ADDRESS)vtophys(p)); in hpt_alloc_mem()
223 p = dmapool_get_page((PVBUS)vbus_ext->vbus, &bus); in hpt_free_mem()
243 dmapool_put_page((PVBUS)vbus_ext->vbus, p, bus); in hpt_free_mem()
248 while ((p = dmapool_get_page((PVBUS)vbus_ext->vbus, &bus))) in hpt_free_mem()
262 ldm_initialize_vbus((PVBUS)vbus_ext->vbus, &vbus_ext->hba_list->ldm_adapter); in hpt_init_vbus()
339 PVBUS vbus = (PVBUS)vbus_ext->vbus; in hpt_shutdown_vbus()
430 ldm_reset_vbus((PVBUS)ext->vbus_ext->vbus); in hpt_timeout()
[all …]
H A Dhpt27xx_os_bsd.c243 ldm_on_timer((PVBUS)vbus_ext->vbus); in os_timer_for_ldm()
/src/sys/dev/hptnr/
H A Dldm.h145 typedef struct _VBUS * PVBUS; typedef
149 void dmapool_register_client(PVBUS vbus, struct dmapool_client *client);
152 void dmapool_active(PVBUS vbus);
155 int dmapool_make_order(PVBUS vbus, struct dmapool_order *order);
158 void *dmapool_get_page(PVBUS vbus, BUS_ADDRESS *busaddr);
159 void *dmapool_get_page_at(PVBUS vbus, void *p, BUS_ADDRESS *busaddr);
160 void dmapool_put_page(PVBUS vbus, void *p, BUS_ADDRESS busaddr);
161 void dmapool_init(PVBUS vbus);
162 HPT_UINT dmapool_max_class_pages(PVBUS vbus);
184 void ldm_request_timer(PVBUS vbus, struct timer_call * tc);
[all …]
H A Dwj.h40 void wj_init(PVBUS vbus, void *nvram_addr, HPT_U32 nvram_size);
41 void *wj_add_entry(PVBUS vbus, PVDEV vd, HPT_LBA lba, HPT_U16 sectors);
42 void *wj_get_entry(PVBUS vbus, PVDEV *vd_p, HPT_LBA *lba_p, HPT_U16 *sectors_p);
43 void wj_del_entry(PVBUS vbus, void *handle);
44 void wj_del_vd(PVBUS vbus, PVDEV vd);
45 void wj_sync_stamp(PVBUS vbus, PVDEV vd);
H A Dhptnr_osm_bsd.c77 PVBUS vbus; in hpt_attach()
120 ldm_create_vbus((PVBUS)vbus_ext->vbus, vbus_ext); in hpt_attach()
161 ldm_get_mem_info((PVBUS)vbus_ext->vbus, 0); in hpt_alloc_mem()
203 dmapool_put_page((PVBUS)vbus_ext->vbus, p, (BUS_ADDRESS)vtophys(p)); in hpt_alloc_mem()
227 p = dmapool_get_page((PVBUS)vbus_ext->vbus, &bus); in hpt_free_mem()
247 dmapool_put_page((PVBUS)vbus_ext->vbus, p, bus); in hpt_free_mem()
252 while ((p = dmapool_get_page((PVBUS)vbus_ext->vbus, &bus))) in hpt_free_mem()
266 ldm_initialize_vbus((PVBUS)vbus_ext->vbus, &vbus_ext->hba_list->ldm_adapter); in hpt_init_vbus()
340 PVBUS vbus = (PVBUS)vbus_ext->vbus; in hpt_shutdown_vbus()
432 ldm_reset_vbus((PVBUS)ext->vbus_ext->vbus); in hpt_timeout()
[all …]
H A Dhptnr_os_bsd.c229 ldm_on_timer((PVBUS)vbus_ext->vbus); in os_timer_for_ldm()