Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/edac/
Dedac_device.c75 struct edac_device_ctl_info *dev_ctl; in edac_device_alloc_ctl_info() local
95 dev_ctl = (struct edac_device_ctl_info *)NULL; in edac_device_alloc_ctl_info()
100 dev_inst = edac_align_ptr(&dev_ctl[1], sizeof(*dev_inst)); in edac_device_alloc_ctl_info()
132 dev_ctl = kzalloc(total_size, GFP_KERNEL); in edac_device_alloc_ctl_info()
133 if (dev_ctl == NULL) in edac_device_alloc_ctl_info()
144 (((char *)dev_ctl) + ((unsigned long)dev_inst)); in edac_device_alloc_ctl_info()
146 (((char *)dev_ctl) + ((unsigned long)dev_blk)); in edac_device_alloc_ctl_info()
148 (((char *)dev_ctl) + ((unsigned long)dev_attrib)); in edac_device_alloc_ctl_info()
149 pvt = sz_private ? (((char *)dev_ctl) + ((unsigned long)pvt)) : NULL; in edac_device_alloc_ctl_info()
152 dev_ctl->dev_idx = device_index; in edac_device_alloc_ctl_info()
[all …]
/linux-3.4.99/drivers/mfd/
Dt7l66xb.c88 u8 dev_ctl; in t7l66xb_mmc_enable() local
94 dev_ctl = tmio_ioread8(t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_enable()
95 dev_ctl |= SCR_DEV_CTL_MMC; in t7l66xb_mmc_enable()
96 tmio_iowrite8(dev_ctl, t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_enable()
111 u8 dev_ctl; in t7l66xb_mmc_disable() local
115 dev_ctl = tmio_ioread8(t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_disable()
116 dev_ctl &= ~SCR_DEV_CTL_MMC; in t7l66xb_mmc_disable()
117 tmio_iowrite8(dev_ctl, t7l66xb->scr + SCR_DEV_CTL); in t7l66xb_mmc_disable()