Home
last modified time | relevance | path

Searched +full:signal +full:- +full:group (Results 1 – 25 of 1022) sorted by relevance

12345678910>>...41

/kernel/linux/linux-6.6/drivers/pinctrl/aspeed/
Dpinmux-aspeed.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 * basis where a given pin can provide a number of different signal types.
14 * The signal active on a pin is described by both a priority level and
18 * change from a high to low priority signal), or even in the same register.
21 * read-only).
23 * SoC Multi-function Pin Expression Examples
24 * ------------------------------------------
28 * corner. The signal priorities are in decending order from P0 (highest).
30 * D6 is a pin with a single function (beside GPIO); a high priority signal
33 * Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression | Other
[all …]
Dpinctrl-aspeed.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #include "pinctrl-aspeed.h"
18 return pdata->pinmux.ngroups; in aspeed_pinctrl_get_groups_count()
22 unsigned int group) in aspeed_pinctrl_get_group_name() argument
26 return pdata->pinmux.groups[group].name; in aspeed_pinctrl_get_group_name()
30 unsigned int group, const unsigned int **pins, in aspeed_pinctrl_get_group_pins() argument
35 *pins = &pdata->pinmux.groups[group].pins[0]; in aspeed_pinctrl_get_group_pins()
36 *npins = pdata->pinmux.groups[group].npins; in aspeed_pinctrl_get_group_pins()
44 seq_printf(s, " %s", dev_name(pctldev->dev)); in aspeed_pinctrl_pin_dbg_show()
51 return pdata->pinmux.nfunctions; in aspeed_pinmux_get_fn_count()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/aspeed/
Dpinmux-aspeed.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 * basis where a given pin can provide a number of different signal types.
15 * The signal active on a pin is described by both a priority level and
19 * change from a high to low priority signal), or even in the same register.
22 * read-only).
24 * SoC Multi-function Pin Expression Examples
25 * ------------------------------------------
29 * corner. The signal priorities are in decending order from P0 (highest).
31 * D6 is a pin with a single function (beside GPIO); a high priority signal
34 * Ball | Default | P0 Signal | P0 Expression | P1 Signal | P1 Expression | Other
[all …]
Dpinctrl-aspeed.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include "pinctrl-aspeed.h"
17 return pdata->pinmux.ngroups; in aspeed_pinctrl_get_groups_count()
21 unsigned int group) in aspeed_pinctrl_get_group_name() argument
25 return pdata->pinmux.groups[group].name; in aspeed_pinctrl_get_group_name()
29 unsigned int group, const unsigned int **pins, in aspeed_pinctrl_get_group_pins() argument
34 *pins = &pdata->pinmux.groups[group].pins[0]; in aspeed_pinctrl_get_group_pins()
35 *npins = pdata->pinmux.groups[group].npins; in aspeed_pinctrl_get_group_pins()
43 seq_printf(s, " %s", dev_name(pctldev->dev)); in aspeed_pinctrl_pin_dbg_show()
50 return pdata->pinmux.nfunctions; in aspeed_pinmux_get_fn_count()
[all …]
/kernel/linux/linux-5.10/drivers/counter/
Dcounter.c1 // SPDX-License-Identifier: GPL-2.0
32 [COUNTER_COUNT_MODE_NON_RECYCLE] = "non-recycle",
33 [COUNTER_COUNT_MODE_MODULO_N] = "modulo-n"
38 struct counter_signal *signal, void *priv, in counter_signal_enum_read() argument
45 if (!e->get) in counter_signal_enum_read()
46 return -EINVAL; in counter_signal_enum_read()
48 err = e->get(counter, signal, &index); in counter_signal_enum_read()
52 if (index >= e->num_items) in counter_signal_enum_read()
53 return -EINVAL; in counter_signal_enum_read()
55 return sprintf(buf, "%s\n", e->items[index]); in counter_signal_enum_read()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dsignal.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define TRACE_SYSTEM signal
8 #include <linux/signal.h>
15 __entry->errno = 0; \
16 __entry->code = SI_USER; \
18 __entry->errno = 0; \
19 __entry->code = SI_KERNEL; \
21 __entry->errno = info->si_errno; \
22 __entry->code = info->si_code; \
37 * signal_generate - called when a signal is generated
[all …]
/kernel/linux/linux-6.6/include/trace/events/
Dsignal.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define TRACE_SYSTEM signal
8 #include <linux/signal.h>
15 __entry->errno = 0; \
16 __entry->code = SI_USER; \
18 __entry->errno = 0; \
19 __entry->code = SI_KERNEL; \
21 __entry->errno = info->si_errno; \
22 __entry->code = info->si_code; \
37 * signal_generate - called when a signal is generated
[all …]
/kernel/linux/linux-6.6/drivers/tty/
Dtty_jobctrl.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/signal.h>
9 #include <linux/sched/signal.h>
18 return (sigismember(&current->blocked, sig) || in is_ignored()
19 current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); in is_ignored()
23 * __tty_check_change - check for POSIX terminal changes
25 * @sig: signal to send
28 * not in the foreground, send a SIGTTOU. If the signal is blocked or
39 if (current->signal->tty != tty) in __tty_check_change()
45 spin_lock_irqsave(&tty->ctrl.lock, flags); in __tty_check_change()
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Dtty_jobctrl.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/signal.h>
9 #include <linux/sched/signal.h>
18 return (sigismember(&current->blocked, sig) || in is_ignored()
19 current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); in is_ignored()
23 * tty_check_change - check for POSIX terminal changes
27 * not in the foreground, send a SIGTTOU. If the signal is blocked or
38 if (current->signal->tty != tty) in __tty_check_change()
44 spin_lock_irqsave(&tty->ctrl_lock, flags); in __tty_check_change()
45 tty_pgrp = tty->pgrp; in __tty_check_change()
[all …]
/kernel/linux/linux-5.10/include/linux/sched/
Dsignal.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/signal.h>
12 #include <linux/posix-timers.h>
17 * Types defining task->signal and task->sighand and APIs using them:
28 * Per-process accounting stats:
60 * struct thread_group_cputimer - thread group interval timer counts
61 * @cputime_atomic: atomic thread group interval timers.
64 * used for thread group CPU timer calculations.
71 sigset_t signal; member
90 /* current thread group signal load-balancing target: */
[all …]
Dcputime.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/sched/signal.h>
28 *utime = t->utime; in task_cputime()
29 *stime = t->stime; in task_cputime()
34 return t->gtime; in task_gtime()
43 *utimescaled = t->utimescaled; in task_cputime_scaled()
44 *stimescaled = t->stimescaled; in task_cputime_scaled()
61 * Thread group CPU time accounting.
67 * The following are functions that support scheduler-internal time accounting.
73 * get_running_cputimer - return &tsk->signal->cputimer if cputimers are active
[all …]
/kernel/linux/linux-6.6/include/linux/sched/
Dsignal.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/signal.h>
12 #include <linux/posix-timers.h>
17 * Types defining task->signal and task->sighand and APIs using them:
28 * Per-process accounting stats:
60 * struct thread_group_cputimer - thread group interval timer counts
61 * @cputime_atomic: atomic thread group interval timers.
64 * used for thread group CPU timer calculations.
71 sigset_t signal; member
102 /* current thread group signal load-balancing target: */
[all …]
Dcputime.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/sched/signal.h>
19 *utime = t->utime; in task_cputime()
20 *stime = t->stime; in task_cputime()
26 return t->gtime; in task_gtime()
35 *utimescaled = t->utimescaled; in task_cputime_scaled()
36 *stimescaled = t->stimescaled; in task_cputime_scaled()
53 * Thread group CPU time accounting.
59 * The following are functions that support scheduler-internal time accounting.
65 * get_running_cputimer - return &tsk->signal->cputimer if cputimers are active
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/
Dnxp,s32g2-siul2-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/pinctrl/nxp,s32g2-siul2-pinctrl.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Ghennadi Procopciuc <Ghennadi.Procopciuc@oss.nxp.com>
12 - Chester Lin <clin@suse.com>
24 MSCR102-MSCR111, MSCR123-MSCR143, IMCR84-IMCR118 and IMCR398-IMCR429.
29 - nxp,s32g2-siul2-pinctrl
34 - MSCR (Multiplexed Signal Configuration Register)
36 or a function output pin depends on the selected signal source.
[all …]
Dstarfive,jh7100-pinctrl.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/starfive,jh7100-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 Bindings for the JH7100 RISC-V SoC from StarFive Ltd.
15 interesting 2-layered approach to pin muxing best illustrated by the diagram
18 Signal group 0, 1, ... or 6
21 LCD output -----------------| |
22 CMOS Camera interface ------| |--- PAD_GPIO[0]
23 Ethernet PHY interface -----| MUX |--- PAD_GPIO[1]
[all …]
/kernel/linux/linux-5.10/kernel/
Dsignal.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/kernel/signal.c
7 * 1997-11-02 Modified for POSIX.1b signals by Richard Henderson
9 * 2003-06-02 Jim Houston - Concurrent Computer Corp.
32 #include <linux/signal.h>
45 #include <linux/posix-timers.h>
51 #include <trace/events/signal.h>
60 * SLAB caches for signal bits.
69 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler()
89 if (unlikely(t->signal->flags & SIGNAL_UNKILLABLE) && in sig_task_ignored()
[all …]
Dexit.c1 // SPDX-License-Identifier: GPL-2.0-only
48 #include <linux/signal.h>
49 #include <linux/posix-timers.h>
84 * overflowing 32-bit refcounts or the ldsem writer count.
129 nr_threads--; in __unhash_process()
136 list_del_rcu(&p->tasks); in __unhash_process()
137 list_del_init(&p->sibling); in __unhash_process()
140 list_del_rcu(&p->thread_group); in __unhash_process()
141 list_del_rcu(&p->thread_node); in __unhash_process()
145 * This function expects the tasklist_lock write-locked.
[all …]
/kernel/linux/linux-6.6/drivers/counter/
Dcounter-sysfs.c1 // SPDX-License-Identifier: GPL-2.0
20 #include "counter-sysfs.h"
28 * struct counter_attribute - Counter sysfs attribute
30 * @l: node to add Counter attribute to attribute group list
48 * struct counter_attribute_group - container for attribute group
49 * @name: name of the attribute group
62 [COUNTER_FUNCTION_PULSE_DIRECTION] = "pulse-direction",
90 [COUNTER_COUNT_MODE_NON_RECYCLE] = "non-recycle",
91 [COUNTER_COUNT_MODE_MODULO_N] = "modulo-n",
93 [COUNTER_COUNT_MODE_HARDWARE_RETRIGGERABLE_ONESHOT] = "hardware retriggerable one-shot",
[all …]
/kernel/linux/linux-6.6/kernel/
Dsignal.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/kernel/signal.c
7 * 1997-11-02 Modified for POSIX.1b signals by Richard Henderson
9 * 2003-06-02 Jim Houston - Concurrent Computer Corp.
33 #include <linux/signal.h>
46 #include <linux/posix-timers.h>
52 #include <trace/events/signal.h>
62 * SLAB caches for signal bits.
71 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler()
91 if (unlikely(t->signal->flags & SIGNAL_UNKILLABLE) && in sig_task_ignored()
[all …]
Dexit.c1 // SPDX-License-Identifier: GPL-2.0-only
43 #include <linux/signal.h>
44 #include <linux/posix-timers.h>
80 * overflowing 32-bit refcounts or the ldsem writer count.
125 nr_threads--; in __unhash_process()
132 list_del_rcu(&p->tasks); in __unhash_process()
133 list_del_init(&p->sibling); in __unhash_process()
136 list_del_rcu(&p->thread_group); in __unhash_process()
137 list_del_rcu(&p->thread_node); in __unhash_process()
141 * This function expects the tasklist_lock write-locked.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/
Dgpio.txt5 -----------------
7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
8 of this GPIO for the device. While a non-existent <name> is considered valid
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
24 and bit-banged data signals:
27 gpio-controller;
28 #gpio-cells = <2>;
32 data-gpios = <&gpio1 12 0>,
44 recommended to use the two-cell approach.
48 include/dt-bindings/gpio/gpio.h whenever possible:
[all …]
/kernel/linux/linux-6.6/include/linux/
Dsignal.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 #define SI_EXPANSION_SIZE (sizeof(struct siginfo) - sizeof(struct kernel_siginfo))
66 unsigned long sig = _sig - 1; in sigaddset()
68 set->sig[0] |= 1UL << sig; in sigaddset()
70 set->sig[sig / _NSIG_BPW] |= 1UL << (sig % _NSIG_BPW); in sigaddset()
75 unsigned long sig = _sig - 1; in sigdelset()
77 set->sig[0] &= ~(1UL << sig); in sigdelset()
79 set->sig[sig / _NSIG_BPW] &= ~(1UL << (sig % _NSIG_BPW)); in sigdelset()
84 unsigned long sig = _sig - 1; in sigismember()
86 return 1 & (set->sig[0] >> sig); in sigismember()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/
Dgpio.txt5 -----------------
7 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose
8 of this GPIO for the device. While a non-existent <name> is considered valid
10 for new bindings. Also, GPIO properties named "[<name>-]gpio" are valid and old
24 and bit-banged data signals:
27 gpio-controller;
28 #gpio-cells = <2>;
32 data-gpios = <&gpio1 12 0>,
44 recommended to use the two-cell approach.
48 include/dt-bindings/gpio/gpio.h whenever possible:
[all …]
/kernel/linux/linux-5.10/include/linux/
Dsignal.h1 /* SPDX-License-Identifier: GPL-2.0 */
25 #define SI_EXPANSION_SIZE (sizeof(struct siginfo) - sizeof(struct kernel_siginfo))
64 unsigned long sig = _sig - 1; in sigaddset()
66 set->sig[0] |= 1UL << sig; in sigaddset()
68 set->sig[sig / _NSIG_BPW] |= 1UL << (sig % _NSIG_BPW); in sigaddset()
73 unsigned long sig = _sig - 1; in sigdelset()
75 set->sig[0] &= ~(1UL << sig); in sigdelset()
77 set->sig[sig / _NSIG_BPW] &= ~(1UL << (sig % _NSIG_BPW)); in sigdelset()
82 unsigned long sig = _sig - 1; in sigismember()
84 return 1 & (set->sig[0] >> sig); in sigismember()
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/cgroup-v1/
Dhugetlb.rst7 # mount -t cgroup -o hugetlb none /sys/fs/cgroup
9 With the above step, the initial or the parent HugeTLB group becomes
10 visible at /sys/fs/cgroup. At bootup, this group includes all the tasks in
13 New groups can be created under the parent group /sys/fs/cgroup::
19 The above steps create a new group g1 and move the current shell
25 …rsvd.max_usage_in_bytes # show max "hugepagesize" hugetlb reservations and no-reserve faults
26 …hugetlb.<hugepagesize>.rsvd.usage_in_bytes # show current reservations and no-reserve f…
70 control group and enforces the limit during page fault. Since HugeTLB
72 that, the application will get SIGBUS signal if it tries to fault in HugeTLB
87 group and enforces the controller limit at reservation time and at the fault of
[all …]

12345678910>>...41