/kernel/linux/linux-6.6/drivers/interconnect/ |
H A D | bulk.c | 8 * of_icc_bulk_get() - get interconnect paths 11 * @paths: the table with the paths we want to get 16 struct icc_bulk_data *paths) in of_icc_bulk_get() 21 paths[i].path = of_icc_get(dev, paths[i].name); in of_icc_bulk_get() 22 if (IS_ERR(paths[i].path)) { in of_icc_bulk_get() 23 ret = PTR_ERR(paths[i].path); in of_icc_bulk_get() 26 paths[i].name, ret); in of_icc_bulk_get() 27 paths[ in of_icc_bulk_get() 15 of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) of_icc_bulk_get() argument 46 icc_bulk_put(int num_paths, struct icc_bulk_data *paths) icc_bulk_put() argument 62 icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) icc_bulk_set_bw() argument 86 icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_enable() argument 112 icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_disable() argument 120 struct icc_bulk_data *paths; global() member 139 devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) devm_of_icc_bulk_get() argument [all...] |
/kernel/linux/linux-5.10/drivers/interconnect/ |
H A D | bulk.c | 8 * of_icc_bulk_get() - get interconnect paths 11 * @paths: the table with the paths we want to get 16 struct icc_bulk_data *paths) in of_icc_bulk_get() 21 paths[i].path = of_icc_get(dev, paths[i].name); in of_icc_bulk_get() 22 if (IS_ERR(paths[i].path)) { in of_icc_bulk_get() 23 ret = PTR_ERR(paths[i].path); in of_icc_bulk_get() 26 paths[i].name, ret); in of_icc_bulk_get() 27 paths[ in of_icc_bulk_get() 15 of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) of_icc_bulk_get() argument 46 icc_bulk_put(int num_paths, struct icc_bulk_data *paths) icc_bulk_put() argument 62 icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) icc_bulk_set_bw() argument 86 icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_enable() argument 112 icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_disable() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | interconnect.h | 45 int devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths); 54 struct icc_bulk_data *paths); 55 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths); 56 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths); 57 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths); 58 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths); 107 static inline int of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) in of_icc_bulk_get() argument 113 struct icc_bulk_data *paths) in devm_of_icc_bulk_get() 118 static inline void icc_bulk_put(int num_paths, struct icc_bulk_data *paths) in icc_bulk_put() argument 122 static inline int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths) in icc_bulk_set_bw() argument 112 devm_of_icc_bulk_get(struct device *dev, int num_paths, struct icc_bulk_data *paths) devm_of_icc_bulk_get() argument 127 icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_enable() argument 132 icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths) icc_bulk_disable() argument [all...] |
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | tunnel.c | 72 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc() 73 if (!tunnel->paths) { in tb_tunnel_alloc() 157 * Discover both paths even if they are not complete. We will in tb_tunnel_discover_pci() 168 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_discover_pci() 169 tb_pci_init_path(tunnel->paths[TB_PCI_PATH_UP]); in tb_tunnel_discover_pci() 175 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_discover_pci() 176 tb_pci_init_path(tunnel->paths[TB_PCI_PATH_DOWN]); in tb_tunnel_discover_pci() 239 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_alloc_pci() 248 tunnel->paths[TB_PCI_PATH_U in tb_tunnel_alloc_pci() 512 struct tb_path **paths; tb_dp_activate() local 743 struct tb_path **paths; tb_tunnel_alloc_dp() local [all...] |
H A D | test.c | 807 * paths like this (you either use lane 0 where lane 1 is in tb_test_path_not_bonded_lane1() 1236 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1237 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1238 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie() 1239 KUNIT_ASSERT_EQ(test, tunnel1->paths[1]->path_length, 2); in tb_test_tunnel_pcie() 1240 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[0].in_port, up); in tb_test_tunnel_pcie() 1241 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[1].out_port, down); in tb_test_tunnel_pcie() 1251 KUNIT_ASSERT_EQ(test, tunnel2->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1252 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1253 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[ in tb_test_tunnel_pcie() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | test.c | 934 * paths like this (you either use lane 0 where lane 1 is in tb_test_path_not_bonded_lane1() 1363 KUNIT_ASSERT_EQ(test, tunnel1->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1364 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1365 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie() 1366 KUNIT_ASSERT_EQ(test, tunnel1->paths[1]->path_length, 2); in tb_test_tunnel_pcie() 1367 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[0].in_port, up); in tb_test_tunnel_pcie() 1368 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[1].out_port, down); in tb_test_tunnel_pcie() 1378 KUNIT_ASSERT_EQ(test, tunnel2->paths[0]->path_length, 2); in tb_test_tunnel_pcie() 1379 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1380 KUNIT_EXPECT_PTR_EQ(test, tunnel2->paths[ in tb_test_tunnel_pcie() [all...] |
H A D | tunnel.c | 143 tunnel->paths = kcalloc(npaths, sizeof(tunnel->paths[0]), GFP_KERNEL); in tb_tunnel_alloc() 144 if (!tunnel->paths) { in tb_tunnel_alloc() 279 * Discover both paths even if they are not complete. We will in tb_tunnel_discover_pci() 290 tunnel->paths[TB_PCI_PATH_UP] = path; in tb_tunnel_discover_pci() 291 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_UP])) in tb_tunnel_discover_pci() 298 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_discover_pci() 299 if (tb_pci_init_path(tunnel->paths[TB_PCI_PATH_DOWN])) in tb_tunnel_discover_pci() 360 tunnel->paths[TB_PCI_PATH_DOWN] = path; in tb_tunnel_alloc_pci() 368 tunnel->paths[TB_PCI_PATH_U in tb_tunnel_alloc_pci() 817 struct tb_path **paths; tb_dp_activate() local 1393 struct tb_path **paths; tb_tunnel_alloc_dp() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/browsers/ |
H A D | scripts.c | 28 char **paths; member 53 if (asprintf(&c->paths[c->index], in add_script_option() 73 if (asprintf(&c->paths[c->index], "%s %s", value, in scripts_config() 88 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; in list_scripts() local 96 .paths = paths, in list_scripts() 122 paths[i] = names[i] + SCRIPT_NAMELEN; in list_scripts() 125 num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std, in list_scripts() 145 strcpy(script_name, paths[choice]); in list_scripts() 152 zfree(&paths[ in list_scripts() [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/browsers/ |
H A D | scripts.c | 28 char **paths; member 53 if (asprintf(&c->paths[c->index], in add_script_option() 73 if (asprintf(&c->paths[c->index], "%s %s", value, in scripts_config() 88 char *buf, *paths[SCRIPT_MAX_NO], *names[SCRIPT_MAX_NO]; in list_scripts() local 96 .paths = paths, in list_scripts() 122 paths[i] = names[i] + SCRIPT_NAMELEN; in list_scripts() 125 num = find_scripts(names + max_std, paths + max_std, SCRIPT_MAX_NO - max_std, in list_scripts() 145 strcpy(script_name, paths[choice]); in list_scripts() 152 zfree(&paths[ in list_scripts() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | interconnect.h | 42 struct icc_bulk_data *paths); 43 void icc_bulk_put(int num_paths, struct icc_bulk_data *paths); 44 int icc_bulk_set_bw(int num_paths, const struct icc_bulk_data *paths); 45 int icc_bulk_enable(int num_paths, const struct icc_bulk_data *paths); 46 void icc_bulk_disable(int num_paths, const struct icc_bulk_data *paths);
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | d_path.c | 19 char paths[MAX_FILES][MAX_PATH_LEN]; member 27 return readlink(buf, src.paths[src.cnt++], MAX_PATH_LEN); in set_pathname() 136 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path_basic() 139 i, src.paths[i], bss->paths_stat[i]); in test_d_path_basic() 140 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path_basic() 143 i, src.paths[i], bss->paths_close[i]); in test_d_path_basic()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | d_path.c | 30 char paths[MAX_FILES][MAX_PATH_LEN]; member 38 return readlink(buf, src.paths[src.cnt++], MAX_PATH_LEN); in set_pathname() 153 CHECK(strncmp(src.paths[i], bss->paths_stat[i], MAX_PATH_LEN), in test_d_path_basic() 156 i, src.paths[i], bss->paths_stat[i]); in test_d_path_basic() 157 CHECK(strncmp(src.paths[i], bss->paths_close[i], MAX_PATH_LEN), in test_d_path_basic() 160 i, src.paths[i], bss->paths_close[i]); in test_d_path_basic()
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
H A D | rnbd-clt-sysfs.c | 56 struct rtrs_addr *paths; member 106 pr_err("map_device: too many (> %zu) paths provided\n", in rnbd_clt_parse_map_options() 119 &opt->paths[p_cnt]); in rnbd_clt_parse_map_options() 541 struct rtrs_addr paths[6]; in rnbd_clt_map_device_store() local 545 opt.paths = paths; in rnbd_clt_map_device_store() 550 addrs = kcalloc(ARRAY_SIZE(paths) * 2, sizeof(*addrs), GFP_KERNEL); in rnbd_clt_map_device_store() 554 for (path_cnt = 0; path_cnt < ARRAY_SIZE(paths); path_cnt++) { in rnbd_clt_map_device_store() 555 paths[path_cnt].src = &addrs[path_cnt * 2]; in rnbd_clt_map_device_store() 556 paths[path_cn in rnbd_clt_map_device_store() [all...] |
/kernel/linux/linux-6.6/drivers/block/rnbd/ |
H A D | rnbd-clt-sysfs.c | 59 struct rtrs_addr *paths; member 112 pr_err("map_device: too many (> %zu) paths provided\n", in rnbd_clt_parse_map_options() 125 &opt->paths[p_cnt]); in rnbd_clt_parse_map_options() 576 struct rtrs_addr paths[6]; in rnbd_clt_map_device_store() local 580 opt.paths = paths; in rnbd_clt_map_device_store() 586 addrs = kcalloc(ARRAY_SIZE(paths) * 2, sizeof(*addrs), GFP_KERNEL); in rnbd_clt_map_device_store() 590 for (path_cnt = 0; path_cnt < ARRAY_SIZE(paths); path_cnt++) { in rnbd_clt_map_device_store() 591 paths[path_cnt].src = &addrs[path_cnt * 2]; in rnbd_clt_map_device_store() 592 paths[path_cn in rnbd_clt_map_device_store() [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | asoc.h | 192 TP_PROTO(int paths, int stream), 194 TP_ARGS(paths, stream), 197 __field( int, paths ) 202 __entry->paths = paths; 206 TP_printk("%s: found %d paths", 207 __entry->stream ? "capture" : "playback", __entry->paths)
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | asoc.h | 193 TP_PROTO(int paths, int stream), 195 TP_ARGS(paths, stream), 198 __field( int, paths ) 203 __entry->paths = paths; 207 TP_printk("%s: found %d paths", 208 __entry->stream ? "capture" : "playback", __entry->paths)
|
/kernel/linux/linux-5.10/scripts/ |
H A D | leaking_addresses.pl | 58 # Skip these absolute paths. 521 my ($total, $dmesg, $paths, $files) = parse_raw_file($file); 534 squash_by($paths, 'path'); 561 my %paths; # Unique paths containing leaks. 572 cache_path(\%paths, $line); 576 return $total, \@dmesg, \%paths, \%files; 618 my ($paths, $line) = @_; 624 add_to_cache($paths, $path, substr($line, $index));
|
H A D | check-sysctl-docs | 29 # paths: maps ctl_path names to paths 99 delete paths 132 paths[curpath] = curentry 162 if (paths[tables[1]] == table) { 167 split(paths[tables[1]], components, "/")
|
/kernel/linux/linux-6.6/scripts/ |
H A D | leaking_addresses.pl | 58 # Skip these absolute paths. 522 my ($total, $dmesg, $paths, $files) = parse_raw_file($file); 535 squash_by($paths, 'path'); 562 my %paths; # Unique paths containing leaks. 573 cache_path(\%paths, $line); 577 return $total, \@dmesg, \%paths, \%files; 619 my ($paths, $line) = @_; 625 add_to_cache($paths, $path, substr($line, $index));
|
/kernel/linux/linux-5.10/tools/testing/selftests/exec/ |
H A D | non-regular.c | 56 const char * const paths[] = { in setup_link() local 62 for (i = 0; i < ARRAY_SIZE(paths); i++) { in setup_link() 63 if (access(paths[i], X_OK) == 0) { in setup_link() 64 ASSERT_EQ(symlink(paths[i], self->pathname), 0); in setup_link()
|
/kernel/linux/linux-5.10/scripts/clang-tools/ |
H A D | gen_compile_commands.py | 34 paths: The list of files/directories to handle to find .cmd files. 60 parser.add_argument('paths', type=str, nargs='*', help=paths_help) 68 args.paths if len(args.paths) > 0 else [args.directory]) 194 log_level, directory, output, ar, paths = parse_arguments() 203 for path in paths:
|
/kernel/linux/linux-6.6/tools/testing/selftests/exec/ |
H A D | non-regular.c | 56 const char * const paths[] = { in setup_link() local 62 for (i = 0; i < ARRAY_SIZE(paths); i++) { in setup_link() 63 if (access(paths[i], X_OK) == 0) { in setup_link() 64 ASSERT_EQ(symlink(paths[i], self->pathname), 0); in setup_link()
|
/kernel/linux/linux-6.6/scripts/clang-tools/ |
H A D | gen_compile_commands.py | 36 paths: The list of files/directories to handle to find .cmd files. 62 parser.add_argument('paths', type=str, nargs='*', help=paths_help) 70 args.paths if len(args.paths) > 0 else [args.directory]) 188 log_level, directory, output, ar, paths = parse_arguments() 197 for path in paths:
|
/kernel/linux/linux-5.10/drivers/staging/sm750fb/ |
H A D | sm750_hw.c | 198 if (output->paths & sm750_panel) in hw_sm750_output_setMode() 200 if (output->paths & sm750_crt) in hw_sm750_output_setMode() 205 if (output->paths & sm750_panel) in hw_sm750_output_setMode() 207 if (output->paths & sm750_crt) in hw_sm750_output_setMode() 414 if (output->paths & sm750_crt) { in hw_sm750le_setBLANK() 459 if (output->paths & sm750_crt) { in hw_sm750_setBLANK() 468 if (output->paths & sm750_panel) { in hw_sm750_setBLANK()
|
/kernel/linux/linux-6.6/drivers/staging/sm750fb/ |
H A D | sm750_hw.c | 198 if (output->paths & sm750_panel) in hw_sm750_output_setMode() 200 if (output->paths & sm750_crt) in hw_sm750_output_setMode() 205 if (output->paths & sm750_panel) in hw_sm750_output_setMode() 207 if (output->paths & sm750_crt) in hw_sm750_output_setMode() 414 if (output->paths & sm750_crt) { in hw_sm750le_setBLANK() 459 if (output->paths & sm750_crt) { in hw_sm750_setBLANK() 468 if (output->paths & sm750_panel) { in hw_sm750_setBLANK()
|