Home
last modified time | relevance | path

Searched refs:ios (Results 126 – 150 of 234) sorted by relevance

12345678910

/openbmc/linux/drivers/mmc/host/
H A Dmxs-mmc.c494 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 Dwmt-sdmmc.c669 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 Duniphier-sd.c441 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 Ddw_mmc.c1449 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 Dslp_service_info.hpp52 str.setstate(std::ios::failbit); in operator >>()
/openbmc/openpower-vpd-parser/test/keyword_vpd_parser_test/
H A Dkw_vpd_test.cpp24 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 Dhost_state_manager.cpp382 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 Dmmc_ops.c603 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 Dsd.c536 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 Ddump_offload.cpp176 std::ifstream infile{file, std::ios::in | std::ios::binary}; in requestOffload()
/openbmc/phosphor-ipmi-flash/bmc/
H A Dfile_handler.cpp31 mode |= std::ios::binary; in open()
/openbmc/openpower-vpd-parser/
H A Dapp.cpp46 std::ifstream vpdFile(file, std::ios::binary); in main()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dlog_id.cpp118 std::ifstream rf{filename, std::ios::binary}; in checkFileForZeroData()
/openbmc/pldm/oem/ibm/requester/
H A Ddbus_to_file_handler.cpp147 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 Dbej_common_test.hpp38 std::ifstream inputStream(fileName, std::ios::binary); in readBinaryFile()
/openbmc/openpower-occ-control/
H A Di2c_occ.cpp37 std::ifstream ifs(f.c_str(), std::ios::binary); in getFileContent()
/openbmc/linux/include/linux/
H A Dpart_stat.h11 unsigned long ios[NR_STAT_GROUPS]; member
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_unittest.hpp80 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 Dio.c656 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 Dversion_stat_unittest.cpp60 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 Dlog_stat_unittest.cpp74 EXPECT_CALL(*im.at("blob0"), open(_, std::ios::in)).WillOnce(Return(true)); in TEST_P()
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_type_vpd.cpp68 auto fd = open(keywrdFilePath, std::ios::out | std::ofstream::binary); in read()
H A Dfile_io.cpp702 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 Dsettings_manager.mako.hpp161 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 DChassisIntrusionSensor.cpp230 std::fstream stream(mHwmonPath, std::ios::in | std::ios::out); in readSensor()

12345678910