/openbmc/linux/drivers/video/fbdev/mmp/ |
H A D | core.c | 16 static struct mmp_overlay *path_get_overlay(struct mmp_path *path, in path_get_overlay() argument 19 if (path && overlay_id < path->overlay_num) in path_get_overlay() 20 return &path->overlays[overlay_id]; in path_get_overlay() 24 static int path_check_status(struct mmp_path *path) in path_check_status() argument 27 for (i = 0; i < path->overlay_num; i++) in path_check_status() 28 if (path->overlays[i].status) in path_check_status() 41 static int path_get_modelist(struct mmp_path *path, in path_get_modelist() argument 44 BUG_ON(!path || !modelist); in path_get_modelist() 46 if (path->panel && path->panel->get_modelist) in path_get_modelist() 47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist() [all …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | path.c | 3 * Thunderbolt driver - path/tunnel functionality 50 tb_port_warn(port, "failed to read path at %d\n", hopid); in tb_path_find_dst_port() 81 * tb_path_discover() - Discover a path 82 * @src: First input port of a path 83 * @src_hopid: Starting HopID of a path (%-1 if don't care) 84 * @dst: Expected destination port of the path (%NULL if don't care) 87 * @name: Name of the path 90 * Follows a path starting from @src and @src_hopid to the last output 91 * port of the path. Allocates HopIDs for the visited ports (if 92 * @alloc_hopid is true). Call tb_path_free() to release the path and [all …]
|
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/configuration/mtmitchell-yaml-config/ |
H A D | mtmitchell-ipmi-sensors.yaml | 14 path: /xyz/openbmc_project/sensors/temperature/OutletTemp 25 path: /xyz/openbmc_project/sensors/temperature/Psu1InletTemp2 29 path: /xyz/openbmc_project/sensors/temperature/PcieZoneTemp1 33 path: /xyz/openbmc_project/sensors/temperature/Psu0InletTemp2 37 path: /xyz/openbmc_project/sensors/temperature/PcieZoneTemp2 42 path: /xyz/openbmc_project/sensors/temperature/InletTemp 47 path: /xyz/openbmc_project/sensors/temperature/SysCabInletTemp 52 path: /xyz/openbmc_project/sensors/temperature/MBInletTemp1 57 path: /xyz/openbmc_project/sensors/temperature/MBInletTemp2 62 path: /xyz/openbmc_project/sensors/temperature/AST2600CPUTemp [all …]
|
/openbmc/linux/fs/ |
H A D | init.c | 19 struct path path; in init_mount() local 22 ret = kern_path(dir_name, LOOKUP_FOLLOW, &path); in init_mount() 25 ret = path_mount(dev_name, &path, type_page, flags, data_page); in init_mount() 26 path_put(&path); in init_mount() 33 struct path path; in init_umount() local 38 ret = kern_path(name, lookup_flags, &path); in init_umount() 41 return path_umount(&path, flags); in init_umount() 46 struct path path; in init_chdir() local 49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir() 52 error = path_permission(&path, MAY_EXEC | MAY_CHDIR); in init_chdir() [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | pythondeps | 7 # Determine dependencies of python scripts or available python modules in a search path. 12 # Given the -p argument and a path or paths, scans that path for available python modules/packages. 19 import os.path 32 def __init__(self, path, error): argument 33 self.path = path 38 return "Failure determining dependencies of {}: {}".format(self.path, self.error) 54 def walk_up(path): argument 55 while path: 56 yield path 57 path, _, _ = path.rpartition(os.sep) [all …]
|
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/configuration/mtjade-yaml-config/ |
H A D | mtjade-ipmi-sensors.yaml | 14 path: /xyz/openbmc_project/sensors/temperature/TS1_Temp 25 path: /xyz/openbmc_project/sensors/temperature/TS2_Temp 29 path: /xyz/openbmc_project/sensors/temperature/TS3_Temp 33 path: /xyz/openbmc_project/sensors/temperature/TS4_Temp 37 path: /xyz/openbmc_project/sensors/temperature/TS5_Temp 41 path: /xyz/openbmc_project/sensors/temperature/TS6_Temp 45 path: /xyz/openbmc_project/sensors/temperature/PSU0_TEMP 49 path: /xyz/openbmc_project/sensors/temperature/PSU1_TEMP 55 path: /xyz/openbmc_project/sensors/fan_tach/FAN3_1 75 path: /xyz/openbmc_project/sensors/fan_tach/FAN3_2 [all …]
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852c_rfk.c | 151 u8 path; in _wait_rx_mode() local 155 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 156 if (!(kpath & BIT(path))) in _wait_rx_mode() 160 2, 5000, false, rtwdev, path, 0x00, in _wait_rx_mode() 164 path, ret); in _wait_rx_mode() 302 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path() argument 310 path_offset = (path == RF_PATH_A ? 0 : 0x28); in _dack_reload_by_path() 318 val32 |= dack->msbk_d[path][index][i + 12] << (i * 8); in _dack_reload_by_path() 327 val32 |= dack->msbk_d[path][index][i + 8] << (i * 8); in _dack_reload_by_path() 336 val32 |= dack->msbk_d[path][index][i + 4] << (i * 8); in _dack_reload_by_path() [all …]
|
H A D | rtw8852a_rfk.c | 94 u8 path; in _wait_rx_mode() local 98 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 99 if (!(kpath & BIT(path))) in _wait_rx_mode() 103 2, 5000, false, rtwdev, path, 0x00, in _wait_rx_mode() 107 path, ret); in _wait_rx_mode() 254 enum rtw89_rf_path path, u8 index) in _dack_reload_by_path() argument 266 if (path == RF_PATH_A) in _dack_reload_by_path() 275 tmp |= dack->msbk_d[path][index][i + 12] << (i * 8); in _dack_reload_by_path() 283 tmp |= dack->msbk_d[path][index][i + 8] << (i * 8); in _dack_reload_by_path() 291 tmp |= dack->msbk_d[path][index][i + 4] << (i * 8); in _dack_reload_by_path() [all …]
|
H A D | rtw8852b_rfk.c | 234 enum rtw89_rf_path path, bool is_bybb) in _rfk_rf_direct_cntrl() argument 237 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x1); in _rfk_rf_direct_cntrl() 239 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x0); in _rfk_rf_direct_cntrl() 243 enum rtw89_rf_path path, bool is_bybb) in _rfk_drf_direct_cntrl() argument 246 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x1); in _rfk_drf_direct_cntrl() 248 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x0); in _rfk_drf_direct_cntrl() 251 static bool _iqk_check_cal(struct rtw89_dev *rtwdev, u8 path) in _iqk_check_cal() argument 268 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[IQK]S%x, ret=%d\n", path, ret); in _iqk_check_cal() 270 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[IQK]S%x, 0x8008 = 0x%x\n", path, val); in _iqk_check_cal() 294 enum rtw89_rf_path path) in _set_rx_dck() argument [all …]
|
H A D | rtw8851b_rfk.c | 141 u8 path) in _adc_fifo_rst() argument 149 enum rtw89_rf_path path, bool is_bybb) in _rfk_rf_direct_cntrl() argument 152 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x1); in _rfk_rf_direct_cntrl() 154 rtw89_write_rf(rtwdev, path, RR_RSV1, RR_RSV1_RST, 0x0); in _rfk_rf_direct_cntrl() 158 enum rtw89_rf_path path, bool is_bybb) in _rfk_drf_direct_cntrl() argument 161 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x1); in _rfk_drf_direct_cntrl() 163 rtw89_write_rf(rtwdev, path, RR_BBDC, RR_BBDC_SEL, 0x0); in _rfk_drf_direct_cntrl() 169 u8 path; in _wait_rx_mode() local 172 for (path = 0; path < RF_PATH_MAX; path++) { in _wait_rx_mode() 173 if (!(kpath & BIT(path))) in _wait_rx_mode() [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | cachedpath.py | 29 def normpath(self, path): argument 30 if path in self.normpathcache: 31 return self.normpathcache[path] 32 newpath = os.path.normpath(path) 33 self.normpathcache[path] = newpath 36 def _callstat(self, path): argument 37 if path in self.statcache: 38 return self.statcache[path] 40 st = os.stat(path) 41 self.statcache[path] = st [all …]
|
H A D | path.py | 11 import os.path 14 """Like os.path.join but doesn't treat absolute RHS specially""" 15 return os.path.normpath("/".join(paths)) 18 """ Return a relative path from src to dest. 30 return os.path.relpath(dest, src) 32 def make_relative_symlink(path): argument 34 if not os.path.islink(path): 36 link = os.readlink(path) 37 if not os.path.isabs(link): 41 ancestor = path [all …]
|
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/configuration/nicole-yaml-config/ |
H A D | nicole-ipmi-sensors.yaml | 27 path: /xyz/openbmc_project/state/host0 49 path: /org/open_power/control/occ0 58 path: /org/open_power/control/occ1 83 path: /system/chassis/motherboard/cpu0 92 path: /system/chassis/motherboard/cpu1 117 path: /system/chassis/motherboard/dimm0 126 path: /system/chassis/motherboard/dimm1 130 path: /system/chassis/motherboard/dimm2 134 path: /system/chassis/motherboard/dimm3 138 path: /system/chassis/motherboard/dimm4 [all …]
|
/openbmc/pldm/host-bmc/dbus/ |
H A D | custom_dbus.cpp | 7 void CustomDBus::setLocationCode(const std::string& path, std::string value) in setLocationCode() argument 9 if (!location.contains(path)) in setLocationCode() 11 location.emplace(path, in setLocationCode() 13 pldm::utils::DBusHandler::getBus(), path.c_str())); in setLocationCode() 16 location.at(path)->locationCode(value); in setLocationCode() 20 CustomDBus::getLocationCode(const std::string& path) const in getLocationCode() 22 if (location.contains(path)) in getLocationCode() 24 return location.at(path)->locationCode(); in getLocationCode() 30 void CustomDBus::implementCpuCoreInterface(const std::string& path) in implementCpuCoreInterface() argument 32 if (!cpuCore.contains(path)) in implementCpuCoreInterface() [all …]
|
/openbmc/linux/fs/nilfs2/ |
H A D | btree.c | 25 struct nilfs_btree_path *path; in nilfs_btree_alloc_path() local 28 path = kmem_cache_alloc(nilfs_btree_path_cache, GFP_NOFS); in nilfs_btree_alloc_path() 29 if (path == NULL) in nilfs_btree_alloc_path() 33 path[level].bp_bh = NULL; in nilfs_btree_alloc_path() 34 path[level].bp_sib_bh = NULL; in nilfs_btree_alloc_path() 35 path[level].bp_index = 0; in nilfs_btree_alloc_path() 36 path[level].bp_oldreq.bpr_ptr = NILFS_BMAP_INVALID_PTR; in nilfs_btree_alloc_path() 37 path[level].bp_newreq.bpr_ptr = NILFS_BMAP_INVALID_PTR; in nilfs_btree_alloc_path() 38 path[level].bp_op = NULL; in nilfs_btree_alloc_path() 42 return path; in nilfs_btree_alloc_path() [all …]
|
/openbmc/phosphor-power/test/ |
H A D | temporary_file_tests.cpp | 33 * @param path path to the file 35 inline void makeFileUnRemovable(const fs::path& path) in makeFileUnRemovable() argument 38 fs::path savePath{path.native() + ".save"}; in makeFileUnRemovable() 39 fs::rename(path, savePath); in makeFileUnRemovable() 41 // Create a directory at the original file path in makeFileUnRemovable() 42 fs::create_directory(path); in makeFileUnRemovable() 45 // if the path is a non-empty directory. in makeFileUnRemovable() 46 std::ofstream childFile{path / "childFile"}; in makeFileUnRemovable() 54 * @param path path to the file 56 inline void makeFileRemovable(const fs::path& path) in makeFileRemovable() argument [all …]
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | temporary_file_test.cpp | 33 * @param path path to the file 35 inline void makeFileRemovable(const fs::path& path) in makeFileRemovable() argument 37 // makeFileUnRemovable() creates a directory at the file path. Remove the in makeFileRemovable() 39 fs::remove_all(path); in makeFileRemovable() 41 // Rename the file back to the original path to restore its contents in makeFileRemovable() 42 fs::path savePath{path.native() + ".save"}; in makeFileRemovable() 43 fs::rename(savePath, path); in makeFileRemovable() 51 * @param path path to the file 53 inline void makeFileUnRemovable(const fs::path& path) in makeFileUnRemovable() argument 56 fs::path savePath{path.native() + ".save"}; in makeFileUnRemovable() [all …]
|
/openbmc/qemu/python/qemu/utils/ |
H A D | qom_fuse.py | 20 QMP socket path or address (addr:port). May also be 90 def get_ino(self, path: str) -> int: 91 """Get an inode number for a given QOM path.""" 92 if path in self.ino_map: 93 return self.ino_map[path] 94 self.ino_map[path] = self.ino_count 96 return self.ino_map[path] 98 def is_object(self, path: str) -> bool: 99 """Is the given QOM path an object?""" 101 self.qom_list(path) [all …]
|
/openbmc/linux/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 112 const char *path; member 117 const char *path; member 139 .path = "/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests() 142 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests() 145 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests() 148 .path = "..", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests() 151 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests() 154 .path = "cheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests() 157 .path = "abscheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests() 160 .path = "cheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/ |
H A D | typical_media_device.svg | 3 …path="url(#a)" fill-rule="evenodd" stroke-linejoin="round" stroke-width="28.222" preserveAspectRat… 4 …path id="path15" d="m1505.5 13443c-293 0-585 292-585 585v2340c0 293 292 586 585 586h3275c293 0 586… 6 <path id="path37" d="m2371.5 9608h-2260v-1270h4520v1270h-2260z" fill="#ff8080" style=""/><path id="… 7 <path id="path51" d="m2363.5 8053h-2269v-1224h4537v1224h-2268z" fill="#ff8080" style=""/><path id="… 8 <path id="path65" d="m13622 10386h-3810v-1281h7620v1281h-3810z" fill="#cfc" style=""/><path id="pat… 9 <path id="path79" d="m12080 12182h-2268v-1412h4536v1412h-2268z" fill="#cfe7f5" style=""/><path id="… 10 <path id="path93" d="m3050.5 15498h-1563v-1715h3126v1715h-1563z" fill="#fc9" style=""/><path id="pa… 11 …path id="path107" d="m4629.5 5866 385-353v176h1167v-176l386 353-386 354v-177h-1167v177l-385-354z" … 12 …path id="path127" d="m7872.5 11464 385-353v176h1166v-176l386 353-386 354v-177h-1166v177l-385-354z"… 14 <path id="path159" d="m11062 7098h-1250v-875h2499v875h-1249z" fill="#cff" style=""/><path id="path1… [all …]
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/ |
H A D | gbs-ipmi-sensors.yaml | 5 path: /xyz/openbmc_project/sensors/temperature/i2cool_0 26 path: /xyz/openbmc_project/sensors/temperature/i2cool_1 31 path: /xyz/openbmc_project/sensors/temperature/i2cool_2 36 path: /xyz/openbmc_project/sensors/temperature/powerseq_temp 42 path: /xyz/openbmc_project/sensors/temperature/cputemp 48 path: /xyz/openbmc_project/sensors/temperature/nvme0 66 path: /xyz/openbmc_project/sensors/temperature/nvme1 71 path: /xyz/openbmc_project/sensors/temperature/nvme2 76 path: /xyz/openbmc_project/sensors/temperature/nvme3 81 path: /xyz/openbmc_project/sensors/temperature/nvme4 [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/thermal-policy/ibm-ac-server/ |
H A D | thermal-policy.yaml | 11 group: path 14 path: /xyz/openbmc_project/sensors/temperature/p0_core0_temp 16 path: /xyz/openbmc_project/sensors/temperature/p0_core1_temp 18 path: /xyz/openbmc_project/sensors/temperature/p0_core2_temp 20 path: /xyz/openbmc_project/sensors/temperature/p0_core3_temp 22 path: /xyz/openbmc_project/sensors/temperature/p0_core4_temp 24 path: /xyz/openbmc_project/sensors/temperature/p0_core5_temp 26 path: /xyz/openbmc_project/sensors/temperature/p0_core6_temp 28 path: /xyz/openbmc_project/sensors/temperature/p0_core7_temp 30 path: /xyz/openbmc_project/sensors/temperature/p0_core8_temp [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/ |
H A D | olympus-nuvoton-ipmi-sensors.yaml | 5 path: /xyz/openbmc_project/sensors/temperature/bmc_card 26 path: /xyz/openbmc_project/sensors/temperature/inlet 31 path: /xyz/openbmc_project/sensors/temperature/outlet 36 path: /xyz/openbmc_project/sensors/temperature/MB0_Temp 41 path: /xyz/openbmc_project/sensors/temperature/p0_vccin_vr_temp 45 path: /xyz/openbmc_project/sensors/temperature/p0_vccio_vr_temp 49 path: /xyz/openbmc_project/sensors/temperature/p1_vccin_vr_temp 53 path: /xyz/openbmc_project/sensors/temperature/p1_vccio_vr_temp 59 path: /xyz/openbmc_project/sensors/voltage/MB0_Vin 80 path: /xyz/openbmc_project/sensors/voltage/MB0_Vout [all …]
|
/openbmc/openbmc/meta-ingrasys/meta-zaius/recipes-phosphor/configuration/zaius-yaml-config/ |
H A D | zaius-ipmi-sensors.yaml | 3 path: /xyz/openbmc_project/state/host0 32 path: /xyz/openbmc_project/state/host0 61 path: /xyz/openbmc_project/state/host0 74 path: /system/chassis/motherboard/cpu0 101 path: /org/open_power/control/occ0 120 path: /system/chassis/motherboard/cpu1 147 path: /org/open_power/control/occ1 166 path: /system/chassis/pcie_card_e2b 182 path: /xyz/openbmc_project/sensors/voltage/vr0_p1v2_03_vout 200 path: /xyz/openbmc_project/sensors/current/vr0_p1v2_03_iout [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_dbus.cpp | 21 bool OccDBusSensors::setMaxValue(const std::string& path, double value) in setMaxValue() argument 23 if (path.empty()) in setMaxValue() 28 if (!sensors.contains(path)) in setMaxValue() 31 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setMaxValue() 34 sensors.at(path)->maxValue(value); in setMaxValue() 38 double OccDBusSensors::getMaxValue(const std::string& path) const in getMaxValue() 40 if (sensors.find(path) != sensors.end()) in getMaxValue() 42 return sensors.at(path)->maxValue(); in getMaxValue() 48 bool OccDBusSensors::setMinValue(const std::string& path, double value) in setMinValue() argument 50 if (path.empty()) in setMinValue() [all …]
|