Home
last modified time | relevance | path

Searched refs:ctrl (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/src/driver/tty/
H A Dtty_job_control.rs22 let mut ctrl = core.contorl_info_irqsave(); in proc_set_tty() localVariable
25 ctrl.session = Some(pcb.basic().sid()); in proc_set_tty()
30 drop(ctrl); in proc_set_tty()
45 let ctrl = core.contorl_info_irqsave(); in tty_check_change() localVariable
49 let tty_pgid = ctrl.pgid; in tty_check_change()
95 let mut ctrl = tty.core().contorl_info_irqsave(); in job_ctrl_ioctl() localVariable
99 || ctrl.session.is_none() in job_ctrl_ioctl()
100 || ctrl.session.unwrap() != current.basic().sid() in job_ctrl_ioctl()
105 ctrl.pgid = Some(Pid::new(*pgrp as usize)); in job_ctrl_ioctl()
H A Dtty_core.rs71 ctrl: SpinLock::new(TtyContorlInfo::default()), in new()
320 ctrl: SpinLock<TtyContorlInfo>, field
414 self.ctrl.lock_irqsave() in contorl_info_irqsave()
/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs68 let mut ctrl = to.core().contorl_info_irqsave(); in flush_buffer() localVariable
69 ctrl.pktstatus.insert(TtyPacketStatus::TIOCPKT_FLUSHWRITE); in flush_buffer()
130 let mut ctrl = core.contorl_info_irqsave(); in set_termios() localVariable
132 ctrl.pktstatus.remove( in set_termios()
137 ctrl.pktstatus.insert(TtyPacketStatus::TIOCPKT_DOSTOP); in set_termios()
139 ctrl.pktstatus.insert(TtyPacketStatus::TIOCPKT_NOSTOP); in set_termios()
144 ctrl.pktstatus.insert(TtyPacketStatus::TIOCPKT_IOCTL); in set_termios()
168 let mut ctrl = core.contorl_info_irqsave(); in start() localVariable
169 ctrl.pktstatus.remove(TtyPacketStatus::TIOCPKT_STOP); in start()
170 ctrl.pktstatus.insert(TtyPacketStatus::TIOCPKT_START); in start()
[all …]
H A Dmod.rs197 let mut ctrl = tty.contorl_info_irqsave(); in pty_set_packet_mode() localVariable
199 if !ctrl.packet { in pty_set_packet_mode()
202 ctrl.packet = true; in pty_set_packet_mode()
205 ctrl.packet = false; in pty_set_packet_mode()
/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e.rs260 let mut ctrl = volread!(general_regs, ctrl); in new() localVariable
265 volwrite!(general_regs, ctrl, ctrl | E1000E_CTRL_RST); in new()
268 ctrl = volread!(general_regs, ctrl); in new()
269 volwrite!(general_regs, ctrl, ctrl | E1000E_CTRL_PHY_RST); in new()
270 volwrite!(general_regs, ctrl, ctrl); in new()
280 ctrl = volread!(general_regs, ctrl); in new()
281 ctrl &= !(E1000E_CTRL_FRCSPD | E1000E_CTRL_FRCDPLX); in new()
282 volwrite!(general_regs, ctrl, ctrl | E1000E_CTRL_SLU); in new()
640 ctrl: Volatile<u32>, //0x00000 field
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs363 fn do_send_command(&self, ctrl: u8, command: u8) -> Result<(), SystemError> { in do_send_command()
364 self.write_control_port(ctrl)?; in do_send_command()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs1647 let mut ctrl = link.contorl_info_irqsave(); in read() localVariable
1648 if !ctrl.pktstatus.is_empty() { in read()
1652 let cs = ctrl.pktstatus; in read()
1653 ctrl.pktstatus = TtyPacketStatus::empty(); in read()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.9.md363 - 信号: 能够正常通过ctrl向前台进程发送信号