qlt_dma.h revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte * Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct qlt_dmem_bctl {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortetypedef struct qlt_dmem_bucket {
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortestmf_data_buf_t *qlt_dmem_alloc(fct_local_port_t *port, uint32_t size,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortestmf_data_buf_t *qlt_i_dmem_alloc(qlt_state_t *qlt, uint32_t size,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortevoid qlt_dmem_free(fct_dbuf_store_t *fds, stmf_data_buf_t *dbuf);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortevoid qlt_i_dmem_free(qlt_state_t *qlt, stmf_data_buf_t *dbuf);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortevoid qlt_dmem_dma_sync(stmf_data_buf_t *dbuf, uint_t sync_type);
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#endif /* _QLT_DMA_H */