Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at cc73fee0bae2d66594d1fa2df92bbd783aa98e04 26 lines 737 B view raw
1/* 2 * Module: eeprom_93xx46 3 * platform description for 93xx46 EEPROMs. 4 */ 5#include <linux/gpio/consumer.h> 6 7struct eeprom_93xx46_platform_data { 8 unsigned char flags; 9#define EE_ADDR8 0x01 /* 8 bit addr. cfg */ 10#define EE_ADDR16 0x02 /* 16 bit addr. cfg */ 11#define EE_READONLY 0x08 /* forbid writing */ 12 13 unsigned int quirks; 14/* Single word read transfers only; no sequential read. */ 15#define EEPROM_93XX46_QUIRK_SINGLE_WORD_READ (1 << 0) 16/* Instructions such as EWEN are (addrlen + 2) in length. */ 17#define EEPROM_93XX46_QUIRK_INSTRUCTION_LENGTH (1 << 1) 18 19 /* 20 * optional hooks to control additional logic 21 * before and after spi transfer. 22 */ 23 void (*prepare)(void *); 24 void (*finish)(void *); 25 struct gpio_desc *select; 26};