Home
last modified time | relevance | path

Searched refs:pgrp (Results 1 – 7 of 7) sorted by relevance

/drivers/tty/
Dtty_jobctrl.c36 struct pid *pgrp, *tty_pgrp; in __tty_check_change() local
43 pgrp = task_pgrp(current); in __tty_check_change()
46 tty_pgrp = tty->ctrl.pgrp; in __tty_check_change()
49 if (tty_pgrp && pgrp != tty_pgrp) { in __tty_check_change()
56 kill_pgrp(pgrp, sig, 1); in __tty_check_change()
108 put_pid(tty->ctrl.pgrp); in __proc_set_tty()
109 tty->ctrl.pgrp = get_pid(task_pgrp(current)); in __proc_set_tty()
222 tty_pgrp = get_pid(tty->ctrl.pgrp); in tty_signal_session_leader()
223 if (tty->ctrl.pgrp) in tty_signal_session_leader()
225 get_pid(tty->ctrl.pgrp); in tty_signal_session_leader()
[all …]
Dpty.c190 struct pid *pgrp; in pty_signal() local
196 pgrp = tty_get_pgrp(tty->link); in pty_signal()
197 if (pgrp) in pty_signal()
198 kill_pgrp(pgrp, sig, 1); in pty_signal()
199 put_pid(pgrp); in pty_signal()
285 struct pid *pgrp, *rpgrp; in pty_resize() local
294 pgrp = tty_get_pgrp(tty); in pty_resize()
297 if (pgrp) in pty_resize()
298 kill_pgrp(pgrp, SIGWINCH, 1); in pty_resize()
299 if (rpgrp != pgrp && rpgrp) in pty_resize()
[all …]
Dtty_io.c637 put_pid(tty->ctrl.pgrp); in __tty_hangup()
639 tty->ctrl.pgrp = NULL; in __tty_hangup()
1539 put_pid(tty->ctrl.pgrp); in release_one_tty()
2230 if (tty->ctrl.pgrp) { in __tty_fasync()
2231 pid = tty->ctrl.pgrp; in __tty_fasync()
2325 struct pid *pgrp; in tty_do_resize() local
2333 pgrp = tty_get_pgrp(tty); in tty_do_resize()
2334 if (pgrp) in tty_do_resize()
2335 kill_pgrp(pgrp, SIGWINCH, 1); in tty_do_resize()
2336 put_pid(pgrp); in tty_do_resize()
[all …]
/drivers/pinctrl/
Dpinctrl-zynqmp.c198 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[group]; in zynqmp_pinmux_set_mux() local
201 for (i = 0; i < pgrp->npins; i++) { in zynqmp_pinmux_set_mux()
202 unsigned int pin = pgrp->pins[i]; in zynqmp_pinmux_set_mux()
460 const struct zynqmp_pctrl_group *pgrp = &pctrl->groups[selector]; in zynqmp_pinconf_group_set() local
462 for (i = 0; i < pgrp->npins; i++) { in zynqmp_pinconf_group_set()
463 ret = zynqmp_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynqmp_pinconf_group_set()
Dpinctrl-zynq.c895 const struct zynq_pctrl_group *pgrp = &pctrl->groups[group]; in zynq_pinmux_set_mux() local
913 reg |= pgrp->pins[0] << func->mux_shift; in zynq_pinmux_set_mux()
919 for (i = 0; i < pgrp->npins; i++) { in zynq_pinmux_set_mux()
920 unsigned int pin = pgrp->pins[i]; in zynq_pinmux_set_mux()
1127 const struct zynq_pctrl_group *pgrp = &pctrl->groups[selector]; in zynq_pinconf_group_set() local
1129 for (i = 0; i < pgrp->npins; i++) { in zynq_pinconf_group_set()
1130 ret = zynq_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in zynq_pinconf_group_set()
Dpinctrl-bm1880.c986 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[group]; in bm1880_pinmux_set_mux() local
990 for (i = 0; i < pgrp->npins; i++) { in bm1880_pinmux_set_mux()
991 unsigned int pin = pgrp->pins[i]; in bm1880_pinmux_set_mux()
1273 const struct bm1880_pctrl_group *pgrp = &pctrl->groups[selector]; in bm1880_pinconf_group_set() local
1275 for (i = 0; i < pgrp->npins; i++) { in bm1880_pinconf_group_set()
1276 ret = bm1880_pinconf_cfg_set(pctldev, pgrp->pins[i], configs, in bm1880_pinconf_group_set()
/drivers/pinctrl/intel/
Dpinctrl-intel.c881 const struct intel_padgroup *pgrp = &comm->gpps[j]; in intel_gpio_to_pin() local
883 if (pgrp->gpio_base == INTEL_GPIO_BASE_NOMAP) in intel_gpio_to_pin()
886 if (offset >= pgrp->gpio_base && in intel_gpio_to_pin()
887 offset < pgrp->gpio_base + pgrp->size) { in intel_gpio_to_pin()
890 pin = pgrp->base + offset - pgrp->gpio_base; in intel_gpio_to_pin()
894 *padgrp = pgrp; in intel_gpio_to_pin()