Searched refs:dev_ctl (Results 1 – 2 of 2) sorted by relevance
65 struct edac_device_ctl_info *dev_ctl; in edac_device_alloc_ctl_info() local72 dev_ctl = kzalloc(sizeof(struct edac_device_ctl_info), GFP_KERNEL); in edac_device_alloc_ctl_info()73 if (!dev_ctl) in edac_device_alloc_ctl_info()80 dev_ctl->instances = dev_inst; in edac_device_alloc_ctl_info()86 dev_ctl->blocks = dev_blk; in edac_device_alloc_ctl_info()94 dev_ctl->attribs = dev_attrib; in edac_device_alloc_ctl_info()102 dev_ctl->pvt_info = pvt; in edac_device_alloc_ctl_info()105 dev_ctl->dev_idx = device_index; in edac_device_alloc_ctl_info()106 dev_ctl->nr_instances = nr_instances; in edac_device_alloc_ctl_info()109 dev_ctl->log_ce = 1; in edac_device_alloc_ctl_info()[all …]
76 u8 dev_ctl; in t7l66xb_mmc_enable() local85 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() local105 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()