Home
last modified time | relevance | path

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

/linux/drivers/edac/
A Dedac_device.c78 dev_ctl = edac_align_ptr(&p, sizeof(*dev_ctl), 1); in edac_device_alloc_ctl_info()
110 if (dev_ctl == NULL) in edac_device_alloc_ctl_info()
132 dev_ctl->pvt_info = pvt; in edac_device_alloc_ctl_info()
135 dev_ctl->log_ce = 1; in edac_device_alloc_ctl_info()
136 dev_ctl->log_ue = 1; in edac_device_alloc_ctl_info()
139 snprintf(dev_ctl->name,sizeof(dev_ctl->name),"%s",edac_device_name); in edac_device_alloc_ctl_info()
142 dev_ctl, pvt + sz_private); in edac_device_alloc_ctl_info()
147 inst->ctl = dev_ctl; in edac_device_alloc_ctl_info()
207 dev_ctl->op_state = OP_ALLOC; in edac_device_alloc_ctl_info()
214 kfree(dev_ctl); in edac_device_alloc_ctl_info()
[all …]
/linux/drivers/mfd/
A 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()

Completed in 5 milliseconds