Lines Matching refs:mapreq
1903 ddi_map_req_t mapreq; in opl_map_phys() local
1923 mapreq.map_op = DDI_MO_MAP_LOCKED; in opl_map_phys()
1924 mapreq.map_type = DDI_MT_REGSPEC; in opl_map_phys()
1925 mapreq.map_obj.rp = (struct regspec *)phys_spec; in opl_map_phys()
1926 mapreq.map_prot = PROT_READ | PROT_WRITE; in opl_map_phys()
1927 mapreq.map_flags = DDI_MF_KERNEL_MAPPING; in opl_map_phys()
1928 mapreq.map_handlep = acc_handlep; in opl_map_phys()
1929 mapreq.map_vers = DDI_MAP_VERSION; in opl_map_phys()
1931 result = ddi_map(dip, &mapreq, 0, 0, addrp); in opl_map_phys()
1947 ddi_map_req_t mapreq; in opl_unmap_phys() local
1955 mapreq.map_op = DDI_MO_UNMAP; in opl_unmap_phys()
1956 mapreq.map_type = DDI_MT_REGSPEC; in opl_unmap_phys()
1957 mapreq.map_obj.rp = (struct regspec *)rspecp; in opl_unmap_phys()
1958 mapreq.map_prot = PROT_READ | PROT_WRITE; in opl_unmap_phys()
1959 mapreq.map_flags = DDI_MF_KERNEL_MAPPING; in opl_unmap_phys()
1960 mapreq.map_handlep = acc_handlep; in opl_unmap_phys()
1961 mapreq.map_vers = DDI_MAP_VERSION; in opl_unmap_phys()
1963 (void) ddi_map(acc_handlep->ah_dip, &mapreq, acc_handlep->ah_offset, in opl_unmap_phys()