Searched refs:bitsPerWord (Results 1 – 14 of 14) sorted by relevance
/device/soc/st/common/platform/spi/ |
D | stm32mp1_spi.c | 208 value |= stm32mp1->bitsPerWord - 1; in Mp1xxSpiConfigCfg1() 281 … if ((stm32mp1->bitsPerWord < BITS_PER_WORD_MIN) || (stm32mp1->bitsPerWord > BITS_PER_WORD_MAX)) { in Mp1xxSpiConfig() 282 HDF_LOGE("%s: stm32mp1->bitsPerWord is %d not support", __func__, stm32mp1->bitsPerWord); in Mp1xxSpiConfig() 349 static inline uint8_t Mp1xxSpiToByteWidth(uint8_t bitsPerWord) in Mp1xxSpiToByteWidth() argument 351 if (bitsPerWord <= BITS_PER_WORD_EIGHT) { in Mp1xxSpiToByteWidth() 362 uint8_t bytes = Mp1xxSpiToByteWidth(stm32mp1->bitsPerWord); in Mp1xxSpiWriteFifo() 389 uint8_t bytes = Mp1xxSpiToByteWidth(stm32mp1->bitsPerWord); in Mp1xxSpiReadFifo() 434 uint8_t bytes = Mp1xxSpiToByteWidth(stm32mp1->bitsPerWord); in Mp1xxSpiTxRx() 526 if (cfg->bitsPerWord < BITS_PER_WORD_MIN || cfg->bitsPerWord > BITS_PER_WORD_MAX) { in Mp1xxSpiSetCfg() 528 __func__, cfg->bitsPerWord, BITS_PER_WORD_EIGHT); in Mp1xxSpiSetCfg() [all …]
|
D | stm32mp1_spi.h | 154 uint8_t bitsPerWord; member
|
/device/soc/hisilicon/common/platform/spi/ |
D | spi_hi35xx.c | 56 uint8_t bitsPerWord; member 198 value |= (pl022->bitsPerWord - 1) << SPI_CR0_DSS_SHIFT; in Pl022ConfigCR0() 284 if ((pl022->bitsPerWord < BITS_PER_WORD_MIN) || (pl022->bitsPerWord > BITS_PER_WORD_MAX)) { in Pl022Config() 285 HDF_LOGE("%s: pl022->bitsPerWord is %hhu not support", __func__, pl022->bitsPerWord); in Pl022Config() 351 static inline uint8_t Pl022ToByteWidth(uint8_t bitsPerWord) in Pl022ToByteWidth() argument 353 if (bitsPerWord <= BITS_PER_WORD_EIGHT) { in Pl022ToByteWidth() 363 uint8_t bytes = Pl022ToByteWidth(pl022->bitsPerWord); in Pl022WriteFifo() 377 uint8_t bytes = Pl022ToByteWidth(pl022->bitsPerWord); in Pl022ReadFifo() 400 uint8_t bytes = Pl022ToByteWidth(pl022->bitsPerWord); in Pl022TxRx() 482 if (cfg->bitsPerWord < BITS_PER_WORD_MIN || cfg->bitsPerWord > BITS_PER_WORD_MAX) { in Pl022SetCfg() [all …]
|
/device/soc/rockchip/rk2206/hdf_config/spi/ |
D | spi_config.hcs | 33 bitsPerWord = 0; 71 bitsPerWord = 0;
|
/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/spi/ |
D | spi_esp32u4.c | 47 uint8_t bitsPerWord; member 283 spiCfg->bitsPerWord = dev->bitsPerWord; in SpiDevGetCfg() 300 dev->bitsPerWord = spiCfg->bitsPerWord; in SpiDevSetCfg()
|
/device/soc/rockchip/rk2206/hdf_driver/spi/ |
D | spi_driver.c | 68 uint32_t bitsPerWord; member 264 ret = iface->GetUint32(node, "bitsPerWord", ¶ms->bitsPerWord, 0); in spidrv_readdrs() 340 config.bitsPerWord = (unsigned int)params->bitsPerWord; in spidrv_initdevice() 439 params->bitsPerWord = cfg->bitsPerWord; in spidrv_setcfg() 515 cfg->bitsPerWord = params->bitsPerWord; in spidrv_getcfg()
|
/device/soc/hisilicon/hi3518ev300/hdf_config/spi/ |
D | spi_config.hcs | 9 bitsPerWord = 8;
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/hdf_config/spi/ |
D | spi_config.hcs | 10 bitsPerWord = 8;
|
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/ |
D | spi.h | 86 unsigned int bitsPerWord; member
|
/device/board/talkweb/niobe407/applications/202_hdf_spi_flash/ |
D | hdf_spi_test.c | 424 …HDF_LOGI("speed:%d, bitper:%d, mode:%d, transMode:%d\n", cfg.maxSpeedHz, cfg.bitsPerWord, cfg.mode… in HdfSpiTestEntry() 427 cfg.bitsPerWord = 8; in HdfSpiTestEntry()
|
D | README_zh.md | 171 …HDF_LOGI("speed:%d, bitper:%d, mode:%d, transMode:%d\n", cfg.maxSpeedHz, cfg.bitsPerWord, cfg.mode… 174 cfg.bitsPerWord = 8; /* 传输位宽改为8比特 */
|
/device/soc/rockchip/rk2206/hardware/docs/ |
D | SPI.md | 121 LzSpiConfig g_spi1Conf = {.bitsPerWord = SPI_PERWORD_8BITS,
|
/device/board/hisilicon/hispark_taurus/audio_drivers/dsp/src/ |
D | dsp_ops.c | 273 .bitsPerWord = BITS_PER_WORD_EIGHT, in DspDeviceInit()
|
/device/board/osware/imx8mm/drivers/audio/dsp/src/ |
D | dsp_ops.c | 269 .bitsPerWord = BITS_PER_WORD_EIGHT, in DspDeviceInit()
|