drivers/tty/serial/sc16is7xx.h

Source file repositories/reference/linux-study-clean/drivers/tty/serial/sc16is7xx.h

File Facts

System
Linux kernel
Corpus path
drivers/tty/serial/sc16is7xx.h
Extension
.h
Size
1080 bytes
Lines
41
Domain
Driver Families
Bucket
drivers/tty
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

struct sc16is7xx_devtype {
	char	name[10];
	int	nr_gpio;
	int	nr_uart;
};

extern const struct regmap_config sc16is7xx_regcfg;

extern const struct of_device_id sc16is7xx_dt_ids[];

extern const struct sc16is7xx_devtype sc16is74x_devtype;
extern const struct sc16is7xx_devtype sc16is750_devtype;
extern const struct sc16is7xx_devtype sc16is752_devtype;
extern const struct sc16is7xx_devtype sc16is760_devtype;
extern const struct sc16is7xx_devtype sc16is762_devtype;

const char *sc16is7xx_regmap_name(u8 port_id);

unsigned int sc16is7xx_regmap_port_mask(unsigned int port_id);

int sc16is7xx_probe(struct device *dev, const struct sc16is7xx_devtype *devtype,
		    struct regmap *regmaps[], int irq);

void sc16is7xx_remove(struct device *dev);

#endif /* _SC16IS7XX_H_ */

Annotation

Implementation Notes