Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/platform/stm32/
Dspi.c115 struct Gpio *nss; member
241 if (!pdev->nss) in stmSpiMasterStartSync()
242 pdev->nss = gpioRequest(cs); in stmSpiMasterStartSync()
243 if (!pdev->nss) in stmSpiMasterStartSync()
245 … gpioConfigOutput(pdev->nss, pdev->board->gpioSpeed, pdev->board->gpioPull, GPIO_OUT_PUSH_PULL, 1); in stmSpiMasterStartSync()
258 if (!pdev->nss) in stmSpiSlaveStartSync()
259 … pdev->nss = stmSpiGpioInit(pdev->board->gpioNss, pdev->board->gpioSpeed, pdev->board->gpioFunc); in stmSpiSlaveStartSync()
260 if (!pdev->nss) in stmSpiSlaveStartSync()
284 if (state->nssChange && pdev->nss) in stmSpiDone()
285 gpioSet(pdev->nss, 1); in stmSpiDone()
[all …]