fm_port.c (852ba100) fm_port.c (a32b5435)
1/*
2 * Copyright 2008-2012 Freescale Semiconductor Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 * * Redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer.
8 * * Redistributions in binary form must reproduce the above copyright

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

1991 return E_OK;
1992}
1993#endif /* (DPAA_VERSION >= 11) */
1994
1995t_Error FmPortGetSetCcParams(t_Handle h_FmPort,
1996 t_FmPortGetSetCcParams *p_CcParams)
1997{
1998 t_FmPort *p_FmPort = (t_FmPort*)h_FmPort;
1/*
2 * Copyright 2008-2012 Freescale Semiconductor Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 * * Redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer.
8 * * Redistributions in binary form must reproduce the above copyright

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

1991 return E_OK;
1992}
1993#endif /* (DPAA_VERSION >= 11) */
1994
1995t_Error FmPortGetSetCcParams(t_Handle h_FmPort,
1996 t_FmPortGetSetCcParams *p_CcParams)
1997{
1998 t_FmPort *p_FmPort = (t_FmPort*)h_FmPort;
1999 int tmpInt;
1999 uint32_t tmpInt;
2000 volatile uint32_t *p_BmiPrsStartOffset = NULL;
2001
2002 /* this function called from Cc for pass and receive parameters port params between CC and PORT*/
2003
2004 if ((p_CcParams->getCcParams.type & OFFSET_OF_PR)
2005 && (p_FmPort->bufferOffsets.prsResultOffset != ILLEGAL_BASE))
2006 {
2007 p_CcParams->getCcParams.prOffset =

--- 4431 unchanged lines hidden ---
2000 volatile uint32_t *p_BmiPrsStartOffset = NULL;
2001
2002 /* this function called from Cc for pass and receive parameters port params between CC and PORT*/
2003
2004 if ((p_CcParams->getCcParams.type & OFFSET_OF_PR)
2005 && (p_FmPort->bufferOffsets.prsResultOffset != ILLEGAL_BASE))
2006 {
2007 p_CcParams->getCcParams.prOffset =

--- 4431 unchanged lines hidden ---