/arch/mips/sibyte/sb1250/ |
D | smp.c | 69 static void sb1250_send_ipi_single(int cpu, unsigned int action) in sb1250_send_ipi_single() argument 71 __raw_writeq((((u64)action) << 48), mailbox_set_regs[cpu]); in sb1250_send_ipi_single() 75 unsigned int action) in sb1250_send_ipi_mask() argument 80 sb1250_send_ipi_single(i, action); in sb1250_send_ipi_mask() 164 unsigned int action; in sb1250_mailbox_interrupt() local 168 action = (____raw_readq(mailbox_regs[cpu]) >> 48) & 0xffff; in sb1250_mailbox_interrupt() 171 ____raw_writeq(((u64)action) << 48, mailbox_clear_regs[cpu]); in sb1250_mailbox_interrupt() 173 if (action & SMP_RESCHEDULE_YOURSELF) in sb1250_mailbox_interrupt() 176 if (action & SMP_CALL_FUNCTION) { in sb1250_mailbox_interrupt()
|
/arch/mips/sibyte/bcm1480/ |
D | smp.c | 80 static void bcm1480_send_ipi_single(int cpu, unsigned int action) in bcm1480_send_ipi_single() argument 82 __raw_writeq((((u64)action)<< 48), mailbox_0_set_regs[cpu]); in bcm1480_send_ipi_single() 86 unsigned int action) in bcm1480_send_ipi_mask() argument 91 bcm1480_send_ipi_single(i, action); in bcm1480_send_ipi_mask() 175 unsigned int action; in bcm1480_mailbox_interrupt() local 179 action = (__raw_readq(mailbox_0_regs[cpu]) >> 48) & 0xffff; in bcm1480_mailbox_interrupt() 182 __raw_writeq(((u64)action)<<48, mailbox_0_clear_regs[cpu]); in bcm1480_mailbox_interrupt() 184 if (action & SMP_RESCHEDULE_YOURSELF) in bcm1480_mailbox_interrupt() 187 if (action & SMP_CALL_FUNCTION) { in bcm1480_mailbox_interrupt()
|
/arch/mips/cavium-octeon/ |
D | smp.c | 55 u64 action; in mailbox_interrupt() local 70 action = cvmx_read_csr(mbox_clrx); in mailbox_interrupt() 73 action &= 0xff; in mailbox_interrupt() 75 action &= 0xffff; in mailbox_interrupt() 78 cvmx_write_csr(mbox_clrx, action); in mailbox_interrupt() 80 for (i = 0; i < ARRAY_SIZE(octeon_message_functions) && action;) { in mailbox_interrupt() 81 if (action & 1) { in mailbox_interrupt() 87 action >>= 1; in mailbox_interrupt() 98 void octeon_send_ipi_single(int cpu, unsigned int action) in octeon_send_ipi_single() argument 105 cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); in octeon_send_ipi_single() [all …]
|
D | cpu.c | 23 static int cnmips_cu2_call(struct notifier_block *nfb, unsigned long action, in cnmips_cu2_call() argument 29 switch (action) { in cnmips_cu2_call()
|
/arch/mips/dec/ |
D | kn02xa-berr.c | 62 int action = MIPS_BE_FATAL; in dec_kn02xa_be_backend() local 84 action = MIPS_BE_FIXUP; in dec_kn02xa_be_backend() 86 if (action != MIPS_BE_FIXUP) in dec_kn02xa_be_backend() 90 if (action != MIPS_BE_FIXUP && address < 0x10000000) in dec_kn02xa_be_backend() 99 return action; in dec_kn02xa_be_backend() 110 int action = dec_kn02xa_be_backend(regs, 0, 1); in dec_kn02xa_be_interrupt() local 112 if (action == MIPS_BE_DISCARD) in dec_kn02xa_be_interrupt()
|
D | ecc-berr.c | 67 int action = MIPS_BE_FATAL; in dec_ecc_be_backend() local 78 return action; in dec_ecc_be_backend() 101 action = MIPS_BE_FIXUP; in dec_ecc_be_backend() 154 action = MIPS_BE_DISCARD; in dec_ecc_be_backend() 187 if (action != MIPS_BE_FIXUP) in dec_ecc_be_backend() 191 if (action != MIPS_BE_FIXUP && erraddr & KN0X_EAR_ECCERR) in dec_ecc_be_backend() 194 return action; in dec_ecc_be_backend() 206 int action = dec_ecc_be_backend(regs, 0, 1); in dec_ecc_be_interrupt() local 208 if (action == MIPS_BE_DISCARD) in dec_ecc_be_interrupt()
|
D | kn01-berr.c | 89 int action = MIPS_BE_FATAL; in dec_kn01_be_backend() local 138 action = MIPS_BE_FIXUP; in dec_kn01_be_backend() 140 if (action != MIPS_BE_FIXUP) in dec_kn01_be_backend() 144 return action; in dec_kn01_be_backend() 156 int action; in dec_kn01_be_interrupt() local 161 action = dec_kn01_be_backend(regs, 0, 1); in dec_kn01_be_interrupt() 163 if (action == MIPS_BE_DISCARD) in dec_kn01_be_interrupt()
|
/arch/arm/probes/ |
D | decode.c | 346 int action, probes_opcode_t insn, in run_checkers() argument 358 probes_check_t *checker_func = (*p)[action].checker; in run_checkers() 475 int action = d->decoder.action; in probes_decode_insn() local 477 err = run_checkers(checkers, action, origin_insn, asi, h); in probes_decode_insn() 480 return actions[action].decoder(insn, asi, h); in probes_decode_insn() 486 int action = d->handler.action; in probes_decode_insn() local 488 err = run_checkers(checkers, action, origin_insn, asi, h); in probes_decode_insn() 491 asi->insn_handler = actions[action].handler; in probes_decode_insn() 498 int action = d->handler.action; in probes_decode_insn() local 500 err = run_checkers(checkers, action, origin_insn, asi, h); in probes_decode_insn() [all …]
|
/arch/mips/kernel/ |
D | smp-bmips.c | 61 static void bmips43xx_send_ipi_single(int cpu, unsigned int action); 62 static void bmips5000_send_ipi_single(int cpu, unsigned int action); 278 static void bmips5000_send_ipi_single(int cpu, unsigned int action) in bmips5000_send_ipi_single() argument 280 write_c0_brcm_action(ACTION_SET_IPI(cpu, action == SMP_CALL_FUNCTION)); in bmips5000_send_ipi_single() 285 int action = irq - IPI0_IRQ; in bmips5000_ipi_interrupt() local 287 write_c0_brcm_action(ACTION_CLR_IPI(smp_processor_id(), action)); in bmips5000_ipi_interrupt() 289 if (action == 0) in bmips5000_ipi_interrupt() 298 unsigned int action) in bmips5000_send_ipi_mask() argument 303 bmips5000_send_ipi_single(i, action); in bmips5000_send_ipi_mask() 319 static void bmips43xx_send_ipi_single(int cpu, unsigned int action) in bmips43xx_send_ipi_single() argument [all …]
|
D | cevt-sb1250.c | 113 struct irqaction *action = &per_cpu(sibyte_hpt_irqaction, cpu); in sb1250_clockevent_init() local 149 action->handler = sibyte_counter_handler; in sb1250_clockevent_init() 150 action->flags = IRQF_PERCPU | IRQF_TIMER; in sb1250_clockevent_init() 151 action->name = name; in sb1250_clockevent_init() 152 action->dev_id = cd; in sb1250_clockevent_init() 155 setup_irq(irq, action); in sb1250_clockevent_init()
|
D | cevt-bcm1480.c | 114 struct irqaction *action = &per_cpu(sibyte_hpt_irqaction, cpu); in sb1480_clockevent_init() local 149 action->handler = sibyte_counter_handler; in sb1480_clockevent_init() 150 action->flags = IRQF_PERCPU | IRQF_TIMER; in sb1480_clockevent_init() 151 action->name = name; in sb1480_clockevent_init() 152 action->dev_id = cd; in sb1480_clockevent_init() 155 setup_irq(irq, action); in sb1480_clockevent_init()
|
D | smp-up.c | 16 static void up_send_ipi_single(int cpu, unsigned int action) in up_send_ipi_single() argument 22 unsigned int action) in up_send_ipi_mask() argument
|
/arch/um/os-Linux/ |
D | signal.c | 206 struct sigaction action; in set_handler() local 210 action.sa_sigaction = hard_handler; in set_handler() 213 sigemptyset(&action.sa_mask); in set_handler() 214 sigaddset(&action.sa_mask, SIGIO); in set_handler() 215 sigaddset(&action.sa_mask, SIGWINCH); in set_handler() 216 sigaddset(&action.sa_mask, SIGALRM); in set_handler() 221 if (sigismember(&action.sa_mask, sig)) in set_handler() 224 action.sa_flags = flags; in set_handler() 225 action.sa_restorer = NULL; in set_handler() 226 if (sigaction(sig, &action, NULL) < 0) in set_handler()
|
D | main.c | 62 struct sigaction action; in install_fatal_handler() local 65 sigemptyset(&action.sa_mask); in install_fatal_handler() 73 action.sa_flags = SA_RESETHAND | SA_NODEFER; in install_fatal_handler() 74 action.sa_restorer = NULL; in install_fatal_handler() 75 action.sa_handler = last_ditch_exit; in install_fatal_handler() 76 if (sigaction(sig, &action, NULL) < 0) { in install_fatal_handler()
|
/arch/mips/include/asm/ |
D | smp-ops.h | 25 void (*send_ipi_single)(int cpu, unsigned int action); 26 void (*send_ipi_mask)(const struct cpumask *mask, unsigned int action); 47 extern void mips_smp_send_ipi_single(int cpu, unsigned int action); 49 unsigned int action);
|
/arch/parisc/kernel/ |
D | irq.c | 216 struct irqaction *action; in show_interrupts() local 219 action = desc->action; in show_interrupts() 220 if (!action) in show_interrupts() 232 seq_printf(p, " %s", action->name); in show_interrupts() 234 while ((action = action->next)) in show_interrupts() 235 seq_printf(p, ", %s", action->name); in show_interrupts() 237 for ( ;action; action = action->next) { in show_interrupts() 240 min = max = action->cr16_hist[0]; in show_interrupts() 243 int hist = action->cr16_hist[k]; in show_interrupts() 255 seq_printf(p, " %s[%d/%d/%d]", action->name, in show_interrupts()
|
/arch/mips/netlogic/xlr/ |
D | fmn.c | 58 void (*action)(int, int, int, int, struct nlm_fmn_msg *, void *); member 96 if (hndlr->action == NULL) in fmn_message_handler() 101 hndlr->action(bucket, src_stnid, size, code, in fmn_message_handler() 179 void (*action)(int, int, int, int, struct nlm_fmn_msg *, void *), in nlm_register_fmn_handler() 187 msg_handlers[sstnid].action = action; in nlm_register_fmn_handler()
|
/arch/sh/mm/ |
D | alignment.c | 70 unsigned int action = se_usermode; in unaligned_user_action() local 73 action &= ~UM_FIXUP; in unaligned_user_action() 74 action |= UM_SIGNAL; in unaligned_user_action() 78 action &= ~UM_WARN; in unaligned_user_action() 80 return action; in unaligned_user_action()
|
/arch/mips/loongson64/loongson-3/ |
D | smp.c | 48 #define loongson3_ipi_write32(action, addr) \ argument 50 writel(action, addr); \ 54 #define loongson3_ipi_write64(action, addr) \ argument 56 writeq(action, addr); \ 243 static void loongson3_send_ipi_single(int cpu, unsigned int action) in loongson3_send_ipi_single() argument 245 loongson3_ipi_write32((u32)action, ipi_set0_regs[cpu_logical_map(cpu)]); in loongson3_send_ipi_single() 249 loongson3_send_ipi_mask(const struct cpumask *mask, unsigned int action) in loongson3_send_ipi_mask() argument 254 loongson3_ipi_write32((u32)action, ipi_set0_regs[cpu_logical_map(i)]); in loongson3_send_ipi_mask() 267 unsigned int action, c0count, irqs; in loongson3_ipi_interrupt() local 270 action = loongson3_ipi_read32(ipi_status0_regs[cpu_logical_map(cpu)]); in loongson3_ipi_interrupt() [all …]
|
D | cop2-ex.c | 23 static int loongson_cu2_call(struct notifier_block *nfb, unsigned long action, in loongson_cu2_call() argument 29 switch (action) { in loongson_cu2_call()
|
/arch/mips/paravirt/ |
D | paravirt-smp.c | 70 static void paravirt_send_ipi_single(int cpu, unsigned int action) in paravirt_send_ipi_single() argument 72 irq_mbox_ipi(cpu, action); in paravirt_send_ipi_single() 75 static void paravirt_send_ipi_mask(const struct cpumask *mask, unsigned int action) in paravirt_send_ipi_mask() argument 80 paravirt_send_ipi_single(cpu, action); in paravirt_send_ipi_mask()
|
/arch/mips/netlogic/common/ |
D | smp.c | 61 void nlm_send_ipi_single(int logical_cpu, unsigned int action) in nlm_send_ipi_single() argument 70 if (action & SMP_CALL_FUNCTION) in nlm_send_ipi_single() 72 if (action & SMP_RESCHEDULE_YOURSELF) in nlm_send_ipi_single() 76 void nlm_send_ipi_mask(const struct cpumask *mask, unsigned int action) in nlm_send_ipi_mask() argument 81 nlm_send_ipi_single(cpu, action); in nlm_send_ipi_mask()
|
/arch/arm/mach-shmobile/ |
D | regulator-quirk-rcar-gen2.c | 66 unsigned long action, void *data) in regulator_quirk_notify() argument 77 dev_dbg(dev, "%s: %ld, IRQC_MONITOR = 0x%x\n", __func__, action, mon); in regulator_quirk_notify() 81 if (action != BUS_NOTIFY_ADD_DEVICE || dev->type == &i2c_adapter_type) in regulator_quirk_notify()
|
/arch/powerpc/kernel/ |
D | mce_power.c | 31 static void flush_tlb_206(unsigned int num_sets, unsigned int action) in flush_tlb_206() argument 36 switch (action) { in flush_tlb_206() 56 static void flush_tlb_300(unsigned int num_sets, unsigned int action) in flush_tlb_300() argument 62 switch (action) { in flush_tlb_300() 117 void __flush_tlb_power7(unsigned int action) in __flush_tlb_power7() argument 119 flush_tlb_206(POWER7_TLB_SETS, action); in __flush_tlb_power7() 122 void __flush_tlb_power8(unsigned int action) in __flush_tlb_power8() argument 124 flush_tlb_206(POWER8_TLB_SETS, action); in __flush_tlb_power8() 127 void __flush_tlb_power9(unsigned int action) in __flush_tlb_power9() argument 136 flush_tlb_300(num_sets, action); in __flush_tlb_power9()
|
/arch/mips/pmcs-msp71xx/ |
D | msp_smp.c | 66 void __init arch_init_ipiirq(int irq, struct irqaction *action) in arch_init_ipiirq() argument 68 setup_irq(irq, action); in arch_init_ipiirq()
|