Lines Matching refs:cnt
1032 unsigned long flags, cnt; in ad1848_output_block() local
1036 cnt = count; in ad1848_output_block()
1040 cnt /= 4; in ad1848_output_block()
1045 cnt >>= 1; in ad1848_output_block()
1048 cnt >>= 1; in ad1848_output_block()
1049 cnt--; in ad1848_output_block()
1053 cnt == devc->xfer_count) in ad1848_output_block()
1063 ad_write(devc, 15, (unsigned char) (cnt & 0xff)); in ad1848_output_block()
1064 ad_write(devc, 14, (unsigned char) ((cnt >> 8) & 0xff)); in ad1848_output_block()
1066 devc->xfer_count = cnt; in ad1848_output_block()
1074 unsigned long flags, cnt; in ad1848_start_input() local
1078 cnt = count; in ad1848_start_input()
1081 cnt /= 4; in ad1848_start_input()
1086 cnt >>= 1; in ad1848_start_input()
1089 cnt >>= 1; in ad1848_start_input()
1090 cnt--; in ad1848_start_input()
1094 cnt == devc->xfer_count) in ad1848_start_input()
1106 ad_write(devc, 15, (unsigned char) (cnt & 0xff)); in ad1848_start_input()
1107 ad_write(devc, 14, (unsigned char) ((cnt >> 8) & 0xff)); in ad1848_start_input()
1111 ad_write(devc, 31, (unsigned char) (cnt & 0xff)); in ad1848_start_input()
1112 ad_write(devc, 30, (unsigned char) ((cnt >> 8) & 0xff)); in ad1848_start_input()
1117 devc->xfer_count = cnt; in ad1848_start_input()
2203 int cnt = 0; in adintr() local
2267 if (inb(io_Status(devc)) & 0x01 && cnt++ < 4) in adintr()