Home
last modified time | relevance | path

Searched refs:dev_ctl (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/edac/
Dedac_device.c58 struct edac_device_ctl_info *dev_ctl; in edac_device_alloc_ctl_info() local
78 dev_ctl = edac_align_ptr(&p, sizeof(*dev_ctl), 1); in edac_device_alloc_ctl_info()
109 dev_ctl = kzalloc(total_size, GFP_KERNEL); in edac_device_alloc_ctl_info()
110 if (dev_ctl == NULL) in edac_device_alloc_ctl_info()
121 (((char *)dev_ctl) + ((unsigned long)dev_inst)); in edac_device_alloc_ctl_info()
123 (((char *)dev_ctl) + ((unsigned long)dev_blk)); in edac_device_alloc_ctl_info()
125 (((char *)dev_ctl) + ((unsigned long)dev_attrib)); in edac_device_alloc_ctl_info()
126 pvt = sz_private ? (((char *)dev_ctl) + ((unsigned long)pvt)) : NULL; in edac_device_alloc_ctl_info()
129 dev_ctl->dev_idx = device_index; in edac_device_alloc_ctl_info()
130 dev_ctl->nr_instances = nr_instances; in edac_device_alloc_ctl_info()
[all …]
/Linux-v5.15/drivers/mfd/
Dt7l66xb.c76 u8 dev_ctl; in t7l66xb_mmc_enable() local
85 dev_ctl = tmio_ioread8(t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_enable()
86 dev_ctl |= SCR_DEV_CTL_MMC; in t7l66xb_mmc_enable()
87 tmio_iowrite8(dev_ctl, t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_enable()
101 u8 dev_ctl; in t7l66xb_mmc_disable() local
105 dev_ctl = tmio_ioread8(t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_disable()
106 dev_ctl &= ~SCR_DEV_CTL_MMC; in t7l66xb_mmc_disable()
107 tmio_iowrite8(dev_ctl, t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_disable()