Lines Matching defs:node
594 static int32_t Hi35xxI2cReadDrs(struct Hi35xxI2cCntlr *hi35xx, const struct DeviceResourceNode *node)
605 ret = drsOps->GetUint32(node, "reg_pbase", &hi35xx->regBasePhy, 0);
611 ret = drsOps->GetUint16(node, "reg_size", &hi35xx->regSize, 0);
617 ret = drsOps->GetUint32(node, "freq", &hi35xx->freq, 0);
623 ret = drsOps->GetUint32(node, "irq", &hi35xx->irq, 0);
629 ret = drsOps->GetUint32(node, "clk", &hi35xx->clk, 0);
635 ret = drsOps->GetUint16(node, "bus", (uint16_t *)&hi35xx->bus, 0);
644 static int32_t Hi35xxI2cParseAndInit(const struct DeviceResourceNode *node)
655 ret = Hi35xxI2cReadDrs(hi35xx, node);
676 hi35xx->cntlr.priv = (void *)node;
725 static void Hi35xxI2cRemoveByNode(const struct DeviceResourceNode *node)
739 ret = drsOps->GetUint16(node, "bus", (uint16_t *)&bus, 0);
747 if (cntlr != NULL && cntlr->priv == node) {