Lines Matching refs:bc
66 struct w6692_ch bc[2]; member
83 card->bc[0].bch.debug = debug; in _set_debug()
84 card->bc[1].bch.debug = debug; in _set_debug()
127 ReadW6692B(struct w6692_ch *bc, u8 offset) in ReadW6692B() argument
129 return inb(bc->addr + offset); in ReadW6692B()
133 WriteW6692B(struct w6692_ch *bc, u8 offset, u8 value) in WriteW6692B() argument
135 outb(value, bc->addr + offset); in WriteW6692B()
651 struct w6692_ch *wch = &card->bc[ch]; in W6692B_interrupt()
838 w6692_mode(&card->bc[0], ISDN_P_NONE); in initW6692()
839 w6692_mode(&card->bc[1], ISDN_P_NONE); in initW6692()
851 WriteW6692B(&card->bc[0], W_B_EXIM, 0); in initW6692()
852 WriteW6692B(&card->bc[1], W_B_EXIM, 0); in initW6692()
856 WriteW6692B(&card->bc[0], W_B_CMDR, W_B_CMDR_RRST | W_B_CMDR_XRST); in initW6692()
857 WriteW6692B(&card->bc[1], W_B_CMDR, W_B_CMDR_RRST | W_B_CMDR_XRST); in initW6692()
935 struct w6692_ch *bc = container_of(bch, struct w6692_ch, bch); in w6692_l2l1B() local
947 W6692_fill_Bfifo(bc); in w6692_l2l1B()
954 ret = w6692_mode(bc, ch->protocol); in w6692_l2l1B()
965 w6692_mode(bc, ISDN_P_NONE); in w6692_l2l1B()
996 bch = &card->bc[rq->adr.channel - 1].bch; in open_bchannel()
1028 struct w6692_ch *bc = container_of(bch, struct w6692_ch, bch); in w6692_bctrl() local
1040 w6692_mode(bc, ISDN_P_NONE); in w6692_bctrl()
1224 card->bc[0].addr = card->addr; in setup_w6692()
1225 card->bc[1].addr = card->addr + 0x40; in setup_w6692()
1251 w6692_mode(&card->bc[0], ISDN_P_NONE); in release_card()
1252 w6692_mode(&card->bc[1], ISDN_P_NONE); in release_card()
1262 mISDN_freebchannel(&card->bc[1].bch); in release_card()
1263 mISDN_freebchannel(&card->bc[0].bch); in release_card()
1295 mISDN_initbchannel(&card->bc[i].bch, MAX_DATA_MEM, in setup_instance()
1297 card->bc[i].bch.hw = card; in setup_instance()
1298 card->bc[i].bch.nr = i + 1; in setup_instance()
1299 card->bc[i].bch.ch.nr = i + 1; in setup_instance()
1300 card->bc[i].bch.ch.send = w6692_l2l1B; in setup_instance()
1301 card->bc[i].bch.ch.ctrl = w6692_bctrl; in setup_instance()
1303 list_add(&card->bc[i].bch.ch.list, &card->dch.dev.bchannels); in setup_instance()
1328 mISDN_freebchannel(&card->bc[1].bch); in setup_instance()
1329 mISDN_freebchannel(&card->bc[0].bch); in setup_instance()