Home
last modified time | relevance | path

Searched refs:bitsPerWord (Results 1 – 14 of 14) sorted by relevance

/device/soc/st/common/platform/spi/
Dstm32mp1_spi.c208 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 …]
Dstm32mp1_spi.h154 uint8_t bitsPerWord; member
/device/soc/hisilicon/common/platform/spi/
Dspi_hi35xx.c56 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/
Dspi_config.hcs33 bitsPerWord = 0;
71 bitsPerWord = 0;
/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/spi/
Dspi_esp32u4.c47 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/
Dspi_driver.c68 uint32_t bitsPerWord; member
264 ret = iface->GetUint32(node, "bitsPerWord", &params->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/
Dspi_config.hcs9 bitsPerWord = 8;
/device/soc/hisilicon/hi3516dv300/sdk_liteos/hdf_config/spi/
Dspi_config.hcs10 bitsPerWord = 8;
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/
Dspi.h86 unsigned int bitsPerWord; member
/device/board/talkweb/niobe407/applications/202_hdf_spi_flash/
Dhdf_spi_test.c424 …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()
DREADME_zh.md171 …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/
DSPI.md121 LzSpiConfig g_spi1Conf = {.bitsPerWord = SPI_PERWORD_8BITS,
/device/board/hisilicon/hispark_taurus/audio_drivers/dsp/src/
Ddsp_ops.c273 .bitsPerWord = BITS_PER_WORD_EIGHT, in DspDeviceInit()
/device/board/osware/imx8mm/drivers/audio/dsp/src/
Ddsp_ops.c269 .bitsPerWord = BITS_PER_WORD_EIGHT, in DspDeviceInit()