| /linux/tools/perf/util/ |
| A D | machine.h | 41 struct machine { struct 75 struct map *machine__kernel_map(struct machine *machine) in machine__kernel_map() argument 84 struct maps *machine__kernel_maps(struct machine *machine) in machine__kernel_maps() argument 89 int machine__get_kernel_start(struct machine *machine); 123 int machine__process_aux_event(struct machine *machine, 141 int machine__process_ksymbol(struct machine *machine, 144 int machine__process_text_poke(struct machine *machine, 176 void machine__exit(struct machine *machine); 177 void machine__delete_threads(struct machine *machine); 178 void machine__delete(struct machine *machine); [all …]
|
| A D | machine.c | 89 memset(machine, 0, sizeof(*machine)); in machine__init() 90 maps__init(&machine->kmaps, machine); in machine__init() 140 struct machine *machine = malloc(sizeof(*machine)); in machine__new_host() local 213 void machine__exit(struct machine *machine) in machine__exit() argument 271 struct machine *pos, *machine = malloc(sizeof(*machine)); in machines__add() local 306 struct machine *machine = rb_entry(nd, struct machine, rb_node); in machines__set_comm_exec() local 316 struct machine *machine; in machines__find() local 344 if (machine && (machine->pid == pid)) in machines__findnew() 395 struct machine *machine; in machines__set_id_hdr_size() local 1484 struct machine *machine = arg; in machine__create_module() local [all …]
|
| A D | synthetic-events.h | 14 struct machine; 43 struct perf_sample *sample, struct machine *machine); 48 …erf_tool *tool, struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine); 54 …hesize_extra_kmaps(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); 57 …hesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); 59 …synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); 61 …synthesize_cgroups(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); 78 int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, 82 int machine__synthesize_threads(struct machine *machine, struct target *target, 106 struct machine *machine, struct record_opts *opts); [all …]
|
| A D | vdso.c | 108 void machine__exit_vdso(struct machine *machine) in machine__exit_vdso() argument 124 zfree(&machine->vdso_info); in machine__exit_vdso() 127 static struct dso *__machine__addnew_vdso(struct machine *machine, const char *short_name, in __machine__addnew_vdso() argument 143 static enum dso_type machine__thread_dso_type(struct machine *machine, in machine__thread_dso_type() argument 237 static struct dso *__machine__findnew_compat(struct machine *machine, in __machine__findnew_compat() argument 256 static int __machine__findnew_vdso_compat(struct machine *machine, in __machine__findnew_vdso_compat() argument 290 static struct dso *machine__find_vdso(struct machine *machine, in machine__find_vdso() argument 320 struct dso *machine__findnew_vdso(struct machine *machine, in machine__findnew_vdso() argument 327 if (!machine->vdso_info) in machine__findnew_vdso() 330 vdso_info = machine->vdso_info; in machine__findnew_vdso() [all …]
|
| A D | event.h | 319 struct machine *machine); 323 struct machine *machine); 331 struct machine *machine); 339 struct machine *machine); 347 struct machine *machine); 355 struct machine *machine); 359 struct machine *machine); 371 struct machine *machine); 375 struct machine *machine); 379 struct machine *machine); [all …]
|
| A D | event.c | 196 struct machine *machine) in perf_event__process_comm() argument 204 struct machine *machine) in perf_event__process_namespaces() argument 220 struct machine *machine) in perf_event__process_lost() argument 228 struct machine *machine) in perf_event__process_aux() argument 244 struct machine *machine) in perf_event__process_aux_output_hw_id() argument 268 struct machine *machine) in perf_event__process_ksymbol() argument 276 struct machine *machine) in perf_event__process_bpf() argument 284 struct machine *machine) in perf_event__process_text_poke() argument 565 struct machine *machine) in perf_event__process() argument 574 struct machine *machine = maps->machine; in thread__find_map() local [all …]
|
| A D | synthetic-events.c | 52 struct machine *machine, in perf_tool__process_synth_event() argument 154 struct machine *machine, in perf_event__prepare_comm() argument 193 struct machine *machine) in perf_event__synthesize_comm() argument 225 struct machine *machine) in perf_event__synthesize_namespaces() argument 519 struct machine *machine) in perf_event__synthesize_cgroup() argument 559 struct machine *machine) in perf_event__walk_cgroup_tree() argument 605 struct machine *machine) in perf_event__synthesize_cgroups() argument 639 struct machine *machine) in perf_event__synthesize_modules() argument 949 struct machine *machine; member 1022 args[i].machine = machine; in perf_event__synthesize_threads() [all …]
|
| A D | db-export.h | 14 struct machine; 43 int (*export_machine)(struct db_export *dbe, struct machine *machine); 45 u64 main_thread_db_id, struct machine *machine); 51 struct machine *machine); 61 struct machine *machine, 83 int db_export__machine(struct db_export *dbe, struct machine *machine); 85 struct machine *machine, struct thread *main_thread); 93 struct machine *machine); 108 struct perf_sample *sample, struct machine *machine);
|
| A D | dso.h | 15 struct machine; 267 struct machine *machine); 297 struct machine *machine); 344 int dso__data_get_fd(struct dso *dso, struct machine *machine); 348 int dso__data_file_size(struct dso *dso, struct machine *machine); 349 off_t dso__data_size(struct dso *dso, struct machine *machine); 350 ssize_t dso__data_read_offset(struct dso *dso, struct machine *machine, 353 struct machine *machine, u64 addr, 356 ssize_t dso__data_write_cache_offs(struct dso *dso, struct machine *machine, 359 struct machine *machine, u64 addr, [all …]
|
| A D | db-export.c | 49 int db_export__machine(struct db_export *dbe, struct machine *machine) in db_export__machine() argument 51 if (machine->db_id) in db_export__machine() 54 machine->db_id = ++dbe->machine_last_db_id; in db_export__machine() 57 return dbe->export_machine(dbe, machine); in db_export__machine() 63 struct machine *machine, struct thread *main_thread) in db_export__thread() argument 77 machine); in db_export__thread() 147 struct machine *machine) in db_export__dso() argument 210 struct machine *machine, in call_path_from_sample() argument 292 struct machine *machine, struct comm **comm_ptr) in db_export__threads() argument 522 static int db_export__pid_tid(struct db_export *dbe, struct machine *machine, in db_export__pid_tid() argument [all …]
|
| A D | dso.c | 434 struct machine *machine) in dso__set_module_info() argument 494 static int __open_dso(struct dso *dso, struct machine *machine) in __open_dso() argument 504 if (machine) in __open_dso() 546 static int open_dso(struct dso *dso, struct machine *machine) in open_dso() argument 708 int dso__data_get_fd(struct dso *dso, struct machine *machine) in dso__data_get_fd() argument 897 struct machine *machine, in dso_cache__populate() argument 938 struct machine *machine, in dso_cache__find() argument 994 static int file_size(struct dso *dso, struct machine *machine) in file_size() argument 1049 off_t dso__data_size(struct dso *dso, struct machine *machine) in dso__data_size() argument 1106 struct machine *machine, u64 addr, in dso__data_read_addr() argument [all …]
|
| A D | dlfilter.h | 14 struct machine; 34 struct machine *machine; member 62 struct machine *machine, 73 struct machine *machine, in dlfilter__filter_event() argument 79 return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, false); in dlfilter__filter_event() 86 struct machine *machine, in dlfilter__filter_event_early() argument 92 return dlfilter__do_filter_event(d, event, sample, evsel, machine, al, addr_al, true); in dlfilter__filter_event_early()
|
| A D | bpf-event.c | 73 static int machine__process_bpf_event_load(struct machine *machine, in machine__process_bpf_event_load() argument 78 struct perf_env *env = machine->env; in machine__process_bpf_event_load() 107 int machine__process_bpf(struct machine *machine, union perf_event *event, in machine__process_bpf() argument 201 struct machine *machine, in perf_event__synthesize_one_bpf_prog() argument 301 machine, process); in perf_event__synthesize_one_bpf_prog() 335 machine, process); in perf_event__synthesize_one_bpf_prog() 347 struct machine *machine; member 354 struct machine *machine = data->machine; in process_bpf_image() local 415 struct machine *machine, in perf_event__synthesize_bpf_events() argument 452 machine, fd, in perf_event__synthesize_bpf_events() [all …]
|
| /linux/arch/arm/ |
| A D | Makefile | 166 machine-$(CONFIG_ARCH_AT91) += at91 168 machine-$(CONFIG_ARCH_BCM) += bcm 174 machine-$(CONFIG_ARCH_DOVE) += dove 188 machine-$(CONFIG_ARCH_MMP) += mmp 193 machine-$(CONFIG_ARCH_MXC) += imx 196 machine-$(CONFIG_ARCH_MXS) += mxs 205 machine-$(CONFIG_ARCH_PXA) += pxa 207 machine-$(CONFIG_ARCH_RDA) += rda 211 machine-$(CONFIG_ARCH_RPC) += rpc 217 machine-$(CONFIG_ARCH_STI) += sti [all …]
|
| /linux/sound/soc/tegra/ |
| A D | tegra_asoc_machine.c | 130 if (machine->gpiod_hp_det && machine->asoc->add_hp_jack) { in tegra_asoc_machine_init() 155 if (machine->gpiod_hp_det && machine->asoc->add_headset_jack) { in tegra_asoc_machine_init() 175 if (machine->gpiod_mic_det && machine->asoc->add_mic_jack) { in tegra_asoc_machine_init() 286 machine->set_baseclock = 0; in tegra_machine_hw_params() 287 machine->set_mclk = 0; in tegra_machine_hw_params() 312 machine->set_mclk = mclk; in tegra_machine_hw_params() 382 struct tegra_machine *machine; in tegra_asoc_machine_probe() local 387 machine = devm_kzalloc(dev, sizeof(*machine), GFP_KERNEL); in tegra_asoc_machine_probe() 388 if (!machine) in tegra_asoc_machine_probe() 395 machine->asoc = asoc; in tegra_asoc_machine_probe() [all …]
|
| /linux/tools/perf/ |
| A D | builtin-inject.c | 269 struct machine *machine); 275 struct machine *machine) in perf_event__repipe_sample() argument 296 struct machine *machine) in perf_event__repipe_mmap() argument 378 struct machine *machine) in perf_event__repipe_buildid_mmap() argument 397 struct machine *machine) in perf_event__repipe_mmap2() argument 423 struct machine *machine) in perf_event__jit_repipe_mmap2() argument 487 struct machine *machine) in perf_event__repipe_fork() argument 500 struct machine *machine) in perf_event__repipe_comm() argument 513 struct machine *machine) in perf_event__repipe_namespaces() argument 525 struct machine *machine) in perf_event__repipe_exit() argument [all …]
|
| /linux/tools/perf/tests/ |
| A D | thread-maps-share.c | 10 struct machine *machine; in test__thread_maps_share() local 31 machine = &machines.host; in test__thread_maps_share() 34 leader = machine__findnew_thread(machine, 0, 0); in test__thread_maps_share() 35 t1 = machine__findnew_thread(machine, 0, 1); in test__thread_maps_share() 36 t2 = machine__findnew_thread(machine, 0, 2); in test__thread_maps_share() 37 t3 = machine__findnew_thread(machine, 0, 3); in test__thread_maps_share() 66 machine__remove_thread(machine, leader); in test__thread_maps_share() 67 machine__remove_thread(machine, t1); in test__thread_maps_share() 68 machine__remove_thread(machine, t2); in test__thread_maps_share() 69 machine__remove_thread(machine, t3); in test__thread_maps_share() [all …]
|
| A D | dso-data.c | 106 static int dso__data_fd(struct dso *dso, struct machine *machine) in dso__data_fd() argument 118 struct machine machine; in test__dso_data() local 125 memset(&machine, 0, sizeof(machine)); in test__dso_data() 130 dso__data_fd(dso, &machine) >= 0); in test__dso_data() 253 struct machine machine; in test__dso_data_cache() local 260 memset(&machine, 0, sizeof(machine)); in test__dso_data_cache() 278 fd = dso__data_fd(dso, &machine); in test__dso_data_cache() 323 struct machine machine; in test__dso_data_reopen() local 334 memset(&machine, 0, sizeof(machine)); in test__dso_data_reopen() 352 fd = dso__data_fd(dso_0, &machine); in test__dso_data_reopen() [all …]
|
| A D | dwarf-unwind.c | 43 struct machine *machine) in mmap_handler() argument 48 static int init_live_machine(struct machine *machine) in init_live_machine() argument 55 mmap_handler, machine, true); in init_live_machine() 201 struct machine *machine; in test__dwarf_unwind() local 205 machine = machine__new_host(); in test__dwarf_unwind() 206 if (!machine) { in test__dwarf_unwind() 211 if (machine__create_kernel_maps(machine)) { in test__dwarf_unwind() 219 if (init_live_machine(machine)) { in test__dwarf_unwind() 225 machine__fprintf(machine, stderr); in test__dwarf_unwind() 237 machine__delete_threads(machine); in test__dwarf_unwind() [all …]
|
| A D | mmap-thread-lookup.c | 132 typedef int (*synth_cb)(struct machine *machine); 134 static int synth_all(struct machine *machine) in synth_all() argument 138 machine, 1, 0, 1); in synth_all() 141 static int synth_process(struct machine *machine) in synth_process() argument 150 machine, 1, 0); in synth_process() 158 struct machine *machine; in mmap_events() local 170 machine = machine__new_host(); in mmap_events() 174 err = synth(machine); in mmap_events() 190 thread = machine__findnew_thread(machine, getpid(), td->tid); in mmap_events() 208 machine__delete_threads(machine); in mmap_events() [all …]
|
| A D | hists_cumulate.c | 80 static int add_hist_entries(struct hists *hists, struct machine *machine) in add_hist_entries() argument 250 static int test1(struct evsel *evsel, struct machine *machine) in test1() argument 288 err = add_hist_entries(hists, machine); in test1() 301 static int test2(struct evsel *evsel, struct machine *machine) in test2() argument 435 err = add_hist_entries(hists, machine); in test2() 449 static int test3(struct evsel *evsel, struct machine *machine) in test3() argument 506 static int test4(struct evsel *evsel, struct machine *machine) in test4() argument 696 struct machine *machine; in test__hists_cumulate() local 718 if (!machine) in test__hists_cumulate() 722 machine__fprintf(machine, stderr); in test__hists_cumulate() [all …]
|
| A D | code-reading.c | 365 static int process_sample_event(struct machine *machine, in process_sample_event() argument 389 static int process_event(struct machine *machine, struct evlist *evlist, in process_event() argument 412 static int process_events(struct machine *machine, struct evlist *evlist, in process_events() argument 546 struct machine *machine; in do_test_code_reading() local 571 machine = machine__new_host(); in do_test_code_reading() 572 machine->env = &perf_env; in do_test_code_reading() 574 ret = machine__create_kernel_maps(machine); in do_test_code_reading() 585 map = machine__kernel_map(machine); in do_test_code_reading() 609 perf_event__process, machine, in do_test_code_reading() 713 machine__delete_threads(machine); in do_test_code_reading() [all …]
|
| /linux/sound/soc/rockchip/ |
| A D | rk3288_hdmi_analog.c | 38 if (!gpio_is_valid(machine->gpio_hp_en)) in rk_hp_power() 41 gpio_set_value_cansleep(machine->gpio_hp_en, in rk_hp_power() 126 if (gpio_is_valid(machine->gpio_hp_det)) { in rk_init() 175 struct rk_drvdata *machine; in snd_rk_mc_probe() local 180 if (!machine) in snd_rk_mc_probe() 187 if (!gpio_is_valid(machine->gpio_hp_det) && machine->gpio_hp_det != -ENODEV) in snd_rk_mc_probe() 188 return machine->gpio_hp_det; in snd_rk_mc_probe() 192 if (!gpio_is_valid(machine->gpio_hp_en) && machine->gpio_hp_en != -ENODEV) in snd_rk_mc_probe() 193 return machine->gpio_hp_en; in snd_rk_mc_probe() 195 if (gpio_is_valid(machine->gpio_hp_en)) { in snd_rk_mc_probe() [all …]
|
| /linux/Documentation/sound/soc/ |
| A D | machine.rst | 5 The ASoC machine (or board) driver is the code that glues together all the 10 The machine driver can contain codec and platform specific code. It registers 15 /* SoC machine */ 42 probe/remove are optional. Do any machine specific probe here. 47 The machine driver has pre and post versions of suspend and resume to take care 55 also be used to set up the DAI system clock and for any machine related DAI 56 initialisation e.g. the machine audio map can be connected to the codec audio 59 struct snd_soc_dai_link is used to set up each DAI in your machine. e.g. 74 struct snd_soc_card then sets up the machine with its DAIs. e.g. 77 /* corgi audio machine driver */ [all …]
|
| /linux/sound/soc/amd/ |
| A D | acp-da7219-max98357a.c | 265 machine->cap_i2s_instance = I2S_SP_INSTANCE; in cz_da7219_cap_startup() 266 machine->capture_channel = CAP_CHANNEL1; in cz_da7219_cap_startup() 308 machine->cap_i2s_instance = I2S_BT_INSTANCE; in cz_dmic0_startup() 329 machine->cap_i2s_instance = I2S_SP_INSTANCE; in cz_dmic1_startup() 330 machine->capture_channel = CAP_CHANNEL0; in cz_dmic1_startup() 377 machine->cap_i2s_instance = I2S_SP_INSTANCE; in cz_rt5682_cap_startup() 378 machine->capture_channel = CAP_CHANNEL1; in cz_rt5682_cap_startup() 442 machine->capture_channel = CAP_CHANNEL0; in cz_rt5682_dmic1_startup() 732 struct acp_platform_info *machine; in cz_probe() local 752 if (!machine) in cz_probe() [all …]
|