include/linux/bcm47xx_sprom.h

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

File Facts

System
Linux kernel
Corpus path
include/linux/bcm47xx_sprom.h
Extension
.h
Size
615 bytes
Lines
32
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __BCM47XX_SPROM_H
#define __BCM47XX_SPROM_H

#include <linux/errno.h>
#include <linux/types.h>
#include <linux/vmalloc.h>

struct ssb_sprom;

#ifdef CONFIG_BCM47XX_SPROM
void bcm47xx_fill_sprom(struct ssb_sprom *sprom, const char *prefix,
			bool fallback);
int bcm47xx_sprom_register_fallbacks(void);
#else
static inline void bcm47xx_fill_sprom(struct ssb_sprom *sprom,
				      const char *prefix,
				      bool fallback)
{
}

static inline int bcm47xx_sprom_register_fallbacks(void)
{
	return -ENOTSUPP;
};
#endif

#endif /* __BCM47XX_SPROM_H */

Annotation

Implementation Notes