drivers/net/wireless/purelifi/plfxlc/chip.h
Source file repositories/reference/linux-study-clean/drivers/net/wireless/purelifi/plfxlc/chip.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/purelifi/plfxlc/chip.h- Extension
.h- Size
- 1425 bytes
- Lines
- 71
- Domain
- Driver Families
- Bucket
- drivers/net
- 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
net/mac80211.husb.h
Detected Declarations
struct plfxlc_chipstruct plfxlc_mc_hashenum unit_typefunction plfxlc_mc_add_all
Annotated Snippet
struct plfxlc_chip {
struct plfxlc_usb usb;
struct mutex mutex; /* lock to protect chip data */
enum unit_type unit_type;
u16 link_led;
u8 beacon_set;
u16 beacon_interval;
};
struct plfxlc_mc_hash {
u32 low;
u32 high;
};
#define plfxlc_chip_dev(chip) (&(chip)->usb.intf->dev)
void plfxlc_chip_init(struct plfxlc_chip *chip,
struct ieee80211_hw *hw,
struct usb_interface *intf);
void plfxlc_chip_release(struct plfxlc_chip *chip);
void plfxlc_chip_disable_rxtx(struct plfxlc_chip *chip);
int plfxlc_chip_init_hw(struct plfxlc_chip *chip);
int plfxlc_chip_enable_rxtx(struct plfxlc_chip *chip);
int plfxlc_chip_set_rate(struct plfxlc_chip *chip, u8 rate);
int plfxlc_set_beacon_interval(struct plfxlc_chip *chip, u16 interval,
u8 dtim_period, int type);
int plfxlc_chip_switch_radio(struct plfxlc_chip *chip, u16 value);
static inline struct plfxlc_chip *plfxlc_usb_to_chip(struct plfxlc_usb
*usb)
{
return container_of(usb, struct plfxlc_chip, usb);
}
static inline void plfxlc_mc_add_all(struct plfxlc_mc_hash *hash)
{
hash->low = 0xffffffff;
hash->high = 0xffffffff;
}
#endif /* PLFXLC_CHIP_H */
Annotation
- Immediate include surface: `net/mac80211.h`, `usb.h`.
- Detected declarations: `struct plfxlc_chip`, `struct plfxlc_mc_hash`, `enum unit_type`, `function plfxlc_mc_add_all`.
- Atlas domain: Driver Families / drivers/net.
- 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.