/openbmc/linux/tools/perf/util/ |
H A D | machine.h | 23 /* Native host kernel uses -1 as pid index in machine */ 42 struct machine { struct 73 static inline struct threads *machine__threads(struct machine *machine, pid_t tid) in machine__threads() argument 76 return &machine->threads[(unsigned int)tid % THREADS__TABLE_SIZE]; in machine__threads() 83 struct map *machine__kernel_map(struct machine *machine) in machine__kernel_map() argument 85 return machine->vmlinux_map; in machine__kernel_map() 92 struct maps *machine__kernel_maps(struct machine *machine) in machine__kernel_maps() argument 94 return machine->kmaps; in machine__kernel_maps() 97 int machine__get_kernel_start(struct machine *machine); 99 static inline u64 machine__kernel_start(struct machine *machine) in machine__kernel_start() argument [all …]
|
H A D | synthetic-events.h | 15 struct machine; 44 struct perf_sample *sample, struct machine *machine); 48 …erf_tool *tool, struct dso *pos, u16 misc, perf_event__handler_t process, struct machine *machine); 49 …ol *tool, const struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine); 55 …hesize_extra_kmaps(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); 57 …ct perf_tool *tool, perf_event__handler_t process, struct evlist *evlist, struct machine *machine); 58 …*tool, perf_event__handler_t process, struct evlist *evlist, struct machine *machine, size_t from); 60 …hesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); 61 …event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_da… 62 …synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine); [all …]
|
H A D | machine.c | 14 #include "machine.h" 46 static void __machine__remove_thread(struct machine *machine, struct thread_rb_node *nd, 49 static struct dso *machine__kernel_dso(struct machine *machine) in machine__kernel_dso() argument 51 return map__dso(machine->vmlinux_map); in machine__kernel_dso() 61 static void machine__threads_init(struct machine *machine) in machine__threads_init() argument 66 struct threads *threads = &machine->threads[i]; in machine__threads_init() 91 static int machine__set_mmap_name(struct machine *machine) in machine__set_mmap_name() argument 93 if (machine__is_host(machine)) in machine__set_mmap_name() 94 machine->mmap_name = strdup("[kernel.kallsyms]"); in machine__set_mmap_name() 95 else if (machine__is_default_guest(machine)) in machine__set_mmap_name() [all …]
|
H A D | vdso.c | 17 #include "machine.h" 108 void machine__exit_vdso(struct machine *machine) in machine__exit_vdso() argument 110 struct vdso_info *vdso_info = machine->vdso_info; in machine__exit_vdso() 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 134 __dsos__add(&machine->dsos, dso); in __machine__addnew_vdso() 143 static enum dso_type machine__thread_dso_type(struct machine *machine, in machine__thread_dso_type() argument 154 dso_type = dso__type(dso, machine); in machine__thread_dso_type() 238 static struct dso *__machine__findnew_compat(struct machine *machine, in __machine__findnew_compat() argument 244 dso = __dsos__find(&machine->dsos, vdso_file->dso_name, true); in __machine__findnew_compat() [all …]
|
H A D | event.h | 16 struct machine; 273 struct machine *machine); 277 struct machine *machine); 281 struct machine *machine); 285 struct machine *machine); 289 struct machine *machine); 293 struct machine *machine); 297 struct machine *machine); 301 struct machine *machine); 305 struct machine *machine); [all …]
|
H A D | event.c | 18 #include "machine.h" 222 struct machine *machine) in perf_event__process_comm() argument 224 return machine__process_comm_event(machine, event, sample); in perf_event__process_comm() 230 struct machine *machine) in perf_event__process_namespaces() argument 232 return machine__process_namespaces_event(machine, event, sample); in perf_event__process_namespaces() 238 struct machine *machine) in perf_event__process_cgroup() argument 240 return machine__process_cgroup_event(machine, event, sample); in perf_event__process_cgroup() 246 struct machine *machine) in perf_event__process_lost() argument 248 return machine__process_lost_event(machine, event, sample); in perf_event__process_lost() 254 struct machine *machine) in perf_event__process_aux() argument [all …]
|
H 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);
|
H A D | synthetic-events.c | 9 #include "util/machine.h" 52 struct machine *machine, in perf_tool__process_synth_event() argument 65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event() 154 struct machine *machine, in perf_event__prepare_comm() argument 163 if (machine__is_host(machine)) { in perf_event__prepare_comm() 170 *tgid = machine->pid; in perf_event__prepare_comm() 181 memset(event->comm.comm + size, 0, machine->id_hdr_size); in perf_event__prepare_comm() 184 machine->id_hdr_size); in perf_event__prepare_comm() 193 struct machine *machine) in perf_event__synthesize_comm() argument 198 if (perf_event__prepare_comm(event, 0, pid, machine, &tgid, &ppid, in perf_event__synthesize_comm() [all …]
|
/openbmc/linux/arch/arm/ |
H A D | Makefile | 167 # Machine directory name. This list is sorted alphanumerically 169 machine-$(CONFIG_ARCH_ACTIONS) += actions 170 machine-$(CONFIG_ARCH_AIROHA) += airoha 171 machine-$(CONFIG_ARCH_ALPINE) += alpine 172 machine-$(CONFIG_ARCH_ARTPEC) += artpec 173 machine-$(CONFIG_ARCH_ASPEED) += aspeed 174 machine-$(CONFIG_ARCH_AT91) += at91 175 machine-$(CONFIG_ARCH_AXXIA) += axxia 176 machine-$(CONFIG_ARCH_BCM) += bcm 177 machine-$(CONFIG_ARCH_BERLIN) += berlin [all …]
|
/openbmc/u-boot/arch/arm/ |
H A D | Makefile | 52 # Machine directory name. This list is sorted alphanumerically 54 machine-$(CONFIG_ARCH_ASPEED) += aspeed 55 machine-$(CONFIG_ARCH_AT91) += at91 56 machine-$(CONFIG_ARCH_BCM283X) += bcm283x 57 machine-$(CONFIG_ARCH_BCMSTB) += bcmstb 58 machine-$(CONFIG_ARCH_DAVINCI) += davinci 59 machine-$(CONFIG_ARCH_EXYNOS) += exynos 60 machine-$(CONFIG_ARCH_HIGHBANK) += highbank 61 machine-$(CONFIG_ARCH_K3) += k3 62 machine-$(CONFIG_ARCH_KEYSTONE) += keystone [all …]
|
/openbmc/openbmc/poky/scripts/lib/resulttool/ |
H A D | report.py | 27 def handle_ptest_result(self, k, status, result, machine): argument 28 if machine not in self.ptests: 29 self.ptests[machine] = {} 34 if suite not in self.ptests[machine]: 35 self.ptests[machine][suite] = { 40 … self.ptests[machine][suite]['duration'] = result['ptestresult.sections'][suite]['duration'] 42 self.ptests[machine][suite]['duration'] += " T" 60 if suite not in self.ptests[machine]: 61 self.ptests[machine][suite] = { 67 if test in self.ptests[machine][suite]["testcases"]: [all …]
|
/openbmc/linux/sound/soc/tegra/ |
H A D | tegra_asoc_machine.c | 3 * tegra_asoc_machine.c - Universal ASoC machine driver for NVIDIA Tegra boards. 56 struct tegra_machine *machine = (struct tegra_machine *)data; in coupled_mic_hp_check() local 59 if (gpiod_get_value_cansleep(machine->gpiod_hp_det) && in coupled_mic_hp_check() 60 gpiod_get_value_cansleep(machine->gpiod_mic_det)) in coupled_mic_hp_check() 83 struct tegra_machine *machine = snd_soc_card_get_drvdata(dapm->card); in tegra_machine_event() local 86 gpiod_set_value_cansleep(machine->gpiod_spkr_en, in tegra_machine_event() 90 gpiod_set_value_cansleep(machine->gpiod_ext_mic_en, in tegra_machine_event() 94 gpiod_set_value_cansleep(machine->gpiod_int_mic_en, in tegra_machine_event() 98 gpiod_set_value_cansleep(machine->gpiod_hp_mute, in tegra_machine_event() 139 struct tegra_machine *machine = snd_soc_card_get_drvdata(card); in tegra_asoc_machine_init() local [all …]
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-virtio-ccw.c | 2 * virtio ccw machine 74 static void s390_init_cpus(MachineState *machine) in s390_init_cpus() argument 76 MachineClass *mc = MACHINE_GET_CLASS(machine); in s390_init_cpus() 80 if (machine->smp.threads > s390mc->max_threads) { in s390_init_cpus() 87 mc->possible_cpu_arch_ids(machine); in s390_init_cpus() 89 for (i = 0; i < machine->smp.cpus; i++) { in s390_init_cpus() 90 s390x_new_cpu(machine->cpu_type, i, &error_fatal); in s390_init_cpus() 161 MachineState *ms = MACHINE(qdev_get_machine()); in virtio_ccw_hcall_early_printk() 245 static void ccw_init(MachineState *machine) in ccw_init() argument 247 MachineClass *mc = MACHINE_GET_CLASS(machine); in ccw_init() [all …]
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | machine.rst | 2 ASoC Machine Driver 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 48 of any machine audio tasks that have to be done before or after the codec, DAIs 52 Machine DAI Configuration 54 The machine DAI configuration glues all the codec and CPU DAIs together. It can 55 also be used to set up the DAI system clock and for any machine related DAI [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | resulttooltests.py | 23 "MACHINE": "qemux86"}, 30 "MACHINE": "qemux86-64"}, 37 "MACHINE": "qemux86"}, 44 "MACHINE": "qemux86"}, 51 "MACHINE": "qemux86-64"}, 108 "MACHINE": "qemux86", 117 "MACHINE": "qemux86", 130 "MACHINE": "qemux86", 135 "machine": None, 144 "MACHINE": "qemux86", [all …]
|
/openbmc/qemu/include/hw/ |
H A D | boards.h | 9 #include "qapi/qapi-types-machine.h" 15 #define TYPE_MACHINE_SUFFIX "-machine" 17 /* Machine class name that needs to be used for class-name-based machine 22 #define TYPE_MACHINE "machine" 23 #undef MACHINE /* BSD defines it and QEMU does not use it */ 24 OBJECT_DECLARE_TYPE(MachineState, MachineClass, MACHINE) 29 * machine_class_default_cpu_type: Return the machine default CPU type. 30 * @mc: Machine class 35 void machine_run_board_init(MachineState *machine, const char *mem_path, Error **errp); 36 bool machine_usb(MachineState *machine); [all …]
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | generic_fuzz_configs.h | 26 return g_strdup_printf("-machine q35 -nodefaults " in generic_fuzzer_virtio_9p_args() 40 .args = "-machine q35 -device virtio-blk,drive=disk0 " 45 .args = "-machine q35 -device virtio-scsi,num_queues=8 " 51 .args = "-machine q35 -nodefaults -device virtio-gpu", 55 .args = "-machine q35 -nodefaults -device virtio-vga", 59 .args = "-machine q35 -nodefaults -device virtio-rng", 63 .args = "-machine q35 -nodefaults -device virtio-balloon", 67 .args = "-machine q35 -nodefaults -device virtio-serial", 71 .args = "-machine q35 -nodefaults -device virtio-mouse", 79 .args = "-machine q35 -nodefaults " [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | riscv-virt-machine.c | 4 * Initial version based on arm-virt-machine.c 65 QVirtMachine *machine = (QVirtMachine *) obj; in virt_destructor() local 66 alloc_destroy(&machine->alloc); in virt_destructor() 71 QVirtMachine *machine = object; in virt_get_driver() local 73 return &machine->alloc; in virt_get_driver() 82 QVirtMachine *machine = obj; in virt_get_device() local 84 return &machine->bridge.obj; in virt_get_device() 86 return &machine->virtio_mmio.obj; in virt_get_device() 106 QVirtMachine *machine = g_new0(QVirtMachine, 1); in qos_create_machine_riscv_virt() local 108 alloc_init(&machine->alloc, 0, in qos_create_machine_riscv_virt() [all …]
|
H A D | arm-virt-machine.c | 45 QVirtMachine *machine = (QVirtMachine *) obj; in virt_destructor() local 46 alloc_destroy(&machine->alloc); in virt_destructor() 51 QVirtMachine *machine = object; in virt_get_driver() local 53 return &machine->alloc; in virt_get_driver() 62 QVirtMachine *machine = obj; in virt_get_device() local 64 return &machine->bridge.obj; in virt_get_device() 66 return &machine->virtio_mmio.obj; in virt_get_device() 75 QVirtMachine *machine = g_new0(QVirtMachine, 1); in qos_create_machine_arm_virt() local 77 alloc_init(&machine->alloc, 0, in qos_create_machine_arm_virt() 81 qvirtio_mmio_init_device(&machine->virtio_mmio, qts, VIRTIO_MMIO_BASE_ADDR, in qos_create_machine_arm_virt() [all …]
|
H A D | loongarch-virt-machine.c | 50 QVirtMachine *machine = (QVirtMachine *) obj; in virt_destructor() local 51 alloc_destroy(&machine->alloc); in virt_destructor() 56 QVirtMachine *machine = object; in virt_get_driver() local 58 return &machine->alloc; in virt_get_driver() 67 QVirtMachine *machine = obj; in virt_get_device() local 69 return &machine->bridge.obj; in virt_get_device() 71 return &machine->virtio_mmio.obj; in virt_get_device() 90 QVirtMachine *machine = g_new0(QVirtMachine, 1); in qos_create_machine_loongarch_virt() local 92 alloc_init(&machine->alloc, 0, in qos_create_machine_loongarch_virt() 97 qos_create_generic_pcihost(&machine->bridge, qts, &machine->alloc); in qos_create_machine_loongarch_virt() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | thread-maps-share.c | 3 #include "machine.h" 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() 40 other = machine__findnew_thread(machine, 4, 5); in test__thread_maps_share() 58 other_leader = machine__find_thread(machine, 4, 4); in test__thread_maps_share() 66 machine__remove_thread(machine, leader); in test__thread_maps_share() [all …]
|
/openbmc/linux/include/net/ |
H A D | bond_3ad.h | 31 /* rx machine states(43.4.11 in the 802.3ad standard) */ 34 AD_RX_INITIALIZE, /* rx Machine */ 35 AD_RX_PORT_DISABLED, /* rx Machine */ 36 AD_RX_LACP_DISABLED, /* rx Machine */ 37 AD_RX_EXPIRED, /* rx Machine */ 38 AD_RX_DEFAULTED, /* rx Machine */ 39 AD_RX_CURRENT /* rx Machine */ 42 /* periodic machine states(43.4.12 in the 802.3ad standard) */ 45 AD_NO_PERIODIC, /* periodic machine */ 46 AD_FAST_PERIODIC, /* periodic machine */ [all …]
|
/openbmc/linux/sound/soc/intel/boards/ |
H A D | Kconfig | 3 bool "Intel Machine drivers" 6 Intel ASoC Machine Drivers. If you have a Intel machine that 12 the questions about Intel ASoC machine drivers. 66 This adds the ASoC machine driver for Intel Broadwell platforms with 110 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 123 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 136 This adds support for ASoC machine driver for Intel(R) Baytrail and Baytrail-CR 149 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell 161 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell 174 This adds support for ASoC machine driver for Intel(R) Cherrytrail & Braswell [all …]
|
/openbmc/openbmc/poky/documentation/dev-manual/ |
H A D | new-machine.rst | 3 Adding a New Machine 6 Adding a new machine to the Yocto Project is a straightforward process. 17 For a complete example that shows how to add a new machine, see the 22 Adding the Machine Configuration File 25 To add a new machine, you need to add a new machine configuration file 26 to the layer's ``conf/machine`` directory. This configuration file 29 The OpenEmbedded build system uses the root name of the machine 30 configuration file to reference the new machine. For example, given a 31 machine configuration file named ``crownbay.conf``, the build system 32 recognizes the machine as "crownbay". [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | mac_oldworld.c | 88 static void ppc_heathrow_init(MachineState *machine) in ppc_heathrow_init() argument 90 const char *bios_name = machine->firmware ?: PROM_FILENAME; in ppc_heathrow_init() 91 MachineClass *mc = MACHINE_GET_CLASS(machine); in ppc_heathrow_init() 112 for (i = 0; i < machine->smp.cpus; i++) { in ppc_heathrow_init() 113 cpu = POWERPC_CPU(cpu_create(machine->cpu_type)); in ppc_heathrow_init() 122 if (machine->ram_size > 2047 * MiB) { in ppc_heathrow_init() 123 error_report("Too much memory for this machine: %" PRId64 " MB, " in ppc_heathrow_init() 124 "maximum 2047 MB", machine->ram_size / MiB); in ppc_heathrow_init() 128 memory_region_add_subregion(get_system_memory(), 0, machine->ram); in ppc_heathrow_init() 155 if (machine->kernel_filename) { in ppc_heathrow_init() [all …]
|