403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.155
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/modules/6.8.0-45-generic/build/include/linux/firmware/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/modules/6.8.0-45-generic/build/include/linux/firmware/xlnx-event-manager.h
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _FIRMWARE_XLNX_EVENT_MANAGER_H_
#define _FIRMWARE_XLNX_EVENT_MANAGER_H_

#include <linux/firmware/xlnx-zynqmp.h>

#define CB_MAX_PAYLOAD_SIZE	(4U) /*In payload maximum 32bytes */

/************************** Exported Function *****************************/

typedef void (*event_cb_func_t)(const u32 *payload, void *data);

#if IS_REACHABLE(CONFIG_XLNX_EVENT_MANAGER)
int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id,
			const u32 event, const bool wake,
			event_cb_func_t cb_fun, void *data);

int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id,
			  const u32 event, event_cb_func_t cb_fun, void *data);
#else
static inline int xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id,
				      const u32 event, const bool wake,
				      event_cb_func_t cb_fun, void *data)
{
	return -ENODEV;
}

static inline int xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id,
					const u32 event, event_cb_func_t cb_fun, void *data)
{
	return -ENODEV;
}
#endif

#endif /* _FIRMWARE_XLNX_EVENT_MANAGER_H_ */

Youez - 2016 - github.com/yon3zu
LinuXploit