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

Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 

uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 

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

Safe-mode: OFF (not secure)

/usr/src/linux-headers-3.13.0-61/include/linux/mfd/   drwxr-xr-x
Free 9.68 GB of 29.4 GB (32.93%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     stw481x.h (1.56 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * Copyright (C) 2011 ST-Ericsson SA
 * Written on behalf of Linaro for ST-Ericsson
 *
 * Author: Linus Walleij <linus.walleij@linaro.org>
 *
 * License terms: GNU General Public License (GPL) version 2
 */
#ifndef MFD_STW481X_H
#define MFD_STW481X_H

#include <linux/i2c.h>
#include <linux/regulator/machine.h>
#include <linux/regmap.h>
#include <linux/bitops.h>

/* These registers are accessed from more than one driver */
#define STW_CONF1            0x11U
#define STW_CONF1_PDN_VMMC        0x01U
#define STW_CONF1_VMMC_MASK        0x0eU
#define STW_CONF1_VMMC_1_8V        0x02U
#define STW_CONF1_VMMC_2_85V        0x04U
#define STW_CONF1_VMMC_3V        0x06U
#define STW_CONF1_VMMC_1_85V        0x08U
#define STW_CONF1_VMMC_2_6V        0x0aU
#define STW_CONF1_VMMC_2_7V        0x0cU
#define STW_CONF1_VMMC_3_3V        0x0eU
#define STW_CONF1_MMC_LS_STATUS        0x10U
#define STW_PCTL_REG_LO            0x1eU
#define STW_PCTL_REG_HI            0x1fU
#define STW_CONF1_V_MONITORING        0x20U
#define STW_CONF1_IT_WARN        0x40U
#define STW_CONF1_PDN_VAUX        0x80U
#define STW_CONF2            0x20U
#define STW_CONF2_MASK_TWARN        0x01U
#define STW_CONF2_VMMC_EXT        0x02U
#define STW_CONF2_MASK_IT_WAKE_UP    0x04U
#define STW_CONF2_GPO1            0x08U
#define STW_CONF2_GPO2            0x10U
#define STW_VCORE_SLEEP            0x21U

/**
 * struct stw481x - state holder for the Stw481x drivers
 * @mutex: mutex to serialize I2C accesses
 * @i2c_client: corresponding I2C client
 * @regulator: regulator device for regulator children
 * @map: regmap handle to access device registers
 */
struct stw481x {
    struct mutex        lock;
    struct i2c_client    *client;
    struct regulator_dev    *vmmc_regulator;
    struct regmap        *map;
};

#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.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0052 ]--