OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:gpioSpeed
(Results
1 - 9
of
9
) sorted by null
/device/google/contexthub/firmware/variant/lunchbox/src/os/
spi.c
28
.
gpioSpeed
= GPIO_SPEED_MEDIUM,
43
.
gpioSpeed
= GPIO_SPEED_MEDIUM,
/device/google/contexthub/firmware/variant/nucleo/src/os/
spi.c
28
.
gpioSpeed
= GPIO_SPEED_MEDIUM,
43
.
gpioSpeed
= GPIO_SPEED_MEDIUM,
/device/google/contexthub/firmware/os/inc/
gpio.h
71
void gpioConfigInput(const struct Gpio* __restrict gpio, int32_t
gpioSpeed
, enum GpioPullMode pull);
72
void gpioConfigOutput(const struct Gpio* __restrict gpio, int32_t
gpioSpeed
, enum GpioPullMode pull, enum GpioOpenDrainMode odrMode, bool value);
73
void gpioConfigAlt(const struct Gpio* __restrict gpio, int32_t
gpioSpeed
, enum GpioPullMode pull, enum GpioOpenDrainMode odrMode, uint32_t altFunc);
syscallDo.h
239
static inline void eOsGpioConfigInput(const struct Gpio* __restrict gpio, int32_t
gpioSpeed
, enum GpioPullMode pull)
241
syscallDo3P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_GPIO, SYSCALL_OS_DRV_GPIO_CFG_IN), gpio,
gpioSpeed
, pull);
244
static inline void eOsGpioConfigOutput(const struct Gpio* __restrict gpio, int32_t
gpioSpeed
, enum GpioPullMode pull, enum GpioOpenDrainMode odrMode, bool value)
246
syscallDo5P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_GPIO, SYSCALL_OS_DRV_GPIO_CFG_OUT), gpio,
gpioSpeed
, pull, odrMode, value);
249
static inline void eOsGpioConfigAlt(const struct Gpio* __restrict gpio, int32_t
gpioSpeed
, enum GpioPullMode pull, enum GpioOpenDrainMode odrMode, uint32_t altFunc)
251
syscallDo5P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_GPIO, SYSCALL_OS_DRV_GPIO_CFG_ALT), gpio,
gpioSpeed
, pull, odrMode, altFunc);
/device/google/contexthub/firmware/os/platform/stm32/
gpio.c
96
static void gpioConfigWithNum(uint32_t gpioNum, int32_t
gpioSpeed
, enum GpioPullMode pull, enum GpioOpenDrainMode output)
108
block->OSPEEDR = (block->OSPEEDR & ~mask_2b) | (((uint32_t)gpioSpeedFromRequestedSpeed(
gpioSpeed
)) << shift_2b);
119
static void gpioConfigInputWithNum(uint32_t gpioNum, int32_t
gpioSpeed
, enum GpioPullMode pull)
125
gpioConfigWithNum(gpioNum,
gpioSpeed
, pull, GPIO_OUT_PUSH_PULL);
131
void gpioConfigInput(const struct Gpio* __restrict gpioHandle, int32_t
gpioSpeed
, enum GpioPullMode pull)
134
gpioConfigInputWithNum((uint32_t)gpioHandle - GPIO_HANDLE_OFFSET,
gpioSpeed
, pull);
137
static void gpioConfigOutputWithNum(uint32_t gpioNum, int32_t
gpioSpeed
, enum GpioPullMode pull, enum GpioOpenDrainMode output, bool value)
143
gpioConfigWithNum(gpioNum,
gpioSpeed
, pull, output);
152
void gpioConfigOutput(const struct Gpio* __restrict gpioHandle, int32_t
gpioSpeed
, enum GpioPullMode pull, enum GpioOpenDrainMode output, bool value)
155
gpioConfigOutputWithNum((uint32_t)gpioHandle - GPIO_HANDLE_OFFSET,
gpioSpeed
, pull, output, value)
[
all
...]
spi.c
238
stmSpiDataPullMode(pdev, pdev->board->
gpioSpeed
, pdev->board->gpioPull);
239
stmSpiSckPullMode(pdev, pdev->board->
gpioSpeed
, mode->cpol ? GPIO_PULL_UP : GPIO_PULL_DOWN);
245
gpioConfigOutput(pdev->nss, pdev->board->
gpioSpeed
, pdev->board->gpioPull, GPIO_OUT_PUSH_PULL, 1);
255
stmSpiDataPullMode(pdev, pdev->board->
gpioSpeed
, GPIO_PULL_NONE);
256
stmSpiSckPullMode(pdev, pdev->board->
gpioSpeed
, GPIO_PULL_NONE);
259
pdev->nss = stmSpiGpioInit(pdev->board->gpioNss, pdev->board->
gpioSpeed
, pdev->board->gpioFunc);
424
stmSpiSckPullMode(pdev, pdev->board->
gpioSpeed
, pdev->board->gpioPull);
596
pdev->miso = stmSpiGpioInit(board->gpioMiso, board->
gpioSpeed
, board->gpioFunc);
597
pdev->mosi = stmSpiGpioInit(board->gpioMosi, board->
gpioSpeed
, board->gpioFunc);
598
pdev->sck = stmSpiGpioInit(board->gpioSclk, board->
gpioSpeed
, board->gpioFunc)
[
all
...]
i2c.c
772
gpioConfigAlt(gpio, board->
gpioSpeed
, board->gpioPull, GPIO_OUT_OPEN_DRAIN,
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
spi.h
38
enum StmGpioSpeed
gpioSpeed
;
i2c.h
40
enum StmGpioSpeed
gpioSpeed
;
Completed in 126 milliseconds