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