Home
last modified time | relevance | path

Searched refs:resourceData (Results 1 – 2 of 2) sorted by relevance

/drivers/hdf_core/adapter/platform/uart/
Duart_gr5xx.c510 uint32_t resourceData; in UartGetPinConfigFromHcs() local
518 if (iface->GetUint32(node, "pin_tx_type", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
522 udd->params.pin_cfg.tx.type = resourceData; in UartGetPinConfigFromHcs()
524 if (iface->GetUint32(node, "pin_tx_pin", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
528 udd->params.pin_cfg.tx.pin = (1 << resourceData); in UartGetPinConfigFromHcs()
530 if (iface->GetUint32(node, "pin_tx_mux", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
534 udd->params.pin_cfg.tx.mux = resourceData; in UartGetPinConfigFromHcs()
536 if (iface->GetUint32(node, "pin_tx_pull", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
540 udd->params.pin_cfg.tx.pull = resourceData; in UartGetPinConfigFromHcs()
542 if (iface->GetUint32(node, "pin_rx_type", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
[all …]
Duart_asr.c532 uint32_t resourceData; in UartGetPinConfigFromHcs() local
540 if (iface->GetUint32(node, "port", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
544 udd->resource.port = resourceData; in UartGetPinConfigFromHcs()
546 if (iface->GetUint32(node, "pin_tx_pin", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
550 udd->resource.pin_tx_pin = resourceData; in UartGetPinConfigFromHcs()
552 if (iface->GetUint32(node, "pin_tx_mux", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
556 udd->resource.pin_tx_mux = resourceData; in UartGetPinConfigFromHcs()
558 if (iface->GetUint32(node, "pin_rx_pin", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
562 udd->resource.pin_rx_pin = resourceData; in UartGetPinConfigFromHcs()
564 if (iface->GetUint32(node, "pin_rx_mux", &resourceData, 0) != HDF_SUCCESS) { in UartGetPinConfigFromHcs()
[all …]