Home
last modified time | relevance | path

Searched refs:SpiCfg (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/support/platform/include/spi/
H A Dspi_core.h22 int32_t (*GetCfg)(struct SpiCntlr *cntlr, struct SpiCfg *cfg);
23 int32_t (*SetCfg)(struct SpiCntlr *cntlr, struct SpiCfg *cfg);
44 struct SpiCfg cfg;
79 int32_t SpiCntlrSetCfg(struct SpiCntlr *cntlr, uint32_t csNum, struct SpiCfg *cfg);
80 int32_t SpiCntlrGetCfg(struct SpiCntlr *cntlr, uint32_t csNum, struct SpiCfg *cfg);
/ohos5.0/drivers/hdf_core/framework/include/platform/
H A Dspi_if.h152 struct SpiCfg { struct
239 int32_t SpiSetCfg(DevHandle handle, struct SpiCfg *cfg);
251 int32_t SpiGetCfg(DevHandle handle, struct SpiCfg *cfg);
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-spi-des.md98 | int32_t SpiSetCfg(DevHandle handle, struct SpiCfg \*cfg) | 根据指定参数,配置SPI设备 |
99 | int32_t SpiGetCfg(DevHandle handle, struct SpiCfg \*cfg) | 获取SPI设备配置参数 |
147 int32_t SpiGetCfg(DevHandle handle, struct SpiCfg *cfg);
162 struct SpiCfg cfg = {0}; // SPI配置信息
175 int32_t SpiSetCfg(DevHandle handle, struct SpiCfg *cfg);
190 struct SpiCfg cfg = {0}; // SPI配置信息
335 struct SpiCfg cfg; // SPI配置信息
H A Ddriver-platform-spi-develop.md79 int32_t (*GetCfg)(struct SpiCntlr *cntlr, struct SpiCfg *cfg);
80 int32_t (*SetCfg)(struct SpiCntlr *cntlr, struct SpiCfg *cfg);
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/platform/src/
H A Dspi_dev.c148 static int32_t SpiDevGetCfg(struct SpiDev *dev, struct SpiCfg *mask, unsigned long arg) in SpiDevGetCfg()
152 struct SpiCfg cfg = {0}; in SpiDevGetCfg()
181 static int32_t SpiDevSetCfg(struct SpiDev *dev, struct SpiCfg *mask, unsigned long arg) in SpiDevSetCfg()
185 struct SpiCfg cfg = {0}; in SpiDevSetCfg()
353 struct SpiCfg mask = {0}; in SpiDevIoctl()
/ohos5.0/drivers/hdf_core/framework/support/platform/test/fuzztest/spi_fuzzer/
H A Dspi_fuzzer.cpp39 …id SpiFuzzDoTest(DevHandle handle, struct SpiDevInfo *info, struct SpiMsg *msg, struct SpiCfg *cfg) in SpiFuzzDoTest()
62 struct SpiCfg cfg; in SpiFuzzTest()
/ohos5.0/drivers/hdf_core/framework/support/platform/src/spi/
H A Dspi_core.c78 int32_t SpiCntlrSetCfg(struct SpiCntlr *cntlr, uint32_t csNum, struct SpiCfg *cfg) in SpiCntlrSetCfg()
108 int32_t SpiCntlrGetCfg(struct SpiCntlr *cntlr, uint32_t csNum, struct SpiCfg *cfg) in SpiCntlrGetCfg()
294 struct SpiCfg *cfg = NULL; in SpiIoSetConfig()
306 struct SpiCfg cfg; in SpiIoGetConfig()
H A Dspi_if.c71 int32_t SpiSetCfg(DevHandle handle, struct SpiCfg *cfg) in SpiSetCfg()
83 int32_t SpiGetCfg(DevHandle handle, struct SpiCfg *cfg) in SpiGetCfg()
H A Dspi_if_u.c220 int32_t SpiSetCfg(DevHandle handle, struct SpiCfg *cfg) in SpiSetCfg()
267 int32_t SpiGetCfg(DevHandle handle, struct SpiCfg *cfg) in SpiGetCfg()
314 if (memcpy_s(cfg, sizeof(struct SpiCfg), rBuf, len) != EOK) { in SpiGetCfg()
/ohos5.0/drivers/hdf_core/adapter/platform/spi/
H A Dspi_wm.c295 static int32_t SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg);
296 static int32_t SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg);
431 static int32_t SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg) in SpiDevGetCfg()
446 static int32_t SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg) in SpiDevSetCfg()
H A Dspi_stm32f4xx.c532 static int32_t SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg);
533 static int32_t SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg);
654 static int32_t SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg)
675 static int32_t SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg)
H A Dspi_bes.c593 static int32_t SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg);
594 static int32_t SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg);
747 static int32_t SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg)
764 static int32_t SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg)
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dspi_test.c158 static struct SpiCfg g_spiCfg = {
199 static int32_t SpiDoTransferTest(struct SpiTester *tester, struct SpiCfg *cfg, struct SpiMsg *msg) in SpiDoTransferTest()
436 struct SpiCfg cfg = {0}; in SpiReliabilityTest()
493 struct SpiCfg cfg = {0}; in SpiIfPerformanceTest()
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-spi-des.md113 int32_t SpiGetCfg(DevHandle handle, struct SpiCfg *cfg);
129 struct SpiCfg cfg = {0}; /* SPI configuration. */
143 int32_t SpiSetCfg(DevHandle handle, struct SpiCfg *cfg);
159 struct SpiCfg cfg = {0}; /* SPI configuration. */
309 struct SpiCfg cfg; /* SPI device configuration. */
H A Ddriver-platform-spi-develop.md19 int32_t (*GetCfg)(struct SpiCntlr *cntlr, struct SpiCfg *cfg);
20 int32_t (*SetCfg)(struct SpiCntlr *cntlr, struct SpiCfg *cfg);
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Dspi_virtual.c40 struct SpiCfg cfg;
223 static int32_t VirtualSpiSetCfg(struct SpiCntlr *cntlr, struct SpiCfg *cfg) in VirtualSpiSetCfg()
240 static int32_t VirtualSpiGetCfg(struct SpiCntlr *cntlr, struct SpiCfg *cfg) in VirtualSpiGetCfg()
/ohos5.0/drivers/hdf_core/framework/model/sensor/driver/include/
H A Dsensor_platform_if.h75 struct SpiCfg spi;
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/spi/
H A Dspi_adapter.c81 static int32_t SpiAdapterSetCfg(struct SpiCntlr *cntlr, struct SpiCfg *cfg) in SpiAdapterSetCfg()
111 static int32_t SpiAdapterGetCfg(struct SpiCntlr *cntlr, struct SpiCfg *cfg) in SpiAdapterGetCfg()
/ohos5.0/drivers/hdf_core/framework/model/display/driver/panel/
H A Dssp_st7789.c98 struct SpiCfg cfg; in GetSpiHandle()