Home
last modified time | relevance | path

Searched refs:idev (Results 1 – 3 of 3) sorted by relevance

/arch/x86/platform/intel-quark/
Dimr.c109 static int imr_read(struct imr_device *idev, u32 imr_id, struct imr_regs *imr) in imr_read() argument
111 u32 reg = imr_id * IMR_NUM_REGS + idev->reg_base; in imr_read()
145 static int imr_write(struct imr_device *idev, u32 imr_id, in imr_write() argument
149 u32 reg = imr_id * IMR_NUM_REGS + idev->reg_base; in imr_write()
210 struct imr_device *idev = s->private; in imr_dbgfs_state_show() local
215 mutex_lock(&idev->lock); in imr_dbgfs_state_show()
217 for (i = 0; i < idev->max_imr; i++) { in imr_dbgfs_state_show()
219 ret = imr_read(idev, i, &imr); in imr_dbgfs_state_show()
243 mutex_unlock(&idev->lock); in imr_dbgfs_state_show()
272 static int imr_debugfs_register(struct imr_device *idev) in imr_debugfs_register() argument
[all …]
/arch/arm/mach-integrator/
Dimpd1.c371 struct impd1_device *idev = impd1_devs + i; in impd1_probe() local
375 int irq1 = idev->irq[0]; in impd1_probe()
376 int irq2 = idev->irq[1]; in impd1_probe()
384 pc_base = dev->resource.start + idev->offset; in impd1_probe()
385 snprintf(devname, 32, "lm%x:%5.5lx", dev->id, idev->offset >> 12); in impd1_probe()
388 if (idev->offset == 0x00400000) { in impd1_probe()
429 idev->platform_data, idev->id, in impd1_probe()
/arch/x86/platform/intel-mid/
Dsfi.c258 struct i2c_board_info *idev) in intel_scu_i2c_device_register() argument
267 new_dev = kzalloc(sizeof(*idev), GFP_KERNEL); in intel_scu_i2c_device_register()
270 idev->type); in intel_scu_i2c_device_register()
273 *new_dev = *idev; in intel_scu_i2c_device_register()