Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 96) sorted by relevance

1234

/arch/mips/sibyte/sb1250/
Dsmp.c56 static void sb1250_send_ipi_single(int cpu, unsigned int action) in sb1250_send_ipi_single() argument
58 __raw_writeq((((u64)action) << 48), mailbox_set_regs[cpu]); in sb1250_send_ipi_single()
62 unsigned int action) in sb1250_send_ipi_mask() argument
67 sb1250_send_ipi_single(i, action); in sb1250_send_ipi_mask()
151 unsigned int action; in sb1250_mailbox_interrupt() local
155 action = (____raw_readq(mailbox_regs[cpu]) >> 48) & 0xffff; in sb1250_mailbox_interrupt()
158 ____raw_writeq(((u64)action) << 48, mailbox_clear_regs[cpu]); in sb1250_mailbox_interrupt()
160 if (action & SMP_RESCHEDULE_YOURSELF) in sb1250_mailbox_interrupt()
163 if (action & SMP_CALL_FUNCTION) { in sb1250_mailbox_interrupt()
/arch/mips/sibyte/bcm1480/
Dsmp.c67 static void bcm1480_send_ipi_single(int cpu, unsigned int action) in bcm1480_send_ipi_single() argument
69 __raw_writeq((((u64)action)<< 48), mailbox_0_set_regs[cpu]); in bcm1480_send_ipi_single()
73 unsigned int action) in bcm1480_send_ipi_mask() argument
78 bcm1480_send_ipi_single(i, action); in bcm1480_send_ipi_mask()
162 unsigned int action; in bcm1480_mailbox_interrupt() local
166 action = (__raw_readq(mailbox_0_regs[cpu]) >> 48) & 0xffff; in bcm1480_mailbox_interrupt()
169 __raw_writeq(((u64)action)<<48, mailbox_0_clear_regs[cpu]); in bcm1480_mailbox_interrupt()
171 if (action & SMP_RESCHEDULE_YOURSELF) in bcm1480_mailbox_interrupt()
174 if (action & SMP_CALL_FUNCTION) { in bcm1480_mailbox_interrupt()
/arch/mips/cavium-octeon/
Dsmp.c56 u64 action; in mailbox_interrupt() local
71 action = cvmx_read_csr(mbox_clrx); in mailbox_interrupt()
74 action &= 0xff; in mailbox_interrupt()
76 action &= 0xffff; in mailbox_interrupt()
79 cvmx_write_csr(mbox_clrx, action); in mailbox_interrupt()
81 for (i = 0; i < ARRAY_SIZE(octeon_message_functions) && action;) { in mailbox_interrupt()
82 if (action & 1) { in mailbox_interrupt()
88 action >>= 1; in mailbox_interrupt()
99 void octeon_send_ipi_single(int cpu, unsigned int action) in octeon_send_ipi_single() argument
106 cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); in octeon_send_ipi_single()
[all …]
Dcpu.c23 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/
Dkn02xa-berr.c58 int action = MIPS_BE_FATAL; in dec_kn02xa_be_backend() local
80 action = MIPS_BE_FIXUP; in dec_kn02xa_be_backend()
82 if (action != MIPS_BE_FIXUP) in dec_kn02xa_be_backend()
86 if (action != MIPS_BE_FIXUP && address < 0x10000000) in dec_kn02xa_be_backend()
95 return action; in dec_kn02xa_be_backend()
106 int action = dec_kn02xa_be_backend(regs, 0, 1); in dec_kn02xa_be_interrupt() local
108 if (action == MIPS_BE_DISCARD) in dec_kn02xa_be_interrupt()
Decc-berr.c63 int action = MIPS_BE_FATAL; in dec_ecc_be_backend() local
74 return action; in dec_ecc_be_backend()
97 action = MIPS_BE_FIXUP; in dec_ecc_be_backend()
150 action = MIPS_BE_DISCARD; in dec_ecc_be_backend()
183 if (action != MIPS_BE_FIXUP) in dec_ecc_be_backend()
187 if (action != MIPS_BE_FIXUP && erraddr & KN0X_EAR_ECCERR) in dec_ecc_be_backend()
190 return action; in dec_ecc_be_backend()
202 int action = dec_ecc_be_backend(regs, 0, 1); in dec_ecc_be_interrupt() local
204 if (action == MIPS_BE_DISCARD) in dec_ecc_be_interrupt()
Dkn01-berr.c85 int action = MIPS_BE_FATAL; in dec_kn01_be_backend() local
134 action = MIPS_BE_FIXUP; in dec_kn01_be_backend()
136 if (action != MIPS_BE_FIXUP) in dec_kn01_be_backend()
140 return action; in dec_kn01_be_backend()
152 int action; in dec_kn01_be_interrupt() local
157 action = dec_kn01_be_backend(regs, 0, 1); in dec_kn01_be_interrupt()
159 if (action == MIPS_BE_DISCARD) in dec_kn01_be_interrupt()
/arch/arm/probes/
Ddecode.c343 int action, probes_opcode_t insn, in run_checkers() argument
355 probes_check_t *checker_func = (*p)[action].checker; in run_checkers()
472 int action = d->decoder.action; in probes_decode_insn() local
474 err = run_checkers(checkers, action, origin_insn, asi, h); in probes_decode_insn()
477 return actions[action].decoder(insn, asi, h); in probes_decode_insn()
483 int action = d->handler.action; in probes_decode_insn() local
485 err = run_checkers(checkers, action, origin_insn, asi, h); in probes_decode_insn()
488 asi->insn_handler = actions[action].handler; in probes_decode_insn()
495 int action = d->handler.action; in probes_decode_insn() local
497 err = run_checkers(checkers, action, origin_insn, asi, h); in probes_decode_insn()
[all …]
Ddecode.h273 int action; member
327 {.action = (_decoder)}
337 {.action = (_handler)}
350 {.action = (_handler)}
/arch/mips/kernel/
Dsmp-bmips.c60 static void bmips43xx_send_ipi_single(int cpu, unsigned int action);
61 static void bmips5000_send_ipi_single(int cpu, unsigned int action);
286 static void bmips5000_send_ipi_single(int cpu, unsigned int action) in bmips5000_send_ipi_single() argument
288 write_c0_brcm_action(ACTION_SET_IPI(cpu, action == SMP_CALL_FUNCTION)); in bmips5000_send_ipi_single()
293 int action = irq - IPI0_IRQ; in bmips5000_ipi_interrupt() local
295 write_c0_brcm_action(ACTION_CLR_IPI(smp_processor_id(), action)); in bmips5000_ipi_interrupt()
297 if (action == 0) in bmips5000_ipi_interrupt()
306 unsigned int action) in bmips5000_send_ipi_mask() argument
311 bmips5000_send_ipi_single(i, action); in bmips5000_send_ipi_mask()
327 static void bmips43xx_send_ipi_single(int cpu, unsigned int action) in bmips43xx_send_ipi_single() argument
[all …]
Dsmp-up.c16 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/mips/loongson64/
Dsmp.c42 #define loongson3_ipi_write32(action, addr) \ argument
44 writel(action, addr); \
48 #define loongson3_ipi_write64(action, addr) \ argument
50 writeq(action, addr); \
55 static void (*ipi_write_action)(int cpu, u32 action);
82 u32 action; in csr_ipi_read_clear() local
85 action = csr_readl(LOONGSON_CSR_IPI_STATUS); in csr_ipi_read_clear()
87 csr_writel(action, LOONGSON_CSR_IPI_CLEAR); in csr_ipi_read_clear()
89 return action; in csr_ipi_read_clear()
92 static void csr_ipi_write_action(int cpu, u32 action) in csr_ipi_write_action() argument
[all …]
/arch/mips/include/asm/
Dsmp-ops.h25 void (*send_ipi_single)(int cpu, unsigned int action);
26 void (*send_ipi_mask)(const struct cpumask *mask, unsigned int action);
51 extern void mips_smp_send_ipi_single(int cpu, unsigned int action);
53 unsigned int action);
/arch/um/os-Linux/
Dsignal.c222 struct sigaction action; in set_handler() local
226 action.sa_sigaction = hard_handler; in set_handler()
229 sigemptyset(&action.sa_mask); in set_handler()
230 sigaddset(&action.sa_mask, SIGIO); in set_handler()
231 sigaddset(&action.sa_mask, SIGWINCH); in set_handler()
232 sigaddset(&action.sa_mask, SIGALRM); in set_handler()
237 if (sigismember(&action.sa_mask, sig)) in set_handler()
240 action.sa_flags = flags; in set_handler()
241 action.sa_restorer = NULL; in set_handler()
242 if (sigaction(sig, &action, NULL) < 0) in set_handler()
Dmain.c51 struct sigaction action; in install_fatal_handler() local
54 sigemptyset(&action.sa_mask); in install_fatal_handler()
62 action.sa_flags = SA_RESETHAND | SA_NODEFER; in install_fatal_handler()
63 action.sa_restorer = NULL; in install_fatal_handler()
64 action.sa_handler = last_ditch_exit; in install_fatal_handler()
65 if (sigaction(sig, &action, NULL) < 0) { in install_fatal_handler()
/arch/powerpc/mm/
Dpageattr.c32 long action = (long)data; in change_page_attr() local
35 switch (action) { in change_page_attr()
69 int change_memory_attr(unsigned long addr, int numpages, long action) in change_memory_attr() argument
97 change_page_attr, (void *)action); in change_memory_attr()
/arch/parisc/kernel/
Dirq.c213 struct irqaction *action; in show_interrupts() local
216 action = desc->action; in show_interrupts()
217 if (!action) in show_interrupts()
226 seq_printf(p, " %s", action->name); in show_interrupts()
228 while ((action = action->next)) in show_interrupts()
229 seq_printf(p, ", %s", action->name); in show_interrupts()
231 for ( ;action; action = action->next) { in show_interrupts()
234 min = max = action->cr16_hist[0]; in show_interrupts()
237 int hist = action->cr16_hist[k]; in show_interrupts()
249 seq_printf(p, " %s[%d/%d/%d]", action->name, in show_interrupts()
/arch/mips/netlogic/xlr/
Dfmn.c58 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()
173 void (*action)(int, int, int, int, struct nlm_fmn_msg *, void *), in nlm_register_fmn_handler()
181 msg_handlers[sstnid].action = action; in nlm_register_fmn_handler()
/arch/sh/mm/
Dalignment.c70 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/x86/kernel/
Dnmi.c104 static void nmi_check_duration(struct nmiaction *action, u64 duration) in nmi_check_duration() argument
108 if (duration < nmi_longest_ns || duration < action->max_duration) in nmi_check_duration()
111 action->max_duration = duration; in nmi_check_duration()
118 action->handler, duration, decimal_msecs); in nmi_check_duration()
155 int __register_nmi_handler(unsigned int type, struct nmiaction *action) in __register_nmi_handler() argument
160 if (!action->handler) in __register_nmi_handler()
176 if (action->flags & NMI_FLAG_FIRST) in __register_nmi_handler()
177 list_add_rcu(&action->list, &desc->head); in __register_nmi_handler()
179 list_add_tail_rcu(&action->list, &desc->head); in __register_nmi_handler()
/arch/mips/sgi-ip30/
Dip30-smp.c46 static void ip30_smp_send_ipi_single(int cpu, u32 action) in ip30_smp_send_ipi_single() argument
50 switch (action) { in ip30_smp_send_ipi_single()
67 static void ip30_smp_send_ipi_mask(const struct cpumask *mask, u32 action) in ip30_smp_send_ipi_mask() argument
72 ip30_smp_send_ipi_single(i, action); in ip30_smp_send_ipi_mask()
/arch/mips/netlogic/common/
Dsmp.c61 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/mips/sgi-ip27/
Dip27-smp.c97 static void ip27_send_ipi_single(int destid, unsigned int action) in ip27_send_ipi_single() argument
101 switch (action) { in ip27_send_ipi_single()
121 static void ip27_send_ipi_mask(const struct cpumask *mask, unsigned int action) in ip27_send_ipi_mask() argument
126 ip27_send_ipi_single(i, action); in ip27_send_ipi_mask()
/arch/powerpc/platforms/pseries/
Dpmem.c129 if (hp_elog->action == PSERIES_HP_ELOG_ACTION_ADD) { in dlpar_hp_pmem()
131 } else if (hp_elog->action == PSERIES_HP_ELOG_ACTION_REMOVE) { in dlpar_hp_pmem()
134 pr_err("Unsupported hotplug action (%d)\n", hp_elog->action); in dlpar_hp_pmem()
/arch/mips/netlogic/xlp/
Dcop2-ex.c92 static int nlm_cu2_call(struct notifier_block *nfb, unsigned long action, in nlm_cu2_call() argument
98 switch (action) { in nlm_cu2_call()

1234