Home
last modified time | relevance | path

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

123456

/arch/mips/sibyte/sb1250/
Dsmp.c69 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()
163 unsigned int action; in sb1250_mailbox_interrupt() local
167 action = (____raw_readq(mailbox_regs[cpu]) >> 48) & 0xffff; in sb1250_mailbox_interrupt()
170 ____raw_writeq(((u64)action) << 48, mailbox_clear_regs[cpu]); in sb1250_mailbox_interrupt()
172 if (action & SMP_RESCHEDULE_YOURSELF) in sb1250_mailbox_interrupt()
175 if (action & SMP_CALL_FUNCTION) { in sb1250_mailbox_interrupt()
/arch/mips/sibyte/bcm1480/
Dsmp.c79 static void bcm1480_send_ipi_single(int cpu, unsigned int action) in bcm1480_send_ipi_single() argument
81 __raw_writeq((((u64)action)<< 48), mailbox_0_set_regs[cpu]); in bcm1480_send_ipi_single()
85 unsigned int action) in bcm1480_send_ipi_mask() argument
90 bcm1480_send_ipi_single(i, action); in bcm1480_send_ipi_mask()
173 unsigned int action; in bcm1480_mailbox_interrupt() local
177 action = (__raw_readq(mailbox_0_regs[cpu]) >> 48) & 0xffff; in bcm1480_mailbox_interrupt()
180 __raw_writeq(((u64)action)<<48, mailbox_0_clear_regs[cpu]); in bcm1480_mailbox_interrupt()
182 if (action & SMP_RESCHEDULE_YOURSELF) in bcm1480_mailbox_interrupt()
185 if (action & SMP_CALL_FUNCTION) { in bcm1480_mailbox_interrupt()
/arch/mips/kernel/
Dsmp-gic.c21 void gic_send_ipi_single(int cpu, unsigned int action) in gic_send_ipi_single() argument
28 smp_processor_id(), __func__, cpu, action, read_c0_status()); in gic_send_ipi_single()
32 switch (action) { in gic_send_ipi_single()
60 void gic_send_ipi_mask(const struct cpumask *mask, unsigned int action) in gic_send_ipi_mask() argument
65 gic_send_ipi_single(i, action); in gic_send_ipi_mask()
Dsmp-bmips.c59 static void bmips43xx_send_ipi_single(int cpu, unsigned int action);
60 static void bmips5000_send_ipi_single(int cpu, unsigned int action);
273 static void bmips5000_send_ipi_single(int cpu, unsigned int action) in bmips5000_send_ipi_single() argument
275 write_c0_brcm_action(ACTION_SET_IPI(cpu, action == SMP_CALL_FUNCTION)); in bmips5000_send_ipi_single()
280 int action = irq - IPI0_IRQ; in bmips5000_ipi_interrupt() local
282 write_c0_brcm_action(ACTION_CLR_IPI(smp_processor_id(), action)); in bmips5000_ipi_interrupt()
284 if (action == 0) in bmips5000_ipi_interrupt()
293 unsigned int action) in bmips5000_send_ipi_mask() argument
298 bmips5000_send_ipi_single(i, action); in bmips5000_send_ipi_mask()
314 static void bmips43xx_send_ipi_single(int cpu, unsigned int action) in bmips43xx_send_ipi_single() argument
[all …]
Dcevt-bcm1480.c114 struct irqaction *action = &per_cpu(sibyte_hpt_irqaction, cpu); in sb1480_clockevent_init() local
147 action->handler = sibyte_counter_handler; in sb1480_clockevent_init()
148 action->flags = IRQF_PERCPU | IRQF_TIMER; in sb1480_clockevent_init()
149 action->name = name; in sb1480_clockevent_init()
150 action->dev_id = cd; in sb1480_clockevent_init()
153 setup_irq(irq, action); in sb1480_clockevent_init()
Dcevt-sb1250.c113 struct irqaction *action = &per_cpu(sibyte_hpt_irqaction, cpu); in sb1250_clockevent_init() local
147 action->handler = sibyte_counter_handler; in sb1250_clockevent_init()
148 action->flags = IRQF_PERCPU | IRQF_TIMER; in sb1250_clockevent_init()
149 action->name = name; in sb1250_clockevent_init()
150 action->dev_id = cd; in sb1250_clockevent_init()
153 setup_irq(irq, action); in sb1250_clockevent_init()
Dsmp-mt.c116 static void vsmp_send_ipi_single(int cpu, unsigned int action) in vsmp_send_ipi_single() argument
124 gic_send_ipi_single(cpu, action); in vsmp_send_ipi_single()
132 switch (action) { in vsmp_send_ipi_single()
151 static void vsmp_send_ipi_mask(const struct cpumask *mask, unsigned int action) in vsmp_send_ipi_mask() argument
156 vsmp_send_ipi_single(i, action); in vsmp_send_ipi_mask()
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/dec/
Dkn02xa-berr.c62 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()
Decc-berr.c67 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()
Dkn01-berr.c89 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/mips/cavium-octeon/
Dsmp.c36 uint64_t action; in mailbox_interrupt() local
39 action = cvmx_read_csr(CVMX_CIU_MBOX_CLRX(coreid)) & 0xffff; in mailbox_interrupt()
42 cvmx_write_csr(CVMX_CIU_MBOX_CLRX(coreid), action); in mailbox_interrupt()
44 if (action & SMP_CALL_FUNCTION) in mailbox_interrupt()
46 if (action & SMP_RESCHEDULE_YOURSELF) in mailbox_interrupt()
50 if (action & SMP_ICACHE_FLUSH) in mailbox_interrupt()
60 void octeon_send_ipi_single(int cpu, unsigned int action) in octeon_send_ipi_single() argument
67 cvmx_write_csr(CVMX_CIU_MBOX_SETX(coreid), action); in octeon_send_ipi_single()
71 unsigned int action) in octeon_send_ipi_mask() argument
76 octeon_send_ipi_single(i, action); in octeon_send_ipi_mask()
[all …]
Dcpu.c21 static int cnmips_cu2_call(struct notifier_block *nfb, unsigned long action, in cnmips_cu2_call() argument
27 switch (action) { in cnmips_cu2_call()
/arch/arm/probes/
Ddecode.c346 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/um/os-Linux/
Dsignal.c188 struct sigaction action; in set_handler() local
192 action.sa_sigaction = hard_handler; in set_handler()
195 sigemptyset(&action.sa_mask); in set_handler()
196 sigaddset(&action.sa_mask, SIGIO); in set_handler()
197 sigaddset(&action.sa_mask, SIGWINCH); in set_handler()
198 sigaddset(&action.sa_mask, SIGALRM); in set_handler()
203 if (sigismember(&action.sa_mask, sig)) in set_handler()
206 action.sa_flags = flags; in set_handler()
207 action.sa_restorer = NULL; in set_handler()
208 if (sigaction(sig, &action, NULL) < 0) in set_handler()
Dmain.c62 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/
Dsmp-ops.h25 void (*send_ipi_single)(int cpu, unsigned int action);
26 void (*send_ipi_mask)(const struct cpumask *mask, unsigned int action);
47 extern void gic_send_ipi_single(int cpu, unsigned int action);
48 extern void gic_send_ipi_mask(const struct cpumask *mask, unsigned int action);
/arch/parisc/kernel/
Dirq.c216 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/loongson64/loongson-3/
Dsmp.c46 #define loongson3_ipi_write32(action, addr) \ argument
48 writel(action, addr); \
52 #define loongson3_ipi_write64(action, addr) \ argument
54 writeq(action, addr); \
241 static void loongson3_send_ipi_single(int cpu, unsigned int action) in loongson3_send_ipi_single() argument
243 loongson3_ipi_write32((u32)action, ipi_set0_regs[cpu_logical_map(cpu)]); in loongson3_send_ipi_single()
247 loongson3_send_ipi_mask(const struct cpumask *mask, unsigned int action) in loongson3_send_ipi_mask() argument
252 loongson3_ipi_write32((u32)action, ipi_set0_regs[cpu_logical_map(i)]); in loongson3_send_ipi_mask()
258 unsigned int action, c0count; in loongson3_ipi_interrupt() local
261 action = loongson3_ipi_read32(ipi_status0_regs[cpu_logical_map(cpu)]); in loongson3_ipi_interrupt()
[all …]
Dcop2-ex.c22 static int loongson_cu2_call(struct notifier_block *nfb, unsigned long action, in loongson_cu2_call() argument
28 switch (action) { in loongson_cu2_call()
/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()
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/
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/mips/paravirt/
Dparavirt-smp.c69 static void paravirt_send_ipi_single(int cpu, unsigned int action) in paravirt_send_ipi_single() argument
71 irq_mbox_ipi(cpu, action); in paravirt_send_ipi_single()
74 static void paravirt_send_ipi_mask(const struct cpumask *mask, unsigned int action) in paravirt_send_ipi_mask() argument
79 paravirt_send_ipi_single(cpu, action); in paravirt_send_ipi_mask()
/arch/mips/netlogic/common/
Dsmp.c60 void nlm_send_ipi_single(int logical_cpu, unsigned int action) in nlm_send_ipi_single() argument
69 if (action & SMP_CALL_FUNCTION) in nlm_send_ipi_single()
71 if (action & SMP_RESCHEDULE_YOURSELF) in nlm_send_ipi_single()
75 void nlm_send_ipi_mask(const struct cpumask *mask, unsigned int action) in nlm_send_ipi_mask() argument
80 nlm_send_ipi_single(cpu, action); in nlm_send_ipi_mask()
/arch/arm/mach-shmobile/
Dregulator-quirk-rcar-gen2.c66 unsigned long action, void *data) in regulator_quirk_notify() argument
73 dev_dbg(dev, "%s: %ld, IRQC_MONITOR = 0x%x\n", __func__, action, mon); in regulator_quirk_notify()
77 if (action != BUS_NOTIFY_ADD_DEVICE || dev->type == &i2c_adapter_type) in regulator_quirk_notify()

123456