Lines Matching refs:j

376 	int j;  in encode_hdlc()  local
401 for (j = 0; j < 8; j++) in encode_hdlc()
402 if (unlikely(!(notbitstream & (0x1f0 << j)))) { in encode_hdlc()
403 bitstream &= ~(0x100 << j); in encode_hdlc()
404 bitbuf = (bitbuf & (((2 << j) << numbit) - 1)) | in encode_hdlc()
405 ((bitbuf & ~(((2 << j) << numbit) - 1)) << 1); in encode_hdlc()
435 int i, j; in transmit() local
471 j = (i > sizeof(tmp)) ? sizeof(tmp) : i; in transmit()
472 if (j != pp->ops->epp_write_data(pp, tmp, j, 0)) in transmit()
474 i -= j; in transmit()
507 j = (i > sizeof(tmp)) ? sizeof(tmp) : i; in transmit()
508 if (j != pp->ops->epp_write_data(pp, tmp, j, 0)) in transmit()
510 i -= j; in transmit()
523 j = (i > sizeof(tmp)) ? sizeof(tmp) : i; in transmit()
524 if (j != pp->ops->epp_write_data(pp, tmp, j, 0)) in transmit()
526 i -= j; in transmit()
569 int j; in receive() local
590 for (j = 0; j < 8; j++) { in receive()
593 if (unlikely(!(notbitstream & (0x0fc << j)))) { in receive()
596 if (!(notbitstream & (0x1fc << j))) in receive()
600 else if ((bitstream & (0x1fe << j)) == (0x0fc << j)) { in receive()
606 numbits = 7-j; in receive()
611 else if (unlikely((bitstream & (0x1f8 << j)) == (0xf8 << j))) { in receive()
613 bitbuf = (bitbuf & ((~0xff) << j)) | ((bitbuf & ~((~0xff) << j)) << 1); in receive()
833 unsigned int i, j; in epp_open() local
898 for (j = 0; j < 256; j++) { in epp_open()
909 j = 1; in epp_open()
911 while (j < 7 && i > 150) { in epp_open()
912 j++; in epp_open()
916 bc_drvname, bc->bitrate, j, bc->bitrate >> (j+2)); in epp_open()