Home
last modified time | relevance | path

Searched refs:newctrl (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/timer/
H A Dcmsdk-apb-dualtimer.c133 newctrl &= R_CONTROL_VALID_MASK; in cmsdk_dualtimermod_write_control()
135 changed = m->control ^ newctrl; in cmsdk_dualtimermod_write_control()
137 if (changed & ~newctrl & R_CONTROL_ENABLE_MASK) { in cmsdk_dualtimermod_write_control()
145 switch (FIELD_EX32(newctrl, CONTROL, PRESCALE)) { in cmsdk_dualtimermod_write_control()
170 if (newctrl & R_CONTROL_MODE_MASK) { in cmsdk_dualtimermod_write_control()
194 if (newctrl & R_CONTROL_SIZE_MASK) { in cmsdk_dualtimermod_write_control()
203 if (newctrl & R_CONTROL_MODE_MASK) { in cmsdk_dualtimermod_write_control()
205 if (newctrl & R_CONTROL_SIZE_MASK) { in cmsdk_dualtimermod_write_control()
213 if (newctrl & R_CONTROL_SIZE_MASK) { in cmsdk_dualtimermod_write_control()
223 if (newctrl & R_CONTROL_ENABLE_MASK) { in cmsdk_dualtimermod_write_control()
[all …]
/openbmc/linux/drivers/staging/greybus/
H A Duart.c487 u8 newctrl = gb_tty->ctrlout; in gb_tty_set_termios() local
509 gb_tty->ctrlout = newctrl; in gb_tty_set_termios()
510 send_control(gb_tty, newctrl); in gb_tty_set_termios()
540 u8 newctrl = gb_tty->ctrlout; in gb_tty_tiocmset() local
547 newctrl = (newctrl & ~clear) | set; in gb_tty_tiocmset()
548 if (gb_tty->ctrlout == newctrl) in gb_tty_tiocmset()
551 gb_tty->ctrlout = newctrl; in gb_tty_tiocmset()
706 u8 newctrl; in gb_tty_dtr_rts() local
709 newctrl = gb_tty->ctrlout; in gb_tty_dtr_rts()
716 gb_tty->ctrlout = newctrl; in gb_tty_dtr_rts()
[all …]
/openbmc/linux/drivers/usb/class/
H A Dcdc-acm.c292 int newctrl; in acm_process_notification() local
311 newctrl = get_unaligned_le16(data); in acm_process_notification()
333 acm->ctrlin = newctrl; in acm_process_notification()
945 unsigned int newctrl; in acm_tty_tiocmset() local
947 newctrl = acm->ctrlout; in acm_tty_tiocmset()
953 newctrl = (newctrl & ~clear) | set; in acm_tty_tiocmset()
955 if (acm->ctrlout == newctrl) in acm_tty_tiocmset()
1086 int newctrl = acm->ctrlout; in acm_tty_set_termios() local
1100 newctrl &= ~USB_CDC_CTRL_DTR; in acm_tty_set_termios()
1102 newctrl |= USB_CDC_CTRL_DTR; in acm_tty_set_termios()
[all …]