Home
last modified time | relevance | path

Searched refs:adev (Results 1 – 6 of 6) sorted by relevance

/arch/x86/kernel/
Dapb_timer.c71 static inline void __iomem *adev_virt_addr(struct apbt_dev *adev) in adev_virt_addr() argument
73 return apbt_virt_address + adev->num * APBTMRS_REG_SIZE; in adev_virt_addr()
149 struct apbt_dev *adev = &__get_cpu_var(cpu_apbt_dev); in apbt_clockevent_register() local
158 adev->num = smp_processor_id(); in apbt_clockevent_register()
159 adev->timer = dw_apb_clockevent_init(smp_processor_id(), "apbt0", in apbt_clockevent_register()
162 adev_virt_addr(adev), 0, apbt_freq); in apbt_clockevent_register()
164 adev->timer->eoi = NULL; in apbt_clockevent_register()
167 global_clock_event = &adev->timer->ced; in apbt_clockevent_register()
172 dw_apb_clockevent_register(adev->timer); in apbt_clockevent_register()
180 static void apbt_setup_irq(struct apbt_dev *adev) in apbt_setup_irq() argument
[all …]
/arch/arm/mach-mxs/
Ddevices.c80 struct amba_device *adev = amba_device_alloc(dev->dev.init_name, in mxs_add_amba_device() local
83 if (!adev) { in mxs_add_amba_device()
88 adev->irq[0] = dev->irq[0]; in mxs_add_amba_device()
89 adev->irq[1] = dev->irq[1]; in mxs_add_amba_device()
91 return amba_device_add(adev, &iomem_resource); in mxs_add_amba_device()
/arch/arm/mach-u300/
Dspi.h14 void __init u300_spi_init(struct amba_device *adev);
18 static inline void __init u300_spi_init(struct amba_device *adev) in u300_spi_init() argument
Dspi.c94 void __init u300_spi_init(struct amba_device *adev) in u300_spi_init() argument
96 adev->dev.platform_data = &ssp_platform_data; in u300_spi_init()
/arch/arm/mach-realview/
Dcore.c187 struct amba_device *adev = container_of(dev, struct amba_device, dev); in realview_mmc_status() local
205 if (adev->res.start == REALVIEW_MMCI0_BASE) in realview_mmc_status()
/arch/arm/mach-versatile/
Dcore.c288 struct amba_device *adev = container_of(dev, struct amba_device, dev); in mmc_status() local
291 if (adev->res.start == VERSATILE_MMCI0_BASE) in mmc_status()