/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
spi.c | 128 static inline void stmSpiDataPullMode(struct StmSpiDev *pdev, enum StmGpioSpeed dataSpeed, enum GpioPullMode dataPull) 130 gpioConfigAlt(pdev->miso, dataSpeed, dataPull, GPIO_OUT_PUSH_PULL, pdev->board->gpioFunc); 131 gpioConfigAlt(pdev->mosi, dataSpeed, dataPull, GPIO_OUT_PUSH_PULL, pdev->board->gpioFunc); 134 static inline void stmSpiSckPullMode(struct StmSpiDev *pdev, enum StmGpioSpeed sckSpeed, enum GpioPullMode sckPull) 136 gpioConfigAlt(pdev->sck, sckSpeed, sckPull, GPIO_OUT_PUSH_PULL, pdev->board->gpioFunc); 139 static inline void stmSpiStartDma(struct StmSpiDev *pdev, 143 struct StmSpi *regs = pdev->cfg->regs 232 struct StmSpiDev *pdev = dev->pdata; local 253 struct StmSpiDev *pdev = dev->pdata; local 295 struct StmSpiDev *pdev = cookie; local 310 struct StmSpiDev *pdev = cookie; local 326 struct StmSpiDev *pdev = dev->pdata; local 401 struct StmSpiDev *pdev = dev->pdata; local 417 struct StmSpiDev *pdev = dev->pdata; local 434 struct StmSpiDev *pdev = dev->pdata; local 448 struct StmSpiDev *pdev = dev->pdata; local 461 struct StmSpiDev *pdev = container_of(state, struct StmSpiDev, state); local 474 struct StmSpiDev *pdev = dev->pdata; local 494 struct StmSpiDev *pdev = dev->pdata; local 524 struct StmSpiDev *pdev = dev->pdata; local 616 struct StmSpiDev *pdev = &mStmSpiDevs[busId]; local 632 struct StmSpiDev *pdev = &mStmSpiDevs[busId]; local 642 struct StmSpiDev *pdev = &mStmSpiDevs[busId]; local [all...] |
i2c.c | 249 static inline void stmI2cAckEnable(struct StmI2cDev *pdev) 251 pdev->cfg->regs->CR1 |= I2C_CR1_ACK; 254 static inline void stmI2cAckDisable(struct StmI2cDev *pdev) 256 pdev->cfg->regs->CR1 &= ~I2C_CR1_ACK; 259 static inline void stmI2cDmaEnable(struct StmI2cDev *pdev) 261 pdev->cfg->regs->CR2 |= I2C_CR2_DMAEN; 264 static inline void stmI2cDmaDisable(struct StmI2cDev *pdev) 266 pdev->cfg->regs->CR2 &= ~I2C_CR2_DMAEN; 269 static inline void stmI2cStopEnable(struct StmI2cDev *pdev) 271 struct StmI2c *regs = pdev->cfg->regs 537 struct StmI2cDev *pdev = cookie; local 558 struct StmI2cDev *pdev = cookie; local 779 struct StmI2cDev *pdev = &mStmI2cDevs[busId]; local 821 struct StmI2cDev *pdev = &mStmI2cDevs[busId]; local 856 struct StmI2cDev *pdev = &mStmI2cDevs[busId]; local 923 struct StmI2cDev *pdev = &mStmI2cDevs[busId]; local 947 struct StmI2cDev *pdev = &mStmI2cDevs[busId]; local 969 struct StmI2cDev *pdev = &mStmI2cDevs[busId]; local 999 struct StmI2cDev *pdev = &mStmI2cDevs[busId]; local [all...] |
/frameworks/native/vulkan/libvulkan/ |
swapchain.h | 28 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice pdev, uint32_t queue_family, VkSurfaceKHR surface, VkBool32* pSupported); 29 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* capabilities); 30 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkSurfaceFormatKHR* formats); 31 VKAPI_ATTR VkResult GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkPresentModeKHR* modes);
|
/external/libdrm/nouveau/ |
nouveau.c | 361 nouveau_device_open_existing(struct nouveau_device **pdev, int close, int fd, 369 void *data, uint32_t size, struct nouveau_device **pdev) 389 dev = *pdev = &nvdev->base; 457 nouveau_device_del(pdev); 462 nouveau_device_wrap(int fd, int close, struct nouveau_device **pdev) 476 }, sizeof(struct nv_device_v0), pdev); 482 nvdev = nouveau_device(*pdev); 490 nouveau_device_open(const char *busid, struct nouveau_device **pdev) 494 ret = nouveau_device_wrap(fd, 1, pdev); 502 nouveau_device_del(struct nouveau_device **pdev) [all...] |
/external/opencv3/modules/core/src/ |
cuda_host_mem.cpp | 309 void *pdev; 310 cudaSafeCall( cudaHostGetDevicePointer(&pdev, data, 0) ); 312 return GpuMat(rows, cols, type(), pdev, step);
|
/system/core/init/ |
devices.cpp | 427 struct platform_node *pdev; local 429 pdev = find_platform_device(uevent->path); 430 if (!pdev) 439 parent = strchr(uevent->path + pdev->path_len, '/'); 476 struct platform_node *pdev; local 484 pdev = find_platform_device(uevent->path); 485 if (pdev) { 486 device = pdev->name;
|