Lines Matching refs:ch

218 	if (!dsp->ch.peer) {  in dsp_rx_off_member()
226 if (dsp->ch.peer->ctrl(dsp->ch.peer, CONTROL_CHANNEL, &cq)) { in dsp_rx_off_member()
263 if (!dsp->ch.peer) { in dsp_fill_empty()
272 if (dsp->ch.peer->ctrl(dsp->ch.peer, CONTROL_CHANNEL, &cq)) { in dsp_fill_empty()
628 get_features(struct mISDNchannel *ch) in get_features() argument
630 struct dsp *dsp = container_of(ch, struct dsp, ch); in get_features()
633 if (!ch->peer) { in get_features()
641 if (ch->peer->ctrl(ch->peer, CONTROL_CHANNEL, &cq) < 0) { in get_features()
655 if (ch->peer->ctrl(ch->peer, CONTROL_CHANNEL, &cq)) { in get_features()
666 dsp_function(struct mISDNchannel *ch, struct sk_buff *skb) in dsp_function() argument
668 struct dsp *dsp = container_of(ch, struct dsp, ch); in dsp_function()
913 get_features(ch); in dsp_function()
919 if (ch->peer) in dsp_function()
920 return ch->recv(ch->peer, skb); in dsp_function()
939 if (ch->peer) in dsp_function()
940 return ch->recv(ch->peer, skb); in dsp_function()
954 dsp_ctrl(struct mISDNchannel *ch, u_int cmd, void *arg) in dsp_ctrl() argument
956 struct dsp *dsp = container_of(ch, struct dsp, ch); in dsp_ctrl()
967 if (dsp->ch.peer) in dsp_ctrl()
968 dsp->ch.peer->ctrl(dsp->ch.peer, CLOSE_CHANNEL, NULL); in dsp_ctrl()
1037 if (dsp->ch.peer) { in dsp_send_bh()
1039 if (dsp->ch.recv(dsp->ch.peer, skb)) { in dsp_send_bh()
1069 ndsp->ch.send = dsp_function; in dspcreate()
1070 ndsp->ch.ctrl = dsp_ctrl; in dspcreate()
1071 ndsp->up = crq->ch; in dspcreate()
1072 crq->ch = &ndsp->ch; in dspcreate()