Home
last modified time | relevance | path

Searched refs:pwd (Results 1 - 25 of 50) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/clk/sifive/
H A Dsifive-prci.c118 * @pwd: PRCI WRPLL metadata
120 * Read the current configuration of the PLL identified by @pwd from
122 * cache in @pwd.
125 * @pd and @pwd from changing during execution.
128 struct __prci_wrpll_data *pwd) in __prci_wrpll_read_cfg0()
130 __prci_wrpll_unpack(&pwd->c, __prci_readl(pd, pwd->cfg0_offs)); in __prci_wrpll_read_cfg0()
136 * @pwd: PRCI WRPLL metadata
140 * configuration register identified by @pwd in the PRCI instance
145 * @pd and @pwd fro
127 __prci_wrpll_read_cfg0(struct __prci_data *pd, struct __prci_wrpll_data *pwd) __prci_wrpll_read_cfg0() argument
147 __prci_wrpll_write_cfg0(struct __prci_data *pd, struct __prci_wrpll_data *pwd, struct wrpll_cfg *c) __prci_wrpll_write_cfg0() argument
163 __prci_wrpll_write_cfg1(struct __prci_data *pd, struct __prci_wrpll_data *pwd, u32 enable) __prci_wrpll_write_cfg1() argument
181 struct __prci_wrpll_data *pwd = pc->pwd; sifive_prci_wrpll_recalc_rate() local
191 struct __prci_wrpll_data *pwd = pc->pwd; sifive_prci_wrpll_round_rate() local
205 struct __prci_wrpll_data *pwd = pc->pwd; sifive_prci_wrpll_set_rate() local
226 struct __prci_wrpll_data *pwd = pc->pwd; sifive_clk_is_enabled() local
241 struct __prci_wrpll_data *pwd = pc->pwd; sifive_prci_clock_enable() local
258 struct __prci_wrpll_data *pwd = pc->pwd; sifive_prci_clock_disable() local
[all...]
H A Dfu740-prci.h89 .pwd = &sifive_fu740_prci_corepll_data,
95 .pwd = &sifive_fu740_prci_ddrpll_data,
101 .pwd = &sifive_fu740_prci_gemgxlpll_data,
107 .pwd = &sifive_fu740_prci_dvfscorepll_data,
113 .pwd = &sifive_fu740_prci_hfpclkpll_data,
119 .pwd = &sifive_fu740_prci_cltxpll_data,
H A Dfu540-prci.h73 .pwd = &sifive_fu540_prci_corepll_data,
79 .pwd = &sifive_fu540_prci_ddrpll_data,
85 .pwd = &sifive_fu540_prci_gemgxlpll_data,
H A Dsifive-prci.h257 * @pwd: WRPLL-specific data, associated with this clock (if not NULL)
268 struct __prci_wrpll_data *pwd; member
272 #define clk_hw_to_prci_clock(pwd) container_of(pwd, struct __prci_clock, hw)
/kernel/liteos_a/testsuites/unittest/libc/sys/full/
H A Dsys_test_019.cpp35 struct passwd pwd; in TestCase() local
55 ret = getpwnam_r("root", &pwd, buf1, sizeof(buf1), &user1); in TestCase()
66 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_name, "root", -1, ERROUT); in TestCase()
67 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_passwd, "x", -1, ERROUT); in TestCase()
68 ICUNIT_GOTO_EQUAL(pwd.pw_uid, 0, -1, ERROUT); in TestCase()
69 ICUNIT_GOTO_EQUAL(pwd.pw_gid, 0, -1, ERROUT); in TestCase()
70 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_gecos, "root", -1, ERROUT); in TestCase()
71 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_dir, "/root", -1, ERROUT); in TestCase()
72 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_shell, "/bin/bash", -1, ERROUT); in TestCase()
74 ret = getpwnam_r("daemon", &pwd, buf in TestCase()
[all...]
H A Dsys_test_021.cpp35 struct passwd pwd; in TestCase() local
55 ret = getpwuid_r(0, &pwd, buf1, sizeof(buf1), &user1); in TestCase()
66 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_name, "root", -1, ERROUT); in TestCase()
67 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_passwd, "x", -1, ERROUT); in TestCase()
68 ICUNIT_GOTO_EQUAL(pwd.pw_uid, 0, -1, ERROUT); in TestCase()
69 ICUNIT_GOTO_EQUAL(pwd.pw_gid, 0, -1, ERROUT); in TestCase()
70 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_gecos, "root", -1, ERROUT); in TestCase()
71 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_dir, "/root", -1, ERROUT); in TestCase()
72 ICUNIT_GOTO_STRING_EQUAL(pwd.pw_shell, "/bin/bash", -1, ERROUT); in TestCase()
74 ret = getpwuid_r(1, &pwd, buf in TestCase()
[all...]
/kernel/linux/linux-5.10/drivers/clk/sifive/
H A Dfu540-prci.c174 * @pwd: WRPLL-specific data, associated with this clock (if not NULL)
185 struct __prci_wrpll_data *pwd; member
189 #define clk_hw_to_prci_clock(pwd) container_of(pwd, struct __prci_clock, hw)
294 * @pwd: PRCI WRPLL metadata
296 * Read the current configuration of the PLL identified by @pwd from
298 * cache in @pwd.
301 * @pd and @pwd from changing during execution.
304 struct __prci_wrpll_data *pwd) in __prci_wrpll_read_cfg()
306 __prci_wrpll_unpack(&pwd in __prci_wrpll_read_cfg()
303 __prci_wrpll_read_cfg(struct __prci_data *pd, struct __prci_wrpll_data *pwd) __prci_wrpll_read_cfg() argument
323 __prci_wrpll_write_cfg(struct __prci_data *pd, struct __prci_wrpll_data *pwd, struct wrpll_cfg *c) __prci_wrpll_write_cfg() argument
385 struct __prci_wrpll_data *pwd = pc->pwd; sifive_fu540_prci_wrpll_recalc_rate() local
395 struct __prci_wrpll_data *pwd = pc->pwd; sifive_fu540_prci_wrpll_round_rate() local
410 struct __prci_wrpll_data *pwd = pc->pwd; sifive_fu540_prci_wrpll_set_rate() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dfs_struct.h15 struct path root, pwd; member
35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd() argument
38 *pwd = fs->pwd; in get_fs_pwd()
39 path_get(pwd); in get_fs_pwd()
/kernel/linux/linux-6.6/include/linux/
H A Dfs_struct.h15 struct path root, pwd; member
35 static inline void get_fs_pwd(struct fs_struct *fs, struct path *pwd) in get_fs_pwd() argument
38 *pwd = fs->pwd; in get_fs_pwd()
39 path_get(pwd); in get_fs_pwd()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dget_current_dir_name.c14 char pwd[PATH_MAX]; in get_current_dir_name() local
16 return getcwd(pwd, sizeof(pwd)) == NULL ? NULL : strdup(pwd); in get_current_dir_name()
H A Dtarget.c10 #include <pwd.h>
71 struct passwd pwd, *result; in target__parse_uid() local
80 getpwnam_r(str, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
92 getpwuid_r(uid, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dget_current_dir_name.c14 char pwd[PATH_MAX]; in get_current_dir_name() local
16 return getcwd(pwd, sizeof(pwd)) == NULL ? NULL : strdup(pwd); in get_current_dir_name()
H A Dtarget.c10 #include <pwd.h>
99 struct passwd pwd, *result; in target__parse_uid() local
108 getpwnam_r(str, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
120 getpwuid_r(uid, &pwd, buf, sizeof(buf), &result); in target__parse_uid()
/kernel/linux/linux-5.10/fs/
H A Dfs_struct.c31 * Replace the fs->{pwdmnt,pwd} with {mnt,dentry}. Put the old values.
41 old_pwd = fs->pwd; in set_fs_pwd()
42 fs->pwd = *path; in set_fs_pwd()
73 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
91 path_put(&fs->pwd); in free_fs_struct()
126 fs->pwd = old->pwd; in copy_fs_struct()
127 path_get(&fs->pwd); in copy_fs_struct()
H A Dd_path.c400 struct path *pwd) in get_fs_root_and_pwd_rcu()
407 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
432 struct path pwd, root; in SYSCALL_DEFINE2() local
439 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()
442 if (!d_unlinked(pwd.dentry)) { in SYSCALL_DEFINE2()
448 error = prepend_path(&pwd, &root, &cwd, &buflen); in SYSCALL_DEFINE2()
399 get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, struct path *pwd) get_fs_root_and_pwd_rcu() argument
/kernel/linux/linux-6.6/fs/
H A Dfs_struct.c31 * Replace the fs->{pwdmnt,pwd} with {mnt,dentry}. Put the old values.
41 old_pwd = fs->pwd; in set_fs_pwd()
42 fs->pwd = *path; in set_fs_pwd()
73 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
91 path_put(&fs->pwd); in free_fs_struct()
126 fs->pwd = old->pwd; in copy_fs_struct()
127 path_get(&fs->pwd); in copy_fs_struct()
H A Dd_path.c383 struct path *pwd) in get_fs_root_and_pwd_rcu()
390 *pwd = fs->pwd; in get_fs_root_and_pwd_rcu()
415 struct path pwd, root; in SYSCALL_DEFINE2() local
422 get_fs_root_and_pwd_rcu(current->fs, &root, &pwd); in SYSCALL_DEFINE2()
424 if (unlikely(d_unlinked(pwd.dentry))) { in SYSCALL_DEFINE2()
432 if (unlikely(prepend_path(&pwd, &root, &b) > 0)) in SYSCALL_DEFINE2()
382 get_fs_root_and_pwd_rcu(struct fs_struct *fs, struct path *root, struct path *pwd) get_fs_root_and_pwd_rcu() argument
/kernel/linux/linux-5.10/tools/lib/subcmd/
H A Dexec-cmd.c39 char *pwd; in get_pwd_cwd() local
43 pwd = getenv("PWD"); in get_pwd_cwd()
44 if (pwd && strcmp(pwd, cwd)) { in get_pwd_cwd()
46 if (!stat(pwd, &pwd_stat) && in get_pwd_cwd()
49 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd()
/kernel/linux/linux-6.6/tools/lib/subcmd/
H A Dexec-cmd.c41 char *pwd; in get_pwd_cwd() local
45 pwd = getenv("PWD"); in get_pwd_cwd()
46 if (pwd && strcmp(pwd, buf)) { in get_pwd_cwd()
48 if (!stat(pwd, &pwd_stat) && in get_pwd_cwd()
51 strlcpy(buf, pwd, sz); in get_pwd_cwd()
/kernel/liteos_m/testsuites/unittest/xts/io/
H A Dxts_io.h44 #include <pwd.h>
/kernel/linux/linux-5.10/drivers/net/phy/mscc/
H A Dmscc_main.c279 u16 pwd[3] = {0, 0, 0}; in vsc85xx_wol_set() local
292 for (i = 0; i < ARRAY_SIZE(pwd); i++) in vsc85xx_wol_set()
293 pwd[i] = mac_addr[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
295 __phy_write(phydev, MSCC_PHY_WOL_LOWER_MAC_ADDR, pwd[0]); in vsc85xx_wol_set()
296 __phy_write(phydev, MSCC_PHY_WOL_MID_MAC_ADDR, pwd[1]); in vsc85xx_wol_set()
297 __phy_write(phydev, MSCC_PHY_WOL_UPPER_MAC_ADDR, pwd[2]); in vsc85xx_wol_set()
305 for (i = 0; i < ARRAY_SIZE(pwd); i++) in vsc85xx_wol_set()
306 pwd[i] = wol_conf->sopass[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
308 __phy_write(phydev, MSCC_PHY_WOL_LOWER_PASSWD, pwd[0]); in vsc85xx_wol_set()
309 __phy_write(phydev, MSCC_PHY_WOL_MID_PASSWD, pwd[ in vsc85xx_wol_set()
358 u16 pwd[3] = {0, 0, 0}; vsc85xx_wol_get() local
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/mscc/
H A Dmscc_main.c283 u16 pwd[3] = {0, 0, 0}; in vsc85xx_wol_set() local
292 for (i = 0; i < ARRAY_SIZE(pwd); i++) in vsc85xx_wol_set()
293 pwd[i] = mac_addr[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
295 __phy_write(phydev, MSCC_PHY_WOL_LOWER_MAC_ADDR, pwd[0]); in vsc85xx_wol_set()
296 __phy_write(phydev, MSCC_PHY_WOL_MID_MAC_ADDR, pwd[1]); in vsc85xx_wol_set()
297 __phy_write(phydev, MSCC_PHY_WOL_UPPER_MAC_ADDR, pwd[2]); in vsc85xx_wol_set()
305 for (i = 0; i < ARRAY_SIZE(pwd); i++) in vsc85xx_wol_set()
306 pwd[i] = wol_conf->sopass[5 - (i * 2 + 1)] << 8 | in vsc85xx_wol_set()
308 __phy_write(phydev, MSCC_PHY_WOL_LOWER_PASSWD, pwd[0]); in vsc85xx_wol_set()
309 __phy_write(phydev, MSCC_PHY_WOL_MID_PASSWD, pwd[ in vsc85xx_wol_set()
355 u16 pwd[3] = {0, 0, 0}; vsc85xx_wol_get() local
[all...]
/kernel/linux/linux-5.10/tools/testing/ktest/
H A Dconfig-bisect.pl63 my $pwd = `pwd`;
64 chomp $pwd;
65 my $tree = $pwd;
107 return "$pwd/$file";
/kernel/linux/linux-6.6/tools/testing/ktest/
H A Dconfig-bisect.pl63 my $pwd = `pwd`;
64 chomp $pwd;
65 my $tree = $pwd;
107 return "$pwd/$file";
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl18xx/
H A Devent.c81 u8 pwd_len, u8 *pwd) in wlcore_smart_config_decode_event()
94 nla_put(skb, WLCORE_VENDOR_ATTR_PSK, pwd_len, pwd)) { in wlcore_smart_config_decode_event()
79 wlcore_smart_config_decode_event(struct wl1271 *wl, u8 ssid_len, u8 *ssid, u8 pwd_len, u8 *pwd) wlcore_smart_config_decode_event() argument

Completed in 13 milliseconds

12