Lines Matching refs:st

333 		if (bcs->st->lli.l1writewakeup && (count >= 0))  in hfc_fill_fifo()
334 bcs->st->lli.l1writewakeup(bcs->st, count); in hfc_fill_fifo()
476 hfc_l2l1(struct PStack *st, int pr, void *arg) in hfc_l2l1() argument
485 if (st->l1.bcs->tx_skb) { in hfc_l2l1()
486 skb_queue_tail(&st->l1.bcs->squeue, skb); in hfc_l2l1()
489 st->l1.bcs->tx_skb = skb; in hfc_l2l1()
490 test_and_set_bit(BC_FLG_BUSY, &st->l1.bcs->Flag); in hfc_l2l1()
491 st->l1.bcs->cs->BC_Send_Data(st->l1.bcs); in hfc_l2l1()
496 if (st->l1.bcs->tx_skb) { in hfc_l2l1()
502 test_and_set_bit(BC_FLG_BUSY, &st->l1.bcs->Flag); in hfc_l2l1()
503 st->l1.bcs->tx_skb = skb; in hfc_l2l1()
504 st->l1.bcs->cs->BC_Send_Data(st->l1.bcs); in hfc_l2l1()
508 if (!st->l1.bcs->tx_skb) { in hfc_l2l1()
509 test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in hfc_l2l1()
510 st->l1.l1l2(st, PH_PULL | CONFIRM, NULL); in hfc_l2l1()
512 test_and_set_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in hfc_l2l1()
515 test_and_set_bit(BC_FLG_ACTIV, &st->l1.bcs->Flag); in hfc_l2l1()
516 mode_hfc(st->l1.bcs, st->l1.mode, st->l1.bc); in hfc_l2l1()
517 l1_msg_b(st, pr, arg); in hfc_l2l1()
520 l1_msg_b(st, pr, arg); in hfc_l2l1()
523 test_and_clear_bit(BC_FLG_ACTIV, &st->l1.bcs->Flag); in hfc_l2l1()
524 test_and_clear_bit(BC_FLG_BUSY, &st->l1.bcs->Flag); in hfc_l2l1()
525 mode_hfc(st->l1.bcs, 0, st->l1.bc); in hfc_l2l1()
526 st->l1.l1l2(st, PH_DEACTIVATE | CONFIRM, NULL); in hfc_l2l1()
563 setstack_hfc(struct PStack *st, struct BCState *bcs) in setstack_hfc() argument
565 bcs->channel = st->l1.bc; in setstack_hfc()
566 if (open_hfcstate(st->l1.hardware, bcs)) in setstack_hfc()
568 st->l1.bcs = bcs; in setstack_hfc()
569 st->l2.l2l1 = hfc_l2l1; in setstack_hfc()
570 setstack_manager(st); in setstack_hfc()
571 bcs->st = st; in setstack_hfc()
572 setstack_l1_B(st); in setstack_hfc()