Home
last modified time | relevance | path

Searched refs:sdev (Results 1 – 4 of 4) sorted by relevance

/arch/arm/common/
Dscoop.c46 struct scoop_dev *sdev = dev_get_drvdata(dev); in reset_scoop() local
48 iowrite16(0x0100, sdev->base + SCOOP_MCR); /* 00 */ in reset_scoop()
49 iowrite16(0x0000, sdev->base + SCOOP_CDR); /* 04 */ in reset_scoop()
50 iowrite16(0x0000, sdev->base + SCOOP_CCR); /* 10 */ in reset_scoop()
51 iowrite16(0x0000, sdev->base + SCOOP_IMR); /* 18 */ in reset_scoop()
52 iowrite16(0x00FF, sdev->base + SCOOP_IRM); /* 14 */ in reset_scoop()
53 iowrite16(0x0000, sdev->base + SCOOP_ISR); /* 1C */ in reset_scoop()
54 iowrite16(0x0000, sdev->base + SCOOP_IRM); in reset_scoop()
57 static void __scoop_gpio_set(struct scoop_dev *sdev, in __scoop_gpio_set() argument
62 gpwr = ioread16(sdev->base + SCOOP_GPWR); in __scoop_gpio_set()
[all …]
/arch/mips/ralink/
Dcevt-rt3352.c45 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 + delta, sdev->membase + SYSTICK_COMPARE); in systick_next_event()
93 struct systick_device *sdev; in systick_set_clock_mode() local
95 sdev = container_of(evt, struct systick_device, dev); in systick_set_clock_mode()
99 if (!sdev->irq_requested) in systick_set_clock_mode()
101 sdev->irq_requested = 1; in systick_set_clock_mode()
107 if (sdev->irq_requested) in systick_set_clock_mode()
109 sdev->irq_requested = 0; in systick_set_clock_mode()
/arch/x86/platform/intel-mid/
Dsfi.c240 static void __init intel_scu_spi_device_register(struct spi_board_info *sdev) in intel_scu_spi_device_register() argument
249 new_dev = kzalloc(sizeof(*sdev), GFP_KERNEL); in intel_scu_spi_device_register()
252 sdev->modalias); in intel_scu_spi_device_register()
255 *new_dev = *sdev; in intel_scu_spi_device_register()
/arch/ia64/hp/sim/
Dsimscsi.c114 simscsi_biosparam (struct scsi_device *sdev, struct block_device *n, in simscsi_biosparam() argument