include/linux/mux/consumer.h
Source file repositories/reference/linux-study-clean/include/linux/mux/consumer.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/mux/consumer.h- Extension
.h- Size
- 4796 bytes
- Lines
- 171
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/compiler.h
Detected Declarations
struct devicestruct mux_controlstruct mux_statefunction mux_control_selectfunction mux_state_selectfunction mux_control_try_selectfunction mux_state_try_selectfunction mux_control_statesfunction mux_control_select_delayfunction mux_state_select_delayfunction mux_control_try_select_delayfunction mux_state_try_select_delayfunction mux_control_selectfunction mux_state_selectfunction mux_control_try_selectfunction mux_state_try_selectfunction mux_control_deselectfunction mux_state_deselectfunction mux_control_put
Annotated Snippet
static inline void mux_control_put(struct mux_control *mux) {}
static inline struct mux_control *devm_mux_control_get(struct device *dev, const char *mux_name)
{
return ERR_PTR(-EOPNOTSUPP);
}
static inline struct mux_state *devm_mux_state_get(struct device *dev, const char *mux_name)
{
return ERR_PTR(-EOPNOTSUPP);
}
static inline struct mux_state *devm_mux_state_get_optional(struct device *dev,
const char *mux_name)
{
return NULL;
}
static inline struct mux_state *devm_mux_state_get_selected(struct device *dev,
const char *mux_name)
{
return ERR_PTR(-EOPNOTSUPP);
}
static inline struct mux_state *devm_mux_state_get_optional_selected(struct device *dev,
const char *mux_name)
{
return NULL;
}
#endif /* CONFIG_MULTIPLEXER */
#define devm_mux_state_get(dev, mux_name) \
devm_mux_state_get_from_np(dev, mux_name, NULL)
#endif /* _LINUX_MUX_CONSUMER_H */
Annotation
- Immediate include surface: `linux/compiler.h`.
- Detected declarations: `struct device`, `struct mux_control`, `struct mux_state`, `function mux_control_select`, `function mux_state_select`, `function mux_control_try_select`, `function mux_state_try_select`, `function mux_control_states`, `function mux_control_select_delay`, `function mux_state_select_delay`.
- Atlas domain: Core OS / Core Kernel Interface.
- 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.