ixp425_npevar.h (186352) | ixp425_npevar.h (186420) |
---|---|
1/*- 2 * Copyright (c) 2006 Sam Leffler. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * | 1/*- 2 * Copyright (c) 2006 Sam Leffler. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 7 unchanged lines hidden (view full) --- 16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * |
24 * $FreeBSD: head/sys/arm/xscale/ixp425/ixp425_npevar.h 186352 2008-12-20 03:26:09Z sam $ | 24 * $FreeBSD: head/sys/arm/xscale/ixp425/ixp425_npevar.h 186420 2008-12-23 04:51:46Z sam $ |
25 */ 26 27#ifndef _IXP425_NPEVAR_H_ 28#define _IXP425_NPEVAR_H_ 29 30/* 31 * Intel (R) IXP400 Software NPE Image ID Definition 32 * --- 73 unchanged lines hidden (view full) --- 106#define IXP425_NPE_C_IMAGEID 0x02050201 107 108struct ixpnpe_softc; 109struct ixpnpe_softc *ixpnpe_attach(device_t, int npeid); 110void ixpnpe_detach(struct ixpnpe_softc *); 111int ixpnpe_stopandreset(struct ixpnpe_softc *); 112int ixpnpe_start(struct ixpnpe_softc *); 113int ixpnpe_stop(struct ixpnpe_softc *); | 25 */ 26 27#ifndef _IXP425_NPEVAR_H_ 28#define _IXP425_NPEVAR_H_ 29 30/* 31 * Intel (R) IXP400 Software NPE Image ID Definition 32 * --- 73 unchanged lines hidden (view full) --- 106#define IXP425_NPE_C_IMAGEID 0x02050201 107 108struct ixpnpe_softc; 109struct ixpnpe_softc *ixpnpe_attach(device_t, int npeid); 110void ixpnpe_detach(struct ixpnpe_softc *); 111int ixpnpe_stopandreset(struct ixpnpe_softc *); 112int ixpnpe_start(struct ixpnpe_softc *); 113int ixpnpe_stop(struct ixpnpe_softc *); |
114int ixpnpe_init(struct ixpnpe_softc *, 115 const char *imageName, uint32_t imageId); | 114int ixpnpe_init(struct ixpnpe_softc *); |
116int ixpnpe_getfunctionality(struct ixpnpe_softc *sc); 117 118int ixpnpe_sendmsg_async(struct ixpnpe_softc *, const uint32_t msg[2]); 119int ixpnpe_recvmsg_async(struct ixpnpe_softc *, uint32_t msg[2]); 120int ixpnpe_sendandrecvmsg_sync(struct ixpnpe_softc *, 121 const uint32_t send[2], uint32_t recv[2]); 122int ixpnpe_recvmsg_sync(struct ixpnpe_softc *, uint32_t msg[2]); 123#endif /* _IXP425_NPEVAR_H_ */ | 115int ixpnpe_getfunctionality(struct ixpnpe_softc *sc); 116 117int ixpnpe_sendmsg_async(struct ixpnpe_softc *, const uint32_t msg[2]); 118int ixpnpe_recvmsg_async(struct ixpnpe_softc *, uint32_t msg[2]); 119int ixpnpe_sendandrecvmsg_sync(struct ixpnpe_softc *, 120 const uint32_t send[2], uint32_t recv[2]); 121int ixpnpe_recvmsg_sync(struct ixpnpe_softc *, uint32_t msg[2]); 122#endif /* _IXP425_NPEVAR_H_ */ |