/openbmc/linux/drivers/mmc/host/ |
H A D | mxs-mmc.c | 494 static void mxs_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in mxs_mmc_set_ios() argument 498 if (ios->bus_width == MMC_BUS_WIDTH_8) in mxs_mmc_set_ios() 500 else if (ios->bus_width == MMC_BUS_WIDTH_4) in mxs_mmc_set_ios() 505 if (ios->clock) in mxs_mmc_set_ios() 506 mxs_ssp_set_clk_rate(&host->ssp, ios->clock); in mxs_mmc_set_ios()
|
H A D | wmt-sdmmc.c | 669 static void wmt_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in wmt_mci_set_ios() argument 676 if (ios->power_mode == MMC_POWER_UP) { in wmt_mci_set_ios() 681 if (ios->power_mode == MMC_POWER_OFF) in wmt_mci_set_ios() 684 if (ios->clock != 0) in wmt_mci_set_ios() 685 clk_set_rate(priv->clk_sdmmc, ios->clock); in wmt_mci_set_ios() 693 switch (ios->bus_width) { in wmt_mci_set_ios()
|
H A D | uniphier-sd.c | 441 if (host->mmc->ios.timing == MMC_TIMING_UHS_SDR50 || in uniphier_sd_speed_switch() 442 host->mmc->ios.timing == MMC_TIMING_UHS_SDR104) in uniphier_sd_speed_switch() 544 struct mmc_ios *ios) in uniphier_sd_start_signal_voltage_switch() argument 552 switch (ios->signal_voltage) { in uniphier_sd_start_signal_voltage_switch()
|
H A D | dw_mmc.c | 1449 switch (ios->bus_width) { in dw_mci_set_ios() 1464 if (ios->timing == MMC_TIMING_MMC_DDR52 || in dw_mci_set_ios() 1465 ios->timing == MMC_TIMING_UHS_DDR50 || in dw_mci_set_ios() 1466 ios->timing == MMC_TIMING_MMC_HS400) in dw_mci_set_ios() 1472 slot->host->timing = ios->timing; in dw_mci_set_ios() 1478 slot->clock = ios->clock; in dw_mci_set_ios() 1481 drv_data->set_ios(slot->host, ios); in dw_mci_set_ios() 1483 switch (ios->power_mode) { in dw_mci_set_ios() 1487 ios->vdd); in dw_mci_set_ios() 1585 ret = mmc_regulator_set_vqmmc(mmc, ios); in dw_mci_switch_voltage() [all …]
|
/openbmc/slpd-lite/ |
H A D | slp_service_info.hpp | 52 str.setstate(std::ios::failbit); in operator >>()
|
/openbmc/openpower-vpd-parser/test/keyword_vpd_parser_test/ |
H A D | kw_vpd_test.cpp | 24 std::ifstream kwVpdFile("vpd.dat", std::ios::binary); in KeywordVpdParserTest() 30 std::ifstream bonoKwVpdFile("bono.vpd", std::ios::binary); in KeywordVpdParserTest()
|
/openbmc/phosphor-state-manager/ |
H A D | host_state_manager.cpp | 382 std::ofstream os(path.c_str(), std::ios::binary); in serialize() 395 std::ifstream is(path.c_str(), std::ios::in | std::ios::binary); in deserialize()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | mmc_ops.c | 603 unsigned char old_timing = host->ios.timing; in __mmc_switch() 674 struct mmc_ios *ios = &host->ios; in mmc_send_tuning() local 679 if (ios->bus_width == MMC_BUS_WIDTH_8) { in mmc_send_tuning() 682 } else if (ios->bus_width == MMC_BUS_WIDTH_4) { in mmc_send_tuning()
|
H A D | sd.c | 536 voltage = 1 << host->ios.vdd; in sd_get_host_max_current() 668 (card->host->ios.timing == MMC_TIMING_UHS_SDR50 || in mmc_sd_init_uhs_card() 669 card->host->ios.timing == MMC_TIMING_UHS_DDR50 || in mmc_sd_init_uhs_card() 670 card->host->ios.timing == MMC_TIMING_UHS_SDR104)) { in mmc_sd_init_uhs_card() 680 if (err && card->host->ios.timing == MMC_TIMING_UHS_DDR50) { in mmc_sd_init_uhs_card() 1489 host->ios.signal_voltage != MMC_SIGNAL_VOLTAGE_180) { in mmc_sd_init_card() 1521 if (host->ios.timing == MMC_TIMING_SD_HS && in mmc_sd_init_card() 1540 if (host->ios.timing == MMC_TIMING_SD_HS && in mmc_sd_init_card() 1573 host->ios.signal_voltage == MMC_SIGNAL_VOLTAGE_330) { in mmc_sd_init_card()
|
/openbmc/phosphor-debug-collector/ |
H A D | dump_offload.cpp | 176 std::ifstream infile{file, std::ios::in | std::ios::binary}; in requestOffload()
|
/openbmc/phosphor-ipmi-flash/bmc/ |
H A D | file_handler.cpp | 31 mode |= std::ios::binary; in open()
|
/openbmc/openpower-vpd-parser/ |
H A D | app.cpp | 46 std::ifstream vpdFile(file, std::ios::binary); in main()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | log_id.cpp | 118 std::ifstream rf{filename, std::ios::binary}; in checkFileForZeroData()
|
/openbmc/pldm/oem/ibm/requester/ |
H A D | dbus_to_file_handler.cpp | 147 fileHandle.open(resDumpFilePath, std::ios::out | std::ofstream::binary); in processNewResourceDump() 225 certFile.open(certFilePath, std::ios::out | std::ofstream::binary); in newCsrFileAvailable()
|
/openbmc/libbej/test/include/ |
H A D | bej_common_test.hpp | 38 std::ifstream inputStream(fileName, std::ios::binary); in readBinaryFile()
|
/openbmc/openpower-occ-control/ |
H A D | i2c_occ.cpp | 37 std::ifstream ifs(f.c_str(), std::ios::binary); in getFileContent()
|
/openbmc/linux/include/linux/ |
H A D | part_stat.h | 11 unsigned long ios[NR_STAT_GROUPS]; member
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | firmware_unittest.hpp | 80 EXPECT_CALL(*hashImageMock, open(blobId, std::ios::out)) in openToInProgress() 85 EXPECT_CALL(*imageMock2, open(blobId, std::ios::out)) in openToInProgress()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | io.c | 656 const u16 __iomem *ios = (const u16 __iomem *) s; in scr_memcpyw() local 668 u16 tmp = __raw_readw(ios++); in scr_memcpyw() 673 memcpy_fromio(d, ios, count); in scr_memcpyw()
|
/openbmc/phosphor-ipmi-flash/bmc/version-handler/test/ |
H A D | version_stat_unittest.cpp | 60 EXPECT_CALL(*im.at("blob0"), open(_, std::ios::in)).WillOnce(Return(true)); in TEST_P()
|
/openbmc/phosphor-ipmi-flash/bmc/log-handler/test/ |
H A D | log_stat_unittest.cpp | 74 EXPECT_CALL(*im.at("blob0"), open(_, std::ios::in)).WillOnce(Return(true)); in TEST_P()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io_type_vpd.cpp | 68 auto fd = open(keywrdFilePath, std::ios::out | std::ofstream::binary); in read()
|
H A D | file_io.cpp | 702 std::ifstream stream(value.fsPath, std::ios::in | std::ios::binary); in readFile() 794 std::ios::in | std::ios::out | std::ios::binary); in writeFile()
|
/openbmc/phosphor-settingsd/ |
H A D | settings_manager.mako.hpp | 161 std::ifstream is(p.c_str(), std::ios::in); 176 std::ofstream os(p.c_str(), std::ios::binary);
|
/openbmc/dbus-sensors/src/ |
H A D | ChassisIntrusionSensor.cpp | 230 std::fstream stream(mHwmonPath, std::ios::in | std::ios::out); in readSensor()
|