Lines Matching defs:cnt

541 	struct fifo_info *fifo, int cnt, u8 multiq)
545 if (cnt && __netif_subqueue_stopped(fifo->dev, fifo->fifo_no))
547 } else if (cnt && (fifo->queue_state == FIFO_QUEUE_STOP)) {
2370 int cnt = 0;
2388 cnt++;
2393 dev->name, cnt, i);
3336 int ret = FAILURE, cnt = 0, delay = 1;
3361 if (++cnt >= 10)
3363 } while (cnt < 20);
3464 /* save link up/down time/cnt, reset/memory/watchdog cnt */
3476 /* restore link up/down time/cnt, reset/memory/watchdog cnt */
3655 int ret = 0, cnt = 0;
3662 cnt++;
3663 } while (cnt < 5);
3664 if (cnt == 5) {
4328 * @cnt: counter variable
4335 unsigned long long *cnt)
4341 (*cnt)++;
4761 int cnt = 0;
4773 cnt++;
4774 if (cnt == 5)
5609 * @cnt : Number of bytes of the data that are actually to be written into
5618 static int write_eeprom(struct s2io_nic *sp, int off, u64 data, int cnt)
5627 I2C_CONTROL_BYTE_CNT(cnt) |
5645 int write_cnt = (cnt == 8) ? 0 : cnt;
5646 writeq(SPI_DATA_WRITE(data, (cnt << 3)), &bar0->spi_data);
5673 int i = 0, cnt, len, fail = 0;
5697 for (cnt = 0; cnt < 5; cnt++) {
5703 if (cnt >= 5) {
5714 for (cnt = 0; cnt < 252; cnt++) {
5715 if ((vpd_data[cnt] == 'S') &&
5716 (vpd_data[cnt+1] == 'N')) {
5717 len = vpd_data[cnt+2];
5718 if (len < min(VPD_STRING_LEN, 256-cnt-2)) {
5720 &vpd_data[cnt + 3],
5793 int len = eeprom->len, cnt = 0;
5807 data = (u32)data_buf[cnt] & 0x000000FF;
5813 if (write_eeprom(sp, (eeprom->offset + cnt), valid, 0)) {
5819 cnt++;
6011 int cnt = 0, ret = -1;
6017 while (cnt < 20) {
6025 cnt++;
6075 int cnt, iteration = 0, test_fail = 0;
6116 for (cnt = 0; cnt < 5; cnt++) {
6123 if (cnt == 5)
6129 for (cnt = 0; cnt < 5; cnt++) {
6136 if (cnt == 5)
7005 int cnt = 0;
7058 cnt++;
7059 if (cnt == 10) {