/linux/drivers/gpu/drm/amd/display/include/ |
H A D | signal_types.h | 76 static inline bool dc_is_hdmi_tmds_signal(enum signal_type signal) in dc_is_hdmi_tmds_signal() argument 78 return (signal == SIGNAL_TYPE_HDMI_TYPE_A); in dc_is_hdmi_tmds_signal() 81 static inline bool dc_is_hdmi_signal(enum signal_type signal) in dc_is_hdmi_signal() argument 83 return (signal == SIGNAL_TYPE_HDMI_TYPE_A); in dc_is_hdmi_signal() 86 static inline bool dc_is_dp_sst_signal(enum signal_type signal) in dc_is_dp_sst_signal() argument 88 return (signal == SIGNAL_TYPE_DISPLAY_PORT || in dc_is_dp_sst_signal() 89 signal == SIGNAL_TYPE_EDP); in dc_is_dp_sst_signal() 92 static inline bool dc_is_dp_signal(enum signal_type signal) in dc_is_dp_signal() argument 94 return (signal == SIGNAL_TYPE_DISPLAY_PORT || in dc_is_dp_signal() 95 signal == SIGNAL_TYPE_EDP || in dc_is_dp_signal() [all …]
|
/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/drivers/tty/ |
H A D | tty_jobctrl.c | 39 if (current->signal->tty != tty) in __tty_check_change() 81 tty = p->signal->tty; in proc_clear_tty() 82 p->signal->tty = NULL; in proc_clear_tty() 112 if (current->signal->tty) { in __proc_set_tty() 114 current->signal->tty->name); in __proc_set_tty() 115 tty_kref_put(current->signal->tty); in __proc_set_tty() 117 put_pid(current->signal->tty_old_pgrp); in __proc_set_tty() 118 current->signal->tty = tty_kref_get(tty); in __proc_set_tty() 119 current->signal->tty_old_pgrp = NULL; in __proc_set_tty() 136 if (current->signal->leader && in tty_open_proc_set_tty() [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/drivers/gpu/drm/amd/display/dc/link/hwss/ |
H A D | link_hwss_dio.c | 56 if (dc_is_dp_signal(pipe_ctx->stream->signal)) in setup_dio_stream_encoder() 61 pipe_ctx->stream->signal, true); in setup_dio_stream_encoder() 86 pipe_ctx->stream->signal, false); in reset_dio_stream_encoder() 91 if (dc_is_dp_signal(pipe_ctx->stream->signal)) in reset_dio_stream_encoder() 104 if (!dc_is_virtual_signal(stream->signal)) in setup_dio_stream_attribute() 110 if (dc_is_dp_signal(stream->signal)) in setup_dio_stream_attribute() 117 else if (dc_is_hdmi_tmds_signal(stream->signal)) in setup_dio_stream_attribute() 123 else if (dc_is_dvi_signal(stream->signal)) in setup_dio_stream_attribute() 127 (stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) ? in setup_dio_stream_attribute() 129 else if (dc_is_lvds_signal(stream->signal)) in setup_dio_stream_attribute() [all …]
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | pm_netlink.sh | 151 add_endpoint 10.0.1.3 flags signal,backup 157 "3,10.0.1.3,signal backup")" "dump addrs" 163 "3,10.0.1.3,signal backup")" "dump addrs after del" 168 add_endpoint 10.0.1.4 flags signal 169 check "get_endpoint 4" "$(format_endpoints "4,10.0.1.4,signal")" "id addr increment" 172 add_endpoint "10.0.1.${i}" flags signal >/dev/null 2>&1 174 check "get_endpoint 9" "$(format_endpoints "9,10.0.1.9,signal")" "hard addr limit" 184 "3,10.0.1.3,signal backup" \ 185 "4,10.0.1.4,signal" \ 186 "5,10.0.1.5,signal" \ [all …]
|
H A D | mptcp_join.sh | 740 pm_nl_add_endpoint $ns1 $addr flags signal 2063 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2074 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2085 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2100 pm_nl_add_endpoint $ns2 10.0.3.2 flags signal,subflow 2112 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2124 pm_nl_add_endpoint $ns1 10.0.2.1 flags signal 2125 pm_nl_add_endpoint $ns1 10.0.3.1 flags signal 2126 pm_nl_add_endpoint $ns1 10.0.4.1 flags signal 2136 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/arch/x86/include/asm/ |
H A D | unwind_hints.h | 23 .macro UNWIND_HINT_REGS base=%rsp offset=0 indirect=0 extra=1 partial=0 signal=1 53 UNWIND_HINT sp_reg=sp_reg sp_offset=sp_offset type=type signal=\signal 56 .macro UNWIND_HINT_IRET_REGS base=%rsp offset=0 signal=1 57 UNWIND_HINT_REGS base=\base offset=\offset partial=1 signal=\signal 60 .macro UNWIND_HINT_IRET_ENTRY base=%rsp offset=0 signal=1 62 UNWIND_HINT_IRET_REGS base=\base offset=\offset signal=\signal
|
/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/net/wireless/intel/iwlwifi/mvm/tests/ |
H A D | links.c | 69 s32 signal; member 80 .signal = -100, 89 .signal = -84, 98 .signal = -50, 107 .signal = -66, 117 .signal = -61, 128 .signal = -66, 139 .signal = -72, 148 .signal = -72, 157 .signal = -72, [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() 106 if (lpc32xx_muxes[i].signal == dma_spec->args[0]) { in lpc32xx_dmamux_reserve() 134 mux->signal, mux->muxval ? mux->name_sel1 : mux->name_sel1); in lpc32xx_dmamux_reserve() 149 mux->signal, mux->muxval ? mux->name_sel1 : mux->name_sel1); in lpc32xx_dmamux_reserve()
|
/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/atm/ |
H A D | adummy.c | 49 int signal; in __set_signal() local 51 if (sscanf(buf, "%d", &signal) == 1) { in __set_signal() 53 if (signal < ATM_PHY_SIG_LOST || signal > ATM_PHY_SIG_FOUND) in __set_signal() 54 signal = ATM_PHY_SIG_UNKNOWN; in __set_signal() 56 atm_dev_signal_change(atm_dev, signal); in __set_signal() 66 return sprintf(buf, "%d\n", atm_dev->signal); in __show_signal() 68 static DEVICE_ATTR(signal, 0644, __show_signal, __set_signal);
|
/linux/include/linux/ |
H A D | objtool.h | 13 #define UNWIND_HINT(type, sp_reg, sp_offset, signal) \ argument 21 ".byte " __stringify(signal) "\n\t" \ 93 .macro UNWIND_HINT type:req sp_reg=0 sp_offset=0 signal=0 101 .byte \signal 155 #define UNWIND_HINT(type, sp_reg, sp_offset, signal) "\n\t" 162 .macro UNWIND_HINT type:req sp_reg=0 sp_offset=0 signal=0
|
/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/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/tools/testing/selftests/thermal/intel/workload_hint/ |
H A D | workload_hint_test.c | 87 if (signal(SIGINT, workload_hint_exit) == SIG_IGN) in main() 88 signal(SIGINT, SIG_IGN); in main() 89 if (signal(SIGHUP, workload_hint_exit) == SIG_IGN) in main() 90 signal(SIGHUP, SIG_IGN); in main() 91 if (signal(SIGTERM, workload_hint_exit) == SIG_IGN) in main() 92 signal(SIGTERM, SIG_IGN); in main()
|
/linux/include/linux/sched/ |
H A D | signal.h | 72 sigset_t signal; member 395 return unlikely(sigismember(&p->pending.signal, SIGKILL)); in __fatal_signal_pending() 649 #define __for_each_thread(signal, t) \ argument 650 list_for_each_entry_rcu(t, &(signal)->thread_head, thread_node, \ 654 __for_each_thread((p)->signal, t) 670 pid = task->signal->pids[type]; in task_pid_type() 676 return task->signal->pids[PIDTYPE_TGID]; in task_tgid() 686 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp() 691 return task->signal->pids[PIDTYPE_SID]; in task_session() 696 return task->signal->nr_threads; in get_nr_threads() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_detection.c | 241 enum signal_type signal = SIGNAL_TYPE_NONE; in decide_signal_from_strap_and_dongle_type() local 246 signal = SIGNAL_TYPE_HDMI_TYPE_A; in decide_signal_from_strap_and_dongle_type() 248 signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in decide_signal_from_strap_and_dongle_type() 251 signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in decide_signal_from_strap_and_dongle_type() 255 signal = SIGNAL_TYPE_HDMI_TYPE_A; in decide_signal_from_strap_and_dongle_type() 257 signal = SIGNAL_TYPE_DVI_SINGLE_LINK; in decide_signal_from_strap_and_dongle_type() 260 signal = SIGNAL_TYPE_NONE; in decide_signal_from_strap_and_dongle_type() 264 return signal; in decide_signal_from_strap_and_dongle_type() 480 static void query_hdcp_capability(enum signal_type signal, struct dc_link *link) in query_hdcp_capability() argument 505 dc_process_hdcp_msg(signal, link, &msg22); in query_hdcp_capability() [all …]
|
/linux/drivers/mailbox/ |
H A D | mailbox-test.c | 40 char *signal; member 68 if (!tdev->signal) { in mbox_test_signal_write() 69 tdev->signal = kzalloc(MBOX_MAX_SIG_LEN, GFP_KERNEL); in mbox_test_signal_write() 70 if (!tdev->signal) in mbox_test_signal_write() 74 if (copy_from_user(tdev->signal, userbuf, count)) { in mbox_test_signal_write() 75 kfree(tdev->signal); in mbox_test_signal_write() 76 tdev->signal = NULL; in mbox_test_signal_write() 134 if (tdev->tx_mmio && tdev->signal) { in mbox_test_message_write() 136 tdev->signal, MBOX_MAX_SIG_LEN); in mbox_test_message_write() 138 data = tdev->signal; in mbox_test_message_write() [all …]
|
/linux/kernel/ |
H A D | signal.c | 94 if (unlikely(t->signal->flags & SIGNAL_UNKILLABLE) && in sig_task_ignored() 131 static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked) in has_pending_signals() argument 139 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals() 142 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals() 143 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals() 144 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals() 145 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals() 148 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals() 149 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals() 152 case 1: ready = signal->sig[0] &~ blocked->sig[0]; in has_pending_signals() [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() 97 ad->signal); in profile_signal_perm() 110 ad.signal = map_signal_num(sig); in aa_may_signal()
|