Home
last modified time | relevance | path

Searched refs:busp (Results 1 – 19 of 19) sorted by relevance

/openbmc/u-boot/drivers/net/mdio/
H A Dmdio-uclass.c18 int mdio_mii_bus_get(struct udevice *mdio_dev, struct mii_dev **busp) in mdio_mii_bus_get() argument
20 *busp = (struct mii_dev *)dev_get_uclass_platdata(mdio_dev); in mdio_mii_bus_get()
33 int mdio_mii_bus_get_from_phy(ofnode phy_node, struct mii_dev **busp) in mdio_mii_bus_get_from_phy() argument
42 *busp = (struct mii_dev *)dev_get_uclass_platdata(mdio_dev); in mdio_mii_bus_get_from_phy()
66 int mdio_mii_bus_get_from_eth(struct udevice *eth, struct mii_dev **busp) in mdio_mii_bus_get_from_eth() argument
76 *busp = (struct mii_dev *)dev_get_uclass_platdata(mdio_dev); in mdio_mii_bus_get_from_eth()
78 *busp = NULL; in mdio_mii_bus_get_from_eth()
/openbmc/u-boot/include/net/
H A Dmdio.h20 int mdio_mii_bus_get(struct udevice *mdio_dev, struct mii_dev **busp);
38 int mdio_mii_bus_get_from_phy(ofnode phy_node, struct mii_dev **busp);
60 int mdio_mii_bus_get_from_eth(struct udevice *eth, struct mii_dev **busp);
/openbmc/phosphor-net-ipmid/command/
H A Dsession_cmds.cpp103 uint8_t setSessionState(std::shared_ptr<sdbusplus::asio::connection>& busp, in setSessionState() argument
109 *busp, service, obj, session::sessionIntf, "State")); in setSessionState()
114 *busp, service, obj, session::sessionIntf, "State", in setSessionState()
134 auto busp = getSdBus(); in closeOtherNetInstanceSession() local
139 *busp, session::sessionManagerRootPath, session::sessionIntf); in closeOtherNetInstanceSession()
157 ipmi::getDbusProperty(*busp, service, obj, in closeOtherNetInstanceSession()
165 return setSessionState(busp, service, obj); in closeOtherNetInstanceSession()
/openbmc/intel-ipmi-oem/src/
H A Dchassiscommands.cpp226 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in getPowerRestorePolicy() local
231 ipmi::getService(*busp, powerRestoreIntf, powerRestorePath); in getPowerRestorePolicy()
234 ipmi::getDbusProperty(*busp, service, powerRestorePath, in getPowerRestorePolicy()
275 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in getPowerStatus() local
283 ipmi::getService(*busp, chassisStateIntf, chassisStatePath); in getPowerStatus()
286 ipmi::getDbusProperty(*busp, service, chassisStatePath, in getPowerStatus()
336 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in getButtonEnabled() local
341 *busp, service, buttonPath, buttonIntf, "ButtonMasked"); in getButtonEnabled()
H A Dfirmware-update.cpp375 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in updateActivationPercent() local
379 *busp, in updateActivationPercent()
446 std::shared_ptr<sdbusplus::asio::connection> busp; member in FwUpdateStatusCache
492 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in getFirmwareUpdateMode() local
495 auto service = ipmi::getService(*busp, bmcStateIntf, bmcStatePath); in getFirmwareUpdateMode()
497 *busp, service, bmcStatePath, bmcStateIntf, "CurrentBMCState"); in getFirmwareUpdateMode()
518 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in setFirmwareUpdateMode() local
521 auto service = ipmi::getService(*busp, bmcStateIntf, bmcStatePath); in setFirmwareUpdateMode()
522 ipmi::setDbusProperty(*busp, service, bmcStatePath, bmcStateIntf, in setFirmwareUpdateMode()
849 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in ipmiGetFwVersionInfo() local
[all …]
H A Doemcommands.cpp385 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in ipmiOEMDisableBMCSystemReset() local
391 ipmi::setDbusProperty(*busp, service, bmcResetDisablesPath, in ipmiOEMDisableBMCSystemReset()
413 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in ipmiOEMGetBMCResetDisables() local
419 ipmi::getDbusProperty(*busp, service, bmcResetDisablesPath, in ipmiOEMGetBMCResetDisables()
919 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in cpuPresent() local
923 ipmi::getService(*busp, cpuPresenceIntf, cpuPresencePath); in cpuPresent()
976 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in ipmiOEMGetProcessorErrConfig() local
979 auto service = ipmi::getService(*busp, processorErrConfigIntf, in ipmiOEMGetProcessorErrConfig()
1017 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in ipmiOEMSetProcessorErrConfig() local
1025 auto service = ipmi::getService(*busp, processorErrConfigIntf, in ipmiOEMSetProcessorErrConfig()
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpci_internal.h59 int pci_get_bus(int busnum, struct udevice **busp);
H A Dpci-uclass.c21 int pci_get_bus(int busnum, struct udevice **busp) in pci_get_bus() argument
25 ret = uclass_get_device_by_seq(UCLASS_PCI, busnum, busp); in pci_get_bus()
29 ret = uclass_first_device_err(UCLASS_PCI, busp); in pci_get_bus()
32 ret = uclass_get_device_by_seq(UCLASS_PCI, busnum, busp); in pci_get_bus()
/openbmc/u-boot/drivers/w1/
H A Dw1-uclass.c107 int w1_get_bus(int busnum, struct udevice **busp) in w1_get_bus() argument
117 *busp = dev; in w1_get_bus()
/openbmc/u-boot/drivers/spi/
H A Dspi-uclass.c277 int spi_find_bus_and_cs(int busnum, int cs, struct udevice **busp, in spi_find_bus_and_cs() argument
293 *busp = bus; in spi_find_bus_and_cs()
301 struct udevice **busp, struct spi_slave **devp) in spi_get_bus_and_cs() argument
369 *busp = bus; in spi_get_bus_and_cs()
/openbmc/u-boot/include/
H A Dspi.h492 int spi_find_bus_and_cs(int busnum, int cs, struct udevice **busp,
518 struct udevice **busp, struct spi_slave **devp);
H A Dw1.h29 int w1_get_bus(int busnum, struct udevice **busp);
/openbmc/u-boot/cmd/
H A Daxi.c84 static int axi_get_cur_bus(struct udevice **busp) in axi_get_cur_bus() argument
90 *busp = axi_cur_bus; in axi_get_cur_bus()
H A Di2c.c149 static int i2c_get_cur_bus(struct udevice **busp) in i2c_get_cur_bus() argument
165 *busp = i2c_cur_bus; in i2c_get_cur_bus()
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Dtegra_i2c.h153 int tegra_i2c_get_dvc_bus(struct udevice **busp);
/openbmc/u-boot/drivers/i2c/
H A Dtegra_i2c.c500 int tegra_i2c_get_dvc_bus(struct udevice **busp) in tegra_i2c_get_dvc_bus() argument
508 *busp = bus; in tegra_i2c_get_dvc_bus()
/openbmc/phosphor-host-ipmid/
H A Dchassishandler.cpp963 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in getPowerStatus() local
971 ipmi::getService(*busp, chassisStateIntf, chassisStatePath); in getPowerStatus()
974 ipmi::getDbusProperty(*busp, service, chassisStatePath, in getPowerStatus()
989 ipmi::getService(*busp, legacyPwrCtrlIntf, legacyPwrCtrlObj); in getPowerStatus()
992 *busp, service, legacyPwrCtrlObj, legacyPwrCtrlIntf, "pgood"); in getPowerStatus()
1039 std::shared_ptr<sdbusplus::asio::connection> busp = getSdBus(); in getButtonEnabled() local
1043 auto service = ipmi::getService(*busp, buttonIntf, buttonPath); in getButtonEnabled()
1044 ipmi::Value enabled = ipmi::getDbusProperty(*busp, service, buttonPath, in getButtonEnabled()
H A Dapphandler.cpp908 uint8_t setSessionState(std::shared_ptr<sdbusplus::asio::connection>& busp, in setSessionState() argument
914 *busp, service, obj, session::sessionIntf, "State")); in setSessionState()
919 *busp, service, obj, session::sessionIntf, "State", in setSessionState()
940 auto busp = getSdBus(); in ipmiAppCloseSession() local
965 *busp, session::sessionManagerRootPath, session::sessionIntf); in ipmiAppCloseSession()
987 return ipmi::response(setSessionState(busp, service, obj)); in ipmiAppCloseSession()
/openbmc/qemu/hw/pci/
H A Dpci.c793 static int pci_parse_devaddr(const char *addr, int *domp, int *busp, in pci_parse_devaddr() argument
845 *busp = bus; in pci_parse_devaddr()