Lines Matching refs:hwdp
314 void *hwdp; in opl_read_hwd() local
349 hwdp = (void *)((char *)opl_hwd_vaddr + 0x1000); in opl_read_hwd()
350 opl_boards[board].cfg_hwd = hwdp; in opl_read_hwd()
364 hwdp = kmem_alloc(HWD_DATA_SIZE, KM_SLEEP); in opl_read_hwd()
367 ret = (*getinfop)(key, type, transid, &datasize, hwdp); in opl_read_hwd()
369 opl_boards[board].cfg_hwd = hwdp; in opl_read_hwd()
371 kmem_free(hwdp, HWD_DATA_SIZE); in opl_read_hwd()
374 hwdp = opl_boards[board].cfg_hwd; in opl_read_hwd()
380 hd = (hwd_header_t *)hwdp; in opl_read_hwd()
382 ((char *)hwdp + hd->hdr_sb_status_offset); in opl_read_hwd()
384 ((char *)hwdp + hd->hdr_domain_info_offset); in opl_read_hwd()
386 ((char *)hwdp + hd->hdr_sb_info_offset); in opl_read_hwd()
2849 void *hwdp = opl_boards[board].cfg_hwd; in opl_unprobe_sb() local
2852 hwdp = (void *)((char *)hwdp - 0x1000); in opl_unprobe_sb()
2853 hat_unload(kas.a_hat, hwdp, size, HAT_UNLOAD_UNLOCK); in opl_unprobe_sb()
2854 vmem_free(heap_arena, hwdp, size); in opl_unprobe_sb()
2856 kmem_free(hwdp, HWD_DATA_SIZE); in opl_unprobe_sb()