Lines Matching refs:words

394 				       u32 bits, u32 words)
396 u32 dr2 = SIMDR2_BITLEN1(bits) | SIMDR2_WDLEN1(words);
414 const void *tx_buf, int words, int fs)
419 for (k = 0; k < words; k++)
424 const void *tx_buf, int words, int fs)
429 for (k = 0; k < words; k++)
434 const void *tx_buf, int words, int fs)
439 for (k = 0; k < words; k++)
444 const void *tx_buf, int words, int fs)
449 for (k = 0; k < words; k++)
454 const void *tx_buf, int words, int fs)
459 for (k = 0; k < words; k++)
464 const void *tx_buf, int words, int fs)
469 for (k = 0; k < words; k++)
474 const void *tx_buf, int words, int fs)
479 for (k = 0; k < words; k++)
484 void *rx_buf, int words, int fs)
489 for (k = 0; k < words; k++)
494 void *rx_buf, int words, int fs)
499 for (k = 0; k < words; k++)
504 void *rx_buf, int words, int fs)
509 for (k = 0; k < words; k++)
514 void *rx_buf, int words, int fs)
519 for (k = 0; k < words; k++)
524 void *rx_buf, int words, int fs)
529 for (k = 0; k < words; k++)
534 void *rx_buf, int words, int fs)
539 for (k = 0; k < words; k++)
544 void *rx_buf, int words, int fs)
549 for (k = 0; k < words; k++)
679 int words, int bits)
686 words = min_t(int, words, p->tx_fifo_size);
688 words = min_t(int, words, p->rx_fifo_size);
697 sh_msiof_spi_set_mode_regs(p, tx_buf, rx_buf, bits, words);
702 tx_fifo(p, tx_buf, words, fifo_shift);
720 rx_fifo(p, rx_buf, words, fifo_shift);
731 return words;
794 /* setup msiof transfer mode registers (32-bit words) */
866 static void copy_bswap32(u32 *dst, const u32 *src, unsigned int words)
870 while (words--) {
875 while (words--) {
880 while (words--)
885 static void copy_wswap32(u32 *dst, const u32 *src, unsigned int words)
889 while (words--) {
894 while (words--) {
899 while (words--)
904 static void copy_plain32(u32 *dst, const u32 *src, unsigned int words)
906 memcpy(dst, src, words * 4);
922 unsigned int words;
936 * DMA supports 32-bit words only, hence pack 8-bit and 16-bit
937 * words, with byte resp. word swapping.
1026 words = len / bytes_per_word;
1028 while (words > 0) {
1030 words, bits);
1038 words -= n;
1040 if (words == 0 && (len % bytes_per_word)) {
1041 words = len % bytes_per_word;