Home
last modified time | relevance | path

Searched refs:hfc (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/isdn/hisax/
Dhfc_usb.c151 struct hfcusb_data *hfc; /* pointer to main structure */ member
223 ctrl_start_transfer(hfcusb_data *hfc) in ctrl_start_transfer() argument
225 if (hfc->ctrl_cnt) { in ctrl_start_transfer()
226 hfc->ctrl_urb->pipe = hfc->ctrl_out_pipe; in ctrl_start_transfer()
227 hfc->ctrl_urb->setup_packet = (u_char *)&hfc->ctrl_write; in ctrl_start_transfer()
228 hfc->ctrl_urb->transfer_buffer = NULL; in ctrl_start_transfer()
229 hfc->ctrl_urb->transfer_buffer_length = 0; in ctrl_start_transfer()
230 hfc->ctrl_write.wIndex = in ctrl_start_transfer()
231 cpu_to_le16(hfc->ctrl_buff[hfc->ctrl_out_idx].hfc_reg); in ctrl_start_transfer()
232 hfc->ctrl_write.wValue = in ctrl_start_transfer()
[all …]
Dteleint.c105 cs->hw.hfc.cip = offset; in ReadISAC()
106 return (readreg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, offset)); in ReadISAC()
112 cs->hw.hfc.cip = offset; in WriteISAC()
113 writereg(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, offset, value); in WriteISAC()
119 cs->hw.hfc.cip = 0; in ReadISACfifo()
120 readfifo(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, 0, data, size); in ReadISACfifo()
126 cs->hw.hfc.cip = 0; in WriteISACfifo()
127 writefifo(cs->hw.hfc.addr | 1, cs->hw.hfc.addr, 0, data, size); in WriteISACfifo()
136 cs->hw.hfc.cip = reg; in ReadHFC()
137 byteout(cs->hw.hfc.addr | 1, reg); in ReadHFC()
[all …]
Dhfc_2bs0.c29 (cs->hw.hfc.cip & 3)); in WaitForBusy()
61 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2) in GetFreeFifoBytes()
62 return (bcs->cs->hw.hfc.fifosize); in GetFreeFifoBytes()
63 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2]; in GetFreeFifoBytes()
65 s += bcs->cs->hw.hfc.fifosize; in GetFreeFifoBytes()
66 s = bcs->cs->hw.hfc.fifosize - s; in GetFreeFifoBytes()
93 if ((cip & 0xc3) != (cs->hw.hfc.cip & 0xc3)) { in hfc_clear_fifo()
111 rcnt += cs->hw.hfc.fifosize; in hfc_clear_fifo()
251 if ((cip & 0xc3) != (cs->hw.hfc.cip & 0xc3)) { in hfc_fill_fifo()
257 bcs->hw.hfc.f1 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_fill_fifo()
[all …]
Dhfc_2bds0.c147 if (bcs->hw.hfc.f1 == bcs->hw.hfc.f2) in GetFreeFifoBytes_B()
149 s = bcs->hw.hfc.send[bcs->hw.hfc.f1] - bcs->hw.hfc.send[bcs->hw.hfc.f2]; in GetFreeFifoBytes_B()
275 bcs->hw.hfc.f1 = ReadReg(cs, HFCD_DATA, cip); in hfc_fill_fifo()
279 bcs->hw.hfc.f2 = ReadReg(cs, HFCD_DATA, cip); in hfc_fill_fifo()
280 …bcs->hw.hfc.send[bcs->hw.hfc.f1] = ReadZReg(cs, HFCB_FIFO | HFCB_Z1 | HFCB_SEND | HFCB_CHANNEL(bcs… in hfc_fill_fifo()
283 bcs->channel, bcs->hw.hfc.f1, bcs->hw.hfc.f2, in hfc_fill_fifo()
284 bcs->hw.hfc.send[bcs->hw.hfc.f1]); in hfc_fill_fifo()
285 fcnt = bcs->hw.hfc.f1 - bcs->hw.hfc.f2; in hfc_fill_fifo()
1043 if (!cs->bcs[0].hw.hfc.send) in init2bds0()
1044 cs->bcs[0].hw.hfc.send = init_send_hfcd(32); in init2bds0()
[all …]
Dhfcscard.c224 cs->bcs[0].hw.hfc.send = NULL; in setup_hfcs()
225 cs->bcs[1].hw.hfc.send = NULL; in setup_hfcs()
Dhisax.h526 struct hfcB_hw hfc; member
905 struct hfc_hw hfc; member
DKconfig326 <file:Documentation/isdn/README.hfc-pci>.