• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hisax/

Lines Matching refs:test_bit

166 	if(test_bit(FLG_MOD128, &st->l2.flag))
170 return ((p1 < st->l2.window) && !test_bit(FLG_PEER_BUSY, &st->l2.flag));
185 return (((test_bit(FLG_MOD128, &l2->flag) && (!ui)) ? 2 : 1) +
186 (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1));
192 return (test_bit(FLG_LAPD, &l2->flag) ? 2 : 1);
201 if (test_bit(FLG_LAPD, &l2->flag)) {
206 if (test_bit(FLG_ORIG, &l2->flag))
220 if (test_bit(FLG_LAPB, &st->l2.flag))
256 if (!test_bit(FLG_MOD128, &st->l2.flag))
266 return (test_bit(FLG_MOD128, &st->l2.flag) ? d == SABME : d == SABM);
272 return (test_bit(FLG_MOD128, &st->l2.flag) ? data[0] == REJ : (data[0] & 0xf) == REJ);
284 return (test_bit(FLG_MOD128, &st->l2.flag) ? data[0] == RNR : (data[0] & 0xf) == RNR);
290 int i = l2addrsize(&st->l2) + (test_bit(FLG_MOD128, &st->l2.flag) ? 2 : 1);
293 if (test_bit(FLG_ORIG, &st->l2.flag))
314 (test_bit(FLG_MOD128, &st->l2.flag) ? 2 : 1))
324 if (test_bit(FLG_ORIG, &st->l2.flag))
340 if (test_bit(FLG_ORIG, &st->l2.flag))
359 if (test_bit(FLG_ORIG, &st->l2.flag))
365 if (test_bit(FLG_MOD128, &st->l2.flag)) {
388 if(test_bit(FLG_MOD128, &l2->flag))
404 if(test_bit(FLG_MOD128, &l2->flag))
415 if (test_bit(FLG_LLI_L2WAKEUP, &st->lli.flag) && (len >=0))
492 if (test_bit(FLG_LAPB, &st->l2.flag))
505 cmd = (test_bit(FLG_MOD128, &st->l2.flag) ? SABME : SABM) | 0x10;
855 if (!test_bit(FLG_L3_INIT, &st->l2.flag))
857 if (test_bit(FLG_LAPB, &st->l2.flag))
887 if (test_bit(FLG_MOD128, &l2->flag)) {
903 if (test_bit(FLG_OWN_BUSY, &st->l2.flag))
913 if (test_bit(FLG_OWN_BUSY, &st->l2.flag))
943 if(test_bit(FLG_MOD128, &l2->flag)) {
951 if (test_bit(FLG_LAPB, &l2->flag))
973 if (test_bit(FLG_ORIG, &l2->flag))
985 if (test_bit(FLG_MOD128, &l2->flag)) {
1030 if (test_bit(FLG_LAPB, &st->l2.flag))
1032 if (!test_bit(FLG_L3_INIT, &st->l2.flag))
1044 if (test_bit(FLG_LAPB, &st->l2.flag))
1056 if (test_bit(FLG_LAPB, &st->l2.flag))
1071 if (test_bit(FLG_MOD128, &l2->flag)) {
1080 if (test_bit(FLG_OWN_BUSY, &l2->flag)) {
1085 if(test_bit(FLG_MOD128, &l2->flag))
1110 if (!test_bit(FLG_PEER_BUSY, &st->l2.flag) && (fi->state == ST_L2_7)) {
1151 if (test_bit(FLG_LAPD, &st->l2.flag) &&
1152 test_bit(FLG_DCHAN_BUSY, &st->l2.flag)) {
1159 if (test_bit(FLG_LAPB, &st->l2.flag))
1165 send_uframe(st, (test_bit(FLG_MOD128, &st->l2.flag) ? SABME : SABM)
1175 if (test_bit(FLG_LAPD, &st->l2.flag) &&
1176 test_bit(FLG_DCHAN_BUSY, &st->l2.flag)) {
1196 if (test_bit(FLG_LAPD, &st->l2.flag) &&
1197 test_bit(FLG_DCHAN_BUSY, &st->l2.flag)) {
1214 if (test_bit(FLG_LAPD, &st->l2.flag) &&
1215 test_bit(FLG_DCHAN_BUSY, &st->l2.flag)) {
1235 if (test_bit(FLG_LAPD, &st->l2.flag) &&
1236 test_bit(FLG_DCHAN_BUSY, &st->l2.flag)) {
1264 if(test_bit(FLG_MOD128, &l2->flag))
1278 if (test_bit(FLG_MOD128, &l2->flag)) {
1320 if (test_bit(FLG_ORIG, &l2->flag))
1331 if (test_bit(FLG_MOD128, &l2->flag)) {
1725 if (test_bit(FLG_L1_ACTIV, &st->l2.flag)) {
1726 if (test_bit(FLG_LAPD, &st->l2.flag) ||
1727 test_bit(FLG_ORIG, &st->l2.flag)) {
1731 if (test_bit(FLG_LAPD, &st->l2.flag) ||
1732 test_bit(FLG_ORIG, &st->l2.flag)) {
1739 if (test_bit(FLG_LAPB, &st->l2.flag)) {
1790 if (test_bit(FLG_LAPB, &st->l2.flag))