| /linux/arch/arm/mach-spear/ |
| H A D | pl080.c | 30 unsigned int signal = cd->min_signal, val; in pl080_get_signal() local 36 if (signals[signal].busy && in pl080_get_signal() 37 (signals[signal].val != cd->muxval)) { in pl080_get_signal() 43 if (!signals[signal].busy) { in pl080_get_signal() 51 val &= ~(0x3 << (signal * 2)); in pl080_get_signal() 52 val |= cd->muxval << (signal * 2); in pl080_get_signal() 56 signals[signal].busy++; in pl080_get_signal() 57 signals[signal].val = cd->muxval; in pl080_get_signal() 60 return signal; in pl080_get_signal() 63 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal) in pl080_put_signal() argument [all …]
|
| /linux/tools/testing/selftests/powerpc/tm/ |
| H A D | Makefile | 2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \ 3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx 5 TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \ 7 $(SIGNAL_CONTEXT_CHK_TESTS) tm-sigreturn tm-signal-sigreturn-nt \ 8 tm-signal-context-force-tm tm-poison tm-signal-pagefault 27 $(OUTPUT)/tm-signal-context-force-tm: CFLAGS += -pthread -m64 28 $(OUTPUT)/tm-signal-pagefault: CFLAGS += -pthread -m64 32 $(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
|
| H A D | .gitignore | 4 tm-signal-msr-resv 5 tm-signal-stack 11 tm-signal-context-chk-fpu 12 tm-signal-context-chk-gpr 13 tm-signal-context-chk-vmx 14 tm-signal-context-chk-vsx 15 tm-signal-context-force-tm 16 tm-signal-sigreturn-nt 17 tm-signal-pagefault
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | pm_netlink.sh | 163 add_endpoint 10.0.1.3 flags signal,backup 169 "3,10.0.1.3,signal backup")" "dump addrs" 175 "3,10.0.1.3,signal backup")" "dump addrs after del" 181 add_endpoint 10.0.1.4 flags signal 182 check "get_endpoint 4" "$(format_endpoints "4,10.0.1.4,signal")" "id addr increment"
|
| H A D | mptcp_join.sh | 814 pm_nl_add_endpoint $ns1 $addr flags signal 2317 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2327 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2338 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2353 pm_nl_add_endpoint $ns2 10.0.3.2 flags signal,subflow 2365 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2377 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2378 pm_nl_add_endpoint $ns1 10.0.3.1 flags signal 2379 pm_nl_add_endpoint $ns1 10.0.4.1 flags signal 2390 pm_nl_add_endpoint $ns1 10.0.12.1 flags signal [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-timecard | 24 IRIG adjustments from external IRIG-B signal 25 DCF adjustments from external DCF signal 32 input signal. 35 10Mhz signal is used as the 10Mhz reference clock 36 PPS1 signal is sent to the PPS1 selector 37 PPS2 signal is sent to the PPS2 selector 38 TS1 signal is sent to timestamper 1 39 TS2 signal is sent to timestamper 2 40 TS3 signal is sent to timestamper 3 41 TS4 signal is sent to timestamper 4 [all …]
|
| /linux/Documentation/devicetree/bindings/reset/ |
| H A D | reset.txt | 8 Hardware blocks typically receive a reset signal. This signal is generated by 14 A reset signal is represented by the phandle of the provider, plus a reset 15 specifier - a list of DT cells that represents the reset signal within the 20 A word on where to place reset signal consumers in device tree: It is possible 21 in hardware for a reset signal to affect multiple logically separate HW blocks 22 at once. In this case, it would be unwise to represent this reset signal in 26 children of the bus are affected by the reset signal, or an individual HW 29 rather than to slavishly enumerate the reset signal that affects each HW 49 for each reset signal that affects the device, or that the 55 reset-names: List of reset signal name strings sorted in the same order as [all …]
|
| /linux/drivers/dma/ |
| H A D | lpc32xx-dmamux.c | 23 int signal; member 41 .signal = 3, 48 .signal = 10, 55 .signal = 11, 62 .signal = 14, 69 .signal = 15, 83 mux->signal, mux->muxval ? mux->name_sel1 : mux->name_sel1); in lpc32xx_dmamux_release() 107 if (lpc32xx_muxes[i].signal == dma_spec->args[0]) { in lpc32xx_dmamux_reserve() 135 mux->signal, mux->muxval ? mux->name_sel1 : mux->name_sel1); in lpc32xx_dmamux_reserve() 151 mux->signal, mux->muxval ? mux->name_sel1 : mux->name_sel1); in lpc32xx_dmamux_reserve()
|
| /linux/sound/core/ |
| H A D | misc.c | 80 * Deferred async signal helpers 82 * Below are a few helper functions to wrap the async signal handling 91 int signal; member 103 int signal, poll; in snd_fasync_work_fn() local 111 signal = fasync->signal; in snd_fasync_work_fn() 114 kill_fasync(&fasync->fasync, signal, poll); in snd_fasync_work_fn() 149 void snd_kill_fasync(struct snd_fasync *fasync, int signal, int poll) in snd_kill_fasync() argument 156 fasync->signal = signal; in snd_kill_fasync() [all...] |
| /linux/tools/perf/ui/tui/ |
| H A D | setup.c | 54 signal(SIGWINCH, ui__sigwinch); in ui__setup_sigwinch() 167 signal(SIGSEGV, ui__signal_backtrace); in ui__init() 168 signal(SIGFPE, ui__signal_backtrace); in ui__init() 169 signal(SIGINT, ui__signal); in ui__init() 170 signal(SIGQUIT, ui__signal); in ui__init() 171 signal(SIGTERM, ui__signal); in ui__init() 172 signal(SIGTSTP, ui__sigcont); in ui__init() 173 signal(SIGCONT, ui__sigcont); in ui__init()
|
| /linux/tools/testing/selftests/thermal/intel/power_floor/ |
| H A D | power_floor_test.c | 44 if (signal(SIGINT, power_floor_exit) == SIG_IGN) in main() 45 signal(SIGINT, SIG_IGN); in main() 46 if (signal(SIGHUP, power_floor_exit) == SIG_IGN) in main() 47 signal(SIGHUP, SIG_IGN); in main() 48 if (signal(SIGTERM, power_floor_exit) == SIG_IGN) in main() 49 signal(SIGTERM, SIG_IGN); in main()
|
| /linux/drivers/reset/ |
| H A D | reset-aspeed.c | 29 const struct ast2700_reset_signal *signal; member 162 void __iomem *reg_offset = rc->base + rc->info->signal[id].offset; in aspeed_reset_assert() 164 if (rc->info->signal[id].dedicated_clr) { in aspeed_reset_assert() 165 writel(rc->info->signal[id].bit, reg_offset); in aspeed_reset_assert() 168 writel(readl(reg_offset) & ~rc->info->signal[id].bit, reg_offset); in aspeed_reset_assert() 177 void __iomem *reg_offset = rc->base + rc->info->signal[id].offset; in aspeed_reset_deassert() 179 if (rc->info->signal[id].dedicated_clr) { in aspeed_reset_deassert() 180 writel(rc->info->signal[id].bit, reg_offset + 0x04); in aspeed_reset_deassert() 183 writel(readl(reg_offset) | rc->info->signal[id].bit, reg_offset); in aspeed_reset_deassert() 192 void __iomem *reg_offset = rc->base + rc->info->signal[id].offset; in aspeed_reset_status() [all …]
|
| /linux/tools/testing/selftests/thermal/intel/workload_hint/ |
| H A D | workload_hint_test.c | 11 #include <signal.h> 103 if (signal(SIGINT, workload_hint_exit) == SIG_IGN) in main() 104 signal(SIGINT, SIG_IGN); in main() 105 if (signal(SIGHUP, workload_hint_exit) == SIG_IGN) in main() 106 signal(SIGHUP, SIG_IGN); in main() 107 if (signal(SIGTERM, workload_hint_exit) == SIG_IGN) in main() 108 signal(SIGTERM, SIG_IGN); in main()
|
| /linux/tools/testing/selftests/arm64/signal/ |
| H A D | README | 1 KSelfTest arm64/signal/ 9 signal-test (setup/trigger/run/result/cleanup) 14 - Each signal testcase is compiled into its own executable: a separate 16 by receiving some kind of fatal signal from the Kernel, so it's safer 27 - 'mangle_' tests: a real signal (SIGUSR1) is raised and used as a trigger 28 and then the test case code modifies the signal frame from inside the 29 signal handler itself. 33 real signal return. This kind of tests does not use a trigger usually and 37 some fatal signal: usually SIGSEGV or SIGBUS. Since while writing this 57 - some fatal signal sent by the Kernel to the test process
|
| /linux/drivers/gpu/drm/amd/display/dc/link/ |
| H A D | link_detection.c | 238 enum signal_type signal = SIGNAL_TYPE_NONE; in decide_signal_from_strap_and_dongle_type() local 243 signal = SIGNAL_TYPE_HDMI_TYPE_A; in decide_signal_from_strap_and_dongle_type() 245 signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in decide_signal_from_strap_and_dongle_type() 248 signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in decide_signal_from_strap_and_dongle_type() 252 signal = SIGNAL_TYPE_HDMI_TYPE_A; in decide_signal_from_strap_and_dongle_type() 254 signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in decide_signal_from_strap_and_dongle_type() 257 signal = SIGNAL_TYPE_NONE; in decide_signal_from_strap_and_dongle_type() 261 return signal; in decide_signal_from_strap_and_dongle_type() 512 static void query_hdcp_capability(enum signal_type signal, struct dc_link *link) in query_hdcp_capability() argument 529 if (link->force_to_use_aux && (signal == SIGNAL_TYPE_HDMI_TYPE_A)) { in query_hdcp_capability() [all …]
|
| /linux/drivers/counter/ |
| H A D | 104-quad-8.c | 216 struct counter_signal *signal, in quad8_signal_read() argument 223 if (signal->id < 16) in quad8_signal_read() 226 ret = regmap_test_bits(priv->map, QUAD8_INDEX_INPUT_LEVELS, BIT(signal->id - 16)); in quad8_signal_read() 448 const size_t signal_a_id = count->synapses[0].signal->id; in quad8_action_read() 455 if (synapse->signal->id >= 16) { in quad8_action_read() 480 if (synapse->signal->id == signal_a_id) in quad8_action_read() 484 if (synapse->signal->id == signal_a_id) { in quad8_action_read() 492 if (synapse->signal->id == signal_a_id) in quad8_action_read() 597 struct counter_signal *signal, in quad8_index_polarity_get() argument 601 const size_t channel_id = signal->id - 16; in quad8_index_polarity_get() [all …]
|
| /linux/security/apparmor/ |
| H A D | ipc.c | 65 if (ad->signal == SIGUNKNOWN) in audit_signal_cb() 68 else if (ad->signal < MAXMAPPED_SIGNAME) in audit_signal_cb() 69 audit_log_format(ab, " signal=%s", sig_names[ad->signal]); in audit_signal_cb() 72 ad->signal - SIGRT_BASE); in audit_signal_cb() 96 state = aa_dfa_next(rules->policy->dfa, state, ad->signal); in profile_signal_perm() 109 ad.signal = map_signal_num(sig); in aa_may_signal()
|
| /linux/tools/tracing/rtla/src/ |
| H A D | actions.c | 4 #include <signal.h> 76 * actions_add_trace_output - add an action to send signal to a process in actions_add_trace_output() 79 actions_add_signal(struct actions *self, int signal, int pid) 85 action->signal = signal; in actions_add_signal() 149 int signal = 0, pid = 0; in actions_parse() 161 else if (strcmp(token, "signal") == 0) in actions_parse() 192 /* Takes two arguments, num (signal) and pid */ in actions_parse() 196 if (strtoi(arg_value, &signal)) in actions_parse() 214 if (!signal || !pi in actions_parse() 82 actions_add_signal(struct actions * self,int signal,int pid) actions_add_signal() argument 137 int signal = 0, pid = 0; actions_parse() local [all...] |
| /linux/drivers/mailbox/ |
| H A D | mailbox-test.c | 38 char *signal; member 67 if (!tdev->signal) { in mbox_test_signal_write() 68 tdev->signal = kzalloc(MBOX_MAX_SIG_LEN, GFP_KERNEL); in mbox_test_signal_write() 69 if (!tdev->signal) in mbox_test_signal_write() 73 if (copy_from_user(tdev->signal, userbuf, count)) { in mbox_test_signal_write() 74 kfree(tdev->signal); in mbox_test_signal_write() 75 tdev->signal = NULL; in mbox_test_signal_write() 133 if (tdev->tx_mmio && tdev->signal) { in mbox_test_message_write() 135 tdev->signal, MBOX_MAX_SIG_LEN); in mbox_test_message_write() 137 data = tdev->signal; in mbox_test_message_write() [all …]
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | README | 30 Terminated by signal 15, no error, iterations=9467, signals=1014 33 Terminated by signal 15, no error, iterations=9448, signals=1028 36 Terminated by signal 15, no error, iterations=9436, signals=1039 39 Terminated by signal 15, no error, iterations=9421, signals=1039 42 Terminated by signal 15, no error, iterations=9403, signals=1039 45 Terminated by signal 15, no error, iterations=9385, signals=1036 48 Terminated by signal 15, no error, iterations=9376, signals=1039 51 Terminated by signal 15, no error, iterations=9361, signals=1039 54 Terminated by signal 15, no error, iterations=9350, signals=1039
|
| /linux/Documentation/arch/arm64/ |
| H A D | gcs.rst | 154 * A new signal frame record gcs_context encodes the current GCS mode and 155 pointer for the interrupted context on signal delivery. This will always 161 * The signal handler is run with the same GCS configuration as the interrupted 164 * When GCS is enabled for the interrupted thread a signal handling specific 167 signal frame will point to this cap token. 169 * The signal handler will use the same GCS as the interrupted context. 171 * When GCS is enabled on signal entry a frame with the address of the signal 172 return handler will be pushed onto the GCS, allowing return from the signal 174 the signal frame. 180 When returning from a signal handler: [all …]
|
| /linux/include/linux/ |
| H A D | oom.h | 6 #include <linux/sched/signal.h> 61 current->signal->oom_flag_origin = true; in set_current_oom_origin() 66 current->signal->oom_flag_origin = false; in clear_current_oom_origin() 71 return p->signal->oom_flag_origin; in oom_task_origin() 76 return tsk->signal->oom_mm; in tsk_is_oom_victim()
|
| /linux/tools/include/nolibc/ |
| H A D | signal.h | 3 * signal function definitions for NOLIBC 19 int raise(int signal); 21 int raise(int signal) in raise() argument 23 return _sys_kill(_sys_getpid(), signal); in raise()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-daemon.txt | 17 'perf daemon signal' [<options>] 82 The signal command sends signal to configured sessions. 85 Send signal to specific session. 177 Send USR2 signal to session 'cycles' to generate perf.data file: 179 # perf daemon signal --session cycles 180 signal 12 sent to session 'cycles [603452]' 187 Send USR2 signal to all sessions: 189 # perf daemon signal 190 signal 12 sent to session 'cycles [603452]' 191 signal 12 sent to session 'sched [603453]'
|
| /linux/kernel/time/ |
| H A D | itimer.c | 12 #include <linux/sched/signal.h> 51 struct cpu_itimer *it = &tsk->signal->it[clock_id]; in get_cpu_itimer() 83 value->it_value = itimer_get_remtime(&tsk->signal->real_timer); in do_getitimer() 85 ktime_to_timespec64(tsk->signal->it_real_incr); in do_getitimer() 157 * this in the signal delivery path instead of self rearming prevents a DoS 163 struct hrtimer *tmr = &tsk->signal->real_timer; in posixtimer_rearm_itimer() 165 if (!hrtimer_is_queued(tmr) && tsk->signal->it_real_incr != 0) { in posixtimer_rearm_itimer() 166 hrtimer_forward_now(tmr, tsk->signal->it_real_incr); in posixtimer_rearm_itimer() 172 * Interval timers are restarted in the signal delivery path. See 192 struct cpu_itimer *it = &tsk->signal in set_cpu_itimer() [all...] |