Home
last modified time | relevance | path

Searched refs:smr (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/irqchip/
Dirq-atmel-aic.c91 unsigned int smr; in aic_set_type() local
94 smr = irq_reg_readl(gc, AT91_AIC_SMR(d->hwirq)); in aic_set_type()
95 ret = aic_common_set_type(d, type, &smr); in aic_set_type()
99 irq_reg_writel(gc, smr, AT91_AIC_SMR(d->hwirq)); in aic_set_type()
179 unsigned smr; in aic_irq_domain_xlate() local
198 smr = irq_reg_readl(gc, AT91_AIC_SMR(*out_hwirq)); in aic_irq_domain_xlate()
199 aic_common_set_priority(intspec[2], &smr); in aic_irq_domain_xlate()
200 irq_reg_writel(gc, smr, AT91_AIC_SMR(*out_hwirq)); in aic_irq_domain_xlate()
Dirq-atmel-aic5.c137 unsigned int smr; in aic5_set_type() local
142 smr = irq_reg_readl(bgc, AT91_AIC5_SMR); in aic5_set_type()
143 ret = aic_common_set_type(d, type, &smr); in aic5_set_type()
145 irq_reg_writel(bgc, smr, AT91_AIC5_SMR); in aic5_set_type()
281 unsigned smr; in aic5_irq_domain_xlate() local
294 smr = irq_reg_readl(bgc, AT91_AIC5_SMR); in aic5_irq_domain_xlate()
295 aic_common_set_priority(intspec[2], &smr); in aic5_irq_domain_xlate()
296 irq_reg_writel(bgc, smr, AT91_AIC5_SMR); in aic5_irq_domain_xlate()
/linux-6.12.1/drivers/i2c/busses/
Di2c-at91-slave.c79 dev->smr = AT91_TWI_SMR_SADR(slave->addr); in at91_reg_slave()
98 dev->smr = 0; in at91_unreg_slave()
138 if (dev->slave_detected && dev->smr) { in at91_init_twi_bus_slave()
139 at91_twi_write(dev, AT91_TWI_SMR, dev->smr); in at91_init_twi_bus_slave()
Di2c-at91.h159 unsigned smr; member
/linux-6.12.1/drivers/md/persistent-data/
Ddm-space-map-common.c1061 struct disk_sm_root smr; in sm_ll_open_metadata() local
1072 memcpy(&smr, root_le, sizeof(smr)); in sm_ll_open_metadata()
1085 ll->nr_blocks = le64_to_cpu(smr.nr_blocks); in sm_ll_open_metadata()
1086 ll->nr_allocated = le64_to_cpu(smr.nr_allocated); in sm_ll_open_metadata()
1087 ll->bitmap_root = le64_to_cpu(smr.bitmap_root); in sm_ll_open_metadata()
1088 ll->ref_count_root = le64_to_cpu(smr.ref_count_root); in sm_ll_open_metadata()
1239 struct disk_sm_root *smr = root_le; in sm_ll_open_disk() local
1257 ll->nr_blocks = le64_to_cpu(smr->nr_blocks); in sm_ll_open_disk()
1258 ll->nr_allocated = le64_to_cpu(smr->nr_allocated); in sm_ll_open_disk()
1259 ll->bitmap_root = le64_to_cpu(smr->bitmap_root); in sm_ll_open_disk()
[all …]
/linux-6.12.1/drivers/iommu/arm/arm-smmu/
Darm-smmu-qcom.c282 u32 smr; in qcom_smmu_cfg_probe() local
337 smr = arm_smmu_gr0_read(smmu, ARM_SMMU_GR0_SMR(i)); in qcom_smmu_cfg_probe()
339 if (FIELD_GET(ARM_SMMU_SMR_VALID, smr)) { in qcom_smmu_cfg_probe()
341 smr &= ~ARM_SMMU_SMR_VALID; in qcom_smmu_cfg_probe()
342 smmu->smrs[i].id = FIELD_GET(ARM_SMMU_SMR_ID, smr); in qcom_smmu_cfg_probe()
343 smmu->smrs[i].mask = FIELD_GET(ARM_SMMU_SMR_MASK, smr); in qcom_smmu_cfg_probe()
Darm-smmu.c942 struct arm_smmu_smr *smr = smmu->smrs + idx; in arm_smmu_write_smr() local
943 u32 reg = FIELD_PREP(ARM_SMMU_SMR_ID, smr->id) | in arm_smmu_write_smr()
944 FIELD_PREP(ARM_SMMU_SMR_MASK, smr->mask); in arm_smmu_write_smr()
946 if (!(smmu->features & ARM_SMMU_FEAT_EXIDS) && smr->valid) in arm_smmu_write_smr()
984 u32 smr; in arm_smmu_test_smr_masks() local
1007 smr = FIELD_PREP(ARM_SMMU_SMR_ID, smmu->streamid_mask); in arm_smmu_test_smr_masks()
1008 arm_smmu_gr0_write(smmu, ARM_SMMU_GR0_SMR(i), smr); in arm_smmu_test_smr_masks()
1009 smr = arm_smmu_gr0_read(smmu, ARM_SMMU_GR0_SMR(i)); in arm_smmu_test_smr_masks()
1010 smmu->streamid_mask = FIELD_GET(ARM_SMMU_SMR_ID, smr); in arm_smmu_test_smr_masks()
1012 smr = FIELD_PREP(ARM_SMMU_SMR_MASK, smmu->streamid_mask); in arm_smmu_test_smr_masks()
[all …]
/linux-6.12.1/drivers/tty/serial/
Dmilbeaut_usio.c303 unsigned int escr, smr = MLB_USIO_SMR_SOE; in mlb_usio_set_termios() local
323 smr |= MLB_USIO_SMR_SBL; in mlb_usio_set_termios()
360 writeb(smr, port->membase + MLB_USIO_REG_SMR); in mlb_usio_set_termios()
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h886 u8 smr; member