drivers/platform/x86/intel/speed_select_if/isst_if_common.h

Source file repositories/reference/linux-study-clean/drivers/platform/x86/intel/speed_select_if/isst_if_common.h

File Facts

System
Linux kernel
Corpus path
drivers/platform/x86/intel/speed_select_if/isst_if_common.h
Extension
.h
Size
3071 bytes
Lines
83
Domain
Driver Families
Bucket
drivers/platform
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 isst_if_cmd_cb {
	int registered;
	int cmd_size;
	int offset;
	int api_version;
	struct module *owner;
	long (*cmd_callback)(u8 *ptr, int *write_only, int resume);
	long (*def_ioctl)(struct file *file, unsigned int cmd, unsigned long arg);
};

/* Internal interface functions */
int isst_if_cdev_register(int type, struct isst_if_cmd_cb *cb);
void isst_if_cdev_unregister(int type);
struct pci_dev *isst_if_get_pci_dev(int cpu, int bus, int dev, int fn);
bool isst_if_mbox_cmd_set_req(struct isst_if_mbox_cmd *mbox_cmd);
bool isst_if_mbox_cmd_invalid(struct isst_if_mbox_cmd *cmd);
int isst_store_cmd(int cmd, int sub_command, u32 cpu, int mbox_cmd,
		   u32 param, u64 data);
void isst_resume_common(void);
#endif

Annotation

Implementation Notes