/linux-2.4.37.9/arch/ia64/kernel/ |
D | iosapic.c | 150 int vector; in gsi_to_vector() local 152 for (vector = 0; vector < IA64_NUM_VECTORS; vector++) in gsi_to_vector() 153 if (iosapic_intr_info[vector].gsi_base + iosapic_intr_info[vector].rte_index == gsi) in gsi_to_vector() 154 return vector; in gsi_to_vector() 159 set_rte (unsigned int vector, unsigned int dest) in set_rte() argument 167 DBG(KERN_DEBUG "IOSAPIC: routing vector %d to 0x%x\n", vector, dest); in set_rte() 169 rte_index = iosapic_intr_info[vector].rte_index; in set_rte() 173 addr = iosapic_intr_info[vector].addr; in set_rte() 174 pol = iosapic_intr_info[vector].polarity; in set_rte() 175 trigger = iosapic_intr_info[vector].trigger; in set_rte() [all …]
|
D | irq_ia64.c | 76 ia64_handle_irq (ia64_vector vector, struct pt_regs *regs) in ia64_handle_irq() argument 122 while (vector != IA64_SPURIOUS_INT_VECTOR) { in ia64_handle_irq() 123 if (!IS_RESCHEDULE(vector)) { in ia64_handle_irq() 124 ia64_set_tpr(vector); in ia64_handle_irq() 127 do_IRQ(local_vector_to_irq(vector), regs); in ia64_handle_irq() 136 vector = ia64_get_ivr(); in ia64_handle_irq() 187 ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect) in ia64_send_ipi() argument 203 ipi_data = (delivery_mode << 8) | (vector & 0xff); in ia64_send_ipi()
|
D | acpi.c | 222 int vector = -1; in acpi_request_vector() local 226 vector = platform_intr_list[int_type]; in acpi_request_vector() 229 return vector; in acpi_request_vector() 340 int vector; in acpi_parse_plat_int_src() local 357 vector = iosapic_register_platform_intr(plintsrc->type, in acpi_parse_plat_int_src() 365 platform_intr_list[plintsrc->type] = vector; in acpi_parse_plat_int_src() 760 struct pci_vector_struct *vector; in acpi_get_prt() local 784 vector = *vectors; in acpi_get_prt() 788 vector[i].segment = entry->id.segment; in acpi_get_prt() 789 vector[i].bus = entry->id.bus; in acpi_get_prt() [all …]
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | smp.c | 116 static inline int __prepare_ICR (unsigned int shortcut, int vector) in __prepare_ICR() argument 118 return APIC_DM_FIXED | shortcut | vector | INT_DEST_ADDR_MODE; in __prepare_ICR() 126 static inline void __send_IPI_shortcut(unsigned int shortcut, int vector) in __send_IPI_shortcut() argument 145 cfg = __prepare_ICR(shortcut, vector); in __send_IPI_shortcut() 153 void fastcall send_IPI_self(int vector) in send_IPI_self() argument 155 __send_IPI_shortcut(APIC_DEST_SELF, vector); in send_IPI_self() 158 static inline void send_IPI_mask_bitmask(int mask, int vector) in send_IPI_mask_bitmask() argument 181 cfg = __prepare_ICR(0, vector); in send_IPI_mask_bitmask() 191 static inline void send_IPI_mask_sequence(int mask, int vector) in send_IPI_mask_sequence() argument 226 cfg = __prepare_ICR(0, vector); in send_IPI_mask_sequence() [all …]
|
D | io_apic.c | 630 int apic, pin, idx, irq, first_notcon = 1, vector; in setup_IO_APIC_irqs() local 681 vector = assign_irq_vector(irq); in setup_IO_APIC_irqs() 682 entry.vector = vector; in setup_IO_APIC_irqs() 689 set_intr_gate(vector, interrupt[irq]); in setup_IO_APIC_irqs() 709 void __init setup_ExtINT_IRQ0_pin(unsigned int pin, int vector) in setup_ExtINT_IRQ0_pin() argument 731 entry.vector = vector; in setup_ExtINT_IRQ0_pin() 875 entry.vector in print_IO_APIC() 1352 void fastcall send_IPI_self(int vector) in send_IPI_self() argument 1360 cfg = APIC_DM_FIXED | APIC_DEST_SELF | vector | APIC_DEST_LOGICAL; in send_IPI_self() 1547 entry1.vector = 0; in unlock_ExtINT_logic() [all …]
|
/linux-2.4.37.9/arch/ia64/sn/kernel/ |
D | irq.c | 204 sn_local_vector_to_irq(u8 vector) { in sn_local_vector_to_irq() argument 205 return (CPU_VECTOR_TO_IRQ(smp_processor_id(), vector)); in sn_local_vector_to_irq() 378 sn_set_tpr(int vector) { in sn_set_tpr() argument 379 if (vector > IA64_LAST_DEVICE_VECTOR || vector < IA64_FIRST_DEVICE_VECTOR) { in sn_set_tpr() 380 ia64_set_tpr(vector); in sn_set_tpr() 388 int vector; in sn_get_all_ivr() local 390 vector = ia64_get_ivr(); in sn_get_all_ivr() 391 while (vector != IA64_SPURIOUS_INT_VECTOR) { in sn_get_all_ivr() 392 __set_bit(vector, (volatile void *)pda.sn_soft_irr); in sn_get_all_ivr() 394 if (vector > IA64_LAST_DEVICE_VECTOR) return; in sn_get_all_ivr() [all …]
|
D | sn2_smp.c | 190 sn_send_IPI_phys(long physid, int vector, int delivery_mode) in sn_send_IPI_phys() argument 203 ((long)vector<<SH_IPI_INT_IDX_SHFT) | in sn_send_IPI_phys() 235 sn2_send_IPI(int cpuid, int vector, int delivery_mode, int redirect) in sn2_send_IPI() argument 241 sn_send_IPI_phys(physid, vector, delivery_mode); in sn2_send_IPI()
|
/linux-2.4.37.9/arch/x86_64/kernel/ |
D | smp.c | 115 static inline unsigned int __prepare_ICR (unsigned int shortcut, int vector) in __prepare_ICR() argument 117 unsigned int icr = APIC_DM_FIXED | shortcut | vector | APIC_DEST_LOGICAL; in __prepare_ICR() 126 static inline void __send_IPI_shortcut(unsigned int shortcut, int vector) in __send_IPI_shortcut() argument 145 cfg = __prepare_ICR(shortcut, vector); in __send_IPI_shortcut() 153 static inline void send_IPI_allbutself(int vector) in send_IPI_allbutself() argument 161 __send_IPI_shortcut(APIC_DEST_ALLBUT, vector); in send_IPI_allbutself() 164 static inline void send_IPI_all(int vector) in send_IPI_all() argument 166 __send_IPI_shortcut(APIC_DEST_ALLINC, vector); in send_IPI_all() 169 void send_IPI_self(int vector) in send_IPI_self() argument 171 __send_IPI_shortcut(APIC_DEST_SELF, vector); in send_IPI_self() [all …]
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | err_marvel.c | 23 marvel_machine_check(u64 vector, u64 la_ptr, struct pt_regs *regs) in marvel_machine_check() argument 35 switch(vector) { in marvel_machine_check() 37 printk(KERN_CRIT "MARVEL SYSEVENT %ld\n", vector); in marvel_machine_check() 41 printk(KERN_CRIT "MARVEL SYSMCHK/ERR %ld\n", vector); in marvel_machine_check() 45 return ev7_machine_check(vector, la_ptr, regs); in marvel_machine_check()
|
D | irq_alpha.c | 31 dummy_perf(unsigned long vector, struct pt_regs *regs) in dummy_perf() argument 44 do_entInt(unsigned long type, unsigned long vector, unsigned long la_ptr, in do_entInt() argument 77 alpha_mv.machine_check(vector, la_ptr, ®s); in do_entInt() 80 alpha_mv.device_interrupt(vector, ®s); in do_entInt() 83 perf_irq(vector, ®s); in do_entInt() 87 type, vector); in do_entInt() 129 process_mcheck_info(unsigned long vector, unsigned long la_ptr, in process_mcheck_info() argument 156 machine, vector, regs->pc, mchk_header->code); in process_mcheck_info()
|
D | sys_titan.c | 170 titan_device_interrupt(unsigned long vector, struct pt_regs * regs) in titan_device_interrupt() argument 176 titan_srm_device_interrupt(unsigned long vector, struct pt_regs * regs) in titan_srm_device_interrupt() argument 180 irq = (vector - 0x800) >> 4; in titan_srm_device_interrupt() 247 unsigned long vector; in titan_dispatch_irqs() local 259 __asm__("ctlz %1, %0" : "=r"(vector) : "r"(mask)); in titan_dispatch_irqs() 260 vector = 63 - vector; in titan_dispatch_irqs() 261 mask &= ~(1UL << vector); /* clear it out */ in titan_dispatch_irqs() 262 vector = 0x900 + (vector << 4); /* convert to SRM vector */ in titan_dispatch_irqs() 265 alpha_mv.device_interrupt(vector, regs); in titan_dispatch_irqs()
|
D | sys_jensen.c | 131 jensen_device_interrupt(unsigned long vector, struct pt_regs * regs) in jensen_device_interrupt() argument 135 switch (vector) { in jensen_device_interrupt() 148 if (vector > 0x900) { in jensen_device_interrupt() 149 printk("Unknown local interrupt %lx\n", vector); in jensen_device_interrupt() 153 irq = (vector - 0x800) >> 4; in jensen_device_interrupt() 162 if (vector >= 0x900) in jensen_device_interrupt() 241 jensen_machine_check (u64 vector, u64 la, struct pt_regs *regs) in jensen_machine_check() argument
|
D | sys_nautilus.c | 114 naut_sys_machine_check(unsigned long vector, unsigned long la_ptr, in naut_sys_machine_check() argument 125 nautilus_machine_check(unsigned long vector, unsigned long la_ptr, in nautilus_machine_check() argument 134 if (vector == SCB_Q_SYSMCHK in nautilus_machine_check() 161 if (vector == SCB_Q_SYSERR) in nautilus_machine_check() 163 else if (vector == SCB_Q_SYSMCHK) in nautilus_machine_check() 166 ev6_machine_check(vector, la_ptr, regs); in nautilus_machine_check() 172 vector, mchk_class); in nautilus_machine_check() 174 naut_sys_machine_check(vector, la_ptr, regs); in nautilus_machine_check()
|
D | sys_noritake.c | 80 noritake_device_interrupt(unsigned long vector, struct pt_regs *regs) in noritake_device_interrupt() argument 99 isa_device_interrupt(vector, regs); in noritake_device_interrupt() 107 noritake_srm_device_interrupt(unsigned long vector, struct pt_regs * regs) in noritake_srm_device_interrupt() argument 111 irq = (vector - 0x800) >> 4; in noritake_srm_device_interrupt() 267 noritake_apecs_machine_check(unsigned long vector, unsigned long la_ptr, in noritake_apecs_machine_check() argument 287 process_mcheck_info(vector, la_ptr, regs, "NORITAKE APECS", in noritake_apecs_machine_check()
|
D | err_titan.c | 378 titan_machine_check(u64 vector, u64 la_ptr, struct pt_regs *regs) in titan_machine_check() argument 406 if ((vector != SCB_Q_SYSMCHK) && (vector != SCB_Q_SYSERR)) in titan_machine_check() 407 return ev6_machine_check(vector, la_ptr, regs); in titan_machine_check() 433 (vector == SCB_Q_SYSERR)?"Correctable":"Uncorrectable", in titan_machine_check() 434 (unsigned int)vector, (int)smp_processor_id()); in titan_machine_check() 695 privateer_machine_check(u64 vector, u64 la_ptr, struct pt_regs *regs) in privateer_machine_check() argument 716 if (vector != SCB_Q_SYSEVENT) in privateer_machine_check() 717 return titan_machine_check(vector, la_ptr, regs); in privateer_machine_check() 727 (unsigned int)vector, (int)smp_processor_id()); in privateer_machine_check()
|
D | sys_mikasa.c | 82 mikasa_device_interrupt(unsigned long vector, struct pt_regs *regs) in mikasa_device_interrupt() argument 100 isa_device_interrupt(vector, regs); in mikasa_device_interrupt() 185 mikasa_apecs_machine_check(unsigned long vector, unsigned long la_ptr, in mikasa_apecs_machine_check() argument 205 process_mcheck_info(vector, la_ptr, regs, "MIKASA APECS", in mikasa_apecs_machine_check()
|
/linux-2.4.37.9/arch/ia64/sn/io/sn2/ |
D | shub_intr.c | 61 int vector; in do_hub_intr_alloc() local 71 cpu = intr_heuristic(dev, dev_desc, -1, 0, owner_dev, NULL, &vector); in do_hub_intr_alloc() 94 xtalk_info->xi_vector = vector; in do_hub_intr_alloc() 104 intr_hdl->i_bit = vector; in do_hub_intr_alloc() 130 int vector = intr_hdl->i_bit; in hub_intr_free() local 144 intr_unreserve_level(cpu, vector); in hub_intr_free() 156 int vector = intr_hdl->i_bit; in hub_intr_connect() local 160 rv = intr_connect_level(cpu, vector, intr_hdl->i_swlevel, NULL); in hub_intr_connect()
|
/linux-2.4.37.9/arch/m68k/hp300/ |
D | time.c | 42 void (*vector)(int, void *, struct pt_regs *) = dev_id; in hp300_tick() local 45 vector(irq, NULL, regs); in hp300_tick() 64 void __init hp300_sched_init(void (*vector)(int, void *, struct pt_regs *)) in hp300_sched_init() 71 sys_request_irq(6, hp300_tick, IRQ_FLG_STD, "timer tick", vector); in hp300_sched_init()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | irq.c | 369 void **vector = NULL; in request_irq() local 376 vector = kmalloc(sizeof(void *) * 4, GFP_ATOMIC); in request_irq() 377 if(vector == NULL) in request_irq() 384 kfree(vector); in request_irq() 385 vector = (void **)bucket->irq_info; in request_irq() 387 if (vector[ent] == NULL) { in request_irq() 388 vector[ent] = action; in request_irq() 395 vector[0] = orig; in request_irq() 396 vector[1] = action; in request_irq() 397 vector[2] = NULL; in request_irq() [all …]
|
/linux-2.4.37.9/fs/ |
D | read_write.c | 235 const struct iovec * vector, in do_readv_writev() argument 267 if (copy_from_user(iov, vector, count*sizeof(*vector))) in do_readv_writev() 314 vector = iov; in do_readv_writev() 320 base = vector->iov_base; in do_readv_writev() 321 len = vector->iov_len; in do_readv_writev() 322 vector++; in do_readv_writev() 347 asmlinkage ssize_t sys_readv(unsigned long fd, const struct iovec * vector, in sys_readv() argument 360 ret = do_readv_writev(VERIFY_WRITE, file, vector, count); in sys_readv() 367 asmlinkage ssize_t sys_writev(unsigned long fd, const struct iovec * vector, in sys_writev() argument 380 ret = do_readv_writev(VERIFY_READ, file, vector, count); in sys_writev()
|
/linux-2.4.37.9/arch/ppc/platforms/ |
D | pmac_smp.c | 461 volatile unsigned long *vector in smp_core99_kick_cpu() local 471 save_vector = *vector; in smp_core99_kick_cpu() 487 *vector = 0x48000002 + new_vector - KERNELBASE; in smp_core99_kick_cpu() 490 flush_icache_range((unsigned long) vector, (unsigned long) vector + 4); in smp_core99_kick_cpu() 503 *vector = save_vector; in smp_core99_kick_cpu() 504 flush_icache_range((unsigned long) vector, (unsigned long) vector + 4); in smp_core99_kick_cpu()
|
/linux-2.4.37.9/include/asm-i386/ |
D | apicdef.h | 264 u32 vector : 8, member 289 u32 vector : 8, member 302 u32 vector : 8, member 313 u32 vector : 8, member 326 u32 vector : 8, member 339 u32 vector : 8, member
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | apicdef.h | 248 u32 vector : 8, member 273 u32 vector : 8, member 286 u32 vector : 8, member 297 u32 vector : 8, member 310 u32 vector : 8, member 323 u32 vector : 8, member
|
/linux-2.4.37.9/include/asm-ia64/ |
D | hw_irq.h | 82 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect); 86 hw_resend_irq (struct hw_interrupt_type *h, unsigned int vector) in hw_resend_irq() argument 88 platform_send_ipi(smp_processor_id(), vector, IA64_IPI_DM_INT, 0); in hw_resend_irq()
|
/linux-2.4.37.9/arch/m68k/atari/ |
D | ataints.c | 425 int vector; in atari_request_irq() local 450 vector = IRQ_SOURCE_TO_VECTOR(irq); in atari_request_irq() 463 if (vectors[vector] == bad_interrupt) { in atari_request_irq() 469 vectors[vector] = in atari_request_irq() 522 int vector; in atari_free_irq() local 530 vector = IRQ_SOURCE_TO_VECTOR(irq); in atari_free_irq() 531 if (vectors[vector] == bad_interrupt) in atari_free_irq() 546 vectors[vector] = bad_interrupt; in atari_free_irq()
|