!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.15.0-153/include/linux/   drwxr-xr-x
Free 28.53 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     vsc.h (1.87 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _LINUX_VSC_H_
#define _LINUX_VSC_H_

#include <linux/types.h>

/**
 * @brief VSC camera ownership definition
 */
enum vsc_camera_owner {
    VSC_CAMERA_NONE = 0,
    VSC_CAMERA_CVF,
    VSC_CAMERA_IPU,
};

/**
 * @brief VSC privacy status definition
 */
enum vsc_privacy_status {
    VSC_PRIVACY_ON = 0,
    VSC_PRIVACY_OFF,
};

/**
 * @brief VSC MIPI configuration definition
 */
struct vsc_mipi_config {
    uint32_t freq;
    uint32_t lane_num;
};

/**
 * @brief VSC camera status definition
 */
struct vsc_camera_status {
    enum vsc_camera_owner owner;
    enum vsc_privacy_status status;
    uint32_t exposure_level;
};

/**
 * @brief VSC privacy callback type definition
 *
 * @param context Privacy callback handle
 * @param status Current privacy status
 */
typedef void (*vsc_privacy_callback_t)(void *handle,
                       enum vsc_privacy_status status);

/**
 * @brief Acquire camera sensor ownership to IPU
 *
 * @param config[IN] The pointer of MIPI configuration going to set
 * @param callback[IN] The pointer of privacy callback function
 * @param handle[IN] Privacy callback function runtime handle from IPU driver
 * @param status[OUT] The pointer of camera status after the acquire
 *
 * @retval 0 If success
 * @retval -EIO IO error
 * @retval -EINVAL Invalid argument
 * @retval -EAGAIN VSC device not ready
 * @retval negative values for other errors
 */
int vsc_acquire_camera_sensor(struct vsc_mipi_config *config,
                  vsc_privacy_callback_t callback,
                  void *handle,
                  struct vsc_camera_status *status);

/**
 * @brief Release camera sensor ownership
 *
 * @param status[OUT] Camera status after the release
 *
 * @retval 0 If success
 * @retval -EIO IO error
 * @retval -EINVAL Invalid argument
 * @retval -EAGAIN VSC device not ready
 * @retval negative values for other errors
 */
int vsc_release_camera_sensor(struct vsc_camera_status *status);

#endif

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0038 ]--