Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

static void shw_user_callback ( fsl_shw_uco_t user_ctx  )  [static]

FSL SHW User callback function.

This function is set in the kernel version of the user context as the callback function when the user mode user wants a callback. Its job is to inform the user process that results (may) be available. It does this by sending a SIGUSR2 signal which is then caught by the user-mode FSL SHW library.

user_ctx Kernel version of uco associated with the request.

Definition at line 798 of file shw_driver.c.

References os_send_signal.

Referenced by init_uco().

#ifdef SHW_DEBUG
      LOG_KDIAG_ARGS("SHW: Signalling callback user process for context %p\n",
      os_send_signal(user_ctx->process, SIGUSR2);

Generated by  Doxygen 1.6.0   Back to index