drivers/pinctrl/qcom/pinctrl-lpass-lpi.h
Source file repositories/reference/linux-study-clean/drivers/pinctrl/qcom/pinctrl-lpass-lpi.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/qcom/pinctrl-lpass-lpi.h- Extension
.h- Size
- 3167 bytes
- Lines
- 132
- Domain
- Driver Families
- Bucket
- drivers/pinctrl
- 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.
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/array_size.hlinux/bits.h../core.h
Detected Declarations
struct platform_devicestruct pinctrl_pin_descstruct lpi_pingroupstruct lpi_functionstruct lpi_pinctrl_variant_data
Annotated Snippet
struct lpi_pingroup {
unsigned int pin;
/* Bit offset in slew register for SoundWire pins only */
int slew_offset;
unsigned int *funcs;
unsigned int nfuncs;
unsigned int pin_offset;
bool slew_base_spare_1;
};
struct lpi_function {
const char *name;
const char * const *groups;
unsigned int ngroups;
};
struct lpi_pinctrl_variant_data {
const struct pinctrl_pin_desc *pins;
int npins;
const struct lpi_pingroup *groups;
int ngroups;
const struct lpi_function *functions;
int nfunctions;
unsigned int flags;
};
int lpi_pinctrl_probe(struct platform_device *pdev);
void lpi_pinctrl_remove(struct platform_device *pdev);
#endif /*__PINCTRL_LPASS_LPI_H__*/
Annotation
- Immediate include surface: `linux/array_size.h`, `linux/bits.h`, `../core.h`.
- Detected declarations: `struct platform_device`, `struct pinctrl_pin_desc`, `struct lpi_pingroup`, `struct lpi_function`, `struct lpi_pinctrl_variant_data`.
- Atlas domain: Driver Families / drivers/pinctrl.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.