| /linux/include/rv/ |
| H A D | ltl_monitor.h | 97 static inline void ltl_atom_set(struct ltl_monitor *mon, enum ltl_atom atom, bool value) in ltl_atom_set() argument 99 __clear_bit(atom, mon->unknown_atoms); in ltl_atom_set() 101 __set_bit(atom, mon->atoms); in ltl_atom_set() 103 __clear_bit(atom, mon->atoms); in ltl_atom_set() 150 static void ltl_atom_update(struct task_struct *task, enum ltl_atom atom, bool value) in ltl_atom_update() argument 154 ltl_atom_set(mon, atom, value); in ltl_atom_update() 165 static void __maybe_unused ltl_atom_pulse(struct task_struct *task, enum ltl_atom atom, bool value) in ltl_atom_pulse() argument 169 ltl_atom_update(task, atom, value); in ltl_atom_pulse() 171 ltl_atom_set(mon, atom, !value); in ltl_atom_pulse()
|
| /linux/tools/perf/ |
| H A D | builtin-kwork.c | 245 struct kwork_atom *atom = NULL; in atom_new() local 251 atom = &page->atoms[i]; in atom_new() 266 atom = &page->atoms[0]; in atom_new() 271 atom->time = sample->time; in atom_new() 272 atom->prev = NULL; in atom_new() 273 atom->page_addr = page; in atom_new() 274 atom->bit_inpage = i; in atom_new() 275 return atom; in atom_new() 278 static void atom_free(struct kwork_atom *atom) in atom_free() argument 280 if (atom->prev != NULL) in atom_free() [all …]
|
| H A D | builtin-sched.c | 522 struct sched_atom *atom) in perf_sched__process_event() argument 526 switch (atom->type) { in perf_sched__process_event() 528 burn_nsecs(sched, atom->duration); in perf_sched__process_event() 531 if (atom->wait_sem) in perf_sched__process_event() 532 ret = sem_wait(atom->wait_sem); in perf_sched__process_event() 536 if (atom->wait_sem) in perf_sched__process_event() 537 ret = sem_post(atom->wait_sem); in perf_sched__process_event() 1058 struct work_atom *atom = zalloc(sizeof(*atom)); in add_sched_out_event() local 1059 if (!atom) { in add_sched_out_event() 1064 atom->sched_out_time = timestamp; in add_sched_out_event() [all …]
|
| /linux/kernel/printk/ |
| H A D | nbcon.c | 135 atomic_set(&ACCESS_PRIVATE(con, nbcon_state), new->atom); in nbcon_state_set() 145 state->atom = atomic_read(&ACCESS_PRIVATE(con, nbcon_state)); in nbcon_state_read() 159 return atomic_try_cmpxchg(&ACCESS_PRIVATE(con, nbcon_state), &cur->atom, new->atom); in nbcon_state_try_cmpxchg() 282 new.atom = cur->atom; in nbcon_context_try_acquire_direct() 379 new.atom = cur->atom; in nbcon_context_try_acquire_requested() 479 new.atom = cur->atom; in nbcon_context_try_acquire_handover() 484 cur->atom = new.atom; in nbcon_context_try_acquire_handover() 517 new.atom = cur->atom; in nbcon_context_try_acquire_handover() 524 cur->atom = new.atom; in nbcon_context_try_acquire_handover() 572 new.atom = cur->atom; in nbcon_context_try_acquire_hostile() [all …]
|
| /linux/tools/verification/rvgen/rvgen/ |
| H A D | ltl2k.py | 47 for atom in atoms: 48 for i in range(len(atom), -1, -1): 49 if sum(a.startswith(atom[:i]) for a in atoms) > 1: 51 share = atom[:i] 52 unique = atom[i:] 125 for atom in self.atoms: 126 if atom.lower() not in required_values: 128 buf.append("\tbool %s = test_bit(LTL_%s, mon->atoms);" % (atom.lower(), atom))
|
| /linux/tools/perf/Documentation/ |
| H A D | intel-hybrid.txt | 6 it consists of atom cpu and core cpu. Each cpu has dedicated event list. 8 on atom cpu and even part of events are available on both. 22 It indicates cpu0-cpu15 are core cpus and cpu16-cpu23 are atom cpus. 39 To enable a core only event or atom only event, following syntax is supported: 51 When creating one event and the event is available on both atom and core, 52 two events are created automatically. One is for atom, the other is for 58 (from atom or from core). The original perf event type PERF_TYPE_HARDWARE 113 0x8 in 0x800000000 indicates it's cpu_atom pmu (atom pmu type id is random). 116 and create 'cycles' (0x800000000) on cpu16-cpu23 (atom cpus). 125 The first 'cycles' is core event, the second 'cycles' is atom event. [all …]
|
| /linux/sound/soc/intel/atom/ |
| H A D | Makefile | 2 snd-soc-sst-atom-hifi2-platform-y := sst-mfld-platform-pcm.o \ 4 sst-atom-controls.o 6 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += snd-soc-sst-atom-hifi2-platform.o
|
| /linux/tools/perf/util/ |
| H A D | dwarf-aux.c | 445 if (expr[0].atom != DW_OP_plus_uconst || nexpr != 1) { in die_get_data_member_location() 447 expr[0].atom, nexpr); in die_get_data_member_location() 1187 switch (op->atom) { in reg_from_dwarf_op() 1189 return op->atom - DW_OP_reg0; in reg_from_dwarf_op() 1191 return op->atom - DW_OP_breg0; in reg_from_dwarf_op() 1205 switch (op->atom) { in offset_from_dwarf_op() 1233 switch (ops->atom) { in check_allowed_ops() 1443 if (nops == 2 && ops[1].atom == DW_OP_stack_value) in is_breg_access_indirect() 1446 if (nops == 3 && (ops[1].atom == DW_OP_deref || in is_breg_access_indirect() 1447 ops[1].atom == DW_OP_deref_size) && in is_breg_access_indirect() [all …]
|
| H A D | probe-finder.c | 137 if (op->atom == DW_OP_addr) { in convert_variable_location() 154 if (op->atom == DW_OP_fbreg) { in convert_variable_location() 162 if (op->atom >= DW_OP_breg0 && op->atom <= DW_OP_breg31) { in convert_variable_location() 163 regn = op->atom - DW_OP_breg0; in convert_variable_location() 166 } else if (op->atom >= DW_OP_reg0 && op->atom <= DW_OP_reg31) { in convert_variable_location() 167 regn = op->atom - DW_OP_reg0; in convert_variable_location() 168 } else if (op->atom == DW_OP_bregx) { in convert_variable_location() 172 } else if (op->atom == DW_OP_regx) { in convert_variable_location() 175 pr_debug("DW_OP %x is not supported.\n", op->atom); in convert_variable_location() 618 } else if (nops == 1 && pf->fb_ops[0].atom == DW_OP_call_frame_cfa && in call_probe_finder()
|
| /linux/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | disp.c | 2108 struct nv50_atom *atom = nv50_atom(state); in nv50_disp_atomic_commit_core() local 2134 list_for_each_entry(outp, &atom->outp, head) { in nv50_disp_atomic_commit_core() 2178 struct nv50_atom *atom = nv50_atom(state); in nv50_disp_atomic_commit_tail() local 2185 NV_ATOMIC(drm, "commit %d %d\n", atom->lock_core, atom->flush_disable); in nv50_disp_atomic_commit_tail() 2193 if (atom->lock_core) in nv50_disp_atomic_commit_tail() 2210 nv50_head_flush_clr(head, asyh, atom->flush_disable); in nv50_disp_atomic_commit_tail() 2225 nv50_wndw_flush_clr(wndw, interlock, atom->flush_disable, asyw); in nv50_disp_atomic_commit_tail() 2229 list_for_each_entry(outp, &atom->outp, head) { in nv50_disp_atomic_commit_tail() 2248 if (atom->flush_disable) { in nv50_disp_atomic_commit_tail() 2262 list_for_each_entry(outp, &atom->outp, head) { in nv50_disp_atomic_commit_tail() [all …]
|
| H A D | crc.c | 355 struct nv50_atom *atom = nv50_atom(asyh->state.state); in nv50_crc_atomic_check_head() local 372 atom->flush_disable = true; in nv50_crc_atomic_check_head() 381 void nv50_crc_atomic_check_outp(struct nv50_atom *atom) in nv50_crc_atomic_check_outp() argument 387 if (atom->flush_disable) in nv50_crc_atomic_check_outp() 390 for_each_oldnew_crtc_in_state(&atom->state, crtc, old_crtc_state, in nv50_crc_atomic_check_outp() 415 list_for_each_entry(outp_atom, &atom->outp, head) { in nv50_crc_atomic_check_outp() 418 atom->flush_disable = true; in nv50_crc_atomic_check_outp()
|
| H A D | atom.h | 174 nv50_head_atom_get_encoder(struct nv50_head_atom *atom) in nv50_head_atom_get_encoder() argument 179 drm_for_each_encoder_mask(encoder, atom->state.crtc->dev, in nv50_head_atom_get_encoder() 180 atom->state.encoder_mask) in nv50_head_atom_get_encoder()
|
| H A D | crc.h | 86 void nv50_crc_atomic_check_outp(struct nv50_atom *atom); 117 static inline void nv50_crc_atomic_check_outp(struct nv50_atom *atom) {} in nv50_crc_atomic_check_outp() argument
|
| /linux/drivers/clk/x86/ |
| H A D | Makefile | 3 obj-$(CONFIG_X86_INTEL_LPSS) += clk-lpss-atom.o clk-pmc-atom.o
|
| /linux/kernel/trace/rv/monitors/pagefault/ |
| H A D | pagefault.h | 21 static const char *ltl_atom_str(enum ltl_atom atom) in ltl_atom_str() argument 28 return names[atom]; in ltl_atom_str()
|
| /linux/sound/soc/sof/intel/ |
| H A D | Makefile | 21 snd-sof-intel-atom-y := atom.o 23 obj-$(CONFIG_SND_SOC_SOF_INTEL_ATOM_HIFI_EP) += snd-sof-intel-atom.o
|
| /linux/tools/perf/arch/powerpc/util/ |
| H A D | skip-callchain-idx.c | 58 !(nops == 1 && ops[0].atom == DW_OP_regx && in check_return_reg() 76 if (nops == 1 && ops[0].atom == DW_OP_bregx && ops[0].number == 1 && in check_return_reg()
|
| /linux/sound/soc/intel/ |
| H A D | Makefile | 6 obj-$(CONFIG_SND_SST_ATOM_HIFI2_PLATFORM) += atom/
|
| /linux/arch/x86/platform/ |
| H A D | Makefile | 3 obj-y += atom/
|
| /linux/Documentation/trace/rv/ |
| H A D | monitor_synthesis.rst | 186 void ltl_atom_update(struct task_struct *task, enum ltl_atom atom, bool value) 188 which tells the Buchi automaton that the atomic proposition `atom` is now 225 void ltl_atom_pulse(struct task_struct *task, enum ltl_atom atom, bool value) 229 ltl_atom_update(task, atom, value); 230 ltl_atom_update(task, atom, !value);
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-platform-sst-atom | 6 LPE Firmware version for SST driver on all atom
|
| /linux/kernel/trace/rv/monitors/sleep/ |
| H A D | sleep.h | 37 static const char *ltl_atom_str(enum ltl_atom atom) in ltl_atom_str() argument 60 return names[atom]; in ltl_atom_str()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | Makefile | 36 atom.o radeon_fence.o radeon_ttm.o radeon_object.o radeon_gart.o \
|
| /linux/tools/perf/util/scripting-engines/ |
| H A D | trace-event-perl.c | 205 args->atom.atom); in define_event_symbols()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | veristat.c | 1919 static int adjust_var_secinfo_array(struct btf *btf, int tid, struct field_access *atom, in adjust_var_secinfo_array() argument 1935 err = resolve_rvalue(btf, &atom->index, &idx); in adjust_var_secinfo_array() 2017 struct field_access *atom = preset->atoms + i; in adjust_var_secinfo() local 2019 switch (atom->type) { in adjust_var_secinfo() 2021 err = adjust_var_secinfo_array(btf, tid, atom, prev_name, sinfo); in adjust_var_secinfo() 2024 err = adjust_var_secinfo_member(btf, base_type, 0, atom->name, sinfo); in adjust_var_secinfo() 2026 fprintf(stderr, "Can't find '%s'\n", atom->name); in adjust_var_secinfo() 2027 prev_name = atom->name; in adjust_var_secinfo()
|