17c478bd9Sstevel@tonic-gate /* 27c478bd9Sstevel@tonic-gate * CDDL HEADER START 37c478bd9Sstevel@tonic-gate * 47c478bd9Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5*4ab75253Smrj * Common Development and Distribution License (the "License"). 6*4ab75253Smrj * You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate * 87c478bd9Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate * See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate * and limitations under the License. 127c478bd9Sstevel@tonic-gate * 137c478bd9Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate * 197c478bd9Sstevel@tonic-gate * CDDL HEADER END 207c478bd9Sstevel@tonic-gate */ 217c478bd9Sstevel@tonic-gate /* 22*4ab75253Smrj * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate * Use is subject to license terms. 247c478bd9Sstevel@tonic-gate */ 257c478bd9Sstevel@tonic-gate 267c478bd9Sstevel@tonic-gate #ifndef _SYS_DDI_ISA_H 277c478bd9Sstevel@tonic-gate #define _SYS_DDI_ISA_H 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 307c478bd9Sstevel@tonic-gate 317c478bd9Sstevel@tonic-gate #include <sys/isa_defs.h> 327c478bd9Sstevel@tonic-gate #include <sys/ndifm.h> 337c478bd9Sstevel@tonic-gate #include <sys/dditypes.h> 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gate #ifdef __cplusplus 367c478bd9Sstevel@tonic-gate extern "C" { 377c478bd9Sstevel@tonic-gate #endif 387c478bd9Sstevel@tonic-gate 397c478bd9Sstevel@tonic-gate #ifdef _KERNEL 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gate /* 427c478bd9Sstevel@tonic-gate * These are the data access functions which the platform 437c478bd9Sstevel@tonic-gate * can choose to define as functions or macro's. 447c478bd9Sstevel@tonic-gate */ 457c478bd9Sstevel@tonic-gate 467c478bd9Sstevel@tonic-gate /* 477c478bd9Sstevel@tonic-gate * DDI interfaces defined as macro's 487c478bd9Sstevel@tonic-gate */ 497c478bd9Sstevel@tonic-gate 507c478bd9Sstevel@tonic-gate /* 517c478bd9Sstevel@tonic-gate * DDI interfaces defined as functions 527c478bd9Sstevel@tonic-gate */ 537c478bd9Sstevel@tonic-gate 547c478bd9Sstevel@tonic-gate /* 557c478bd9Sstevel@tonic-gate * The implementation specific ddi access handle is the same for 567c478bd9Sstevel@tonic-gate * all sparc v7 platforms. 577c478bd9Sstevel@tonic-gate */ 587c478bd9Sstevel@tonic-gate 597c478bd9Sstevel@tonic-gate typedef struct ddi_acc_impl { 607c478bd9Sstevel@tonic-gate ddi_acc_hdl_t ahi_common; 617c478bd9Sstevel@tonic-gate uint8_t 627c478bd9Sstevel@tonic-gate (*ahi_get8)(struct ddi_acc_impl *handle, uint8_t *addr); 637c478bd9Sstevel@tonic-gate uint16_t 647c478bd9Sstevel@tonic-gate (*ahi_get16)(struct ddi_acc_impl *handle, uint16_t *addr); 657c478bd9Sstevel@tonic-gate uint32_t 667c478bd9Sstevel@tonic-gate (*ahi_get32)(struct ddi_acc_impl *handle, uint32_t *addr); 677c478bd9Sstevel@tonic-gate uint64_t 687c478bd9Sstevel@tonic-gate (*ahi_get64)(struct ddi_acc_impl *handle, uint64_t *addr); 697c478bd9Sstevel@tonic-gate void (*ahi_put8)(struct ddi_acc_impl *handle, uint8_t *addr, 707c478bd9Sstevel@tonic-gate uint8_t value); 717c478bd9Sstevel@tonic-gate void (*ahi_put16)(struct ddi_acc_impl *handle, uint16_t *addr, 727c478bd9Sstevel@tonic-gate uint16_t value); 737c478bd9Sstevel@tonic-gate void (*ahi_put32)(struct ddi_acc_impl *handle, uint32_t *addr, 747c478bd9Sstevel@tonic-gate uint32_t value); 757c478bd9Sstevel@tonic-gate void (*ahi_put64)(struct ddi_acc_impl *handle, uint64_t *addr, 767c478bd9Sstevel@tonic-gate uint64_t value); 777c478bd9Sstevel@tonic-gate 787c478bd9Sstevel@tonic-gate void (*ahi_rep_get8)(struct ddi_acc_impl *handle, 797c478bd9Sstevel@tonic-gate uint8_t *host_addr, uint8_t *dev_addr, 807c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 817c478bd9Sstevel@tonic-gate void (*ahi_rep_get16)(struct ddi_acc_impl *handle, 827c478bd9Sstevel@tonic-gate uint16_t *host_addr, uint16_t *dev_addr, 837c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 847c478bd9Sstevel@tonic-gate void (*ahi_rep_get32)(struct ddi_acc_impl *handle, 857c478bd9Sstevel@tonic-gate uint32_t *host_addr, uint32_t *dev_addr, 867c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 877c478bd9Sstevel@tonic-gate void (*ahi_rep_get64)(struct ddi_acc_impl *handle, 887c478bd9Sstevel@tonic-gate uint64_t *host_addr, uint64_t *dev_addr, 897c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 907c478bd9Sstevel@tonic-gate 917c478bd9Sstevel@tonic-gate void (*ahi_rep_put8)(struct ddi_acc_impl *handle, 927c478bd9Sstevel@tonic-gate uint8_t *host_addr, uint8_t *dev_addr, 937c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 947c478bd9Sstevel@tonic-gate void (*ahi_rep_put16)(struct ddi_acc_impl *handle, 957c478bd9Sstevel@tonic-gate uint16_t *host_addr, uint16_t *dev_addr, 967c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 977c478bd9Sstevel@tonic-gate void (*ahi_rep_put32)(struct ddi_acc_impl *handle, 987c478bd9Sstevel@tonic-gate uint32_t *host_addr, uint32_t *dev_addr, 997c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 1007c478bd9Sstevel@tonic-gate void (*ahi_rep_put64)(struct ddi_acc_impl *handle, 1017c478bd9Sstevel@tonic-gate uint64_t *host_addr, uint64_t *dev_addr, 1027c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 1037c478bd9Sstevel@tonic-gate 1047c478bd9Sstevel@tonic-gate int (*ahi_fault_check)(struct ddi_acc_impl *handle); 1057c478bd9Sstevel@tonic-gate void (*ahi_fault_notify)(struct ddi_acc_impl *handle); 1067c478bd9Sstevel@tonic-gate uint32_t ahi_fault; 1077c478bd9Sstevel@tonic-gate ndi_err_t *ahi_err; /* Access error data */ 1087c478bd9Sstevel@tonic-gate } ddi_acc_impl_t; 1097c478bd9Sstevel@tonic-gate 1107c478bd9Sstevel@tonic-gate /* 1117c478bd9Sstevel@tonic-gate * Input functions to memory mapped IO 1127c478bd9Sstevel@tonic-gate */ 1137c478bd9Sstevel@tonic-gate uint8_t 1147c478bd9Sstevel@tonic-gate i_ddi_get8(ddi_acc_impl_t *hdlp, uint8_t *addr); 1157c478bd9Sstevel@tonic-gate 1167c478bd9Sstevel@tonic-gate uint16_t 1177c478bd9Sstevel@tonic-gate i_ddi_get16(ddi_acc_impl_t *hdlp, uint16_t *addr); 1187c478bd9Sstevel@tonic-gate 1197c478bd9Sstevel@tonic-gate uint32_t 1207c478bd9Sstevel@tonic-gate i_ddi_get32(ddi_acc_impl_t *hdlp, uint32_t *addr); 1217c478bd9Sstevel@tonic-gate 1227c478bd9Sstevel@tonic-gate uint64_t 1237c478bd9Sstevel@tonic-gate i_ddi_get64(ddi_acc_impl_t *hdlp, uint64_t *addr); 1247c478bd9Sstevel@tonic-gate 1257c478bd9Sstevel@tonic-gate uint16_t 1267c478bd9Sstevel@tonic-gate i_ddi_swap_get16(ddi_acc_impl_t *hdlp, uint16_t *addr); 1277c478bd9Sstevel@tonic-gate 1287c478bd9Sstevel@tonic-gate uint32_t 1297c478bd9Sstevel@tonic-gate i_ddi_swap_get32(ddi_acc_impl_t *hdlp, uint32_t *addr); 1307c478bd9Sstevel@tonic-gate 1317c478bd9Sstevel@tonic-gate uint64_t 1327c478bd9Sstevel@tonic-gate i_ddi_swap_get64(ddi_acc_impl_t *hdlp, uint64_t *addr); 1337c478bd9Sstevel@tonic-gate 1347c478bd9Sstevel@tonic-gate /* 1357c478bd9Sstevel@tonic-gate * Output functions to memory mapped IO 1367c478bd9Sstevel@tonic-gate */ 1377c478bd9Sstevel@tonic-gate void 1387c478bd9Sstevel@tonic-gate i_ddi_put8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value); 1397c478bd9Sstevel@tonic-gate 1407c478bd9Sstevel@tonic-gate void 1417c478bd9Sstevel@tonic-gate i_ddi_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value); 1427c478bd9Sstevel@tonic-gate 1437c478bd9Sstevel@tonic-gate void 1447c478bd9Sstevel@tonic-gate i_ddi_put32(ddi_acc_impl_t *hdlp, uint32_t *addr, uint32_t value); 1457c478bd9Sstevel@tonic-gate 1467c478bd9Sstevel@tonic-gate void 1477c478bd9Sstevel@tonic-gate i_ddi_put64(ddi_acc_impl_t *hdlp, uint64_t *addr, uint64_t value); 1487c478bd9Sstevel@tonic-gate 1497c478bd9Sstevel@tonic-gate void 1507c478bd9Sstevel@tonic-gate i_ddi_swap_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value); 1517c478bd9Sstevel@tonic-gate 1527c478bd9Sstevel@tonic-gate void 1537c478bd9Sstevel@tonic-gate i_ddi_swap_put32(ddi_acc_impl_t *hdlp, uint32_t *addr, uint32_t value); 1547c478bd9Sstevel@tonic-gate 1557c478bd9Sstevel@tonic-gate void 1567c478bd9Sstevel@tonic-gate i_ddi_swap_put64(ddi_acc_impl_t *hdlp, uint64_t *addr, uint64_t value); 1577c478bd9Sstevel@tonic-gate 1587c478bd9Sstevel@tonic-gate /* 1597c478bd9Sstevel@tonic-gate * Repeated input functions for memory mapped IO 1607c478bd9Sstevel@tonic-gate */ 1617c478bd9Sstevel@tonic-gate void 1627c478bd9Sstevel@tonic-gate i_ddi_rep_get8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr, 1637c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 1647c478bd9Sstevel@tonic-gate 1657c478bd9Sstevel@tonic-gate void 1667c478bd9Sstevel@tonic-gate i_ddi_rep_get16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, uint16_t *dev_addr, 1677c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 1687c478bd9Sstevel@tonic-gate 1697c478bd9Sstevel@tonic-gate void 1707c478bd9Sstevel@tonic-gate i_ddi_rep_get32(ddi_acc_impl_t *hdlp, uint32_t *host_addr, uint32_t *dev_addr, 1717c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 1727c478bd9Sstevel@tonic-gate 1737c478bd9Sstevel@tonic-gate void 1747c478bd9Sstevel@tonic-gate i_ddi_rep_get64(ddi_acc_impl_t *hdlp, uint64_t *host_addr, uint64_t *dev_addr, 1757c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 1767c478bd9Sstevel@tonic-gate 1777c478bd9Sstevel@tonic-gate void 1787c478bd9Sstevel@tonic-gate i_ddi_swap_rep_get16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 1797c478bd9Sstevel@tonic-gate uint16_t *dev_addr, size_t repcount, uint_t flags); 1807c478bd9Sstevel@tonic-gate 1817c478bd9Sstevel@tonic-gate void 1827c478bd9Sstevel@tonic-gate i_ddi_swap_rep_get32(ddi_acc_impl_t *hdlp, uint32_t *host_addr, 1837c478bd9Sstevel@tonic-gate uint32_t *dev_addr, size_t repcount, uint_t flags); 1847c478bd9Sstevel@tonic-gate 1857c478bd9Sstevel@tonic-gate void 1867c478bd9Sstevel@tonic-gate i_ddi_swap_rep_get64(ddi_acc_impl_t *hdlp, uint64_t *host_addr, 1877c478bd9Sstevel@tonic-gate uint64_t *dev_addr, size_t repcount, uint_t flags); 1887c478bd9Sstevel@tonic-gate 1897c478bd9Sstevel@tonic-gate /* 1907c478bd9Sstevel@tonic-gate * Repeated output functions for memory mapped IO 1917c478bd9Sstevel@tonic-gate */ 1927c478bd9Sstevel@tonic-gate void 1937c478bd9Sstevel@tonic-gate i_ddi_rep_put8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, uint8_t *dev_addr, 1947c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 1957c478bd9Sstevel@tonic-gate 1967c478bd9Sstevel@tonic-gate void 1977c478bd9Sstevel@tonic-gate i_ddi_rep_put16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, uint16_t *dev_addr, 1987c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 1997c478bd9Sstevel@tonic-gate 2007c478bd9Sstevel@tonic-gate void 2017c478bd9Sstevel@tonic-gate i_ddi_rep_put32(ddi_acc_impl_t *hdl, uint32_t *host_addr, uint32_t *dev_addr, 2027c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 2037c478bd9Sstevel@tonic-gate 2047c478bd9Sstevel@tonic-gate void 2057c478bd9Sstevel@tonic-gate i_ddi_rep_put64(ddi_acc_impl_t *hdl, uint64_t *host_addr, uint64_t *dev_addr, 2067c478bd9Sstevel@tonic-gate size_t repcount, uint_t flags); 2077c478bd9Sstevel@tonic-gate 2087c478bd9Sstevel@tonic-gate void 2097c478bd9Sstevel@tonic-gate i_ddi_swap_rep_put16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 2107c478bd9Sstevel@tonic-gate uint16_t *dev_addr, size_t repcount, uint_t flags); 2117c478bd9Sstevel@tonic-gate 2127c478bd9Sstevel@tonic-gate void 2137c478bd9Sstevel@tonic-gate i_ddi_swap_rep_put32(ddi_acc_impl_t *hdl, uint32_t *host_addr, 2147c478bd9Sstevel@tonic-gate uint32_t *dev_addr, size_t repcount, uint_t flags); 2157c478bd9Sstevel@tonic-gate 2167c478bd9Sstevel@tonic-gate void 2177c478bd9Sstevel@tonic-gate i_ddi_swap_rep_put64(ddi_acc_impl_t *hdl, uint64_t *host_addr, 2187c478bd9Sstevel@tonic-gate uint64_t *dev_addr, size_t repcount, uint_t flags); 2197c478bd9Sstevel@tonic-gate 2207c478bd9Sstevel@tonic-gate /* 2217c478bd9Sstevel@tonic-gate * Default fault-checking and notification functions 2227c478bd9Sstevel@tonic-gate */ 2237c478bd9Sstevel@tonic-gate int 2247c478bd9Sstevel@tonic-gate i_ddi_acc_fault_check(ddi_acc_impl_t *hdlp); 2257c478bd9Sstevel@tonic-gate 2267c478bd9Sstevel@tonic-gate void 2277c478bd9Sstevel@tonic-gate i_ddi_acc_fault_notify(ddi_acc_impl_t *hdlp); 2287c478bd9Sstevel@tonic-gate 2297c478bd9Sstevel@tonic-gate /* DDI Fault Services functions */ 2307c478bd9Sstevel@tonic-gate 2317c478bd9Sstevel@tonic-gate void i_ddi_caut_get(size_t size, void *addr, void *val); 2327c478bd9Sstevel@tonic-gate 2337c478bd9Sstevel@tonic-gate uint8_t i_ddi_prot_get8(ddi_acc_impl_t *hdlp, uint8_t *addr); 2347c478bd9Sstevel@tonic-gate uint16_t i_ddi_prot_get16(ddi_acc_impl_t *hdlp, uint16_t *addr); 2357c478bd9Sstevel@tonic-gate uint32_t i_ddi_prot_get32(ddi_acc_impl_t *hdlp, uint32_t *addr); 2367c478bd9Sstevel@tonic-gate uint64_t i_ddi_prot_get64(ddi_acc_impl_t *hdlp, uint64_t *addr); 2377c478bd9Sstevel@tonic-gate 2387c478bd9Sstevel@tonic-gate void i_ddi_prot_put8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value); 2397c478bd9Sstevel@tonic-gate void i_ddi_prot_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value); 2407c478bd9Sstevel@tonic-gate void i_ddi_prot_put32(ddi_acc_impl_t *hdlp, uint32_t *addr, uint32_t value); 2417c478bd9Sstevel@tonic-gate void i_ddi_prot_put64(ddi_acc_impl_t *hdlp, uint64_t *addr, uint64_t value); 2427c478bd9Sstevel@tonic-gate 2437c478bd9Sstevel@tonic-gate void i_ddi_prot_rep_get8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, 2447c478bd9Sstevel@tonic-gate uint8_t *dev_addr, size_t repcount, uint_t flags); 2457c478bd9Sstevel@tonic-gate void i_ddi_prot_rep_get16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 2467c478bd9Sstevel@tonic-gate uint16_t *dev_addr, size_t repcount, uint_t flags); 2477c478bd9Sstevel@tonic-gate void i_ddi_prot_rep_get32(ddi_acc_impl_t *hdlp, uint32_t *host_addr, 2487c478bd9Sstevel@tonic-gate uint32_t *dev_addr, size_t repcount, uint_t flags); 2497c478bd9Sstevel@tonic-gate void i_ddi_prot_rep_get64(ddi_acc_impl_t *hdlp, uint64_t *host_addr, 2507c478bd9Sstevel@tonic-gate uint64_t *dev_addr, size_t repcount, uint_t flags); 2517c478bd9Sstevel@tonic-gate 2527c478bd9Sstevel@tonic-gate void i_ddi_prot_rep_put8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, 2537c478bd9Sstevel@tonic-gate uint8_t *dev_addr, size_t repcount, uint_t flags); 2547c478bd9Sstevel@tonic-gate void i_ddi_prot_rep_put16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 2557c478bd9Sstevel@tonic-gate uint16_t *dev_addr, size_t repcount, uint_t flags); 2567c478bd9Sstevel@tonic-gate void i_ddi_prot_rep_put32(ddi_acc_impl_t *hdl, uint32_t *host_addr, 2577c478bd9Sstevel@tonic-gate uint32_t *dev_addr, size_t repcount, uint_t flags); 2587c478bd9Sstevel@tonic-gate void i_ddi_prot_rep_put64(ddi_acc_impl_t *hdl, uint64_t *host_addr, 2597c478bd9Sstevel@tonic-gate uint64_t *dev_addr, size_t repcount, uint_t flags); 2607c478bd9Sstevel@tonic-gate 2617c478bd9Sstevel@tonic-gate uint8_t i_ddi_caut_get8(ddi_acc_impl_t *hdlp, uint8_t *addr); 2627c478bd9Sstevel@tonic-gate uint16_t i_ddi_caut_get16(ddi_acc_impl_t *hdlp, uint16_t *addr); 2637c478bd9Sstevel@tonic-gate uint32_t i_ddi_caut_get32(ddi_acc_impl_t *hdlp, uint32_t *addr); 2647c478bd9Sstevel@tonic-gate uint64_t i_ddi_caut_get64(ddi_acc_impl_t *hdlp, uint64_t *addr); 2657c478bd9Sstevel@tonic-gate 2667c478bd9Sstevel@tonic-gate void i_ddi_caut_put8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value); 2677c478bd9Sstevel@tonic-gate void i_ddi_caut_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value); 2687c478bd9Sstevel@tonic-gate void i_ddi_caut_put32(ddi_acc_impl_t *hdlp, uint32_t *addr, uint32_t value); 2697c478bd9Sstevel@tonic-gate void i_ddi_caut_put64(ddi_acc_impl_t *hdlp, uint64_t *addr, uint64_t value); 2707c478bd9Sstevel@tonic-gate 2717c478bd9Sstevel@tonic-gate void i_ddi_caut_rep_get8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, 2727c478bd9Sstevel@tonic-gate uint8_t *dev_addr, size_t repcount, uint_t flags); 2737c478bd9Sstevel@tonic-gate void i_ddi_caut_rep_get16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 2747c478bd9Sstevel@tonic-gate uint16_t *dev_addr, size_t repcount, uint_t flags); 2757c478bd9Sstevel@tonic-gate void i_ddi_caut_rep_get32(ddi_acc_impl_t *hdlp, uint32_t *host_addr, 2767c478bd9Sstevel@tonic-gate uint32_t *dev_addr, size_t repcount, uint_t flags); 2777c478bd9Sstevel@tonic-gate void i_ddi_caut_rep_get64(ddi_acc_impl_t *hdlp, uint64_t *host_addr, 2787c478bd9Sstevel@tonic-gate uint64_t *dev_addr, size_t repcount, uint_t flags); 2797c478bd9Sstevel@tonic-gate 2807c478bd9Sstevel@tonic-gate void i_ddi_caut_rep_put8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, 2817c478bd9Sstevel@tonic-gate uint8_t *dev_addr, size_t repcount, uint_t flags); 2827c478bd9Sstevel@tonic-gate void i_ddi_caut_rep_put16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, 2837c478bd9Sstevel@tonic-gate uint16_t *dev_addr, size_t repcount, uint_t flags); 2847c478bd9Sstevel@tonic-gate void i_ddi_caut_rep_put32(ddi_acc_impl_t *hdl, uint32_t *host_addr, 2857c478bd9Sstevel@tonic-gate uint32_t *dev_addr, size_t repcount, uint_t flags); 2867c478bd9Sstevel@tonic-gate void i_ddi_caut_rep_put64(ddi_acc_impl_t *hdl, uint64_t *host_addr, 2877c478bd9Sstevel@tonic-gate uint64_t *dev_addr, size_t repcount, uint_t flags); 2887c478bd9Sstevel@tonic-gate 2897c478bd9Sstevel@tonic-gate #endif /* _KERNEL */ 2907c478bd9Sstevel@tonic-gate 2917c478bd9Sstevel@tonic-gate #ifdef __cplusplus 2927c478bd9Sstevel@tonic-gate } 2937c478bd9Sstevel@tonic-gate #endif 2947c478bd9Sstevel@tonic-gate 2957c478bd9Sstevel@tonic-gate #endif /* _SYS_DDI_ISA_H */ 296