HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //usr/src/linux-headers-6.8.0-31/include/linux/fsi-occ.h
// SPDX-License-Identifier: GPL-2.0

#ifndef LINUX_FSI_OCC_H
#define LINUX_FSI_OCC_H

struct device;

#define OCC_RESP_CMD_IN_PRG		0xFF
#define OCC_RESP_SUCCESS		0
#define OCC_RESP_CMD_INVAL		0x11
#define OCC_RESP_CMD_LEN_INVAL		0x12
#define OCC_RESP_DATA_INVAL		0x13
#define OCC_RESP_CHKSUM_ERR		0x14
#define OCC_RESP_INT_ERR		0x15
#define OCC_RESP_BAD_STATE		0x16
#define OCC_RESP_CRIT_EXCEPT		0xE0
#define OCC_RESP_CRIT_INIT		0xE1
#define OCC_RESP_CRIT_WATCHDOG		0xE2
#define OCC_RESP_CRIT_OCB		0xE3
#define OCC_RESP_CRIT_HW		0xE4

#define OCC_MAX_RESP_WORDS		2048

int fsi_occ_submit(struct device *dev, const void *request, size_t req_len,
		   void *response, size_t *resp_len);

#endif /* LINUX_FSI_OCC_H */