mcamd_api.h (8a40a695) mcamd_api.h (4156fc34)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 183 unchanged lines hidden (view full) ---

192#define MCAMD_RC_INVALID_OFFSET 0x0
193
194/*
195 * Routines provided by the common mcamd code.
196 */
197extern const char *mcamd_get_propname(mcamd_propcode_t);
198
199extern int mcamd_patounum(struct mcamd_hdl *, mcamd_node_t *, uint64_t,
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 183 unchanged lines hidden (view full) ---

192#define MCAMD_RC_INVALID_OFFSET 0x0
193
194/*
195 * Routines provided by the common mcamd code.
196 */
197extern const char *mcamd_get_propname(mcamd_propcode_t);
198
199extern int mcamd_patounum(struct mcamd_hdl *, mcamd_node_t *, uint64_t,
200 uint32_t, int, mc_unum_t *);
200 uint8_t, uint8_t, uint32_t, int, mc_unum_t *);
201extern int mcamd_unumtopa(struct mcamd_hdl *, mcamd_node_t *, mc_unum_t *,
202 uint64_t *);
203extern int mc_pa_to_offset(struct mcamd_hdl *, mcamd_node_t *, mcamd_node_t *,
204 uint64_t, uint64_t *);
205extern int mc_offset_to_pa(struct mcamd_hdl *, mcamd_node_t *, mcamd_node_t *,
206 uint64_t, uint64_t *);
207
208extern int mcamd_cs_size(struct mcamd_hdl *, mcamd_node_t *, int, size_t *);

--- 41 unchanged lines hidden ---
201extern int mcamd_unumtopa(struct mcamd_hdl *, mcamd_node_t *, mc_unum_t *,
202 uint64_t *);
203extern int mc_pa_to_offset(struct mcamd_hdl *, mcamd_node_t *, mcamd_node_t *,
204 uint64_t, uint64_t *);
205extern int mc_offset_to_pa(struct mcamd_hdl *, mcamd_node_t *, mcamd_node_t *,
206 uint64_t, uint64_t *);
207
208extern int mcamd_cs_size(struct mcamd_hdl *, mcamd_node_t *, int, size_t *);

--- 41 unchanged lines hidden ---