drivers/net/wireless/silabs/wfx/main.h

Source file repositories/reference/linux-study-clean/drivers/net/wireless/silabs/wfx/main.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/silabs/wfx/main.h
Extension
.h
Size
1148 bytes
Lines
42
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct wfx_platform_data {
	/* Keyset and ".sec" extension will be appended to this string */
	const char *file_fw;
	const char *file_pds;
	struct gpio_desc *gpio_wakeup;
	/* if true HIF D_out is sampled on the rising edge of the clock (intended to be used in
	 * 50Mhz SDIO)
	 */
	bool use_rising_clk;
};

struct wfx_dev *wfx_init_common(struct device *dev, const struct wfx_platform_data *pdata,
				const struct wfx_hwbus_ops *hwbus_ops, void *hwbus_priv);

int wfx_probe(struct wfx_dev *wdev);
void wfx_release(struct wfx_dev *wdev);

bool wfx_api_older_than(struct wfx_dev *wdev, int major, int minor);
int wfx_send_pds(struct wfx_dev *wdev, u8 *buf, size_t len);

#endif

Annotation

Implementation Notes