• Home
  • Raw
  • Download

Lines Matching refs:stat

177 	unsigned char stat;  member
431 static int transmit(struct baycom_state *bc, int cnt, unsigned char stat) in transmit() argument
437 if (bc->hdlctx.state == tx_tail && !(stat & EPP_PTTBIT)) in transmit()
445 if (!(stat & EPP_DCDBIT)) { in transmit()
652 unsigned char stat; in epp_bh() local
664 if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) in epp_bh()
666 bc->stat = stat; in epp_bh()
667 bc->debug_vals.last_pllcorr = stat; in epp_bh()
690 if (transmit(bc, cnt2, stat)) in epp_bh()
695 if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) in epp_bh()
697 bc->stat = stat; in epp_bh()
700 switch (stat & (EPP_NTAEF|EPP_NTHF)) { in epp_bh()
717 if (transmit(bc, cnt, stat)) in epp_bh()
721 while ((stat & (EPP_NRAEF|EPP_NRHF)) != EPP_NRHF) { in epp_bh()
722 switch (stat & (EPP_NRAEF|EPP_NRHF)) { in epp_bh()
737 if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) in epp_bh()
745 while (cnt > 0 && stat & EPP_NREF) { in epp_bh()
749 if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) in epp_bh()
845 unsigned char stat; in epp_open() local
896 if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) in epp_open()
898 if ((stat & (EPP_NRAEF|EPP_NRHF)) == EPP_NRHF) { in epp_open()
909 if (pp->ops->epp_read_addr(pp, &stat, 1, 0) != 1) in epp_open()
911 if (!(stat & EPP_NREF)) in epp_open()
962 bc->stat = EPP_DCDBIT; in epp_close()
1065 hi.data.cs.ptt = !!(bc->stat & EPP_PTTBIT); in baycom_ioctl()
1066 hi.data.cs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_ioctl()
1075 hi.data.ocs.ptt = !!(bc->stat & EPP_PTTBIT); in baycom_ioctl()
1076 hi.data.ocs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_ioctl()