Home
last modified time | relevance | path

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

/drivers/hdf_core/adapter/platform/gpio/
Dgpio_asr.c279 uint32_t relPin; in GetGpioDeviceResource() local
300 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() local
360 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()
Dgpio_bes.c167 uint32_t relPin; in GetGpioDeviceResource() local
188 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() local
247 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()
/drivers/hdf_core/adapter/platform/spi/
Dspi_bes.c470 uint32_t relPin; in GetSpiDeviceResource() local
530 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()