Searched refs:tempPin (Results 1 – 4 of 4) sorted by relevance
/drivers/hdf_core/adapter/platform/i2c/ |
D | i2c_bes.c | 136 #define I2C_FIND_CONFIG(node, name, resource, result, tempPin) \ argument 140 tempPin = HCS_PROP(node, sclPin); \ 141 resource->sclPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); \ 142 tempPin = HCS_PROP(node, sdaPin); \ 143 resource->sdaPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); \ 157 uint32_t tempPin; in GetI2cDeviceResource() local 166 …EACH_CHILD_VARGS(PLATFORM_I2C_CONFIG, I2C_FIND_CONFIG, deviceMatchAttr, resource, result, tempPin); in GetI2cDeviceResource() 177 uint32_t tempPin; in GetI2cDeviceResource() local 200 if (dri->GetUint32(resourceNode, "sclPin", &tempPin, 0) != HDF_SUCCESS) { in GetI2cDeviceResource() 204 resource->sclPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); in GetI2cDeviceResource() [all …]
|
D | i2c_wm.c | 131 uint32_t tempPin = 0; in GetI2cDeviceResource() local 154 if (dri->GetUint32(resourceNode, "sclPin", &tempPin, 0) != HDF_SUCCESS) { in GetI2cDeviceResource() 158 resource->sclPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); in GetI2cDeviceResource() 160 if (dri->GetUint32(resourceNode, "sdaPin", &tempPin, 0) != HDF_SUCCESS) { in GetI2cDeviceResource() 164 resource->sdaPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); in GetI2cDeviceResource()
|
/drivers/hdf_core/adapter/platform/pwm/ |
D | pwm_bes.c | 91 tempPin = HCS_PROP(node, pwmPin); \ 92 resource->pwmPin = ((tempPin / DEC_TEN) * PIN_GROUP_NUM) + (tempPin % DEC_TEN); \ 120 uint32_t tempPin = 0; in GetPwmDeviceResource() local 140 if (dri->GetUint32(resourceNode, "pwmPin", &tempPin, 0) != HDF_SUCCESS) { in GetPwmDeviceResource() 144 resource->pwmPin = ((tempPin / DEC_TEN) * PIN_GROUP_NUM) + (tempPin % DEC_TEN); in GetPwmDeviceResource()
|
/drivers/hdf_core/adapter/platform/spi/ |
D | spi_bes.c | 433 tempPin = HCS_PROP(node, spiClkPin); \ 434 resource->spiClkPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); \ 435 tempPin = HCS_PROP(node, spiMosiPin); \ 436 resource->spiMosiPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); \ 437 tempPin = HCS_PROP(node, spiMisoPin); \ 438 resource->spiMisoPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); \ 439 tempPin = HCS_PROP(node, spiCsPin); \ 440 resource->spiCsPin = ((tempPin / DEC_NUM) * GROUP_PIN_NUM) + (tempPin % DEC_NUM); \
|