Lines Matching refs:basstate

118 	int			basstate;	/* bitmap (BS_*) */  member
332 state = ucs->basstate; in update_basstate()
333 ucs->basstate = (state & ~clear) | set; in update_basstate()
385 if (ucs->basstate & BS_ATOPEN) in check_pending()
389 if (ucs->basstate & BS_B1OPEN) in check_pending()
393 if (ucs->basstate & BS_B2OPEN) in check_pending()
397 if (!(ucs->basstate & BS_ATOPEN)) in check_pending()
401 if (!(ucs->basstate & BS_B1OPEN)) in check_pending()
405 if (!(ucs->basstate & BS_B2OPEN)) in check_pending()
412 if (!(ucs->basstate & BS_RESETTING)) in check_pending()
555 int basstate; in atread_submit() local
561 basstate = update_basstate(ucs, BS_ATRDPEND, 0); in atread_submit()
562 if (basstate & BS_ATRDPEND) { in atread_submit()
568 if (basstate & BS_SUSPEND) { in atread_submit()
788 if (ucs->basstate & BS_ATRDPEND) { in read_int_callback()
1551 (ucs->basstate & BS_SUSPEND)) { in write_ctrl_callback()
1663 if (cs->hw.bas->basstate & BS_SUSPEND) { in gigaset_init_bchannel()
1719 if (!(cs->hw.bas->basstate & (bcs->channel ? BS_B2OPEN : BS_B1OPEN))) { in gigaset_close_bchannel()
1809 if (ucs->basstate & BS_SUSPEND) { in write_command_callback()
1922 if (ucs->basstate & BS_SUSPEND) { in start_cbsend()
1928 if (!(ucs->basstate & BS_ATOPEN)) { in start_cbsend()
1944 while ((cb = cs->cmdbuf) != NULL && (ucs->basstate & BS_ATREADY)) { in start_cbsend()
1998 if (!(cs->hw.bas->basstate & BS_ATRDPEND)) { in gigaset_write_cmd()
2423 ucs->basstate = 0; in gigaset_disconnect()
2469 !(ucs->basstate & in gigaset_suspend()
2475 if (ucs->basstate & (BS_B1OPEN | BS_B2OPEN | BS_ATRDPEND | BS_ATWRPEND)) { in gigaset_suspend()
2477 if (ucs->basstate & BS_B1OPEN) in gigaset_suspend()
2479 if (ucs->basstate & BS_B2OPEN) in gigaset_suspend()
2481 if (ucs->basstate & BS_ATRDPEND) in gigaset_suspend()
2483 if (ucs->basstate & BS_ATWRPEND) in gigaset_suspend()
2490 if (ucs->basstate & BS_ATOPEN) { in gigaset_suspend()
2636 if (ucs->basstate & BS_B1OPEN) { in bas_gigaset_exit()
2643 if (ucs->basstate & BS_B2OPEN) { in bas_gigaset_exit()
2650 if (ucs->basstate & BS_ATOPEN) { in bas_gigaset_exit()
2657 ucs->basstate = 0; in bas_gigaset_exit()