Lines Matching +full:ipc +full:-
1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc
37 @Description Prototypes, externals and typedefs for system-supplied
53 @Description Prototypes, externals and typedefs for system-supplied
80 @Param[in] size - Number of bytes to allocate.
92 @Param[in] size - Number of bytes to allocate.
93 @Param[in] memPartitionId - Memory partition ID; The value zero must
95 @Param[in] alignment - Required memory alignment (in bytes).
110 @Param[in] p_Memory - pointer to the memory block.
121 @Param[in] p_Memory - pointer to the memory block.
132 @Param[in] str - string to print.
143 @Param[in] irq - Interrupt ID (system-specific number).
144 @Param[in] f_Isr - Callback routine that will be called when the interrupt occurs.
145 @Param[in] handle - The argument for the user callback routine.
156 @Param[in] irq - Interrupt ID (system-specific number).
167 @Param[in] irq - Interrupt ID (system-specific number).
178 @Param[in] irq - Interrupt ID (system-specific number).
200 @Param[in] flags - A value that represents the interrupts state to restore,
216 @Param[in] status - exit status
231 @Param[in] routine - A routine to be ran as a tasklet.
232 @Param[in] data - An argument to pass to the tasklet.
243 @Param[in] h_Tasklet - A handle to a tasklet to be free.
254 @Param[in] h_Tasklet - A handle to a tasklet to be scheduled.
255 @Param[in] immediate - Indicate whether to schedule this tasklet on
258 @Return 0 - on success. Error code - otherwise.
276 @Param[in] h_Tasklet - A handle to a tasklet to be scheduled.
278 @Return 1 - task is queued. 0 - otherwise.
288 @Param[in] h_Tasklet - A handle to a tasklet to be scheduled.
289 @Param[in] data - Data to be set.
298 @Param[in] h_Tasklet - A handle to a tasklet to be scheduled.
309 This routine handles all bottom-half tasklets with interrupts
335 @Param[in] h_Spinlock - A handle to a spinlock.
346 @Param[in] h_Spinlock - A handle to a spinlock.
357 @Param[in] h_Spinlock - A handle to a spinlock.
368 @Param[in] h_Spinlock - A handle to a spinlock.
381 @Param[in] h_Spinlock - A handle to a spinlock.
382 @Param[in] intrFlags - A value that represents the interrupts state to
418 @Param[in] h_Timer - A handle to a timer.
430 one-shot timer. The user should provide a callback routine that
433 @Param[in] h_Timer - A handle to a timer.
434 @Param[in] msecs - Timer expiration period (in milliseconds).
435 @Param[in] periodic - TRUE for a periodic timer;
436 FALSE for a one-shot timer..
437 @Param[in] f_TimerExpired - A callback routine to be called when the
439 @Param[in] h_Arg - The argument to pass in the timer-expired
455 @Param[in] h_Timer - A handle to a timer.
469 @Param[in] h_Timer - A handle to a timer.
470 @Param[in] msecs - The new interval until timer expiration
480 @Description Non-busy wait until the desired time (in milliseconds) has passed.
482 @Param[in] msecs - The requested sleep time (in milliseconds).
494 @Description Busy-wait until the desired time (in microseconds) has passed.
496 @Param[in] usecs - The requested delay time (in microseconds).
517 @Param[in] addr - The physical address to translate.
528 @Param[in] addr - The virtual address to translate.
536 @Group xx_ipc XX Inter-Partition-Communication API
545 The IPC service can use this constant to limit
546 the storage space for IPC endpoint names. */
552 @Description Callback function used upon IPC non-blocking transaction completion
556 IPC message to indicate a non-blocking send (see also XX_IpcSendMessage() routine).
557 … Upon completion of an IPC transaction (consisting of a message and an optional reply),
558 … the IPC service invokes this callback routine to return the message buffer to the sender
563 …@Param[in] h_Module - Abstract handle to the sending module - the same handle as was p…
566 @Param[in] p_Msg - Pointer to original (sent) message buffer;
569 @Param[in] p_Reply - Pointer to (received) reply buffer;
572 @Param[in] replyLength - Length (in bytes) of actual data in the reply buffer.
573 …@Param[in] status - Completion status - E_OK or failure indication, e.g. IPC transact…
587 @Description Callback function used as IPC message handler.
589 The IPC service invokes message handlers for each IPC message received.
595 …@Param[in] h_Module - Abstract handle to the message handling module - the same handle…
599 @Param[in] p_Msg - Pointer to message buffer with data received from peer.
600 @Param[in] msgLength - Length (in bytes) of message data.
601 …@Param[in] p_Reply - Pointer to reply buffer, to be filled by the message handler and …
602 by the IPC service;
603 … The reply buffer is allocated by the IPC service with size equals to the
607 … the IPC service may set this pointer to NULL and assume that a reply is not needed;
608 … The IPC service is also responsible for freeing the reply buffer after the
610 @Param[in,out] p_ReplyLength - Pointer to reply length, which has a dual role in this function:
614 … this value is set to zero, the IPC service must assume that a reply should
629 @Description IPC mailbox registration.
631 This function is used for registering an IPC message handler in the IPC service.
633 … to handle incoming messages. The IPC service invokes the message handler upon receiving
636 …@Param[in] addr - The address name string associated with the destination endpo…
637 … This address must be unique across the IPC service domain to ensure
639 …@Param[in] f_MsgHandler - Pointer to the message handler callback for processing incomi…
640 message; invoked by the IPC service upon receiving a message
643 …@Param[in] h_Module - Abstract handle to the message handling module, passed unchan…
645 …@Param[in] replyLength - The maximal data length (in bytes) of any reply that the spec…
646 … may generate; the IPC service provides the message handler with buffer
661 @Description Release IPC mailbox routine.
663 … This function is used for unregistering an IPC message handler from the IPC service.
667 @Param[in] addr - The address name string associated with the destination endpoint;
678 @Description This function is used for creating an IPC session between the source endpoint
681 … The actual implementation and representation of a session is left for the IPC service.
684 … The IPC service assumes that before this function is called, no messages are sent from
687 … The IPC service may use a connection-oriented approach or a connectionless approach (or both)
690 @par Connection-Oriented Approach
692 …The IPC service may implement a session in a connection-oriented approach - when this function is…
693 …the IPC service should take the necessary steps to bring up a source-to-destination channel for me…
694 … and a destination-to-source channel for replies. The returned handle should represent the internal
699 …The IPC service may implement a session in a connectionless approach - when this function is call…
700 …IPC service should not perform any particular steps, but it must store the pair of source and dest…
702 …called, the IPC service may use this handle to provide the necessary identifiers for routing the m…
705 @Param[in] destAddr - The address name string associated with the destination endpoint.
706 @Param[in] srcAddr - The address name string associated with the source endpoint.
716 …@Description This function is used for terminating an existing IPC session between a source endp…
719 … The IPC service assumes that after this function is called, no messages shall be sent from
722 …@Param[in] h_Session - Abstract handle to the IPC session - the same handle as was origi…
732 @Description IPC message send routine.
734 … This function may be used by a source endpoint to send an IPC message to a destination
740 … transaction is not considered complete by the IPC service until the reply has been received.
745 @par Non-blocking mode
747 … The source endpoint may request a non-blocking send by providing a non-NULL pointer to a message
748 …completion callback function (f_Completion). Upon completion of the IPC transaction (consisting of…
749 …message and an optional reply), the IPC service invokes this callback routine to return the message
755 …expected to block until the IPC transaction is complete - either the reply has been received or (…
758 …@Param[in] h_Session - Abstract handle to the IPC session - the same handle as was orig…
760 @Param[in] p_Msg - Pointer to message buffer to send.
761 @Param[in] msgLength - Length (in bytes) of actual data in the message buffer.
762 …@Param[in] p_Reply - Pointer to reply buffer - if this buffer is not NULL, the IPC se…
765 … In non-blocking mode, the reply data is valid when f_Completion is called;
767 @Param[in,out] p_ReplyLength - Pointer to reply length, which has a dual role in this function:
770 … [Out] in non-blocking mode this value is updated by the IPC service to the
772 …@Param[in] f_Completion - Pointer to a completion callback to be used in non-blocking send …
773 The completion callback is invoked by the IPC service upon
774 … completion of the IPC transaction (consisting of a message and an optional
776 … If this pointer is NULL, the function is expected to block until the IPC
778 …@Param[in] h_Arg - Abstract handle to the sending module; passed unchanged to the f_…