STRUCT ISSEI_DEVICE(9)
π struct issei_device(9) π
okay bestie, welcome to the Kernel API Manual β¨ this page is all about struct issei_device and it's genuinely a lot, so grab a snack π
π NAME π
struct issei_device β the issei device, like, the whole vibe of one π¦
β¨ SYNOPSIS β¨
struct issei_device {
struct device *parent;
struct device dev;
struct cdev *cdev;
u32 minor;
wait_queue_head_t wait_has_data;
bool has_data;
bool power_down;
wait_queue_head_t wait_rst_state;
enum issei_rst_state rst_state;
u16 fw_protocol_ver;
u16 fw_version[4];
struct task_struct *process_thread;
u8 reset_count;
u8 all_reset_count;
struct mutex client_lock;
struct list_head host_client_list;
u16 host_client_last_id;
u8 host_client_count;
struct kset *fw_clients;
struct list_head fw_client_list;
struct list_head write_queue;
ktime_t last_write_ts;
struct issei_dma dma;
const struct issei_hw_ops *ops;
char hw[];
};
no cap, that's the entire struct, copied character for character π
πΈ Members πΈ
okay so now we go member by member, main-character style π
parentβ the parent device object, aka who brought you into this world π«Άdevβ the associated device object that goes with itcdevβ the character device, the classic/devsituationminorβ the allocated minor number, the numbers are real π’wait_has_dataβ a wait queue for data, so people can chill until there's something to dohas_dataβ literally just "there are data to process" β iconic, no notespower_downβ the device is powering down, wrap it up πwait_rst_stateβ the waitqueue for reset state processing, so you wait pretty for the resetrst_stateβ the reset state itselffw_protocol_verβ the protocol version, iykykfw_versionβ the firmware versionprocess_threadβ the worker thread doing the actual labor πreset_countβ number of consecutive link reset attempts (consecutive!! important!!)all_reset_countβ the cumulative number of link reset attempts, the big-picture totalclient_lockβ a mutex to protect the client lists and the write queue π do not skip this one bestiehost_client_listβ the host clients listhost_client_last_idβ the last allocated host client idhost_client_countβ number of active host clientsfw_client_listβ the firmware clients listwrite_queueβ the write queue, exactly what it says πlast_write_tsβ the last write timestamp, so you always know when the last write happened β°dmaβ the DMA memory configurationopsβ the hardware operationshwβ hw-specific data, the flexible little tail of the struct π§
π¦ SEE ALSO π¦
- Kernel file
./drivers/misc/issei/issei_dev.hβ start there, fr fr struct issei_write_buf(9)struct issei_hw_ops(9)enum issei_rst_state(9)
and that's the whole page, periodt π this little beauty lives in ./drivers/misc/issei and the version is dated October 2026 β go off, issei device, we're obsessed πβ
struct issei_device(9) π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms