Home
last modified time | relevance | path

Searched +full:- +full:path (Results 1 – 25 of 1094) sorted by relevance

12345678910>>...44

/openbmc/linux/drivers/video/fbdev/mmp/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include <linux/dma-mapping.h>
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()
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dpath.c1 // SPDX-License-Identifier: GPL-2.0
3 * Thunderbolt driver - path/tunnel functionality
18 const struct tb_port *port = hop->in_port; in tb_dump_hop()
21 hop->in_hop_index, regs->out_port, regs->next_hop); in tb_dump_hop()
23 regs->weight, regs->priority, in tb_dump_hop()
24 regs->initial_credits, regs->drop_packages); in tb_dump_hop()
26 regs->counter_enable, regs->counter); in tb_dump_hop()
28 regs->ingress_fc, regs->egress_fc, in tb_dump_hop()
29 regs->ingress_shared_buffer, regs->egress_shared_buffer); in tb_dump_hop()
31 regs->unknown1, regs->unknown2, regs->unknown3); in tb_dump_hop()
[all …]
/openbmc/openbmc/poky/scripts/
H A Dpythondeps5 # SPDX-License-Identifier: GPL-2.0-only
7 # Determine dependencies of python scripts or available python modules in a search path.
9 # Given the -d argument and a filename/filenames, returns the modules imported by those files.
10 # Given the -d argument and a directory/directories, recurses to find all
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
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8852c_rfk.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2022 Realtek Corporation
81 rtwdev->dbcc_en, phy_idx); in _kpath()
83 if (!rtwdev->dbcc_en) in _kpath()
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()
170 struct rtw89_dack_info *dack = &rtwdev->dack; in _dack_dump()
[all …]
H A Drtw8852a_rfk.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2020 Realtek Corporation
18 rtwdev->dbcc_en, phy_idx); in _kpath()
20 if (!rtwdev->dbcc_en) in _kpath()
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()
113 struct rtw89_dack_info *dack = &rtwdev->dack; in _dack_dump()
[all …]
H A Drtw8852b_rfk.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2022 Realtek Corporation
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()
[all …]
H A Drtw8851b_rfk.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2022-2023 Realtek Corporation
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
[all …]
/openbmc/linux/fs/
H A Dinit.c1 // SPDX-License-Identifier: GPL-2.0
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()
[all …]
/openbmc/linux/fs/nilfs2/
H A Dbtree.c1 // SPDX-License-Identifier: GPL-2.0+
3 * NILFS B-tree.
5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation.
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()
[all …]
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/configuration/mtmitchell-yaml-config/
H A Dmtmitchell-ipmi-sensors.yaml14 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/Documentation/userspace-api/media/
H A Dtypical_media_device.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later -->
3-path="url(#a)" fill-rule="evenodd" stroke-linejoin="round" stroke-width="28.222" preserveAspectRa…
4path id="path15" d="m1505.5 13443c-293 0-585 292-585 585v2340c0 293 292 586 585 586h3275c293 0 586
5 fill="#000000" font-family="Serif, serif" font-size="493.88px">Audio decoder</tspan></tspan></tspan…
6path id="path37" d="m2371.5 9608h-2260v-1270h4520v1270h-2260z" fill="#ff8080" style=""/><path id="…
7path id="path51" d="m2363.5 8053h-2269v-1224h4537v1224h-2268z" fill="#ff8080" style=""/><path id="…
8path id="path65" d="m13622 10386h-3810v-1281h7620v1281h-3810z" fill="#cfc" style=""/><path id="pat…
9path id="path79" d="m12080 12182h-2268v-1412h4536v1412h-2268z" fill="#cfe7f5" style=""/><path id="…
10path id="path93" d="m3050.5 15498h-1563v-1715h3126v1715h-1563z" fill="#fc9" style=""/><path id="pa…
[all …]
/openbmc/pldm/host-bmc/dbus/
H A Dcustom_dbus.cpp7 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/phosphor-logging/test/openpower-pels/
H A Dtemporary_file_test.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
16 #include "extensions/openpower-pels/temporary_file.hpp"
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
[all …]
/openbmc/linux/tools/testing/selftests/openat2/
H A Dresolve_test.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2018-2019 SUSE LLC.
24 * |-- procexe -> /proc/self/exe
25 * |-- procroot -> /proc/self/root
26 * |-- root/
27 * |-- mnt/ [mountpoint]
28 * | |-- self -> ../mnt/
29 * | `-- absself -> /mnt/
30 * |-- etc/
31 * | `-- passwd
[all …]
/openbmc/openbmc/poky/meta/lib/oe/
H A Dpath.py4 # SPDX-License-Identifier: GPL-2.0-only
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):
[all …]
H A Dcachedpath.py4 # SPDX-License-Identifier: GPL-2.0-only
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)
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/thermal-policy/ibm-ac-server/
H A Dthermal-policy.yaml7 - name: core sensors
11 group: path
13 - meta: SENSOR
14 path: /xyz/openbmc_project/sensors/temperature/p0_core0_temp
15 - meta: SENSOR
16 path: /xyz/openbmc_project/sensors/temperature/p0_core1_temp
17 - meta: SENSOR
18 path: /xyz/openbmc_project/sensors/temperature/p0_core2_temp
19 - meta: SENSOR
20 path: /xyz/openbmc_project/sensors/temperature/p0_core3_temp
[all …]
/openbmc/openbmc/meta-ampere/meta-jade/recipes-phosphor/configuration/mtjade-yaml-config/
H A Dmtjade-ipmi-sensors.yaml14 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/qemu/python/qemu/utils/
H A Dqom_fuse.py10 usage: qom-fuse [-h] [--socket SOCKET] <mount>
18 -h, --help show this help message and exit
19 --socket SOCKET, -s SOCKET
20 QMP socket path or address (addr:port). May also be
32 # See the COPYING file in the top-level directory.
70 def configure_parser(cls, parser: argparse.ArgumentParser) -> None:
85 def run(self) -> int:
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:
[all …]
H A Dqom.py4 usage: qom [-h] {set,get,list,tree,fuse} ...
9 -h, --help show this help message and exit
15 list List QOM properties at a given path
16 tree Show QOM tree from a given path
28 # See the COPYING file in the top-level directory.
30 # Based on ./scripts/qmp/qom-[set|get|tree|list]
51 QOM Command - Set a property to a given value.
53 usage: qom-set [-h] [--socket SOCKET] <path>.<property> <value>
58 <path>.<property> QOM path and property, separated by a period '.'
62 -h, --help show this help message and exit
[all …]
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/configuration/gbs-yaml-config/
H A Dgbs-ipmi-sensors.yaml5 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/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_path.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2018-2019 MediaTek Inc.
4 /* A library for configuring path from GMAC/GDM to target PHY
18 int (*set_path)(struct mtk_eth *eth, u64 path);
21 static const char *mtk_eth_path_name(u64 path) in mtk_eth_path_name() argument
23 switch (path) { in mtk_eth_path_name()
39 return "unknown path"; in mtk_eth_path_name()
43 static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, u64 path) in set_mux_gdm1_to_gmac1_esw() argument
48 switch (path) { in set_mux_gdm1_to_gmac1_esw()
70 dev_dbg(eth->dev, "path %s in %s updated = %d\n", in set_mux_gdm1_to_gmac1_esw()
[all …]
/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/
H A Drootfs.py4 # SPDX-License-Identifier: GPL-2.0-only
19 from oe.path import copyhardlinktree
20 from pathlib import Path
36 def __validate_path(cmd, rootfs_dir, path): argument
37 if os.path.isabs(path):
38 logger.error("%s: Must be relative: %s" % (cmd, path))
44 full_path = os.path.abspath(os.path.join(rootfs_dir, path))
45 if not full_path.startswith(os.path.realpath(rootfs_dir)):
46 logger.error("%s: Must point inside the rootfs: %s" % (cmd, path))
53 if rootfs_dir and os.path.isdir(rootfs_dir):
[all …]
/openbmc/pldm/oem/ibm/configurations/
H A DfileTable.json3 "path": "/var/lib/phosphor-software-manager/hostfw/nvram/PHYP-NVRAM", string
7 "path": "/var/lib/phosphor-software-manager/hostfw/nvram/PHYP-NVRAM-CKSUM", string
11 …"path": "/usr/local/share/hostfw/running/80d00048.lid,/var/lib/phosphor-software-manager/hostfw/ru… string
15 …"path": "/usr/local/share/hostfw/running/80d00049.lid,/var/lib/phosphor-software-manager/hostfw/ru… string
19 …"path": "/usr/local/share/hostfw/running/80d0004a.lid,/var/lib/phosphor-software-manager/hostfw/ru… string
23 …"path": "/usr/local/share/hostfw/running/80d0004b.lid,/var/lib/phosphor-software-manager/hostfw/ru… string
27 …"path": "/usr/local/share/hostfw/running/80d0004c.lid,/var/lib/phosphor-software-manager/hostfw/ru… string
31 …"path": "/usr/local/share/hostfw/running/80d0004d.lid,/var/lib/phosphor-software-manager/hostfw/ru… string
35 …"path": "/usr/local/share/hostfw/running/80d0004e.lid,/var/lib/phosphor-software-manager/hostfw/ru… string
39 …"path": "/usr/local/share/hostfw/running/80d0004f.lid,/var/lib/phosphor-software-manager/hostfw/ru… string
[all …]
/openbmc/openpower-occ-control/
H A Docc_dbus.cpp5 #include <phosphor-logging/lg2.hpp>
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
[all …]

12345678910>>...44