Lines Matching refs:cnt
351 uint8_t cnt = 0; in ZTEST_USER() local
366 spi_bufs[cnt].buf = &safbuf; in ZTEST_USER()
367 spi_bufs[cnt].len = 4U; in ZTEST_USER()
371 cnt++; in ZTEST_USER()
372 spi_bufs[cnt].buf = NULL; in ZTEST_USER()
373 spi_bufs[cnt].len = spi_clocks_to_bytes(((spi_opcode >> 8) & 0xffU), 1u); in ZTEST_USER()
376 cnt++; in ZTEST_USER()
377 spi_bufs[cnt].buf = &safbuf2; in ZTEST_USER()
378 spi_bufs[cnt].len = BUF_SIZE; in ZTEST_USER()
379 cnt++; /* total number of buffers */ in ZTEST_USER()
383 .count = cnt, in ZTEST_USER()
388 .count = cnt, in ZTEST_USER()
415 uint8_t cnt = 0; in ZTEST_USER() local
428 spi_bufs[cnt].buf = &safbuf; in ZTEST_USER()
429 spi_bufs[cnt].len = 4U; in ZTEST_USER()
433 cnt++; in ZTEST_USER()
434 spi_bufs[cnt].buf = NULL; in ZTEST_USER()
435 spi_bufs[cnt].len = spi_clocks_to_bytes(((spi_opcode >> 8) & 0xffU), 1u); in ZTEST_USER()
438 cnt++; in ZTEST_USER()
439 spi_bufs[cnt].buf = &safbuf2; in ZTEST_USER()
440 spi_bufs[cnt].len = BUF_SIZE; in ZTEST_USER()
444 .count = cnt, in ZTEST_USER()
448 .buffers = &spi_bufs[cnt], in ZTEST_USER()
563 uint8_t cnt = 0; in ZTEST_USER() local
580 spi_bufs[cnt].buf = &safbuf; in ZTEST_USER()
581 spi_bufs[cnt].len = 4U; in ZTEST_USER()
585 cnt++; in ZTEST_USER()
586 spi_bufs[cnt].buf = NULL; in ZTEST_USER()
587 spi_bufs[cnt].len = spi_clocks_to_bytes(((spi_opcode >> 8) & 0xffU), 1u); in ZTEST_USER()
590 cnt++; in ZTEST_USER()
591 spi_bufs[cnt].buf = &safbuf2; in ZTEST_USER()
592 spi_bufs[cnt].len = BUF_SIZE_2; in ZTEST_USER()
596 .count = cnt, in ZTEST_USER()
600 .buffers = &spi_bufs[cnt], in ZTEST_USER()