Lines Matching refs:hscx

44 	int hscx = bcs->hw.hscx.hscx;  in modehscx()  local
48 'A' + hscx, mode, bc); in modehscx()
51 cs->BC_Write_Reg(cs, hscx, HSCX_XAD1, 0xFF); in modehscx()
52 cs->BC_Write_Reg(cs, hscx, HSCX_XAD2, 0xFF); in modehscx()
53 cs->BC_Write_Reg(cs, hscx, HSCX_RAH2, 0xFF); in modehscx()
54 cs->BC_Write_Reg(cs, hscx, HSCX_XBCH, 0x0); in modehscx()
55 cs->BC_Write_Reg(cs, hscx, HSCX_RLCR, 0x0); in modehscx()
56 cs->BC_Write_Reg(cs, hscx, HSCX_CCR1, in modehscx()
58 cs->BC_Write_Reg(cs, hscx, HSCX_CCR2, 0x30); in modehscx()
59 cs->BC_Write_Reg(cs, hscx, HSCX_XCCR, 7); in modehscx()
60 cs->BC_Write_Reg(cs, hscx, HSCX_RCCR, 7); in modehscx()
63 if (test_bit(HW_IOM1, &cs->HW_Flags) && (hscx == 0)) in modehscx()
67 cs->BC_Write_Reg(cs, hscx, HSCX_TSAX, in modehscx()
68 test_bit(HW_IOM1, &cs->HW_Flags) ? 0x7 : bcs->hw.hscx.tsaxr0); in modehscx()
69 cs->BC_Write_Reg(cs, hscx, HSCX_TSAR, in modehscx()
70 test_bit(HW_IOM1, &cs->HW_Flags) ? 0x7 : bcs->hw.hscx.tsaxr0); in modehscx()
72 cs->BC_Write_Reg(cs, hscx, HSCX_TSAX, bcs->hw.hscx.tsaxr1); in modehscx()
73 cs->BC_Write_Reg(cs, hscx, HSCX_TSAR, bcs->hw.hscx.tsaxr1); in modehscx()
77 cs->BC_Write_Reg(cs, hscx, HSCX_TSAX, 0x1f); in modehscx()
78 cs->BC_Write_Reg(cs, hscx, HSCX_TSAR, 0x1f); in modehscx()
79 cs->BC_Write_Reg(cs, hscx, HSCX_MODE, 0x84); in modehscx()
82 cs->BC_Write_Reg(cs, hscx, HSCX_MODE, 0xe4); in modehscx()
85 cs->BC_Write_Reg(cs, hscx, HSCX_CCR1, in modehscx()
87 cs->BC_Write_Reg(cs, hscx, HSCX_MODE, 0x8c); in modehscx()
91 cs->BC_Write_Reg(cs, hscx, HSCX_CMDR, 0x41); in modehscx()
92 cs->BC_Write_Reg(cs, hscx, HSCX_ISTA, 0x00); in modehscx()
119 st->l1.bcs->hw.hscx.count = 0; in hscx_l2l1()
131 st->l1.bcs->hw.hscx.count = 0; in hscx_l2l1()
163 if (bcs->hw.hscx.rcvbuf) { in close_hscxstate()
164 kfree(bcs->hw.hscx.rcvbuf); in close_hscxstate()
165 bcs->hw.hscx.rcvbuf = NULL; in close_hscxstate()
185 if (!(bcs->hw.hscx.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_hscxstate()
195 kfree(bcs->hw.hscx.rcvbuf); in open_hscxstate()
196 bcs->hw.hscx.rcvbuf = NULL; in open_hscxstate()
205 bcs->hw.hscx.rcvidx = 0; in open_hscxstate()
257 cs->bcs[0].hw.hscx.hscx = 0; in inithscx()
258 cs->bcs[1].hw.hscx.hscx = 1; in inithscx()
259 cs->bcs[0].hw.hscx.tsaxr0 = 0x2f; in inithscx()
260 cs->bcs[0].hw.hscx.tsaxr1 = 3; in inithscx()
261 cs->bcs[1].hw.hscx.tsaxr0 = 0x2f; in inithscx()
262 cs->bcs[1].hw.hscx.tsaxr1 = 3; in inithscx()