/Linux-v6.6/drivers/isdn/hardware/mISDN/ |
D | w6692.c | 67 struct dchannel dch; member 82 card->dch.debug = debug; in _set_debug() 187 schedule_event(&card->dch, FLG_PHCHANGE); in W6692_new_ph() 191 W6692_ph_bh(struct dchannel *dch) in W6692_ph_bh() argument 193 struct w6692_hw *card = dch->hw; in W6692_ph_bh() 197 dch->state = 0; in W6692_ph_bh() 198 l1_event(dch->l1, HW_RESET_IND); in W6692_ph_bh() 201 dch->state = 3; in W6692_ph_bh() 202 l1_event(dch->l1, HW_DEACT_CNF); in W6692_ph_bh() 205 dch->state = 3; in W6692_ph_bh() [all …]
|
D | mISDNipac.c | 26 #define ReadISAC(is, o) (is->read_reg(is->dch.hw, o + is->off)) 27 #define WriteISAC(is, o, v) (is->write_reg(is->dch.hw, o + is->off, v)) 51 schedule_event(&isac->dch, FLG_PHCHANGE); in isac_ph_state_change() 55 isac_ph_state_bh(struct dchannel *dch) in isac_ph_state_bh() argument 57 struct isac_hw *isac = container_of(dch, struct isac_hw, dch); in isac_ph_state_bh() 62 dch->state = 0; in isac_ph_state_bh() 63 l1_event(dch->l1, HW_RESET_IND); in isac_ph_state_bh() 66 dch->state = 3; in isac_ph_state_bh() 67 l1_event(dch->l1, HW_DEACT_CNF); in isac_ph_state_bh() 71 dch->state = 3; in isac_ph_state_bh() [all …]
|
D | hfcpci.c | 133 struct dchannel dch; member 454 struct dchannel *dch = &hc->dch; in receive_dmsg() local 469 if (dch->debug & DEBUG_HW_DCHANNEL) in receive_dmsg() 479 if (dch->debug & DEBUG_HW) in receive_dmsg() 494 dch->rx_skb = mI_alloc_skb(rcnt - 3, GFP_ATOMIC); in receive_dmsg() 495 if (!dch->rx_skb) { in receive_dmsg() 502 ptr = skb_put(dch->rx_skb, rcnt); in receive_dmsg() 524 recv_Dchannel(dch); in receive_dmsg() 664 struct dchannel *dch = &hc->dch; in hfcpci_fill_dfifo() local 670 if ((dch->debug & DEBUG_HW_DCHANNEL) && !(dch->debug & DEBUG_HW_DFIFO)) in hfcpci_fill_dfifo() [all …]
|
D | hfcsusb.c | 248 struct dchannel *dch = &hw->dch; in hfcsusb_ph_info() local 251 phi = kzalloc(struct_size(phi, bch, dch->dev.nrbchan), GFP_ATOMIC); in hfcsusb_ph_info() 255 phi->dch.ch.protocol = hw->protocol; in hfcsusb_ph_info() 256 phi->dch.ch.Flags = dch->Flags; in hfcsusb_ph_info() 257 phi->dch.state = dch->state; in hfcsusb_ph_info() 258 phi->dch.num_bch = dch->dev.nrbchan; in hfcsusb_ph_info() 259 for (i = 0; i < dch->dev.nrbchan; i++) { in hfcsusb_ph_info() 263 _queue_data(&dch->dev.D, MPH_INFORMATION_IND, MISDN_ID_ANY, in hfcsusb_ph_info() 264 struct_size(phi, bch, dch->dev.nrbchan), phi, GFP_ATOMIC); in hfcsusb_ph_info() 277 struct dchannel *dch = container_of(dev, struct dchannel, dev); in hfcusb_l2l1D() local [all …]
|
D | hfcmulti.c | 1577 struct dchannel *dch; in hfcmulti_leds() local 1592 dch = hc->chan[hc->dnum[0]].dch; in hfcmulti_leds() 1593 if (dch) { in hfcmulti_leds() 1637 dch = hc->chan[(i << 2) | 2].dch; in hfcmulti_leds() 1638 if (dch) { in hfcmulti_leds() 1639 state = dch->state; in hfcmulti_leds() 1640 if (dch->dev.D.protocol == ISDN_P_NT_S0) in hfcmulti_leds() 1701 dch = hc->chan[(i << 2) | 2].dch; in hfcmulti_leds() 1702 if (dch) { in hfcmulti_leds() 1703 state = dch->state; in hfcmulti_leds() [all …]
|
D | speedfax.c | 78 card->isac.dch.debug = debug; in _set_debug() 239 struct dchannel *dch = container_of(dev, struct dchannel, dev); in sfax_dctrl() local 240 struct sfax_hw *sf = dch->hw; in sfax_dctrl() 259 dch->dev.id, __builtin_return_address(0)); in sfax_dctrl() 350 mISDN_unregister_device(&card->isac.dch.dev); in release_card() 393 card->isac.dch.dev.D.ctrl = sfax_dctrl; in setup_instance() 394 card->isac.dch.dev.Bprotocols = in setup_instance() 397 set_channelmap(i + 1, card->isac.dch.dev.channelmap); in setup_instance() 399 &card->isac.dch.dev.bchannels); in setup_instance() 408 err = mISDN_register_device(&card->isac.dch.dev, in setup_instance() [all …]
|
D | avmfritz.c | 140 card->isac.dch.debug = debug; in _set_debug() 918 struct dchannel *dch = container_of(dev, struct dchannel, dev); in avm_dctrl() local 919 struct fritzcard *fc = dch->hw; in avm_dctrl() 937 pr_debug("%s: dev(%d) close from %p\n", fc->name, dch->dev.id, in avm_dctrl() 1013 mISDN_unregister_device(&card->isac.dch.dev); in release_card() 1042 card->isac.dch.dev.Bprotocols = (1 << (ISDN_P_B_RAW & ISDN_P_B_MASK)) | in setup_instance() 1044 card->isac.dch.dev.D.ctrl = avm_dctrl; in setup_instance() 1047 set_channelmap(i + 1, card->isac.dch.dev.channelmap); in setup_instance() 1057 list_add(&card->bch[i].ch.list, &card->isac.dch.dev.bchannels); in setup_instance() 1062 err = mISDN_register_device(&card->isac.dch.dev, &card->pdev->dev, in setup_instance() [all …]
|
D | netjet.c | 95 card->isac.dch.debug = debug; in _set_debug() 873 struct dchannel *dch = container_of(dev, struct dchannel, dev); in nj_dctrl() local 874 struct tiger_hw *card = dch->hw; in nj_dctrl() 892 pr_debug("%s: dev(%d) close from %p\n", card->name, dch->dev.id, in nj_dctrl() 959 if (device_is_registered(&card->isac.dch.dev.dev)) in nj_release() 960 mISDN_unregister_device(&card->isac.dch.dev); in nj_release() 1013 card->isac.dch.dev.Bprotocols = (1 << (ISDN_P_B_RAW & ISDN_P_B_MASK)) | in setup_instance() 1015 card->isac.dch.dev.D.ctrl = nj_dctrl; in setup_instance() 1018 set_channelmap(i + 1, card->isac.dch.dev.channelmap); in setup_instance() 1026 &card->isac.dch.dev.bchannels); in setup_instance() [all …]
|
D | hfcsusb.h | 264 struct dchannel *dch; /* link to hfcsusb_t->dch */ member 273 struct dchannel dch; member
|
D | mISDNinfineon.c | 226 card->ipac.isac.dch.debug = debug; in _set_debug() 867 mISDN_unregister_device(&card->ipac.isac.dch.dev); in release_card() 918 card->ipac.isac.dch.dev.Bprotocols = in setup_instance() 921 if (card->ipac.isac.dch.dev.Bprotocols == 0) in setup_instance() 924 err = mISDN_register_device(&card->ipac.isac.dch.dev, in setup_instance() 935 mISDN_unregister_device(&card->ipac.isac.dch.dev); in setup_instance()
|
D | ipac.h | 15 struct dchannel dch; member
|
D | hfc_multi.h | 41 struct dchannel *dch; /* link if channel is a D-channel */ member
|
/Linux-v6.6/drivers/isdn/mISDN/ |
D | hwchannel.c | 16 struct dchannel *dch = container_of(ws, struct dchannel, workq); in dchannel_bh() local 20 if (test_and_clear_bit(FLG_RECVQUEUE, &dch->Flags)) { in dchannel_bh() 21 while ((skb = skb_dequeue(&dch->rqueue))) { in dchannel_bh() 22 if (likely(dch->dev.D.peer)) { in dchannel_bh() 23 err = dch->dev.D.recv(dch->dev.D.peer, skb); in dchannel_bh() 30 if (test_and_clear_bit(FLG_PHCHANGE, &dch->Flags)) { in dchannel_bh() 31 if (dch->phfunc) in dchannel_bh() 32 dch->phfunc(dch); in dchannel_bh() 211 recv_Dchannel(struct dchannel *dch) in recv_Dchannel() argument 215 if (dch->rx_skb->len < 2) { /* at least 2 for sapi / tei */ in recv_Dchannel() [all …]
|
D | l1oip_core.c | 355 struct dchannel *dch; in l1oip_socket_recv() local 375 dch = hc->chan[channel].dch; in l1oip_socket_recv() 377 if (!dch && !bch) { in l1oip_socket_recv() 401 if (dch && len >= 2) { in l1oip_socket_recv() 402 dch->rx_skb = nskb; in l1oip_socket_recv() 403 recv_Dchannel(dch); in l1oip_socket_recv() 452 struct dchannel *dch = hc->chan[hc->d_idx].dch; in l1oip_socket_parse() local 585 if (!test_bit(FLG_ACTIVE, &dch->Flags)) { in l1oip_socket_parse() 589 test_and_set_bit(FLG_ACTIVE, &dch->Flags); in l1oip_socket_parse() 590 _queue_data(&dch->dev.D, PH_ACTIVATE_IND, MISDN_ID_ANY, 0, in l1oip_socket_parse() [all …]
|
D | layer1.c | 26 struct dchannel *dch; member 103 printk(KERN_DEBUG "%s: %pV\n", dev_name(&l1->dch->dev.dev), &vaf); in l1m_debug() 121 l1->dcb(l1->dch, HW_POWERUP_REQ); in l1_deact_cnf() 141 l1->dcb(l1->dch, INFO3_P8); in l1_power_up_s() 164 l1->dcb(l1->dch, INFO3_P8); in l1_info2_ind() 173 l1->dcb(l1->dch, INFO3_P8); in l1_info4_ind() 192 l1->dcb(l1->dch, HW_D_NOBLOCKED); in l1_timer3() 193 l1->dcb(l1->dch, PH_DEACTIVATE_IND); in l1_timer3() 208 l1->dcb(l1->dch, PH_ACTIVATE_IND); in l1_timer_act() 219 l1->dcb(l1->dch, HW_D_NOBLOCKED); in l1_timer_deact() [all …]
|
D | l1oip.h | 33 struct dchannel *dch; member
|
/Linux-v6.6/include/linux/ |
D | mISDNif.h | 324 struct ph_info_dch dch; member
|