Searched refs:relPin (Results 1 – 3 of 3) sorted by relevance
279 uint32_t relPin; in GetGpioDeviceResource() local300 relPin = resource->realPin;// / DECIMALNUM * OCTALNUM + resource->realPin % DECIMALNUM; in GetGpioDeviceResource()301 g_gpioPinMap[resource->pin].port = (uint8_t)relPin; in GetGpioDeviceResource()304 resource->pin = relPin; in GetGpioDeviceResource()305 device->dev.port = relPin; in GetGpioDeviceResource()320 uint32_t relPin; in GetGpioDeviceResource() local360 relPin = resource->realPin;// / DECIMALNUM * OCTALNUM + resource->realPin % DECIMALNUM; in GetGpioDeviceResource()361 g_gpioPinMap[resource->pin].port = (uint8_t)relPin; in GetGpioDeviceResource()364 device->dev.port = relPin; in GetGpioDeviceResource()365 resource->pin = relPin; in GetGpioDeviceResource()
167 uint32_t relPin; in GetGpioDeviceResource() local188 relPin = resource->realPin / DECIMALNUM * OCTALNUM + resource->realPin % DECIMALNUM; in GetGpioDeviceResource()189 g_gpioPinReflectionMap[resource->pin] = relPin; in GetGpioDeviceResource()191 resource->pin = relPin; in GetGpioDeviceResource()192 device->port = relPin; in GetGpioDeviceResource()207 uint32_t relPin; in GetGpioDeviceResource() local247 relPin = resource->realPin / DECIMALNUM * OCTALNUM + resource->realPin % DECIMALNUM; in GetGpioDeviceResource()248 g_gpioPinReflectionMap[resource->pin] = relPin; in GetGpioDeviceResource()250 resource->pin = relPin; in GetGpioDeviceResource()251 device->port = relPin; in GetGpioDeviceResource()
470 uint32_t relPin; in GetSpiDeviceResource() local530 relPin = (resource->spiClkPin / DEC_NUM) * GROUP_PIN_NUM + (resource->spiClkPin % DEC_NUM); in GetSpiDeviceResource()531 resource->spiClkPin = relPin; in GetSpiDeviceResource()538 relPin = (resource->spiMosiPin / DEC_NUM) * GROUP_PIN_NUM + (resource->spiMosiPin % DEC_NUM); in GetSpiDeviceResource()539 resource->spiMosiPin = relPin; in GetSpiDeviceResource()545 relPin = ((resource->spiMisoPin / DEC_NUM) * GROUP_PIN_NUM) + (resource->spiMisoPin % DEC_NUM); in GetSpiDeviceResource()546 resource->spiMisoPin = relPin; in GetSpiDeviceResource()553 relPin = ((resource->spiCsPin / DEC_NUM) * GROUP_PIN_NUM) + (resource->spiCsPin % DEC_NUM); in GetSpiDeviceResource()554 resource->spiCsPin = relPin; in GetSpiDeviceResource()