Home
last modified time | relevance | path

Searched refs:devid (Results 1 – 25 of 40) sorted by relevance

12

/arch/sparc/include/asm/
Dsbi.h69 static inline int acquire_sbi(int devid, int mask) in acquire_sbi() argument
74 "r" (ECSR_DEV_BASE(devid) | SBI_INTR_STATE), in acquire_sbi()
79 static inline void release_sbi(int devid, int mask) in release_sbi() argument
83 "r" (ECSR_DEV_BASE(devid) | SBI_INTR_STATE), in release_sbi()
87 static inline void set_sbi_tid(int devid, int targetid) in set_sbi_tid() argument
91 "r" (ECSR_DEV_BASE(devid) | SBI_INTR_TID), in set_sbi_tid()
95 static inline int get_sbi_ctl(int devid, int cfgno) in get_sbi_ctl() argument
101 "r" ((ECSR_DEV_BASE(devid) | SBI_CFG0) + (cfgno<<2)), in get_sbi_ctl()
106 static inline void set_sbi_ctl(int devid, int cfgno, int cfg) in set_sbi_ctl() argument
110 "r" ((ECSR_DEV_BASE(devid) | SBI_CFG0) + (cfgno<<2)), in set_sbi_ctl()
Dobio.h41 #define ECSR_DEV_BASE(devid) ((devid) << ECSR_DEV_SHIFT) argument
/arch/mips/ath25/
Dar5312.c287 u32 scratch, devid, clock_ctl1; in ar5312_cpu_frequency() local
297 devid = ar5312_rst_reg_read(AR5312_REV); in ar5312_cpu_frequency()
298 devid = (devid & AR5312_REV_MAJ) >> AR5312_REV_MAJ_S; in ar5312_cpu_frequency()
299 if (devid == AR5312_REV_MAJ_AR2313) { in ar5312_cpu_frequency()
356 u32 devid; in ar5312_plat_mem_setup() local
372 devid = ar5312_rst_reg_read(AR5312_REV); in ar5312_plat_mem_setup()
373 devid >>= AR5312_REV_WMAC_MIN_S; in ar5312_plat_mem_setup()
374 devid &= AR5312_REV_CHIP; in ar5312_plat_mem_setup()
375 ath25_board.devid = (u16)devid; in ar5312_plat_mem_setup()
Dar2315.c259 u32 devid; in ar2315_plat_mem_setup() local
276 devid = ar2315_rst_reg_read(AR2315_SREV) & AR2315_REV_CHIP; in ar2315_plat_mem_setup()
277 switch (devid) { in ar2315_plat_mem_setup()
292 ath25_board.devid = devid; in ar2315_plat_mem_setup()
/arch/arm64/kvm/vgic/
Dvgic-irqfd.c59 e->msi.devid = ue->u.msi.devid; in kvm_set_routing_entry()
76 msi->devid = e->msi.devid; in kvm_populate_msi()
Dvgic-v4.c376 .devid = irq_entry->msi.devid, in vgic_get_its()
404 ret = vgic_its_resolve_lpi(kvm, its, irq_entry->msi.devid, in kvm_vgic_v4_set_forwarding()
458 ret = vgic_its_resolve_lpi(kvm, its, irq_entry->msi.devid, in kvm_vgic_v4_unset_forwarding()
Dvgic-its.c151 u32 devid; member
553 u32 devid, u32 eventid) in __vgic_its_check_cache() argument
565 if (cte->db != db || cte->devid != devid || in __vgic_its_check_cache()
583 u32 devid, u32 eventid) in vgic_its_check_cache() argument
591 irq = __vgic_its_check_cache(dist, db, devid, eventid); in vgic_its_check_cache()
601 u32 devid, u32 eventid, in vgic_its_cache_translation() argument
624 if (__vgic_its_check_cache(dist, db, devid, eventid)) in vgic_its_cache_translation()
642 cte->devid = devid; in vgic_its_cache_translation()
677 u32 devid, u32 eventid, struct vgic_irq **irq) in vgic_its_resolve_lpi() argument
685 ite = find_ite(its, devid, eventid); in vgic_its_resolve_lpi()
[all …]
/arch/sh/boards/mach-microdev/
Dfdc37c93xapm.c67 unsigned char devid, devrev; in smsc_superio_setup() local
74 devid = SMSC_READ_INDEXED(SMSC_DEVICE_ID_INDEX); in smsc_superio_setup()
77 if ((devid == 0x30) && (devrev == 0x01)) in smsc_superio_setup()
/arch/arm/mach-sa1100/
Dbadge4.c44 static int badge4_sa1111_enable(void *data, unsigned devid) in badge4_sa1111_enable() argument
46 if (devid == SA1111_DEVID_USB) in badge4_sa1111_enable()
51 static void badge4_sa1111_disable(void *data, unsigned devid) in badge4_sa1111_disable() argument
53 if (devid == SA1111_DEVID_USB) in badge4_sa1111_disable()
/arch/powerpc/platforms/embedded6xx/
Dmvme5100.c111 unsigned short devid; in mvme5100_add_bridge() local
128 early_read_config_word(hose, 0, 0, PCI_DEVICE_ID, &devid); in mvme5100_add_bridge()
130 if (devid != PCI_DEVICE_ID_MOTOROLA_HAWK) { in mvme5100_add_bridge()
/arch/sparc/kernel/
Dsun4d_irq.c259 int devid = of_getintprop_default(dp, "device-id", 0); in sun4d_distribute_irqs() local
262 set_sbi_tid(devid, cpuid << 3); in sun4d_distribute_irqs()
491 int devid = of_getintprop_default(dp, "device-id", 0); in sun4d_init_sbi_irq() local
495 set_sbi_tid(devid, target_cpu << 3); in sun4d_init_sbi_irq()
499 mask = acquire_sbi(devid, 0xffffffff); in sun4d_init_sbi_irq()
503 release_sbi(devid, mask); in sun4d_init_sbi_irq()
Dsun4d_smp.c229 #define IGEN_MESSAGE(bcast, devid, sid, levels) \ argument
230 (((bcast) << 31) | ((devid) << 23) | ((sid) << 15) | (levels))
/arch/arm/common/
Dlocomo.c75 unsigned int devid; member
87 .devid = LOCOMO_DEVID_KEYBOARD,
94 .devid = LOCOMO_DEVID_FRONTLIGHT,
102 .devid = LOCOMO_DEVID_BACKLIGHT,
109 .devid = LOCOMO_DEVID_AUDIO,
116 .devid = LOCOMO_DEVID_LED,
123 .devid = LOCOMO_DEVID_UART,
130 .devid = LOCOMO_DEVID_SPI,
240 dev->devid = info->devid; in locomo_init_one_child()
823 return dev->devid == drv->devid; in locomo_match()
Dsa1111.c125 unsigned int devid; member
134 .devid = SA1111_DEVID_USB,
148 .devid = SA1111_DEVID_SAC,
159 .devid = SA1111_DEVID_SSP,
164 .devid = SA1111_DEVID_PS2_KBD,
173 .devid = SA1111_DEVID_PS2_MSE,
182 .devid = SA1111_DEVID_PCMCIA,
749 dev->devid = info->devid; in sa1111_init_one_child()
916 if (sa1111_devices[i].devid & has_devs) in __sa1111_probe()
1252 if (sadev->devid != SA1111_DEVID_SAC) in sa1111_set_audio_rate()
[all …]
/arch/arm/mach-lpc32xx/
Dcommon.h24 extern void lpc32xx_get_uid(u32 devid[4]);
Dcommon.c22 void lpc32xx_get_uid(u32 devid[4]) in lpc32xx_get_uid()
27 devid[i] = __raw_readl(LPC32XX_CLKPWR_DEVID(i << 2)); in lpc32xx_get_uid()
/arch/c6x/include/asm/
Ddscr.h21 extern void dscr_set_devstate(int devid, enum dscr_devstate_t state);
/arch/arm/include/asm/hardware/
Dlocomo.h173 unsigned int devid; member
189 unsigned int devid; member
Dsa1111.h389 unsigned int devid; member
404 unsigned int devid; member
/arch/x86/kernel/apic/
Dmsi.c304 irq_domain_set_info(domain, virq, arg->devid, info->chip, NULL, in dmar_msi_init()
352 info.devid = id; in dmar_alloc_hwirq()
439 info.devid = hpet_id; in hpet_create_irq_domain()
469 info.devid = hpet_dev_id(domain); in hpet_assign_irq()
/arch/mips/include/asm/mach-ath25/
Dath25_platform.h65 u16 devid; member
/arch/mips/loongson32/common/
Dtime.c116 static irqreturn_t ls1x_clockevent_isr(int irq, void *devid) in ls1x_clockevent_isr() argument
118 struct clock_event_device *cd = devid; in ls1x_clockevent_isr()
/arch/x86/include/asm/
Dhw_irq.h80 u32 devid; member
Dpci.h132 uint16_t devid; member
/arch/hexagon/kernel/
Dtime.c144 static irqreturn_t timer_interrupt(int irq, void *devid) in timer_interrupt() argument

12