Lines Matching refs:bas
365 update_basstate(cs->hw.bas, BS_RESETTING, 0); in error_reset()
368 usb_queue_reset_device(cs->hw.bas->interface); in error_reset()
482 struct bas_cardstate *ucs = cs->hw.bas; in read_ctrl_callback()
554 struct bas_cardstate *ucs = cs->hw.bas; in atread_submit()
675 struct bas_cardstate *ucs = cs->hw.bas; in read_int_callback()
760 stopurbs(bcs->hw.bas); in read_int_callback()
774 &bcs->hw.bas->corrbytes); in read_int_callback()
777 channel, bcs->hw.bas->numsub, l, in read_int_callback()
778 atomic_read(&bcs->hw.bas->corrbytes)); in read_int_callback()
876 ubc = bcs->hw.bas; in read_iso_callback()
898 urb->dev = bcs->cs->hw.bas->udev; in read_iso_callback()
941 ubc = ucx->bcs->hw.bas; in write_iso_callback()
961 struct bas_bc_state *ubc = bcs->hw.bas; in starturbs()
978 usb_fill_int_urb(urb, bcs->cs->hw.bas->udev, in starturbs()
1009 usb_fill_int_urb(urb, bcs->cs->hw.bas->udev, in starturbs()
1085 struct bas_bc_state *ubc = ucx->bcs->hw.bas; in submit_iso_write_urb()
1090 urb->dev = ucx->bcs->cs->hw.bas->udev; in submit_iso_write_urb()
1162 struct bas_bc_state *ubc = bcs->hw.bas; in write_iso_tasklet()
1305 struct bas_bc_state *ubc = bcs->hw.bas; in read_iso_tasklet()
1424 urb->dev = bcs->cs->hw.bas->udev; in read_iso_tasklet()
1597 struct bas_cardstate *ucs = bcs->cs->hw.bas; in req_submit()
1662 if (cs->hw.bas->basstate & BS_SUSPEND) { in gigaset_init_bchannel()
1686 stopurbs(bcs->hw.bas); in gigaset_init_bchannel()
1718 if (!(cs->hw.bas->basstate & (bcs->channel ? BS_B2OPEN : BS_B1OPEN))) { in gigaset_close_bchannel()
1779 struct bas_cardstate *ucs = cs->hw.bas; in write_command_callback()
1867 struct bas_cardstate *ucs = cs->hw.bas; in atwrite_submit()
1915 struct bas_cardstate *ucs = cs->hw.bas; in start_cbsend()
1997 if (!(cs->hw.bas->basstate & BS_ATRDPEND)) { in gigaset_write_cmd()
1998 kfree(cs->hw.bas->rcvbuf); in gigaset_write_cmd()
1999 cs->hw.bas->rcvbuf = NULL; in gigaset_write_cmd()
2000 cs->hw.bas->rcvbuf_size = 0; in gigaset_write_cmd()
2001 cs->hw.bas->retry_cmd_in = 0; in gigaset_write_cmd()
2092 struct bas_bc_state *ubc = bcs->hw.bas; in gigaset_freebcshw()
2113 bcs->hw.bas = NULL; in gigaset_freebcshw()
2127 bcs->hw.bas = ubc = kmalloc(sizeof(struct bas_bc_state), GFP_KERNEL); in gigaset_initbcshw()
2146 bcs->hw.bas = NULL; in gigaset_initbcshw()
2177 struct bas_bc_state *ubc = bcs->hw.bas; in gigaset_reinitbcshw()
2179 bcs->hw.bas->running = 0; in gigaset_reinitbcshw()
2180 atomic_set(&bcs->hw.bas->corrbytes, 0); in gigaset_reinitbcshw()
2181 bcs->hw.bas->numsub = 0; in gigaset_reinitbcshw()
2190 kfree(cs->hw.bas->int_in_buf); in gigaset_freecshw()
2191 kfree(cs->hw.bas); in gigaset_freecshw()
2192 cs->hw.bas = NULL; in gigaset_freecshw()
2205 cs->hw.bas = ucs = kzalloc(sizeof(*ucs), GFP_KERNEL); in gigaset_initcshw()
2237 struct bas_cardstate *ucs = cs->hw.bas; in freeurbs()
2243 ubc = cs->bcs[j].hw.bas; in freeurbs()
2328 ucs = cs->hw.bas; in gigaset_probe()
2348 ubc = cs->bcs[j].hw.bas; in gigaset_probe()
2417 ucs = cs->hw.bas; in gigaset_disconnect()
2457 struct bas_cardstate *ucs = cs->hw.bas; in gigaset_suspend()
2525 struct bas_cardstate *ucs = cs->hw.bas; in gigaset_resume()
2634 ucs = driver->cs[i].hw.bas; in bas_gigaset_exit()