STRUCT QCOM_SMSM(9)
π struct qcom_smsm(9) π
okay bestie, welcome to the Kernel API Manual β this page is literally all about struct qcom_smsm, aka the smsm driver context. itβs the little bundle the smsm driver carries around, and weβre gonna go through every field like itβs a group-chat screenshot. no cap. π«Ά
β¨ NAME β¨
struct qcom_smsm β the smsm driver context. thatβs the whole vibe: this struct is the context for the smsm driver. π
π¦ SYNOPSIS π¦
hereβs the exact shape of it, bestie β fields, pointers, the whole fit:
struct qcom_smsm {
struct device *dev;
u32 local_host;
u32 num_hosts;
u32 num_entries;
u32 *local_state;
u32 *subscription;
struct qcom_smem_state *state;
spinlock_t lock;
struct smsm_entry *entries;
struct smsm_host *hosts;
struct mbox_client mbox_client;
};
π Members π
devβ astruct device *; the smsm device pointer. πlocal_hostβ au32; the column in the subscription matrix representing this system. the way itβs literally this systemβs column? iconic. β¨num_hostsβ au32; the number of columns in the subscription matrix. counting columns, slay. πnum_entriesβ au32; the number of entries in the state map and rows in the subscription matrix. yes, both. π¦local_stateβ au32 *; pointer to the local processorβs state bits. lowkey important. πsubscriptionβ au32 *; pointer to the local processorβs row in the subscription matrix. main character row energy. πstateβ astruct qcom_smem_state *; the smem state handle. handle it. π«Άlockβ aspinlock_t; spinlock for read-modify-write of the outgoing state. read, modify, write, repeat. π₯entriesβ astruct smsm_entry *; context for each of the entries. every entry gets its lil context. πhostsβ astruct smsm_host *; context for each of the hosts. same vibe, host edition. πΈmbox_clientβ astruct mbox_client; mailbox client handle. itβs giving mailbox client handle, fr fr. π
π SEE ALSO π
- Kernel file
./drivers/soc/qcom/smsm.c struct smsm_entry(9)struct smsm_host(9)smsm_update_bits(9)smsm_intr(9)smsm_mask_irq(9)smsm_unmask_irq(9)smsm_set_irq_type(9)smsm_irq_map(9)smsm_parse_mbox(9)smsm_parse_ipc(9)smsm_inbound_entry(9)smsm_get_size_info(9)
okay thatβs the whole page π«Ά β brought to you by ./drivers/soc/qcom, dated October 2026, and filed under struct qcom_smsm(9). byeee π
β¨
π¦ 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