Lines Matching +full:serdes +full:- +full:clk

1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc
60 /* Little-Endian access macros */
95 /*----------------------*/
97 /*----------------------*/
112 #define POWER_OF_2(n) (!((n) & ((n)-1)))
144 /* Ceiling division - not the fastest way, but safer in terms of overflow */
148 #define ROUND_UP(x,y) ((((x) + (y) - 1) / (y)) * (y))
151 /* (number of usec * clock_Hz) / 1,000,000) - since */
152 /* clk is in MHz units, no division needed. */
153 #define USEC_TO_CLK(usec,clk) ((usec) * (clk)) argument
154 #define CYCLES_TO_USEC(cycles,clk) ((cycles) / (clk)) argument
157 #define NSEC_TO_CLK(nsec,clk) DIV_CEIL(((nsec) * (clk)), 1000) argument
158 #define CYCLES_TO_NSEC(cycles,clk) (((cycles) * 1000) / (clk)) argument
161 #define PSEC_TO_CLK(psec,clk) DIV_CEIL(((psec) * (clk)), 1000000) argument
162 #define CYCLES_TO_PSEC(cycles,clk) (((cycles) * 1000000) / (clk)) argument
167 #define ABS(a) ((a<0)?(a*-1):a)
185 #define IS_ALIGNED(n,align) (!((uint32_t)(n) & (align - 1)))
194 #define ARRAY_END -1
208 e_TIMER_MODE_FREE_RUN, /**< Free run - counter continues to increase
210 e_TIMER_MODE_PERIODIC, /**< Periodic - counter restarts counting from 0
212 e_TIMER_MODE_SINGLE /**< Single (one-shot) - counter stops counting
237 controller; e.g. IO-pins, SerDes, etc. */
285 @Param[in] handle - Optional handle of the module handling the interrupt.
316 @Param[in] h_BufferPool - A handle to buffer pool manager
317 @Param[out] p_BufContextHandle - Returns the user's private context that
332 @Param[in] h_BufferPool - A handle to buffer pool manager
333 @Param[in] p_Buffer - A pointer to buffer to return
334 @Param[in] h_BufContext - The user's private context associated with
348 @Param[in] addr - The physical address to translate.
359 @Param[in] addr - The virtual address to translate.
387 @Param[in] h_App - Application's handle, as was provided to the
389 @Param[in] queueId - Transmit queue ID
390 @Param[in] p_Data - Pointer to the data buffer
391 @Param[in] h_BufContext - The user's private context associated with
393 @Param[in] status - Transmit status and errors
394 @Param[in] flags - Driver-dependent information
408 @Param[in] h_App - Application's handle, as was provided to the
410 @Param[in] queueId - Receive queue ID
411 @Param[in] p_Data - Pointer to the buffer with received data
412 @Param[in] h_BufContext - The user's private context associated with
414 @Param[in] length - Length of received data
415 @Param[in] status - Receive status and errors
416 @Param[in] position - Position of buffer in frame
417 @Param[in] flags - Driver-dependent information
419 @Retval e_RX_STORE_RESPONSE_CONTINUE - order the driver to continue Rx
421 @Retval e_RX_STORE_RESPONSE_PAUSE - order the driver to stop Rx operation.