include/sound/sdca_regmap.h

Source file repositories/reference/linux-study-clean/include/sound/sdca_regmap.h

File Facts

System
Linux kernel
Corpus path
include/sound/sdca_regmap.h
Extension
.h
Size
1307 bytes
Lines
34
Domain
Driver Families
Bucket
include/sound
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

#ifndef __SDCA_REGMAP_H__
#define __SDCA_REGMAP_H__

struct device;
struct sdca_function_data;
struct regmap;
struct reg_default;

bool sdca_regmap_readable(struct sdca_function_data *function, unsigned int reg);
bool sdca_regmap_writeable(struct sdca_function_data *function, unsigned int reg);
bool sdca_regmap_volatile(struct sdca_function_data *function, unsigned int reg);
bool sdca_regmap_deferrable(struct sdca_function_data *function, unsigned int reg);
int sdca_regmap_mbq_size(struct sdca_function_data *function, unsigned int reg);

int sdca_regmap_count_constants(struct device *dev, struct sdca_function_data *function);
int sdca_regmap_populate_constants(struct device *dev, struct sdca_function_data *function,
				   struct reg_default *consts);

int sdca_regmap_write_defaults(struct device *dev, struct regmap *regmap,
			       struct sdca_function_data *function);
int sdca_regmap_write_init(struct device *dev, struct regmap *regmap,
			   struct sdca_function_data *function);

#endif // __SDCA_REGMAP_H__

Annotation

Implementation Notes