Lines Matching defs:words
717 int words = sizeof(*seq) / sizeof(*src);
721 while (words--) {
752 uint32_t words;
765 words = min(avail, remaining);
766 remaining -= words;
768 readsl(fsm->base + SPI_FAST_SEQ_DATA_REG, buf, words);
769 buf += words;
781 * SPI_FAST_SEQ_STA register only reports the number of complete 32-bit words
783 * complete 32-bit words.
787 * 1. Read any complete 32-bit words from the FIFO, as reported by the
797 * incomplete bytes in the FIFO, only words and bytes are considered here.
802 uint32_t words, i;
804 /* 1. Clear any 32-bit words */
805 words = stfsm_fifo_available(fsm);
806 if (words) {
807 for (i = 0; i < words; i++)
809 dev_dbg(fsm->dev, "cleared %d words from FIFO\n", words);
817 for (i = 0, words = 0; i < 4 && !words; i++) {
820 words = stfsm_fifo_available(fsm);
824 if (words != 1) {
838 uint32_t words = size >> 2;
844 writesl(fsm->base + SPI_FAST_SEQ_DATA_REG, buf, words);