Lines Matching refs:bp
129 char *bp = buf; in channelmap_show() local
133 *bp++ = test_channelmap(i, mdev->channelmap) ? '1' : '0'; in channelmap_show()
135 return bp - buf; in channelmap_show()
286 struct Bprotocol *bp; in get_all_Bprotocols() local
290 list_for_each_entry(bp, &Bprotocols, list) in get_all_Bprotocols()
291 m |= bp->Bprotocols; in get_all_Bprotocols()
299 struct Bprotocol *bp; in get_Bprotocol4mask() local
302 list_for_each_entry(bp, &Bprotocols, list) in get_Bprotocol4mask()
303 if (bp->Bprotocols & m) { in get_Bprotocol4mask()
305 return bp; in get_Bprotocol4mask()
326 mISDN_register_Bprotocol(struct Bprotocol *bp) in mISDN_register_Bprotocol() argument
333 bp->name, bp->Bprotocols); in mISDN_register_Bprotocol()
334 old = get_Bprotocol4mask(bp->Bprotocols); in mISDN_register_Bprotocol()
338 old->name, old->Bprotocols, bp->name, bp->Bprotocols); in mISDN_register_Bprotocol()
342 list_add_tail(&bp->list, &Bprotocols); in mISDN_register_Bprotocol()
349 mISDN_unregister_Bprotocol(struct Bprotocol *bp) in mISDN_unregister_Bprotocol() argument
354 printk(KERN_DEBUG "%s: %s/%x\n", __func__, bp->name, in mISDN_unregister_Bprotocol()
355 bp->Bprotocols); in mISDN_unregister_Bprotocol()
357 list_del(&bp->list); in mISDN_unregister_Bprotocol()