Home
last modified time | relevance | path

Searched refs:tr (Results 1 – 25 of 414) sorted by relevance

12345678910>>...17

/openbmc/qemu/hw/acpi/
H A Dich9_tco.c40 timer_mod(tr->tco_timer, tr->expire_time); in tco_timer_reload()
45 tr->expire_time = -1; in tco_timer_stop()
51 TCOIORegs *tr = opaque; in tco_timer_expired() local
59 tr->tco.rld = 0; in tco_timer_expired()
76 tr->tco.rld = tr->tco.tmr; in tco_timer_expired()
77 tco_timer_reload(tr); in tco_timer_expired()
83 return !(tr->tco.cnt1 & TCO_TMR_HLT) && tr->tco.tmr > 1; in can_start_tco_timer()
147 tr->tco.rld = tr->tco.tmr; in tco_ioport_writew()
175 tr->tco.cnt1 = val | (tr->tco.cnt1 & TCO_LOCK); in tco_ioport_writew()
177 tr->tco.rld = tr->tco.tmr; in tco_ioport_writew()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_irqsoff.c66 # define is_graph(tr) ((tr)->trace_flags & TRACE_ITER_DISPLAY_GRAPH) argument
172 tr->max_latency = 0; in irqsoff_display_graph()
232 if (is_graph(iter->tr)) in irqsoff_trace_open()
265 if (is_graph(tr)) in irqsoff_print_header()
276 if (is_graph(tr)) in __trace_function()
495 register_irqsoff_function(tr, is_graph(tr), 1); in irqsoff_function_set()
497 unregister_irqsoff_function(tr, is_graph(tr)); in irqsoff_function_set()
563 tr->max_latency = 0; in __irqsoff_tracer_init()
564 irqsoff_trace = tr; in __irqsoff_tracer_init()
571 if (start_irqsoff_tracer(tr, (tr->flags & TRACE_ARRAY_FL_GLOBAL && in __irqsoff_tracer_init()
[all …]
H A Dtrace_functions.c68 tr->ops = ops; in ftrace_allocate_ftrace_ops()
69 ops->private = tr; in ftrace_allocate_ftrace_ops()
76 kfree(tr->ops); in ftrace_free_ftrace_ops()
77 tr->ops = NULL; in ftrace_free_ftrace_ops()
90 if (!tr->ops) in ftrace_create_function_files()
140 if (!tr->ops) in function_trace_init()
578 trace_stack(tr); in ftrace_stacktrace()
841 if (!tr) in ftrace_trace_onoff_callback()
860 if (!tr) in ftrace_stacktrace_callback()
875 if (!tr) in ftrace_dump_callback()
[all …]
H A Dtrace_sched_wakeup.c44 # define is_graph(tr) ((tr)->trace_flags & TRACE_ITER_DISPLAY_GRAPH) argument
110 tr->max_latency = 0; in wakeup_display_graph()
270 register_wakeup_function(tr, is_graph(tr), 1); in wakeup_function_set()
272 unregister_wakeup_function(tr, is_graph(tr)); in wakeup_function_set()
307 if (is_graph(tr)) in __trace_function()
634 wakeup_reset(tr); in start_wakeup_tracer()
645 if (start_func_tracer(tr, is_graph(tr))) in start_wakeup_tracer()
660 stop_func_tracer(tr, is_graph(tr)); in stop_wakeup_tracer()
678 wakeup_trace = tr; in __wakeup_tracer_init()
723 wakeup_reset(tr); in wakeup_tracer_reset()
[all …]
H A Dtrace.c551 if (tr && trace_array_get(tr) < 0) in tracing_check_open_get_tr()
4864 iter->tr = tr; in __tracing_open()
6494 tr->current_trace->reset(tr); in tracing_set_nop()
6579 tr->current_trace->reset(tr); in tracing_set_tracer()
6805 iter->tr = tr; in tracing_open_pipe()
7622 iter->tr = tr; in tracing_snapshot_open()
8258 info->iter.tr = tr; in tracing_buffers_open()
9173 topt->tr = tr; in create_trace_option_file()
9311 tr->current_trace->stop(tr); in rb_simple_write()
9387 buf->tr = tr; in allocate_trace_buffer()
[all …]
H A Dtrace_selftest.c424 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
432 trace->reset(tr); in trace_selftest_startup_dynamic_tracing()
726 trace->reset(tr); in trace_selftest_startup_function()
954 trace->stop(tr); in trace_selftest_startup_irqsoff()
961 trace->reset(tr); in trace_selftest_startup_irqsoff()
1016 trace->stop(tr); in trace_selftest_startup_preemptoff()
1023 trace->reset(tr); in trace_selftest_startup_preemptoff()
1082 trace->stop(tr); in trace_selftest_startup_preemptirqsoff()
1103 trace->start(tr); in trace_selftest_startup_preemptirqsoff()
1112 trace->stop(tr); in trace_selftest_startup_preemptirqsoff()
[all …]
H A Dtrace_events.c478 struct trace_array *tr = trace_file->tr; in trace_event_ignore_this_pid() local
613 struct trace_array *tr = file->tr; in __ftrace_event_enable_disable() local
1092 if (!tr) in ftrace_set_clr_event()
1143 if (!tr) in trace_set_clr_event()
1168 if (!tr) in trace_array_set_clr_event()
1455 struct trace_array *tr = dir->tr; in system_enable_read() local
1818 dir->tr = tr; in system_tr_open()
2388 dir->tr = tr; in event_subsystem_dir()
2533 struct trace_array *tr = file->tr; in event_create_dir() local
2936 file->tr = tr; in trace_create_new_event()
[all …]
H A Dtrace.h211 struct trace_array *tr; member
440 struct trace_array *tr; in top_trace_array() local
446 typeof(*tr), list); in top_trace_array()
448 return tr; in top_trace_array()
532 struct trace_array *tr; member
782 struct trace_array *tr);
784 struct trace_array *tr);
1072 struct trace_array *tr,
1076 struct trace_array *tr,
1080 struct trace_array *tr,
[all …]
H A Dtrace_boot.c39 if (trace_set_options(tr, buf) < 0) in trace_boot_set_instance_options()
48 tracer_tracing_on(tr); in trace_boot_set_instance_options()
50 tracer_tracing_off(tr); in trace_boot_set_instance_options()
55 if (tracing_set_clock(tr, p) < 0) in trace_boot_set_instance_options()
615 trace_boot_init_events(tr, node); in trace_boot_init_one_instance()
624 struct trace_array *tr; in trace_boot_init_instances() local
637 if (!tr) { in trace_boot_init_instances()
642 trace_array_put(tr); in trace_boot_init_instances()
649 struct trace_array *tr; in trace_boot_init() local
655 tr = top_trace_array(); in trace_boot_init()
[all …]
H A Dtrace_nop.c37 static void start_nop_trace(struct trace_array *tr) in start_nop_trace() argument
42 static void stop_nop_trace(struct trace_array *tr) in stop_nop_trace() argument
47 static int nop_trace_init(struct trace_array *tr) in nop_trace_init() argument
49 ctx_trace = tr; in nop_trace_init()
50 start_nop_trace(tr); in nop_trace_init()
54 static void nop_trace_reset(struct trace_array *tr) in nop_trace_reset() argument
56 stop_nop_trace(tr); in nop_trace_reset()
64 static int nop_set_flag(struct trace_array *tr, u32 old_flags, u32 bit, int set) in nop_set_flag() argument
H A Dtrace_hwlat.c302 if (latency > tr->max_latency) { in get_sample()
303 tr->max_latency = latency; in get_sample()
304 latency_fsnotify(tr); in get_sample()
706 hwlat_tracer_stop(tr); in hwlat_mode_write()
720 hwlat_tracer_start(tr); in hwlat_mode_write()
817 err = start_single_kthread(tr); in hwlat_tracer_start()
836 hwlat_trace = tr; in hwlat_tracer_init()
839 tr->max_latency = 0; in hwlat_tracer_init()
846 if (tracer_tracing_is_on(tr)) in hwlat_tracer_init()
847 hwlat_tracer_start(tr); in hwlat_tracer_init()
[all …]
/openbmc/linux/drivers/media/radio/
H A Dradio-timb.c99 tr = devm_kzalloc(&pdev->dev, sizeof(*tr), GFP_KERNEL); in timbradio_probe()
100 if (!tr) { in timbradio_probe()
105 tr->pdata = *pdata; in timbradio_probe()
114 tr->video_dev.lock = &tr->lock; in timbradio_probe()
117 strscpy(tr->v4l2_dev.name, DRIVER_NAME, sizeof(tr->v4l2_dev.name)); in timbradio_probe()
122 tr->video_dev.v4l2_dev = &tr->v4l2_dev; in timbradio_probe()
124 tr->sd_tuner = v4l2_i2c_new_subdev_board(&tr->v4l2_dev, in timbradio_probe()
126 tr->sd_dsp = v4l2_i2c_new_subdev_board(&tr->v4l2_dev, in timbradio_probe()
128 if (tr->sd_tuner == NULL || tr->sd_dsp == NULL) { in timbradio_probe()
133 tr->v4l2_dev.ctrl_handler = tr->sd_dsp->ctrl_handler; in timbradio_probe()
[all …]
H A Dradio-trust.c58 struct trust *tr = kzalloc(sizeof(*tr), GFP_KERNEL); in trust_alloc() local
60 return tr ? &tr->isa : NULL; in trust_alloc()
67 #define TR_DELAY do { inb(tr->isa.io); inb(tr->isa.io); inb(tr->isa.io); } while (0)
68 #define TR_SET_SCL outb(tr->ioval |= 2, tr->isa.io)
69 #define TR_CLR_SCL outb(tr->ioval &= 0xfd, tr->isa.io)
70 #define TR_SET_SDA outb(tr->ioval |= 1, tr->isa.io)
71 #define TR_CLR_SDA outb(tr->ioval &= 0xfe, tr->isa.io)
123 tr->ioval = (tr->ioval & 0xf7) | (mute << 3); in trust_s_mute_volume()
124 outb(tr->ioval, isa->io); in trust_s_mute_volume()
133 tr->ioval = (tr->ioval & 0xfb) | (!stereo << 2); in trust_s_stereo()
[all …]
/openbmc/linux/fs/gfs2/
H A Dtrans.c32 tr->tr_blocks, tr->tr_revokes, tr->tr_reserved, in gfs2_print_trans()
35 tr->tr_num_buf_new, tr->tr_num_buf_rm, in gfs2_print_trans()
36 tr->tr_num_databuf_new, tr->tr_num_databuf_rm, in gfs2_print_trans()
37 tr->tr_num_revoke); in gfs2_print_trans()
55 tr->tr_ip = ip; in __gfs2_trans_begin()
56 tr->tr_blocks = blocks; in __gfs2_trans_begin()
116 if (!tr) in gfs2_trans_begin()
141 gfs2_log_release_revokes(sdp, tr->tr_revokes - tr->tr_num_revoke); in gfs2_trans_end()
143 nbuf = tr->tr_num_buf_new + tr->tr_num_databuf_new; in gfs2_trans_end()
148 gfs2_assert_withdraw(sdp, tr->tr_num_revoke <= tr->tr_revokes)) in gfs2_trans_end()
[all …]
H A Dlog.c407 gfs2_ail_empty_tr(sdp, tr, &tr->tr_ail2_list); in __ail2_empty()
667 if (tr) { in calc_reserved()
668 blocks = tr->tr_num_buf_new - tr->tr_num_buf_rm; in calc_reserved()
954 gfs2_ail_empty_tr(sdp, tr, &tr->tr_ail1_list); in gfs2_ail_drain()
955 gfs2_ail_empty_tr(sdp, tr, &tr->tr_ail2_list); in gfs2_ail_drain()
962 gfs2_ail_empty_tr(sdp, tr, &tr->tr_ail2_list); in gfs2_ail_drain()
1005 if (!tr) in trans_drain()
1067 if (tr) { in gfs2_log_flush()
1122 if (tr && !list_empty(&tr->tr_ail1_list)) { in gfs2_log_flush()
1169 if (tr && list_empty(&tr->tr_list)) in gfs2_log_flush()
[all …]
/openbmc/linux/kernel/bpf/
H A Dtrampoline.c148 tr = kzalloc(sizeof(*tr), GFP_KERNEL); in bpf_trampoline_lookup()
149 if (!tr) in bpf_trampoline_lookup()
154 kfree(tr); in bpf_trampoline_lookup()
155 tr = NULL; in bpf_trampoline_lookup()
158 tr->fops->private = tr; in bpf_trampoline_lookup()
171 return tr; in bpf_trampoline_lookup()
406 err = unregister_fentry(tr, tr->cur_image->image); in bpf_trampoline_update()
442 &tr->func.model, tr->flags, tlinks, in bpf_trampoline_update()
700 if (!tr) in bpf_trampoline_link_cgroup_shim()
777 if (!tr) in bpf_trampoline_get()
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dtouchright.c45 struct tr { struct
56 struct tr *tr = serio_get_drvdata(serio); in tr_interrupt() argument
59 tr->data[tr->idx] = data; in tr_interrupt()
64 (tr->data[1] << 5) | (tr->data[2] >> 1)); in tr_interrupt()
66 (tr->data[3] << 5) | (tr->data[4] >> 1)); in tr_interrupt()
70 tr->idx = 0; in tr_interrupt()
83 struct tr *tr = serio_get_drvdata(serio); in tr_disconnect() local
90 kfree(tr); in tr_disconnect()
101 struct tr *tr; in tr_connect() local
105 tr = kzalloc(sizeof(struct tr), GFP_KERNEL); in tr_connect()
[all …]
/openbmc/linux/drivers/mtd/
H A Dmtd_blkdevs.c59 if (tr->flush(dev)) in do_blktrans_request()
124 struct mtd_blktrans_ops *tr = dev->tr; in mtd_blktrans_work() local
259 ret = dev->tr->getgeo ? dev->tr->getgeo(dev, geo) : -ENOTTY; in blktrans_getgeo()
278 struct mtd_blktrans_ops *tr = new->tr; in add_mtd_blktrans_dev() local
371 if (tr->flush) in add_mtd_blktrans_dev()
470 tr->add_mtd(tr, mtd); in blktrans_notify_add()
489 ret = register_blkdev(tr->major, tr->name); in register_mtd_blktrans()
492 tr->name, tr->major, ret); in register_mtd_blktrans()
499 tr->blkshift = ffs(tr->blksize) - 1; in register_mtd_blktrans()
507 tr->add_mtd(tr, mtd); in register_mtd_blktrans()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/
H A Djquery.dataTables-1.13.8.min.css1tr.dt-hasChild td.dt-control:before{content:"▼"}html.dark table.dataTable td.dt-control:before{col…
/openbmc/qemu/hw/input/
H A Dtsc2005.c62 int32_t tr[8]; member
104 ((s->y * s->tr[0] - s->x * s->tr[1]) / s->tr[2] + s->tr[3])
106 ((s->y * s->tr[4] - s->x * s->tr[5]) / s->tr[6] + s->tr[7])
501 s->tr[0] = 0; in tsc2005_init()
502 s->tr[1] = 1; in tsc2005_init()
503 s->tr[2] = 1; in tsc2005_init()
504 s->tr[3] = 0; in tsc2005_init()
505 s->tr[4] = 1; in tsc2005_init()
506 s->tr[5] = 0; in tsc2005_init()
507 s->tr[6] = 1; in tsc2005_init()
[all …]
/openbmc/linux/include/linux/
H A Dtrace.h41 #define trace_array_puts(tr, str) \ argument
43 str ? __trace_array_puts(tr, _THIS_IP_, str, strlen(str)) : -1; \
45 int __trace_array_puts(struct trace_array *tr, unsigned long ip,
50 int trace_array_printk(struct trace_array *tr, unsigned long ip,
52 int trace_array_init_printk(struct trace_array *tr);
53 void trace_array_put(struct trace_array *tr);
55 int trace_array_destroy(struct trace_array *tr);
75 static inline int trace_array_printk(struct trace_array *tr, unsigned long ip, in trace_array_printk() argument
80 static inline int trace_array_init_printk(struct trace_array *tr) in trace_array_init_printk() argument
84 static inline void trace_array_put(struct trace_array *tr) in trace_array_put() argument
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_util.c81 struct efi_st_translate *tr; in efi_st_translate_char() local
87 for (tr = efi_st_control_characters; tr->text; ++tr) { in efi_st_translate_char()
88 if (tr->code == code) in efi_st_translate_char()
89 return tr->text; in efi_st_translate_char()
96 struct efi_st_translate *tr; in efi_st_translate_code() local
98 for (tr = efi_st_scan_codes; tr->text; ++tr) { in efi_st_translate_code()
99 if (tr->code == code) in efi_st_translate_code()
100 return tr->text; in efi_st_translate_code()
/openbmc/linux/samples/ftrace/
H A Dsample-trace-array.c20 struct trace_array *tr; variable
29 trace_array_set_clr_event(tr, "sample-subsystem", "sample_event", in trace_work_fn()
55 trace_array_printk(tr, _THIS_IP_, "trace_array_printk: count=%d\n", in simple_thread_func()
72 trace_array_set_clr_event(tr, "sample-subsystem", "sample_event", true); in simple_thread()
94 trace_array_put(tr); in simple_thread()
108 tr = trace_array_get_by_name("sample-instance"); in sample_trace_array_init()
110 if (!tr) in sample_trace_array_init()
119 trace_array_put(tr); in sample_trace_array_init()
120 trace_array_destroy(tr); in sample_trace_array_init()
135 trace_array_destroy(tr); in sample_trace_array_exit()
/openbmc/linux/drivers/s390/crypto/
H A Dzcrypt_api.c690 cpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_modexpo()
705 qpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_modexpo()
795 cpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_crt()
810 qpen = (tr && tr->again_counter && tr->last_qid && in zcrypt_rsa_crt()
913 cpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_cprb()
930 qpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_cprb()
1084 cpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_ep11_cprb()
1102 qpen = (tr && tr->again_counter && tr->last_qid && in _zcrypt_send_ep11_cprb()
1430 memset(&tr, 0, sizeof(tr)); in icarsamodexpo_ioctl()
1462 memset(&tr, 0, sizeof(tr)); in icarsacrt_ioctl()
[all …]
/openbmc/google-misc/subprojects/ncsid/doc/
H A Dncsid_test_arch.dot8 …<tr><td port="sockio" bgcolor="lightblue">net::SockIO</td><td bgcolor="lightblue" colspan="2" port…
9 <tr><td bgcolor="lightblue" colspan="3">ncsi::StateMachine</td></tr>
10 <tr>
14 </tr>
30 <tr><td align="left">NICConnection</td></tr>
31 <tr><td border="1">mock::NIC</td></tr>

12345678910>>...17