Searched refs:sdev (Results 1 – 3 of 3) 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() 93 struct systick_device *sdev; in systick_shutdown() local 95 sdev = container_of(evt, struct systick_device, dev); in systick_shutdown() 97 if (sdev->irq_requested) in systick_shutdown() 99 sdev->irq_requested = 0; in systick_shutdown() 107 struct systick_device *sdev; in systick_set_oneshot() local 109 sdev = container_of(evt, struct systick_device, dev); in systick_set_oneshot() [all …]
|
/arch/x86/platform/intel-mid/ |
D | sfi.c | 231 static void __init intel_scu_spi_device_register(struct spi_board_info *sdev) in intel_scu_spi_device_register() argument 240 new_dev = kzalloc(sizeof(*sdev), GFP_KERNEL); in intel_scu_spi_device_register() 243 sdev->modalias); in intel_scu_spi_device_register() 246 *new_dev = *sdev; in intel_scu_spi_device_register()
|