__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef LINUX_SPI_MAX7301_H
#define LINUX_SPI_MAX7301_H
#include <linux/gpio/driver.h>
/*
* Some registers must be read back to modify.
* To save time we cache them here in memory
*/
struct max7301 {
struct mutex lock;
u8 port_config[8]; /* field 0 is unused */
u32 out_level; /* cached output levels */
u32 input_pullup_active;
struct gpio_chip chip;
struct device *dev;
int (*write)(struct device *dev, unsigned int reg, unsigned int val);
int (*read)(struct device *dev, unsigned int reg);
};
struct max7301_platform_data {
/* number assigned to the first GPIO */
unsigned base;
/*
* bitmask controlling the pullup configuration,
*
* _note_ the 4 lowest bits are unused, because the first 4
* ports of the controller are not used, too.
*/
u32 input_pullup_active;
};
extern void __max730x_remove(struct device *dev);
extern int __max730x_probe(struct max7301 *ts);
#endif
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ad7877.h | File | 835 B | 0644 |
|
| ads7846.h | File | 1.45 KB | 0644 |
|
| altera.h | File | 1.14 KB | 0644 |
|
| at73c213.h | File | 828 B | 0644 |
|
| corgi_lcd.h | File | 421 B | 0644 |
|
| ds1305.h | File | 1.08 KB | 0644 |
|
| eeprom.h | File | 1.19 KB | 0644 |
|
| flash.h | File | 1023 B | 0644 |
|
| libertas_spi.h | File | 700 B | 0644 |
|
| max7301.h | File | 947 B | 0644 |
|
| mc33880.h | File | 196 B | 0644 |
|
| mmc_spi.h | File | 1.27 KB | 0644 |
|
| mxs-spi.h | File | 4.8 KB | 0644 |
|
| sh_hspi.h | File | 161 B | 0644 |
|
| sh_msiof.h | File | 356 B | 0644 |
|
| spi-fsl-dspi.h | File | 560 B | 0644 |
|
| spi-mem.h | File | 15.04 KB | 0644 |
|
| spi.h | File | 60.47 KB | 0644 |
|
| spi_bitbang.h | File | 1.66 KB | 0644 |
|
| spi_gpio.h | File | 741 B | 0644 |
|
| spi_oc_tiny.h | File | 471 B | 0644 |
|
| tdo24m.h | File | 210 B | 0644 |
|
| tle62x0.h | File | 265 B | 0644 |
|
| xilinx_spi.h | File | 682 B | 0644 |
|