Lines Matching refs:hwdp
313 void *hwdp; in opl_read_hwd() local
348 hwdp = (void *)((char *)opl_hwd_vaddr + 0x1000); in opl_read_hwd()
349 opl_boards[board].cfg_hwd = hwdp; in opl_read_hwd()
363 hwdp = kmem_alloc(HWD_DATA_SIZE, KM_SLEEP); in opl_read_hwd()
366 ret = (*getinfop)(key, type, transid, &datasize, hwdp); in opl_read_hwd()
368 opl_boards[board].cfg_hwd = hwdp; in opl_read_hwd()
370 kmem_free(hwdp, HWD_DATA_SIZE); in opl_read_hwd()
373 hwdp = opl_boards[board].cfg_hwd; in opl_read_hwd()
379 hd = (hwd_header_t *)hwdp; in opl_read_hwd()
381 ((char *)hwdp + hd->hdr_sb_status_offset); in opl_read_hwd()
383 ((char *)hwdp + hd->hdr_domain_info_offset); in opl_read_hwd()
385 ((char *)hwdp + hd->hdr_sb_info_offset); in opl_read_hwd()
2850 void *hwdp = opl_boards[board].cfg_hwd; in opl_unprobe_sb() local
2853 hwdp = (void *)((char *)hwdp - 0x1000); in opl_unprobe_sb()
2854 hat_unload(kas.a_hat, hwdp, size, HAT_UNLOAD_UNLOCK); in opl_unprobe_sb()
2855 vmem_free(heap_arena, hwdp, size); in opl_unprobe_sb()
2857 kmem_free(hwdp, HWD_DATA_SIZE); in opl_unprobe_sb()