Lines Matching refs:BC_Read_Reg
27 while (!(cs->BC_Read_Reg(cs, HFC_STATUS, 0) & HFC_BUSY) && to) { in WaitForBusy()
28 val = cs->BC_Read_Reg(cs, HFC_DATA, HFC_CIP | HFC_F2 | in WaitForBusy()
45 while ((cs->BC_Read_Reg(cs, HFC_STATUS, 0) & HFC_BUSY) && to) { in WaitNoBusy()
76 val = 256 * bcs->cs->BC_Read_Reg(bcs->cs, HFC_DATA, reg | HFC_CIP | HFC_Z_HIGH); in ReadZReg()
78 val += bcs->cs->BC_Read_Reg(bcs->cs, HFC_DATA, reg | HFC_CIP | HFC_Z_LOW); in ReadZReg()
98 f1 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_clear_fifo()
101 f2 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_clear_fifo()
120 cs->BC_Read_Reg(cs, HFC_DATA_NODEB, cip); in hfc_clear_fifo()
125 cs->BC_Read_Reg(cs, HFC_DATA, HFC_CIP | HFC_F2_INC | HFC_REC | in hfc_clear_fifo()
131 f1 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_clear_fifo()
134 f2 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_clear_fifo()
161 cs->BC_Read_Reg(cs, HFC_DATA_NODEB, cip); in hfc_empty_fifo()
163 stat = cs->BC_Read_Reg(cs, HFC_DATA, HFC_CIP | HFC_F2_INC | HFC_REC | in hfc_empty_fifo()
173 cs->BC_Read_Reg(cs, HFC_DATA_NODEB, cip); in hfc_empty_fifo()
175 stat = cs->BC_Read_Reg(cs, HFC_DATA, HFC_CIP | HFC_F2_INC | HFC_REC | in hfc_empty_fifo()
194 *ptr++ = cs->BC_Read_Reg(cs, HFC_DATA_NODEB, cip); in hfc_empty_fifo()
203 stat = cs->BC_Read_Reg(cs, HFC_DATA, HFC_CIP | HFC_F2_INC | HFC_REC | in hfc_empty_fifo()
211 chksum = (cs->BC_Read_Reg(cs, HFC_DATA, cip) << 8); in hfc_empty_fifo()
213 chksum += cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_empty_fifo()
215 stat = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_empty_fifo()
228 stat = cs->BC_Read_Reg(cs, HFC_DATA, HFC_CIP | HFC_F2_INC | HFC_REC | in hfc_empty_fifo()
257 bcs->hw.hfc.f1 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_fill_fifo()
260 bcs->hw.hfc.f2 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in hfc_fill_fifo()
310 cs->BC_Read_Reg(cs, HFC_DATA, HFC_CIP | HFC_F1_INC | HFC_SEND | HFC_CHANNEL(bcs->channel)); in hfc_fill_fifo()
344 f1 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in main_irq_hfc()
347 f2 = cs->BC_Read_Reg(cs, HFC_DATA, cip); in main_irq_hfc()