Lines Matching refs:words
722 int words = sizeof(*seq) / sizeof(*src); in stfsm_load_seq() local
726 while (words--) { in stfsm_load_seq()
757 uint32_t words; in stfsm_read_fifo() local
770 words = min(avail, remaining); in stfsm_read_fifo()
771 remaining -= words; in stfsm_read_fifo()
773 readsl(fsm->base + SPI_FAST_SEQ_DATA_REG, buf, words); in stfsm_read_fifo()
774 buf += words; in stfsm_read_fifo()
807 uint32_t words, i; in stfsm_clear_fifo() local
810 words = stfsm_fifo_available(fsm); in stfsm_clear_fifo()
811 if (words) { in stfsm_clear_fifo()
812 for (i = 0; i < words; i++) in stfsm_clear_fifo()
814 dev_dbg(fsm->dev, "cleared %d words from FIFO\n", words); in stfsm_clear_fifo()
822 for (i = 0, words = 0; i < 4 && !words; i++) { in stfsm_clear_fifo()
825 words = stfsm_fifo_available(fsm); in stfsm_clear_fifo()
829 if (words != 1) { in stfsm_clear_fifo()
843 uint32_t words = size >> 2; in stfsm_write_fifo() local
849 writesl(fsm->base + SPI_FAST_SEQ_DATA_REG, buf, words); in stfsm_write_fifo()