Searched refs:smsm (Results 1 – 2 of 2) sorted by relevance
114 struct qcom_smsm *smsm; member149 struct qcom_smsm *smsm = data; in smsm_update_bits() local157 spin_lock_irqsave(&smsm->lock, flags); in smsm_update_bits()160 val = orig = readl(smsm->local_state); in smsm_update_bits()167 spin_unlock_irqrestore(&smsm->lock, flags); in smsm_update_bits()172 writel(val, smsm->local_state); in smsm_update_bits()173 spin_unlock_irqrestore(&smsm->lock, flags); in smsm_update_bits()179 for (host = 0; host < smsm->num_hosts; host++) { in smsm_update_bits()180 hostp = &smsm->hosts[host]; in smsm_update_bits()182 val = readl(smsm->subscription + host); in smsm_update_bits()[all …]
10 obj-$(CONFIG_QCOM_SMSM) += smsm.o