Searched refs:wordlen (Results 1 – 12 of 12) sorted by relevance
/u-boot/drivers/spi/ |
A D | spi.c | 11 int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen) in spi_set_wordlen() argument 13 if (wordlen == 0 || wordlen > 32) { in spi_set_wordlen() 14 printf("spi: invalid wordlen %u\n", wordlen); in spi_set_wordlen() 18 slave->wordlen = wordlen; in spi_set_wordlen() 36 slave->wordlen = SPI_DEFAULT_WORDLEN; in spi_do_alloc_slave()
|
A D | omap3_spi.c | 39 unsigned int wordlen; member 89 if (priv->wordlen > 16) in omap3_spi_write() 91 else if (priv->wordlen > 8) in omap3_spi_write() 151 if (priv->wordlen > 16) in omap3_spi_read() 153 else if (priv->wordlen > 8) in omap3_spi_read() 199 if (priv->wordlen > 16) in omap3_spi_txrx() 201 else if (priv->wordlen > 8) in omap3_spi_txrx() 218 if (priv->wordlen > 16) in omap3_spi_txrx() 243 if (priv->wordlen < 4 || priv->wordlen > 32) { in _spi_xfer() 248 if (bitlen % priv->wordlen) in _spi_xfer() [all …]
|
A D | pic32_spi.c | 162 unsigned int wordlen) in pic32_spi_set_word_size() argument 167 switch (wordlen) { in pic32_spi_set_word_size() 195 priv->fifo_n_word = DIV_ROUND_UP(priv->fifo_depth, wordlen / 8); in pic32_spi_set_word_size() 340 static int pic32_spi_set_wordlen(struct udevice *slave, unsigned int wordlen) in pic32_spi_set_wordlen() argument 344 return pic32_spi_set_word_size(priv, wordlen); in pic32_spi_set_wordlen()
|
A D | spi-uclass.c | 225 slave->wordlen = SPI_DEFAULT_WORDLEN; in spi_child_pre_probe()
|
/u-boot/arch/nds32/include/asm/ |
A D | io.h | 75 extern void __raw_writesw(unsigned int addr, const void *data, int wordlen); 79 extern void __raw_readsw(unsigned int addr, void *data, int wordlen); 270 static inline void readsw(unsigned int *addr, void * data, int wordlen) in readsw() argument 274 while (wordlen) { in readsw() 277 wordlen--; in readsw() 301 static inline void writesw(unsigned int *addr, const void * data, int wordlen) in writesw() argument 305 while (wordlen) { in writesw() 308 wordlen--; in writesw()
|
/u-boot/include/ |
A D | spi.h | 150 unsigned int wordlen; member 265 int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen); 436 int (*set_wordlen)(struct udevice *dev, unsigned int wordlen);
|
/u-boot/arch/arc/include/asm/ |
A D | io.h | 109 int wordlen) in __raw_writesw() argument 115 while (wordlen--) in __raw_writesw() 140 static inline void __raw_readsw(unsigned long addr, void *data, int wordlen) in __raw_readsw() argument 144 while (wordlen--) in __raw_readsw()
|
/u-boot/arch/riscv/include/asm/ |
A D | io.h | 261 static inline void readsw(unsigned int *addr, void *data, int wordlen) in readsw() argument 269 while (wordlen) { in readsw() 272 wordlen--; in readsw() 306 static inline void writesw(unsigned int *addr, const void *data, int wordlen) in writesw() argument 314 while (wordlen) { in writesw() 317 wordlen--; in writesw()
|
/u-boot/arch/arm/include/asm/ |
A D | io.h | 62 int wordlen) in __raw_writesw() argument 65 while(wordlen--) in __raw_writesw() 84 static inline void __raw_readsw(unsigned long addr, void *data, int wordlen) in __raw_readsw() argument 87 while(wordlen--) in __raw_readsw()
|
/u-boot/arch/sh/include/asm/ |
A D | io.h | 42 extern void __raw_writesw(unsigned int addr, const void *data, int wordlen); 46 extern void __raw_readsw(unsigned int addr, void *data, int wordlen);
|
/u-boot/drivers/mmc/ |
A D | mmc_spi.c | 460 priv->spi->wordlen = 8; in mmc_spi_probe()
|
/u-boot/lib/acpi/ |
A D | acpi_device.c | 736 spi->data_bit_length = slave->wordlen; in acpi_device_set_spi()
|
Completed in 19 milliseconds