Searched refs:sdev (Results 1 – 2 of 2) sorted by relevance
/arch/arm/common/ |
D | scoop.c | 42 struct scoop_dev *sdev = dev_get_drvdata(dev); in reset_scoop() local 44 iowrite16(0x0100, sdev->base + SCOOP_MCR); /* 00 */ in reset_scoop() 45 iowrite16(0x0000, sdev->base + SCOOP_CDR); /* 04 */ in reset_scoop() 46 iowrite16(0x0000, sdev->base + SCOOP_CCR); /* 10 */ in reset_scoop() 47 iowrite16(0x0000, sdev->base + SCOOP_IMR); /* 18 */ in reset_scoop() 48 iowrite16(0x00FF, sdev->base + SCOOP_IRM); /* 14 */ in reset_scoop() 49 iowrite16(0x0000, sdev->base + SCOOP_ISR); /* 1C */ in reset_scoop() 50 iowrite16(0x0000, sdev->base + SCOOP_IRM); in reset_scoop() 53 static void __scoop_gpio_set(struct scoop_dev *sdev, in __scoop_gpio_set() argument 58 gpwr = ioread16(sdev->base + SCOOP_GPWR); in __scoop_gpio_set() [all …]
|
/arch/mips/ralink/ |
D | cevt-rt3352.c | 45 struct systick_device *sdev; in systick_next_event() local 48 sdev = container_of(evt, struct systick_device, dev); in systick_next_event() 49 count = ioread32(sdev->membase + SYSTICK_COUNT); in systick_next_event() 51 iowrite32(count, sdev->membase + SYSTICK_COMPARE); in systick_next_event() 87 struct systick_device *sdev; in systick_shutdown() local 89 sdev = container_of(evt, struct systick_device, dev); in systick_shutdown() 91 if (sdev->irq_requested) in systick_shutdown() 93 sdev->irq_requested = 0; in systick_shutdown() 102 struct systick_device *sdev; in systick_set_oneshot() local 105 sdev = container_of(evt, struct systick_device, dev); in systick_set_oneshot() [all …]
|