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()
126 ReadW6692B(struct w6692_ch *bc, u8 offset) in ReadW6692B() argument
128 return inb(bc->addr + offset); in ReadW6692B()
132 WriteW6692B(struct w6692_ch *bc, u8 offset, u8 value) in WriteW6692B() argument
134 outb(value, bc->addr + offset); in WriteW6692B()
650 struct w6692_ch *wch = &card->bc[ch]; in W6692B_interrupt()
837 w6692_mode(&card->bc[0], ISDN_P_NONE); in initW6692()
838 w6692_mode(&card->bc[1], ISDN_P_NONE); in initW6692()
850 WriteW6692B(&card->bc[0], W_B_EXIM, 0); in initW6692()
851 WriteW6692B(&card->bc[1], W_B_EXIM, 0); in initW6692()
855 WriteW6692B(&card->bc[0], W_B_CMDR, W_B_CMDR_RRST | W_B_CMDR_XRST); in initW6692()
856 WriteW6692B(&card->bc[1], W_B_CMDR, W_B_CMDR_RRST | W_B_CMDR_XRST); in initW6692()
934 struct w6692_ch *bc = container_of(bch, struct w6692_ch, bch); in w6692_l2l1B() local
946 W6692_fill_Bfifo(bc); in w6692_l2l1B()
953 ret = w6692_mode(bc, ch->protocol); in w6692_l2l1B()
964 w6692_mode(bc, ISDN_P_NONE); in w6692_l2l1B()
995 bch = &card->bc[rq->adr.channel - 1].bch; in open_bchannel()
1027 struct w6692_ch *bc = container_of(bch, struct w6692_ch, bch); in w6692_bctrl() local
1039 w6692_mode(bc, ISDN_P_NONE); in w6692_bctrl()
1223 card->bc[0].addr = card->addr; in setup_w6692()
1224 card->bc[1].addr = card->addr + 0x40; in setup_w6692()
1250 w6692_mode(&card->bc[0], ISDN_P_NONE); in release_card()
1251 w6692_mode(&card->bc[1], ISDN_P_NONE); in release_card()
1261 mISDN_freebchannel(&card->bc[1].bch); in release_card()
1262 mISDN_freebchannel(&card->bc[0].bch); in release_card()
1294 mISDN_initbchannel(&card->bc[i].bch, MAX_DATA_MEM, in setup_instance()
1296 card->bc[i].bch.hw = card; in setup_instance()
1297 card->bc[i].bch.nr = i + 1; in setup_instance()
1298 card->bc[i].bch.ch.nr = i + 1; in setup_instance()
1299 card->bc[i].bch.ch.send = w6692_l2l1B; in setup_instance()
1300 card->bc[i].bch.ch.ctrl = w6692_bctrl; in setup_instance()
1302 list_add(&card->bc[i].bch.ch.list, &card->dch.dev.bchannels); in setup_instance()
1327 mISDN_freebchannel(&card->bc[1].bch); in setup_instance()
1328 mISDN_freebchannel(&card->bc[0].bch); in setup_instance()