Lines Matching refs:flags
355 unsigned long flags; in hvcs_partner_vtys_show() local
358 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_partner_vtys_show()
360 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_partner_vtys_show()
369 unsigned long flags; in hvcs_partner_clcs_show() local
372 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_partner_clcs_show()
374 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_partner_clcs_show()
394 unsigned long flags; in hvcs_current_vty_show() local
397 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_current_vty_show()
399 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_current_vty_show()
411 unsigned long flags; in hvcs_vterm_state_store() local
417 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_vterm_state_store()
420 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_vterm_state_store()
427 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_vterm_state_store()
440 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_vterm_state_store()
448 unsigned long flags; in hvcs_vterm_state_show() local
451 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_vterm_state_show()
453 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_vterm_state_show()
463 unsigned long flags; in hvcs_index_show() local
466 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_index_show()
468 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_index_show()
521 unsigned long flags; in hvcs_unthrottle() local
523 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_unthrottle()
525 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_unthrottle()
532 unsigned long flags; in hvcs_throttle() local
534 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_throttle()
536 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_throttle()
593 unsigned long flags; in hvcs_io() local
596 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_io()
603 if (!tty || test_bit(TTY_THROTTLED, &tty->flags)) { in hvcs_io()
623 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_io()
630 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_io()
632 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_io()
638 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_io()
702 unsigned long flags; in hvcs_destruct_port() local
705 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_destruct_port()
729 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_destruct_port()
841 unsigned long flags; in hvcs_remove() local
849 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_remove()
853 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_remove()
943 unsigned long flags; in hvcs_rescan_devices_list() local
948 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_rescan_devices_list()
950 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_rescan_devices_list()
1040 unsigned long flags; in hvcs_enable_device() local
1064 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_enable_device()
1066 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_enable_device()
1082 unsigned long flags; in hvcs_get_by_index() local
1086 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_get_by_index()
1089 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_get_by_index()
1093 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_get_by_index()
1104 unsigned long unit_address, flags; in hvcs_install() local
1119 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_install()
1124 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_install()
1145 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_install()
1163 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_install()
1165 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_install()
1180 unsigned long flags; in hvcs_open() local
1182 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_open()
1185 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_open()
1198 unsigned long flags; in hvcs_close() local
1218 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_close()
1231 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_close()
1250 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_close()
1263 unsigned long flags; in hvcs_hangup() local
1267 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_hangup()
1293 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_hangup()
1326 unsigned long flags; in hvcs_write() local
1347 spin_lock_irqsave(&hvcsd->lock, flags); in hvcs_write()
1356 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_write()
1412 spin_unlock_irqrestore(&hvcsd->lock, flags); in hvcs_write()
1521 hvcs_tty_driver->flags = TTY_DRIVER_REAL_RAW; in hvcs_initialize()