!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-oracle-headers-5.15.0-1040/include/linux/extcon/   drwxr-xr-x
Free 83.24 GB of 96.73 GB (86.06%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     extcon-adc-jack.h (2.19 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * include/linux/extcon/extcon-adc-jack.h
 *
 * Analog Jack extcon driver with ADC-based detection capability.
 *
 * Copyright (C) 2012 Samsung Electronics
 * MyungJoo Ham <[email protected]>
 */

#ifndef _EXTCON_ADC_JACK_H_
#define _EXTCON_ADC_JACK_H_ __FILE__

#include <linux/module.h>
#include <linux/extcon.h>

/**
 * struct adc_jack_cond - condition to use an extcon state
 *            denotes the last adc_jack_cond element among the array)
 * @id:            the unique id of each external connector
 * @min_adc:        min adc value for this condition
 * @max_adc:        max adc value for this condition
 *
 * For example, if { .state = 0x3, .min_adc = 100, .max_adc = 200}, it means
 * that if ADC value is between (inclusive) 100 and 200, than the cable 0 and
 * 1 are attached (1<<0 | 1<<1 == 0x3)
 *
 * Note that you don't need to describe condition for "no cable attached"
 * because when no adc_jack_cond is met, state = 0 is automatically chosen.
 */
struct adc_jack_cond {
    unsigned int id;
    u32 min_adc;
    u32 max_adc;
};

/**
 * struct adc_jack_pdata - platform data for adc jack device.
 * @name:        name of the extcon device. If null, "adc-jack" is used.
 * @consumer_channel:    Unique name to identify the channel on the consumer
 *            side. This typically describes the channels used within
 *            the consumer. E.g. 'battery_voltage'
 * @cable_names:    array of extcon id for supported cables.
 * @adc_contitions:    array of struct adc_jack_cond conditions ending
 *            with .state = 0 entry. This describes how to decode
 *            adc values into extcon state.
 * @irq_flags:        irq flags used for the @irq
 * @handling_delay_ms:    in some devices, we need to read ADC value some
 *            milli-seconds after the interrupt occurs. You may
 *            describe such delays with @handling_delay_ms, which
 *            is rounded-off by jiffies.
 * @wakeup_source:    flag to wake up the system for extcon events.
 */
struct adc_jack_pdata {
    const char *name;
    const char *consumer_channel;

    const unsigned int *cable_names;

    /* The last entry's state should be 0 */
    struct adc_jack_cond *adc_conditions;

    unsigned long irq_flags;
    unsigned long handling_delay_ms; /* in ms */
    bool wakeup_source;
};

#endif /* _EXTCON_ADC_JACK_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0087 ]--