/ohos5.0/drivers/hdf_core/framework/support/platform/include/spi/ |
H A D | spi_core.h | 22 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 D | spi_if.h | 152 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 D | driver-platform-spi-des.md | 98 | 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 D | driver-platform-spi-develop.md | 79 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 D | spi_dev.c | 148 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 D | spi_fuzzer.cpp | 39 …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 D | spi_core.c | 78 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 D | spi_if.c | 71 int32_t SpiSetCfg(DevHandle handle, struct SpiCfg *cfg) in SpiSetCfg() 83 int32_t SpiGetCfg(DevHandle handle, struct SpiCfg *cfg) in SpiGetCfg()
|
H A D | spi_if_u.c | 220 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 D | spi_wm.c | 295 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 D | spi_stm32f4xx.c | 532 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 D | spi_bes.c | 593 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 D | spi_test.c | 158 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 D | driver-platform-spi-des.md | 113 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 D | driver-platform-spi-develop.md | 19 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 D | spi_virtual.c | 40 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 D | sensor_platform_if.h | 75 struct SpiCfg spi;
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/spi/ |
H A D | spi_adapter.c | 81 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 D | ssp_st7789.c | 98 struct SpiCfg cfg; in GetSpiHandle()
|