Searched refs:spiCntlr (Results 1 - 3 of 3) sorted by relevance
/drivers/hdf_core/adapter/platform/spi/ |
H A D | spi_wm.c | 267 static int32_t AttachSpiDevice(struct SpiCntlr *spiCntlr, const struct HdfDeviceObject *device) in AttachSpiDevice() argument 272 if (spiCntlr == NULL || device == NULL || device->property == NULL) { in AttachSpiDevice() 290 spiCntlr->priv = spiDevice; in AttachSpiDevice() 291 spiCntlr->busNum = spiDevice->spiId; in AttachSpiDevice() 295 static int32_t SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg); 296 static int32_t SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg); 297 static int32_t SpiDevTransfer(struct SpiCntlr *spiCntlr, struct SpiMsg *spiMsg, uint32_t count); 298 static int32_t SpiDevOpen(struct SpiCntlr *spiCntlr); 299 static int32_t SpiDevClose(struct SpiCntlr *spiCntlr); 327 struct SpiCntlr *spiCntlr in SpiDriverBind() local 348 struct SpiCntlr *spiCntlr = NULL; SpiDriverInit() local 375 struct SpiCntlr *spiCntlr = NULL; SpiDriverRelease() local 396 SpiDevOpen(struct SpiCntlr *spiCntlr) SpiDevOpen() argument 419 SpiDevClose(struct SpiCntlr *spiCntlr) SpiDevClose() argument 431 SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg) SpiDevGetCfg() argument 446 SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg) SpiDevSetCfg() argument 462 SpiDevTransfer(struct SpiCntlr *spiCntlr, struct SpiMsg *spiMsg, uint32_t count) SpiDevTransfer() argument [all...] |
H A D | spi_stm32f4xx.c | 495 static int32_t AttachSpiDevice(struct SpiCntlr *spiCntlr, const struct HdfDeviceObject *device)
argument 501 if (spiCntlr == NULL || device == NULL) {
503 if (spiCntlr == NULL || device == NULL || device->property == NULL) {
525 spiCntlr->priv = spiDevice;
526 spiCntlr->busNum = spiDevice->spiId;
532 static int32_t SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg);
533 static int32_t SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg);
534 static int32_t SpiDevTransfer(struct SpiCntlr *spiCntlr, struct SpiMsg *spiMsg, uint32_t count);
535 static int32_t SpiDevOpen(struct SpiCntlr *spiCntlr);
536 static int32_t SpiDevClose(struct SpiCntlr *spiCntlr);
564 struct SpiCntlr *spiCntlr = NULL; global() local 582 struct SpiCntlr *spiCntlr = NULL; global() local 609 struct SpiCntlr *spiCntlr = NULL; global() local 631 SpiDevOpen(struct SpiCntlr *spiCntlr) global() argument 643 SpiDevClose(struct SpiCntlr *spiCntlr) global() argument 654 SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg) global() argument 675 SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg) global() argument 696 SpiDevTransfer(struct SpiCntlr *spiCntlr, struct SpiMsg *spiMsg, uint32_t count) global() argument [all...] |
H A D | spi_bes.c | 560 static int32_t AttachSpiDevice(struct SpiCntlr *spiCntlr, const struct HdfDeviceObject *device) argument 565 if (spiCntlr == NULL || device == NULL) { 567 if (spiCntlr == NULL || device == NULL || device->property == NULL) { 588 spiCntlr->priv = spiDevice; 589 spiCntlr->busNum = spiDevice->spiId; 593 static int32_t SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg); 594 static int32_t SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg); 595 static int32_t SpiDevTransfer(struct SpiCntlr *spiCntlr, struct SpiMsg *spiMsg, uint32_t count); 596 static int32_t SpiDevOpen(struct SpiCntlr *spiCntlr); 597 static int32_t SpiDevClose(struct SpiCntlr *spiCntlr); 625 struct SpiCntlr *spiCntlr = NULL; global() local 646 struct SpiCntlr *spiCntlr = NULL; global() local 673 struct SpiCntlr *spiCntlr = NULL; global() local 694 SpiDevOpen(struct SpiCntlr *spiCntlr) global() argument 721 SpiDevClose(struct SpiCntlr *spiCntlr) global() argument 747 SpiDevGetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg) global() argument 764 SpiDevSetCfg(struct SpiCntlr *spiCntlr, struct SpiCfg *spiCfg) global() argument 786 SpiDevTransfer(struct SpiCntlr *spiCntlr, struct SpiMsg *spiMsg, uint32_t count) global() argument [all...] |
Completed in 3 milliseconds