Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/irqchip/
A Dirq-atmel-aic.c92 unsigned int smr; in aic_set_type() local
95 smr = irq_reg_readl(gc, AT91_AIC_SMR(d->hwirq)); in aic_set_type()
96 ret = aic_common_set_type(d, type, &smr); in aic_set_type()
100 irq_reg_writel(gc, smr, AT91_AIC_SMR(d->hwirq)); in aic_set_type()
180 unsigned smr; in aic_irq_domain_xlate() local
199 smr = irq_reg_readl(gc, AT91_AIC_SMR(*out_hwirq)); in aic_irq_domain_xlate()
200 aic_common_set_priority(intspec[2], &smr); in aic_irq_domain_xlate()
201 irq_reg_writel(gc, smr, AT91_AIC_SMR(*out_hwirq)); in aic_irq_domain_xlate()
A Dirq-atmel-aic5.c138 unsigned int smr; in aic5_set_type() local
143 smr = irq_reg_readl(bgc, AT91_AIC5_SMR); in aic5_set_type()
144 ret = aic_common_set_type(d, type, &smr); in aic5_set_type()
146 irq_reg_writel(bgc, smr, AT91_AIC5_SMR); in aic5_set_type()
282 unsigned smr; in aic5_irq_domain_xlate() local
295 smr = irq_reg_readl(bgc, AT91_AIC5_SMR); in aic5_irq_domain_xlate()
296 aic_common_set_priority(intspec[2], &smr); in aic5_irq_domain_xlate()
297 irq_reg_writel(bgc, smr, AT91_AIC5_SMR); in aic5_irq_domain_xlate()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-at91-slave.c79 dev->smr = AT91_TWI_SMR_SADR(slave->addr); in at91_reg_slave()
98 dev->smr = 0; in at91_unreg_slave()
139 if (dev->slave_detected && dev->smr) { in at91_init_twi_bus_slave()
140 at91_twi_write(dev, AT91_TWI_SMR, dev->smr); in at91_init_twi_bus_slave()
A Di2c-at91.h159 unsigned smr; member
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu/
A Darm-smmu-qcom.c274 u32 smr; in qcom_smmu_cfg_probe() local
301 smr = arm_smmu_gr0_read(smmu, ARM_SMMU_GR0_SMR(i)); in qcom_smmu_cfg_probe()
303 if (FIELD_GET(ARM_SMMU_SMR_VALID, smr)) { in qcom_smmu_cfg_probe()
305 smr &= ~ARM_SMMU_SMR_VALID; in qcom_smmu_cfg_probe()
306 smmu->smrs[i].id = FIELD_GET(ARM_SMMU_SMR_ID, smr); in qcom_smmu_cfg_probe()
307 smmu->smrs[i].mask = FIELD_GET(ARM_SMMU_SMR_MASK, smr); in qcom_smmu_cfg_probe()
A Darm-smmu.c892 struct arm_smmu_smr *smr = smmu->smrs + idx; in arm_smmu_write_smr() local
893 u32 reg = FIELD_PREP(ARM_SMMU_SMR_ID, smr->id) | in arm_smmu_write_smr()
894 FIELD_PREP(ARM_SMMU_SMR_MASK, smr->mask); in arm_smmu_write_smr()
934 u32 smr; in arm_smmu_test_smr_masks() local
957 smr = FIELD_PREP(ARM_SMMU_SMR_ID, smmu->streamid_mask); in arm_smmu_test_smr_masks()
958 arm_smmu_gr0_write(smmu, ARM_SMMU_GR0_SMR(i), smr); in arm_smmu_test_smr_masks()
959 smr = arm_smmu_gr0_read(smmu, ARM_SMMU_GR0_SMR(i)); in arm_smmu_test_smr_masks()
960 smmu->streamid_mask = FIELD_GET(ARM_SMMU_SMR_ID, smr); in arm_smmu_test_smr_masks()
963 arm_smmu_gr0_write(smmu, ARM_SMMU_GR0_SMR(i), smr); in arm_smmu_test_smr_masks()
964 smr = arm_smmu_gr0_read(smmu, ARM_SMMU_GR0_SMR(i)); in arm_smmu_test_smr_masks()
[all …]
/linux-6.3-rc2/drivers/md/persistent-data/
A 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.3-rc2/drivers/tty/serial/
A 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.3-rc2/drivers/net/wireless/intel/ipw2x00/
A Dipw2200.h886 u8 smr; member

Completed in 29 milliseconds