/linux-4.4.14/drivers/isdn/mISDN/ |
D | dsp_audio.c | 105 static unsigned char linear2ulaw(short sample) in linear2ulaw() argument 128 sign = (sample >> 8) & 0x80; /* set aside the sign */ in linear2ulaw() 130 sample = -sample; /* get magnitude */ in linear2ulaw() 133 sample = sample + BIAS; in linear2ulaw() 134 exponent = exp_lut[(sample >> 7) & 0xFF]; in linear2ulaw() 135 mantissa = (sample >> (exponent + 3)) & 0x0F; in linear2ulaw() 242 s32 sample; in dsp_audio_generate_mix_table() local 248 sample = dsp_audio_law_to_s32[i]; in dsp_audio_generate_mix_table() 249 sample += dsp_audio_law_to_s32[j]; in dsp_audio_generate_mix_table() 250 if (sample > 32767) in dsp_audio_generate_mix_table() [all …]
|
D | l1oip_codec.c | 324 int i1, i2, c, sample; in l1oip_4bit_alloc() local 357 sample = _4bit_to_ulaw[i1]; in l1oip_4bit_alloc() 359 sample = _4bit_to_alaw[i1]; in l1oip_4bit_alloc() 362 table_dec[(i1 << 4) | i2] |= (sample << 8); in l1oip_4bit_alloc() 363 table_dec[(i2 << 4) | i1] |= sample; in l1oip_4bit_alloc()
|
D | dsp_cmx.c | 1313 register s32 sample; local 1492 sample = dsp_audio_law_to_s32[p[t]] + 1495 if (sample < -32768) 1496 sample = -32768; 1497 else if (sample > 32767) 1498 sample = 32767; 1499 *d++ = dsp_audio_s16_to_law[sample & 0xffff]; 1522 sample = dsp_audio_law_to_s32[p[t]] + *c++ - 1524 if (sample < -32768) 1525 sample = -32768; [all …]
|
D | dsp_biquad.h | 53 static inline int16_t biquad2(struct biquad2_state *bq, int16_t sample) in biquad2() argument 58 z0 = sample * bq->gain + bq->z1 * bq->a1 + bq->z2 * bq->a2; in biquad2()
|
D | dsp_tones.c | 438 dsp_tone_hw_message(struct dsp *dsp, u8 *sample, int len) in dsp_tone_hw_message() argument 444 (len) ? HFC_SPL_LOOP_ON : HFC_SPL_LOOP_OFF, len, sample, in dsp_tone_hw_message()
|
/linux-4.4.14/tools/perf/ |
D | builtin-timechart.c | 271 struct cpu_sample *sample; in pid_put_sample() local 283 sample = zalloc(sizeof(*sample)); in pid_put_sample() 284 assert(sample != NULL); in pid_put_sample() 285 sample->start_time = start; in pid_put_sample() 286 sample->end_time = end; in pid_put_sample() 287 sample->type = type; in pid_put_sample() 288 sample->next = c->samples; in pid_put_sample() 289 sample->cpu = cpu; in pid_put_sample() 290 sample->backtrace = backtrace; in pid_put_sample() 291 c->samples = sample; in pid_put_sample() [all …]
|
D | builtin-inject.c | 175 struct perf_sample *sample __maybe_unused, in perf_event__repipe() 183 struct perf_sample *sample __maybe_unused, in perf_event__drop() 191 struct perf_sample *sample, in perf_event__drop_aux() argument 197 inject->aux_id = sample->id; in perf_event__drop_aux() 204 struct perf_sample *sample, 210 struct perf_sample *sample, in perf_event__repipe_sample() argument 216 return f(tool, event, sample, evsel, machine); in perf_event__repipe_sample() 219 build_id__mark_dso_hit(tool, event, sample, evsel, machine); in perf_event__repipe_sample() 226 struct perf_sample *sample, in perf_event__repipe_mmap() argument 231 err = perf_event__process_mmap(tool, event, sample, machine); in perf_event__repipe_mmap() [all …]
|
D | builtin-script.c | 371 struct perf_sample *sample, in print_sample_iregs() argument 375 struct regs_dump *regs = &sample->intr_regs; in print_sample_iregs() 388 static void print_sample_start(struct perf_sample *sample, in print_sample_start() argument 407 printf("%5d/%-5d ", sample->pid, sample->tid); in print_sample_start() 409 printf("%5d ", sample->pid); in print_sample_start() 411 printf("%5d ", sample->tid); in print_sample_start() 415 printf("%3d ", sample->cpu); in print_sample_start() 417 printf("[%03d] ", sample->cpu); in print_sample_start() 421 nsecs = sample->time; in print_sample_start() 442 struct perf_sample *sample, in print_sample_brstack() argument [all …]
|
D | builtin-lock.c | 347 struct perf_sample *sample); 350 struct perf_sample *sample); 353 struct perf_sample *sample); 356 struct perf_sample *sample); 396 struct perf_sample *sample) in report_lock_acquire_event() argument 402 const char *name = perf_evsel__strval(evsel, sample, "name"); in report_lock_acquire_event() 403 u64 tmp = perf_evsel__intval(evsel, sample, "lockdep_addr"); in report_lock_acquire_event() 404 int flag = perf_evsel__intval(evsel, sample, "flag"); in report_lock_acquire_event() 414 ts = thread_stat_findnew(sample->tid); in report_lock_acquire_event() 462 seq->prev_event_time = sample->time; in report_lock_acquire_event() [all …]
|
D | builtin-mem.c | 63 struct perf_sample *sample, in dump_raw_samples() argument 70 if (perf_event__preprocess_sample(event, machine, &al, sample) < 0) { in dump_raw_samples() 92 sample->pid, in dump_raw_samples() 94 sample->tid, in dump_raw_samples() 96 sample->ip, in dump_raw_samples() 98 sample->addr, in dump_raw_samples() 100 sample->weight, in dump_raw_samples() 102 sample->data_src, in dump_raw_samples() 113 struct perf_sample *sample, in process_sample_event() argument 117 return dump_raw_samples(tool, event, sample, machine); in process_sample_event() [all …]
|
D | builtin-sched.c | 107 struct perf_sample *sample, struct machine *machine); 110 struct perf_sample *sample, struct machine *machine); 113 struct perf_sample *sample, struct machine *machine); 121 struct perf_sample *sample, 695 struct perf_evsel *evsel, struct perf_sample *sample, in replay_wakeup_event() argument 698 const char *comm = perf_evsel__strval(evsel, sample, "comm"); in replay_wakeup_event() 699 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in replay_wakeup_event() 705 printf(" ... pid %d woke up %s/%d\n", sample->tid, comm, pid); in replay_wakeup_event() 708 waker = register_pid(sched, sample->tid, "<unknown>"); in replay_wakeup_event() 711 add_sched_event_wakeup(sched, waker, sample->time, wakee); in replay_wakeup_event() [all …]
|
D | builtin-trace.c | 113 u64 (*integer)(struct tp_field *field, struct perf_sample *sample); 114 void *(*pointer)(struct tp_field *field, struct perf_sample *sample); 119 static u64 tp_field__u##bits(struct tp_field *field, struct perf_sample *sample) \ 122 memcpy(&value, sample->raw_data + field->offset, sizeof(value)); \ 132 static u64 tp_field__swapped_u##bits(struct tp_field *field, struct perf_sample *sample) \ 135 memcpy(&value, sample->raw_data + field->offset, sizeof(value)); \ 169 static void *tp_field__ptr(struct tp_field *field, struct perf_sample *sample) in tp_field__ptr() argument 171 return sample->raw_data + field->offset; in tp_field__ptr() 265 #define perf_evsel__sc_tp_uint(evsel, name, sample) \ argument 267 fields->name.integer(&fields->name, sample); }) [all …]
|
D | builtin-kvm.c | 37 struct perf_sample *sample, in exit_event_get_key() argument 41 key->key = perf_evsel__intval(evsel, sample, KVM_EXIT_REASON); in exit_event_get_key() 50 struct perf_sample *sample, struct event_key *key) in exit_event_begin() argument 53 exit_event_get_key(evsel, sample, key); in exit_event_begin() 66 struct perf_sample *sample __maybe_unused, in exit_event_end() 266 struct perf_sample *sample, in is_child_event() argument 278 child_ops->get_key(evsel, sample, key); in is_child_event() 289 struct perf_sample *sample __maybe_unused) in handle_child_event() 315 struct perf_sample *sample) in handle_end_event() argument 352 if (sample->time < time_begin) { in handle_end_event() [all …]
|
D | builtin-kmem.c | 154 struct perf_sample *sample) in perf_evsel__process_alloc_event() argument 156 unsigned long ptr = perf_evsel__intval(evsel, sample, "ptr"), in perf_evsel__process_alloc_event() 157 call_site = perf_evsel__intval(evsel, sample, "call_site"); in perf_evsel__process_alloc_event() 158 int bytes_req = perf_evsel__intval(evsel, sample, "bytes_req"), in perf_evsel__process_alloc_event() 159 bytes_alloc = perf_evsel__intval(evsel, sample, "bytes_alloc"); in perf_evsel__process_alloc_event() 161 if (insert_alloc_stat(call_site, ptr, bytes_req, bytes_alloc, sample->cpu) || in perf_evsel__process_alloc_event() 173 struct perf_sample *sample) in perf_evsel__process_alloc_node_event() argument 175 int ret = perf_evsel__process_alloc_event(evsel, sample); in perf_evsel__process_alloc_node_event() 178 int node1 = cpu__get_node(sample->cpu), in perf_evsel__process_alloc_node_event() 179 node2 = perf_evsel__intval(evsel, sample, "node"); in perf_evsel__process_alloc_node_event() [all …]
|
D | builtin-annotate.c | 50 struct perf_sample *sample __maybe_unused, in perf_evsel__add_sample() 86 struct perf_sample *sample, in process_sample_event() argument 94 if (perf_event__preprocess_sample(event, machine, &al, sample) < 0) { in process_sample_event() 100 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) in process_sample_event() 103 if (!al.filtered && perf_evsel__add_sample(evsel, sample, &al, ann)) { in process_sample_event() 285 .sample = process_sample_event, in cmd_annotate()
|
D | builtin-top.c | 699 hist__account_cycles(iter->sample->branch_stack, al, iter->sample, in hist_iter__top_callback() 707 struct perf_sample *sample, in perf_event__process_sample() argument 720 if (!intlist__has_entry(seen, sample->pid)) { in perf_event__process_sample() 722 sample->pid); in perf_event__process_sample() 723 intlist__add(seen, sample->pid); in perf_event__process_sample() 737 if (perf_event__preprocess_sample(event, machine, &al, sample) < 0) in perf_event__process_sample() 790 .sample = sample, in perf_event__process_sample() 813 struct perf_sample sample; in perf_top__mmap_read_idx() local 822 ret = perf_evlist__parse_sample(top->evlist, event, &sample); in perf_top__mmap_read_idx() 828 evsel = perf_evlist__id2evsel(session->evlist, sample.id); in perf_top__mmap_read_idx() [all …]
|
D | builtin-report.c | 107 hist__account_cycles(iter->sample->branch_stack, al, iter->sample, in hist_iter__report_callback() 140 struct perf_sample *sample, in process_sample_event() argument 148 .sample = sample, in process_sample_event() 154 if (perf_event__preprocess_sample(event, machine, &al, sample) < 0) { in process_sample_event() 163 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event() 171 if (!sample->branch_stack) in process_sample_event() 195 struct perf_sample *sample __maybe_unused, in process_read_event() 649 .sample = process_sample_event, in cmd_report()
|
D | builtin-diff.c | 325 struct perf_sample *sample, in diff__process_sample_event() argument 333 if (perf_event__preprocess_sample(event, machine, &al, sample) < 0) { in diff__process_sample_event() 339 if (hists__add_entry(hists, &al, sample->period, in diff__process_sample_event() 340 sample->weight, sample->transaction)) { in diff__process_sample_event() 351 hists->stats.total_period += sample->period; in diff__process_sample_event() 353 hists->stats.total_non_filtered_period += sample->period; in diff__process_sample_event() 361 .sample = diff__process_sample_event,
|
D | builtin-record.c | 69 struct perf_sample *sample __maybe_unused, in process_synthesized_event() 335 struct perf_sample *sample, in process_sample_event() argument 343 return build_id__mark_dso_hit(tool, event, sample, evsel, machine); in process_sample_event() 1004 .sample = process_sample_event,
|
/linux-4.4.14/tools/perf/arch/x86/util/ |
D | kvm-stat.c | 19 static void mmio_event_get_key(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() argument 22 key->key = perf_evsel__intval(evsel, sample, "gpa"); in mmio_event_get_key() 23 key->info = perf_evsel__intval(evsel, sample, "type"); in mmio_event_get_key() 31 struct perf_sample *sample, struct event_key *key) in mmio_event_begin() argument 39 perf_evsel__intval(evsel, sample, "type") == KVM_TRACE_MMIO_WRITE) { in mmio_event_begin() 40 mmio_event_get_key(evsel, sample, key); in mmio_event_begin() 47 static bool mmio_event_end(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_end() argument 56 perf_evsel__intval(evsel, sample, "type") == KVM_TRACE_MMIO_READ) { in mmio_event_end() 57 mmio_event_get_key(evsel, sample, key); in mmio_event_end() 82 struct perf_sample *sample, in ioport_event_get_key() argument [all …]
|
D | unwind-libdw.c | 8 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers()
|
/linux-4.4.14/tools/perf/util/ |
D | thread-stack.c | 537 struct perf_sample *sample, in thread_stack__bottom() argument 546 if (sample->ip) { in thread_stack__bottom() 547 ip = sample->ip; in thread_stack__bottom() 549 } else if (sample->addr) { in thread_stack__bottom() 550 ip = sample->addr; in thread_stack__bottom() 561 return thread_stack__push_cp(thread->ts, ip, sample->time, ref, cp, in thread_stack__bottom() 567 struct perf_sample *sample, in thread_stack__no_call_return() argument 576 if (sample->ip >= ks && sample->addr < ks) { in thread_stack__no_call_return() 580 sample->time, ref, in thread_stack__no_call_return() 589 to_al->sym, sample->addr, in thread_stack__no_call_return() [all …]
|
D | session.c | 23 struct perf_sample *sample, 100 struct perf_sample sample; in ordered_events__deliver_event() local 103 int ret = perf_evlist__parse_sample(session->evlist, event->event, &sample); in ordered_events__deliver_event() 110 return perf_session__deliver_event(session, event->event, &sample, in ordered_events__deliver_event() 210 struct perf_sample *sample __maybe_unused, in process_event_sample_stub() 220 struct perf_sample *sample __maybe_unused, in process_event_stub() 301 if (tool->sample == NULL) in perf_tool__fill_defaults() 302 tool->sample = process_event_sample_stub; in perf_tool__fill_defaults() 698 struct perf_sample *sample, u64 file_offset) in perf_session__queue_event() argument 700 return ordered_events__queue(&s->ordered_events, event, sample, file_offset); in perf_session__queue_event() [all …]
|
D | intel-pt.c | 954 struct perf_sample *sample, u64 type, in intel_pt_inject_event() argument 957 event->header.size = perf_event__sample_event_size(sample, type, 0); in intel_pt_inject_event() 958 return perf_event__synthesize_sample(event, type, 0, sample, swapped); in intel_pt_inject_event() 966 struct perf_sample sample = { .ip = 0, }; in intel_pt_synth_branch_sample() local 975 event->sample.header.type = PERF_RECORD_SAMPLE; in intel_pt_synth_branch_sample() 976 event->sample.header.misc = PERF_RECORD_MISC_USER; in intel_pt_synth_branch_sample() 977 event->sample.header.size = sizeof(struct perf_event_header); in intel_pt_synth_branch_sample() 980 sample.time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_synth_branch_sample() 982 sample.ip = ptq->state->from_ip; in intel_pt_synth_branch_sample() 983 sample.pid = ptq->pid; in intel_pt_synth_branch_sample() [all …]
|
D | event.h | 369 struct sample_event sample; member 390 struct perf_sample *sample, 412 struct perf_sample *sample, 416 struct perf_sample *sample, 420 struct perf_sample *sample, 424 struct perf_sample *sample, 428 struct perf_sample *sample, 432 struct perf_sample *sample, 436 struct perf_sample *sample, 440 struct perf_sample *sample, [all …]
|
D | kvm-stat.h | 47 struct perf_sample *sample, 54 struct perf_sample *sample, 57 struct perf_sample *sample, struct event_key *key); 111 struct perf_sample *sample, 114 struct perf_sample *sample, 117 struct perf_sample *sample,
|
D | evsel.c | 1510 struct perf_sample *sample) in perf_evsel__parse_id_sample() argument 1513 const u64 *array = event->sample.array; in perf_evsel__parse_id_sample() 1521 sample->id = *array; in perf_evsel__parse_id_sample() 1533 sample->cpu = u.val32[0]; in perf_evsel__parse_id_sample() 1538 sample->stream_id = *array; in perf_evsel__parse_id_sample() 1543 sample->id = *array; in perf_evsel__parse_id_sample() 1548 sample->time = *array; in perf_evsel__parse_id_sample() 1561 sample->pid = u.val32[0]; in perf_evsel__parse_id_sample() 1562 sample->tid = u.val32[1]; in perf_evsel__parse_id_sample() 1612 array = event->sample.array; in perf_evsel__parse_sample() [all …]
|
D | machine.h | 84 struct perf_sample *sample); 86 struct perf_sample *sample); 88 struct perf_sample *sample); 90 struct perf_sample *sample); 92 struct perf_sample *sample); 100 struct perf_sample *sample); 102 struct perf_sample *sample); 104 struct perf_sample *sample); 140 struct branch_info *sample__resolve_bstack(struct perf_sample *sample, 142 struct mem_info *sample__resolve_mem(struct perf_sample *sample, [all …]
|
D | intel-bts.c | 136 static int intel_bts_lost(struct intel_bts *bts, struct perf_sample *sample) in intel_bts_lost() argument 142 INTEL_BTS_ERR_LOST, sample->cpu, sample->pid, in intel_bts_lost() 143 sample->tid, 0, "Lost trace data"); in intel_bts_lost() 276 struct perf_sample sample = { .ip = 0, }; in intel_bts_synth_branch_sample() local 278 event.sample.header.type = PERF_RECORD_SAMPLE; in intel_bts_synth_branch_sample() 279 event.sample.header.misc = PERF_RECORD_MISC_USER; in intel_bts_synth_branch_sample() 280 event.sample.header.size = sizeof(struct perf_event_header); in intel_bts_synth_branch_sample() 282 sample.ip = le64_to_cpu(branch->from); in intel_bts_synth_branch_sample() 283 sample.pid = btsq->pid; in intel_bts_synth_branch_sample() 284 sample.tid = btsq->tid; in intel_bts_synth_branch_sample() [all …]
|
D | data-convert-bt.c | 209 struct perf_sample *sample, in add_tracepoint_field_value() argument 216 void *data = sample->raw_data; in add_tracepoint_field_value() 321 struct perf_sample *sample) in add_tracepoint_fields_values() argument 327 ret = add_tracepoint_field_value(cw, event_class, event, sample, in add_tracepoint_fields_values() 339 struct perf_sample *sample) in add_tracepoint_values() argument 346 common_fields, sample); in add_tracepoint_values() 349 fields, sample); in add_tracepoint_values() 357 struct perf_sample *sample) in add_generic_values() argument 375 ret = value_set_u64_hex(cw, event, "perf_ip", sample->ip); in add_generic_values() 381 ret = value_set_s32(cw, event, "perf_tid", sample->tid); in add_generic_values() [all …]
|
D | event.c | 716 struct perf_sample *sample, in perf_event__process_comm() argument 719 return machine__process_comm_event(machine, event, sample); in perf_event__process_comm() 724 struct perf_sample *sample, in perf_event__process_lost() argument 727 return machine__process_lost_event(machine, event, sample); in perf_event__process_lost() 732 struct perf_sample *sample __maybe_unused, in perf_event__process_aux() 740 struct perf_sample *sample __maybe_unused, in perf_event__process_itrace_start() 748 struct perf_sample *sample, in perf_event__process_lost_samples() argument 751 return machine__process_lost_samples_event(machine, event, sample); in perf_event__process_lost_samples() 756 struct perf_sample *sample __maybe_unused, in perf_event__process_switch() 788 struct perf_sample *sample, in perf_event__process_mmap() argument [all …]
|
D | hist.c | 510 struct perf_sample *sample = iter->sample; in iter_prepare_mem_entry() local 513 mi = sample__resolve_mem(sample, al); in iter_prepare_mem_entry() 532 cost = iter->sample->weight; in iter_add_single_mem_entry() 566 err = hist_entry__append_callchain(he, iter->sample); in iter_finish_mem_entry() 584 struct perf_sample *sample = iter->sample; in iter_prepare_branch_entry() local 586 bi = sample__resolve_bstack(sample, al); in iter_prepare_branch_entry() 591 iter->total = sample->branch_stack->nr; in iter_prepare_branch_entry() 679 struct perf_sample *sample = iter->sample; in iter_add_single_normal_entry() local 683 sample->period, sample->weight, in iter_add_single_normal_entry() 684 sample->transaction, true); in iter_add_single_normal_entry() [all …]
|
D | tool.h | 18 struct perf_sample *sample, 22 struct perf_sample *sample, struct machine *machine); 38 event_sample sample, member
|
D | machine.c | 465 struct perf_sample *sample) in machine__process_comm_event() argument 480 __thread__set_comm(thread, event->comm.comm, sample->time, exec)) { in machine__process_comm_event() 491 union perf_event *event, struct perf_sample *sample __maybe_unused) in machine__process_lost_event() 499 union perf_event *event, struct perf_sample *sample) in machine__process_lost_samples_event() argument 502 sample->id, event->lost_samples.lost); in machine__process_lost_samples_event() 1259 struct perf_sample *sample __maybe_unused) in machine__process_mmap2_event() 1313 struct perf_sample *sample __maybe_unused) in machine__process_mmap_event() 1390 struct perf_sample *sample) in machine__process_fork_event() argument 1428 thread__fork(thread, parent, sample->time) < 0) { in machine__process_fork_event() 1439 struct perf_sample *sample __maybe_unused) in machine__process_exit_event() [all …]
|
D | session.h | 56 struct perf_sample *sample); 61 struct perf_sample *sample, u64 file_offset); 106 void perf_evsel__print_ip(struct perf_evsel *evsel, struct perf_sample *sample, 130 struct perf_sample *sample);
|
D | evsel.h | 242 void *perf_evsel__rawptr(struct perf_evsel *evsel, struct perf_sample *sample, 244 u64 perf_evsel__intval(struct perf_evsel *evsel, struct perf_sample *sample, 248 struct perf_sample *sample, in perf_evsel__strval() argument 251 return perf_evsel__rawptr(evsel, sample, name); in perf_evsel__strval() 308 struct perf_sample *sample);
|
D | db-export.c | 289 struct perf_sample *sample, struct perf_evsel *evsel, in db_export__sample() argument 295 .sample = sample, in db_export__sample() 336 perf_event__preprocess_sample_addr(event, sample, thread, &addr_al); in db_export__sample() 342 err = thread_stack__process(thread, comm, sample, al, in db_export__sample()
|
D | unwind-libunwind.c | 88 struct perf_sample *sample; member 443 struct stack_dump *stack = &ui->sample->user_stack; in access_mem() 449 if (__write || !stack || !ui->sample->user_regs.regs) { in access_mem() 454 ret = perf_reg_value(&start, &ui->sample->user_regs, PERF_REG_SP); in access_mem() 497 if (!ui->sample->user_regs.regs) { in access_reg() 506 ret = perf_reg_value(&val, &ui->sample->user_regs, id); in access_reg() 645 .sample = data, in unwind__get_entries()
|
D | build-id.c | 26 struct perf_sample *sample, in build_id__mark_dso_hit() argument 32 struct thread *thread = machine__findnew_thread(machine, sample->pid, in build_id__mark_dso_hit() 33 sample->tid); in build_id__mark_dso_hit() 41 thread__find_addr_map(thread, cpumode, MAP__FUNCTION, sample->ip, &al); in build_id__mark_dso_hit() 52 struct perf_sample *sample in perf_event__exit_del_thread() 72 .sample = build_id__mark_dso_hit,
|
D | unwind-libdw.c | 112 struct stack_dump *stack = &ui->sample->user_stack; in memory_read() 117 ret = perf_reg_value(&start, &ui->sample->user_regs, PERF_REG_SP); in memory_read() 172 .sample = data, in unwind__get_entries()
|
D | db-export.h | 35 struct perf_sample *sample; member 98 struct perf_sample *sample, struct perf_evsel *evsel,
|
D | unwind-libdw.h | 13 struct perf_sample *sample; member
|
D | auxtrace.h | 127 struct perf_sample *sample, 480 struct perf_sample *sample, in auxtrace__process_event() argument 486 return session->auxtrace->process_event(session, event, sample, tool); in auxtrace__process_event() 587 struct perf_sample *sample __maybe_unused, in auxtrace__process_event()
|
D | callchain.h | 197 int sample__resolve_callchain(struct perf_sample *sample, struct symbol **parent, 200 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample);
|
D | callchain.c | 709 int sample__resolve_callchain(struct perf_sample *sample, struct symbol **parent, in sample__resolve_callchain() argument 713 if (sample->callchain == NULL) in sample__resolve_callchain() 718 return thread__resolve_callchain(al->thread, evsel, sample, in sample__resolve_callchain() 724 int hist_entry__append_callchain(struct hist_entry *he, struct perf_sample *sample) in hist_entry__append_callchain() argument 726 if (!symbol_conf.use_callchain || sample->callchain == NULL) in hist_entry__append_callchain() 728 return callchain_append(he->callchain, &callchain_cursor, sample->period); in hist_entry__append_callchain()
|
D | build-id.h | 21 struct perf_sample *sample, struct perf_evsel *evsel,
|
D | ordered-events.h | 47 struct perf_sample *sample, u64 file_offset);
|
D | thread-stack.h | 107 struct perf_sample *sample,
|
D | trace-event-scripting.c | 44 struct perf_sample *sample __maybe_unused, in process_event_unsupported()
|
D | trace-event.h | 75 struct perf_sample *sample,
|
D | ordered-events.c | 156 struct perf_sample *sample, u64 file_offset) in ordered_events__queue() argument 158 u64 timestamp = sample->time; in ordered_events__queue()
|
D | hist.h | 97 struct perf_sample *sample; member 361 struct perf_sample *sample, bool nonany_branch_mode);
|
/linux-4.4.14/drivers/oprofile/ |
D | cpu_buffer.c | 146 size * sizeof(entry->sample->data[0])); in op_cpu_buffer_write_reserve() 149 entry->sample = ring_buffer_event_data(entry->event); in op_cpu_buffer_write_reserve() 151 entry->data = entry->sample->data; in op_cpu_buffer_write_reserve() 153 return entry->sample; in op_cpu_buffer_write_reserve() 169 entry->sample = ring_buffer_event_data(e); in op_cpu_buffer_read_entry() 171 / sizeof(entry->sample->data[0]); in op_cpu_buffer_read_entry() 172 entry->data = entry->sample->data; in op_cpu_buffer_read_entry() 173 return entry->sample; in op_cpu_buffer_read_entry() 186 struct op_sample *sample; in op_add_code() local 219 sample = op_cpu_buffer_write_reserve(&entry, size); in op_add_code() [all …]
|
D | buffer_sync.c | 504 struct op_sample *sample; in sync_buffer() local 514 sample = op_cpu_buffer_read_entry(&entry, cpu); in sync_buffer() 515 if (!sample) in sync_buffer() 518 if (is_code(sample->eip)) { in sync_buffer() 519 flags = sample->event; in sync_buffer() 551 if (add_sample(mm, sample, in_kernel)) in sync_buffer()
|
/linux-4.4.14/tools/perf/arch/s390/util/ |
D | kvm-stat.c | 22 struct perf_sample *sample, in event_icpt_insn_get_key() argument 27 insn = perf_evsel__intval(evsel, sample, "instruction"); in event_icpt_insn_get_key() 33 struct perf_sample *sample, in event_sigp_get_key() argument 36 key->key = perf_evsel__intval(evsel, sample, "order_code"); in event_sigp_get_key() 41 struct perf_sample *sample, in event_diag_get_key() argument 44 key->key = perf_evsel__intval(evsel, sample, "code"); in event_diag_get_key() 49 struct perf_sample *sample, in event_icpt_prog_get_key() argument 52 key->key = perf_evsel__intval(evsel, sample, "code"); in event_icpt_prog_get_key()
|
/linux-4.4.14/tools/perf/tests/ |
D | perf-record.c | 50 struct perf_sample sample; in test__PERF_RECORD() local 168 err = perf_evlist__parse_sample(evlist, event, &sample); in test__PERF_RECORD() 177 pr_info("%" PRIu64" %d ", sample.time, sample.cpu); in test__PERF_RECORD() 181 if (prev_time > sample.time) { in test__PERF_RECORD() 183 name, prev_time, sample.time); in test__PERF_RECORD() 187 prev_time = sample.time; in test__PERF_RECORD() 189 if (sample.cpu != cpu) { in test__PERF_RECORD() 191 name, cpu, sample.cpu); in test__PERF_RECORD() 195 if ((pid_t)sample.pid != evlist->workload.pid) { in test__PERF_RECORD() 197 name, evlist->workload.pid, sample.pid); in test__PERF_RECORD() [all …]
|
D | dwarf-unwind.c | 23 struct perf_sample *sample __maybe_unused, in mmap_handler() 73 struct perf_sample sample; in unwind_thread() local 77 memset(&sample, 0, sizeof(sample)); in unwind_thread() 79 if (test__arch_unwind_sample(&sample, thread)) { in unwind_thread() 85 &sample, MAX_STACK); in unwind_thread() 95 free(sample.user_stack.data); in unwind_thread() 96 free(sample.user_regs.regs); in unwind_thread()
|
D | hists_link.c | 13 struct sample { struct 22 static struct sample fake_common_samples[] = { argument 35 static struct sample fake_samples[][5] = { 67 struct perf_sample sample = { .period = 1, }; in add_hist_entries() local 85 sample.pid = fake_common_samples[k].pid; in add_hist_entries() 86 sample.tid = fake_common_samples[k].pid; in add_hist_entries() 87 sample.ip = fake_common_samples[k].ip; in add_hist_entries() 89 &sample) < 0) in add_hist_entries() 111 sample.pid = fake_samples[i][k].pid; in add_hist_entries() 112 sample.tid = fake_samples[i][k].pid; in add_hist_entries() [all …]
|
D | hists_filter.c | 13 struct sample { struct 23 static struct sample fake_samples[] = { argument 51 struct perf_sample sample = { .period = 100, }; in add_hist_entries() local 68 .sample = &sample, in add_hist_entries() 79 sample.pid = fake_samples[i].pid; in add_hist_entries() 80 sample.tid = fake_samples[i].pid; in add_hist_entries() 81 sample.ip = fake_samples[i].ip; in add_hist_entries() 84 &sample) < 0) in add_hist_entries()
|
D | hists_cumulate.c | 13 struct sample { struct 22 static struct sample fake_samples[] = { argument 80 struct perf_sample sample = { .period = 1000, }; in add_hist_entries() local 91 .sample = &sample, in add_hist_entries() 100 sample.pid = fake_samples[i].pid; in add_hist_entries() 101 sample.tid = fake_samples[i].pid; in add_hist_entries() 102 sample.ip = fake_samples[i].ip; in add_hist_entries() 103 sample.callchain = (struct ip_callchain *)fake_callchains[i]; in add_hist_entries() 106 &sample) < 0) in add_hist_entries()
|
D | sample-parsing.c | 172 struct perf_sample sample = { in do_test() local 223 sample.read.group.nr = 4; in do_test() 224 sample.read.group.values = values; in do_test() 226 sample.read.one.value = 0x08789faeb786aa87ULL; in do_test() 227 sample.read.one.id = 99; in do_test() 230 sz = perf_event__sample_event_size(&sample, sample_type, read_format); in do_test() 244 &sample, false); in do_test() 271 if (!samples_same(&sample, &sample_out, sample_type, read_format)) { in do_test()
|
D | switch-tracking.c | 117 struct perf_sample sample; in process_sample_event() local 122 if (perf_evlist__parse_sample(evlist, event, &sample)) { in process_sample_event() 127 evsel = perf_evlist__id2evsel(evlist, sample.id); in process_sample_event() 129 next_tid = perf_evsel__intval(evsel, &sample, "next_pid"); in process_sample_event() 130 prev_tid = perf_evsel__intval(evsel, &sample, "prev_pid"); in process_sample_event() 131 cpu = sample.cpu; in process_sample_event() 206 struct perf_sample sample; in add_event() local 217 if (perf_evlist__parse_sample(evlist, event, &sample)) { in add_event() 222 if (!sample.time) { in add_event() 227 node->event_time = sample.time; in add_event()
|
D | mmap-basic.c | 103 struct perf_sample sample; in test__basic_mmap() local 111 err = perf_evlist__parse_sample(evlist, event, &sample); in test__basic_mmap() 118 evsel = perf_evlist__id2evsel(evlist, sample.id); in test__basic_mmap() 121 " doesn't map to an evsel\n", sample.id); in test__basic_mmap()
|
D | openat-syscall-tp-fields.c | 81 struct perf_sample sample; in test__syscall_openat_tp_fields() local 90 err = perf_evsel__parse_sample(evsel, event, &sample); in test__syscall_openat_tp_fields() 96 tp_flags = perf_evsel__intval(evsel, &sample, "flags"); in test__syscall_openat_tp_fields()
|
D | sw-clock.c | 94 struct perf_sample sample; in __test__sw_clock_freq() local 99 err = perf_evlist__parse_sample(evlist, event, &sample); in __test__sw_clock_freq() 105 total_periods += sample.period; in __test__sw_clock_freq()
|
D | hists_output.c | 13 struct sample { struct 23 static struct sample fake_samples[] = { argument 50 struct perf_sample sample = { .period = 100, }; in add_hist_entries() local 61 .sample = &sample, in add_hist_entries() 66 sample.cpu = fake_samples[i].cpu; in add_hist_entries() 67 sample.pid = fake_samples[i].pid; in add_hist_entries() 68 sample.tid = fake_samples[i].pid; in add_hist_entries() 69 sample.ip = fake_samples[i].ip; in add_hist_entries() 72 &sample) < 0) in add_hist_entries()
|
D | parse-no-sample-id-all.c | 14 struct perf_sample sample; in process_event() local 30 if (perf_evlist__parse_sample(*pevlist, event, &sample)) { in process_event()
|
D | code-reading.c | 294 struct perf_sample sample; in process_sample_event() local 299 if (perf_evlist__parse_sample(evlist, event, &sample)) { in process_sample_event() 304 thread = machine__findnew_thread(machine, sample.pid, sample.tid); in process_sample_event() 312 ret = read_object_code(sample.ip, READLEN, cpumode, thread, state); in process_sample_event()
|
D | Build | 30 perf-y += sample-parsing.o 31 perf-y += parse-no-sample-id-all.o
|
D | tests.h | 76 int test__arch_unwind_sample(struct perf_sample *sample,
|
/linux-4.4.14/sound/core/oss/ |
D | mulaw.c | 157 unsigned char *dst, u16 sample) in cvt_s16_to_native() argument 159 sample ^= data->flip; in cvt_s16_to_native() 161 sample = swab16(sample); in cvt_s16_to_native() 164 memcpy(dst + data->native_ofs, (char *)&sample + data->copy_ofs, in cvt_s16_to_native() 194 signed short sample = ulaw2linear(*src); in mulaw_decode() local 195 cvt_s16_to_native(data, dst, sample); in mulaw_decode() 205 u16 sample = 0; in cvt_native_to_s16() local 206 memcpy((char *)&sample + data->copy_ofs, src + data->native_ofs, in cvt_native_to_s16() 209 sample = swab16(sample); in cvt_native_to_s16() 210 sample ^= data->flip; in cvt_native_to_s16() [all …]
|
/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-biffuncs.h | 28 static inline u8 getBit(u32 sample, u8 index) in getBit() argument 30 return (u8) ((sample >> index) & 1); in getBit() 38 static inline u32 setBitAtPos(u32 sample, u8 bit) in setBitAtPos() argument 40 sample |= (1 << bit); in setBitAtPos() 41 return sample; in setBitAtPos()
|
/linux-4.4.14/drivers/gpu/drm/bridge/ |
D | dw_hdmi-ahb-audio.c | 168 u32 b, sample = *src++; in dw_hdmi_reformat_iec958() local 170 b = (sample & 8) << (28 - 3); in dw_hdmi_reformat_iec958() 172 sample >>= 4; in dw_hdmi_reformat_iec958() 174 *dst++ = sample | b; in dw_hdmi_reformat_iec958() 178 static u32 parity(u32 sample) in parity() argument 180 sample ^= sample >> 16; in parity() 181 sample ^= sample >> 8; in parity() 182 sample ^= sample >> 4; in parity() 183 sample ^= sample >> 2; in parity() 184 sample ^= sample >> 1; in parity() [all …]
|
/linux-4.4.14/samples/ |
D | Kconfig | 4 You can build and test sample kernel code here. 19 different kobject sample modules showing how to use kobjects, 46 different kfifo sample modules showing how to use the 59 tristate "Build rpmsg client sample -- loadable modules only" 62 Build an rpmsg client sample driver, which demonstrates how 67 tristate "Build live patching sample -- loadable modules only" 70 Builds a sample live patch that replaces the procfs handler 74 tristate "Build configfs patching sample -- loadable modules only" 77 Builds a sample configfs interface.
|
/linux-4.4.14/tools/perf/arch/x86/tests/ |
D | dwarf-unwind.c | 12 static int sample_ustack(struct perf_sample *sample, in sample_ustack() argument 15 struct stack_dump *stack = &sample->user_stack; in sample_ustack() 44 int test__arch_unwind_sample(struct perf_sample *sample, in test__arch_unwind_sample() argument 47 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample() 61 return sample_ustack(sample, thread, buf); in test__arch_unwind_sample()
|
D | perf-time-to-tsc.c | 111 struct perf_sample sample; in test__perf_time_to_tsc() local 120 &sample)); in test__perf_time_to_tsc() 121 comm1_time = sample.time; in test__perf_time_to_tsc() 125 &sample)); in test__perf_time_to_tsc() 126 comm2_time = sample.time; in test__perf_time_to_tsc()
|
/linux-4.4.14/tools/perf/arch/arm64/tests/ |
D | dwarf-unwind.c | 11 static int sample_ustack(struct perf_sample *sample, in sample_ustack() argument 14 struct stack_dump *stack = &sample->user_stack; in sample_ustack() 43 int test__arch_unwind_sample(struct perf_sample *sample, in test__arch_unwind_sample() argument 46 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample() 60 return sample_ustack(sample, thread, buf); in test__arch_unwind_sample()
|
/linux-4.4.14/tools/perf/arch/arm/tests/ |
D | dwarf-unwind.c | 11 static int sample_ustack(struct perf_sample *sample, in sample_ustack() argument 14 struct stack_dump *stack = &sample->user_stack; in sample_ustack() 43 int test__arch_unwind_sample(struct perf_sample *sample, in test__arch_unwind_sample() argument 46 struct regs_dump *regs = &sample->user_regs; in test__arch_unwind_sample() 60 return sample_ustack(sample, thread, buf); in test__arch_unwind_sample()
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | mc13783_ts.c | 41 unsigned int sample[4]; member 81 x0 = priv->sample[0] & 0xfff; in mc13783_ts_report_sample() 82 x1 = priv->sample[1] & 0xfff; in mc13783_ts_report_sample() 83 x2 = priv->sample[2] & 0xfff; in mc13783_ts_report_sample() 84 y0 = priv->sample[3] & 0xfff; in mc13783_ts_report_sample() 85 y1 = (priv->sample[0] >> 12) & 0xfff; in mc13783_ts_report_sample() 86 y2 = (priv->sample[1] >> 12) & 0xfff; in mc13783_ts_report_sample() 87 cr0 = (priv->sample[2] >> 12) & 0xfff; in mc13783_ts_report_sample() 88 cr1 = (priv->sample[3] >> 12) & 0xfff; in mc13783_ts_report_sample() 131 priv->sample) == 0) in mc13783_ts_work()
|
D | wm9712.c | 255 static int wm9712_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9712_poll_sample() argument 292 *sample = wm97xx_reg_read(wm, AC97_WM97XX_DIGITISER_RD); in wm9712_poll_sample() 297 if ((*sample ^ adcsel) & WM97XX_ADCSEL_MASK) { in wm9712_poll_sample() 300 *sample & WM97XX_ADCSEL_MASK); in wm9712_poll_sample() 304 if (wants_pen && !(*sample & WM97XX_PEN_DOWN)) { in wm9712_poll_sample() 306 *sample = wm97xx_reg_read(wm, AC97_WM97XX_DIGITISER_RD); in wm9712_poll_sample() 307 if (!(*sample & WM97XX_PEN_DOWN)) { in wm9712_poll_sample()
|
D | wm9705.c | 215 static int wm9705_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9705_poll_sample() argument 252 *sample = wm97xx_reg_read(wm, AC97_WM97XX_DIGITISER_RD); in wm9705_poll_sample() 257 if ((*sample ^ adcsel) & WM97XX_ADCSEL_MASK) { in wm9705_poll_sample() 260 *sample & WM97XX_ADCSEL_MASK); in wm9705_poll_sample() 264 if (wants_pen && !(*sample & WM97XX_PEN_DOWN)) { in wm9705_poll_sample()
|
D | wm9713.c | 260 static int wm9713_poll_sample(struct wm97xx *wm, int adcsel, int *sample) in wm9713_poll_sample() argument 302 *sample = wm97xx_reg_read(wm, AC97_WM97XX_DIGITISER_RD); in wm9713_poll_sample() 307 if ((*sample ^ adcsel) & WM97XX_ADCSEL_MASK) { in wm9713_poll_sample() 310 *sample & WM97XX_ADCSEL_MASK); in wm9713_poll_sample() 314 if (wants_pen && !(*sample & WM97XX_PEN_DOWN)) { in wm9713_poll_sample()
|
D | ad7877.c | 167 u16 sample ____cacheline_aligned; 230 req->xfer[1].rx_buf = &req->sample; in ad7877_read() 237 ret = status ? : req->sample; in ad7877_read() 273 int sample; in ad7877_read_adc() local 306 req->xfer[3].rx_buf = &req->sample; in ad7877_read_adc() 324 sample = req->sample; in ad7877_read_adc() 328 return status ? : sample; in ad7877_read_adc()
|
D | ads7846.c | 298 __be16 sample ____cacheline_aligned; 309 u8 sample[3] ____cacheline_aligned; member 352 req->xfer[3].rx_buf = &req->sample; in ads7846_read12_ser() 377 status = be16_to_cpu(req->sample); in ads7846_read12_ser() 401 req->xfer[0].rx_buf = req->sample; in ads7845_read12_ser() 413 status = be16_to_cpu(*((u16 *)&req->sample[1])); in ads7845_read12_ser()
|
/linux-4.4.14/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 307 static PyObject *python_process_callchain(struct perf_sample *sample, in python_process_callchain() argument 317 if (!symbol_conf.use_callchain || !sample->callchain) in python_process_callchain() 321 sample, NULL, NULL, in python_process_callchain() 383 static void python_process_tracepoint(struct perf_sample *sample, in python_process_tracepoint() argument 395 int cpu = sample->cpu; in python_process_tracepoint() 396 void *data = sample->raw_data; in python_process_tracepoint() 397 unsigned long long nsecs = sample->time; in python_process_tracepoint() 432 callchain = python_process_callchain(sample, evsel, al); in python_process_tracepoint() 688 tuple_set_u64(t, 8, es->sample->ip); in python_export_sample() 689 tuple_set_u64(t, 9, es->sample->time); in python_export_sample() [all …]
|
D | trace-event-perl.c | 248 static void perl_process_tracepoint(struct perf_sample *sample, in perl_process_tracepoint() argument 258 int cpu = sample->cpu; in perl_process_tracepoint() 259 void *data = sample->raw_data; in perl_process_tracepoint() 260 unsigned long long nsecs = sample->time; in perl_process_tracepoint() 338 struct perf_sample *sample, in perl_process_event_generic() argument 351 XPUSHs(sv_2mortal(newSVpvn((const char *)sample, sizeof(*sample)))); in perl_process_event_generic() 352 XPUSHs(sv_2mortal(newSVpvn((const char *)sample->raw_data, sample->raw_size))); in perl_process_event_generic() 362 struct perf_sample *sample, in perl_process_event() argument 366 perl_process_tracepoint(sample, evsel, al->thread); in perl_process_event() 367 perl_process_event_generic(event, sample, evsel); in perl_process_event()
|
/linux-4.4.14/drivers/cpufreq/ |
D | intel_pstate.c | 67 struct sample { struct 115 struct sample sample; member 866 struct sample *sample = &cpu->sample; in intel_pstate_calc_busy() local 869 core_pct = int_tofp(sample->aperf) * int_tofp(100); in intel_pstate_calc_busy() 870 core_pct = div64_u64(core_pct, int_tofp(sample->mperf)); in intel_pstate_calc_busy() 872 sample->freq = fp_toint( in intel_pstate_calc_busy() 878 sample->core_pct_busy = (int32_t)core_pct; in intel_pstate_calc_busy() 898 cpu->last_sample_time = cpu->sample.time; in intel_pstate_sample() 899 cpu->sample.time = ktime_get(); in intel_pstate_sample() 900 cpu->sample.aperf = aperf; in intel_pstate_sample() [all …]
|
/linux-4.4.14/arch/s390/kernel/ |
D | perf_cpum_sf.c | 1048 static int sample_format_is_valid(struct hws_combined_entry *sample, in sample_format_is_valid() argument 1055 if (sample->basic.def != 0x0001) in sample_format_is_valid() 1062 if (sample->diag.def < 0x8001) in sample_format_is_valid() 1067 static int sample_is_consistent(struct hws_combined_entry *sample, in sample_is_consistent() argument 1082 if (sample->basic.I || sample->basic.W) in sample_is_consistent() 1087 static void reset_sample_slot(struct hws_combined_entry *sample, in reset_sample_slot() argument 1091 sample->basic.def = 0; in reset_sample_slot() 1093 sample->diag.def = 0; in reset_sample_slot() 1097 struct hws_combined_entry *sample) in sfr_store_sample() argument 1100 sfr->basic = sample->basic; in sfr_store_sample() [all …]
|
/linux-4.4.14/drivers/misc/echo/ |
D | fir.h | 146 static inline int16_t fir16(struct fir16_state_t *fir, int16_t sample) in fir16() argument 150 fir->history[fir->curr_pos] = sample; in fir16() 151 fir->history[fir->curr_pos + fir->taps] = sample; in fir16() 159 fir->history[fir->curr_pos] = sample; in fir16() 195 static inline int16_t fir32(struct fir32_state_t *fir, int16_t sample) in fir32() argument 202 fir->history[fir->curr_pos] = sample; in fir32()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_audio.c | 242 isdn_audio_linear2ulaw(int sample) in isdn_audio_linear2ulaw() argument 269 sign = (sample >> 8) & 0x80; /* set aside the sign */ in isdn_audio_linear2ulaw() 271 sample = -sample; /* get magnitude */ in isdn_audio_linear2ulaw() 272 if (sample > CLIP) in isdn_audio_linear2ulaw() 273 sample = CLIP; /* clip the magnitude */ in isdn_audio_linear2ulaw() 276 sample = sample + BIAS; in isdn_audio_linear2ulaw() 277 exponent = exp_lut[(sample >> 7) & 0xFF]; in isdn_audio_linear2ulaw() 278 mantissa = (sample >> (exponent + 3)) & 0x0F; in isdn_audio_linear2ulaw() 448 isdn_audio_goertzel(int *sample, modem_info *info) in isdn_audio_goertzel() argument 469 sk = sample[n] + ((cos2pik[k] * sk1) >> 15) - sk2; in isdn_audio_goertzel()
|
/linux-4.4.14/net/dccp/ccids/lib/ |
D | packet_history.c | 406 u32 sample = 0, in tfrc_rx_hist_sample_rtt() local 412 sample = SUB16(tfrc_rx_hist_rtt_prev_s(h)->tfrchrx_ccval, in tfrc_rx_hist_sample_rtt() 414 if (sample) in tfrc_rx_hist_sample_rtt() 415 sample = 4 / sample * in tfrc_rx_hist_sample_rtt() 434 sample = ktime_to_us(net_timedelta(tfrc_rx_hist_rtt_last_s(h)->tfrchrx_tstamp)); in tfrc_rx_hist_sample_rtt() 440 if (unlikely(sample > DCCP_SANE_RTT_MAX)) { in tfrc_rx_hist_sample_rtt() 441 DCCP_WARN("RTT sample %u too large, using max\n", sample); in tfrc_rx_hist_sample_rtt() 442 sample = DCCP_SANE_RTT_MAX; in tfrc_rx_hist_sample_rtt() 448 return sample; in tfrc_rx_hist_sample_rtt()
|
/linux-4.4.14/tools/perf/Documentation/ |
D | perf-report.txt | 33 Show sample percentage for different cpu modes. 77 - dso: name of library or module executed at the time of sample 78 - symbol: name of function executed at the time of sample 81 - cpu: cpu number the task ran at the time of sample 82 - socket: processor socket number the task ran at the time of sample 83 - srcline: filename and line number executed at the time of sample. The 91 - overhead: Overhead percentage of sample 92 - overhead_sys: Overhead percentage of sample running in system mode 93 - overhead_us: Overhead percentage of sample running in user mode 94 - overhead_guest_sys: Overhead percentage of sample running in system mode [all …]
|
D | perf-record.txt | 117 Event period to sample. 184 Record the sample addresses. 188 Record the sample timestamps. Use it with 'perf report -D' to see the 193 Record the sample period. 197 Don't sample. 201 Collect raw sample records from all opened counters (default for tracepoint counters). 234 Enable taken branch stack sampling. Each sample captures a series of consecutive 235 taken branches. The number of branches captured with each sample depends on the 263 Enable weightened sampling. An additional weight is recorded per sample and can be 284 each sample. List of captured registers depends on the architecture. This option [all …]
|
D | perf-top.txt | 26 Event period to sample. 119 local_weight, abort, in_tx, transaction, overhead, sample, period. 125 overhead, overhead_sys, overhead_us, overhead_children, sample and period. 219 Enable taken branch stack sampling. Each sample captures a series of consecutive 220 taken branches. The number of branches captured with each sample depends on the
|
D | perf-evlist.txt | 25 Show just the sample frequency used for each event.
|
D | perf-mem.txt | 38 one sample per line.
|
D | perf-diff.txt | 116 the command line are searched for the baseline sample pair. If the pair 130 b - baseline sample percentage
|
D | perf-kvm.txt | 110 Sorting key. Possible values: sample (default, sort by samples 147 Sorting key. Possible values: sample (default, sort by samples
|
/linux-4.4.14/drivers/media/rc/ |
D | ir-lirc-codec.c | 36 int sample; in ir_lirc_decode() local 48 sample = LIRC_SPACE(LIRC_VALUE_MASK); in ir_lirc_decode() 53 sample = LIRC_FREQUENCY(ev.carrier); in ir_lirc_decode() 54 IR_dprintk(2, "carrier report (freq: %d)\n", sample); in ir_lirc_decode() 69 sample = LIRC_TIMEOUT(ev.duration / 1000); in ir_lirc_decode() 70 IR_dprintk(2, "timeout report (duration: %d)\n", sample); in ir_lirc_decode() 92 sample = ev.pulse ? LIRC_PULSE(ev.duration / 1000) : in ir_lirc_decode() 99 (unsigned char *) &sample); in ir_lirc_decode()
|
D | fintek-cir.c | 295 u8 sample; in fintek_process_rx_ir_data() local 300 sample = fintek->buf[i]; in fintek_process_rx_ir_data() 303 fintek->cmd = sample; in fintek_process_rx_ir_data() 318 fintek->rem = fintek_cmdsize(fintek->cmd, sample); in fintek_process_rx_ir_data() 327 rawir.pulse = ((sample & BUF_PULSE_BIT) != 0); in fintek_process_rx_ir_data() 328 rawir.duration = US_TO_NS((sample & BUF_SAMPLE_MASK) in fintek_process_rx_ir_data() 356 u8 sample, status; in fintek_get_rx_ir_data() local 366 sample = fintek_cir_reg_read(fintek, CIR_RX_DATA); in fintek_get_rx_ir_data() 367 fit_dbg("%s: sample: 0x%02x", __func__, sample); in fintek_get_rx_ir_data() 369 fintek->buf[fintek->pkts] = sample; in fintek_get_rx_ir_data()
|
D | nuvoton-cir.c | 619 u8 sample; in nvt_process_rx_ir_data() local 632 sample = nvt->buf[i]; in nvt_process_rx_ir_data() 634 rawir.pulse = ((sample & BUF_PULSE_BIT) != 0); in nvt_process_rx_ir_data() 635 rawir.duration = US_TO_NS((sample & BUF_LEN_MASK) in nvt_process_rx_ir_data() 648 if ((sample == BUF_PULSE_BIT) && (i + 1 < nvt->pkts)) { in nvt_process_rx_ir_data()
|
/linux-4.4.14/Documentation/sound/alsa/soc/ |
D | DAI.txt | 26 usually varies depending on the sample rate and the master system clock 27 (SYSCLK). LRCLK is the same as the sample rate. A few devices support separate 29 different sample rates. 38 o Right Justified - MSB is transmitted sample size BCLKs before LRC 47 receive the audio data. Bit clock usually varies depending on sample rate 48 whilst sync runs at the sample rate. PCM also supports Time Division
|
D | clocking.txt | 14 audio playback and capture sample rates. 29 runs at exactly the sample rate (LRC = Rate). 48 audio clocks as it usually gives more accurate sample rates than the CPU.
|
/linux-4.4.14/drivers/staging/iio/resolver/ |
D | ad2s1200.c | 39 int sample; member 55 gpio_set_value(st->sample, 0); in ad2s1200_read_raw() 58 gpio_set_value(st->sample, 1); in ad2s1200_read_raw() 127 st->sample = pins[0]; in ad2s1200_probe()
|
D | ad2s1210.c | 413 gpio_set_value(st->pdata->sample, 0); in ad2s1210_clear_fault() 416 gpio_set_value(st->pdata->sample, 1); in ad2s1210_clear_fault() 420 gpio_set_value(st->pdata->sample, 0); in ad2s1210_clear_fault() 421 gpio_set_value(st->pdata->sample, 1); in ad2s1210_clear_fault() 477 gpio_set_value(st->pdata->sample, 0); in ad2s1210_read_raw() 523 gpio_set_value(st->pdata->sample, 1); in ad2s1210_read_raw() 645 { st->pdata->sample, GPIOF_DIR_IN, "sample" }, in ad2s1210_setup_gpios() 659 { st->pdata->sample, GPIOF_DIR_IN, "sample" }, in ad2s1210_free_gpios()
|
D | ad2s1210.h | 15 unsigned sample; member
|
/linux-4.4.14/samples/trace_events/ |
D | Makefile | 12 CFLAGS_trace-events-sample.o := -I$(src) 14 obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o
|
D | trace-events-sample.h | 25 #define TRACE_SYSTEM sample-trace 522 #define TRACE_INCLUDE_FILE trace-events-sample
|
/linux-4.4.14/Documentation/timers/ |
D | timer_stats.txt | 18 Linux system over a sample period: 33 To activate a sample period issue: 36 To stop a sample period issue: 44 is kept until a new sample period is started. This allows multiple readouts. 48 Timerstats sample period: 3.888770 s
|
D | 00-INDEX | 8 - sample hpet timer test program
|
/linux-4.4.14/drivers/iio/adc/ |
D | ad7266.c | 47 __be16 sample[2]; member 55 return spi_read(st->spi, &st->data.sample[0], 2); in ad7266_wakeup() 61 return spi_read(st->spi, &st->data.sample[0], 1); in ad7266_powerdown() 90 ret = spi_read(st->spi, st->data.sample, 4); in ad7266_trigger_handler() 143 *val = be16_to_cpu(st->data.sample[address % 2]); in ad7266_read_single() 448 st->single_xfer[0].rx_buf = &st->data.sample[0]; in ad7266_probe() 452 st->single_xfer[1].rx_buf = st->data.sample; in ad7266_probe() 456 st->single_xfer[2].tx_buf = &st->data.sample[0]; in ad7266_probe()
|
D | ad_sigma_delta.c | 251 unsigned int sample, raw_sample; in ad_sigma_delta_single_conversion() local 295 sample = raw_sample >> chan->scan_type.shift; in ad_sigma_delta_single_conversion() 296 sample &= (1 << chan->scan_type.realbits) - 1; in ad_sigma_delta_single_conversion() 297 *val = sample; in ad_sigma_delta_single_conversion()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uac2 | 9 c_ssize - capture sample size (bytes) 12 p_ssize - playback sample size (bytes)
|
D | evm | 21 Documentation/keys-trusted-encrypted.txt. (A sample dracut
|
/linux-4.4.14/sound/synth/emux/ |
D | soundfont.c | 605 zone->sample = set_sample(sf, &zone->v); in load_info() 662 struct snd_sf_sample *sample; in set_sample() local 664 sample = find_sample(sf, avp->sample); in set_sample() 665 if (sample == NULL) in set_sample() 673 avp->start += sample->v.start; in set_sample() 674 avp->end += sample->v.end; in set_sample() 675 avp->loopstart += sample->v.loopstart; in set_sample() 676 avp->loopend += sample->v.loopend; in set_sample() 679 avp->sample_mode = sample->v.mode_flags; in set_sample() 681 return sample; in set_sample() [all …]
|
/linux-4.4.14/kernel/time/ |
D | posix-cpu-timers.c | 181 unsigned long long *sample) in cpu_clock_sample() argument 187 *sample = prof_ticks(p); in cpu_clock_sample() 190 *sample = virt_ticks(p); in cpu_clock_sample() 193 *sample = task_sched_runtime(p); in cpu_clock_sample() 264 unsigned long long *sample) in cpu_clock_sample_group() argument 273 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_clock_sample_group() 277 *sample = cputime_to_expires(cputime.utime); in cpu_clock_sample_group() 281 *sample = cputime.sum_exec_runtime; in cpu_clock_sample_group() 564 unsigned long long *sample) in cpu_timer_sample_group() argument 573 *sample = cputime_to_expires(cputime.utime + cputime.stime); in cpu_timer_sample_group() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/ |
D | stmpe.txt | 8 - st,sample-time: ADC converstion time in number of clock. (0 -> 36 clocks, 1 -> 15 - st,ave-ctrl: Sample average control (0 -> 1 sample, 1 -> 2 samples, 2 -> 4 34 st,sample-time = <4>;
|
D | ti-tsc-adc.txt | 53 ti,chan-step-sampledelay: List of sample delays for each channel 56 ADC clock cycles to sample (to hold 63 by ADC to generate a sample. Valid range is 0
|
D | brcm,iproc-touchscreen.txt | 36 0 = 1 sample
|
/linux-4.4.14/Documentation/devicetree/bindings/mmc/ |
D | rockchip-dw-mshc.txt | 22 two more clocks "ciu-drive" and "ciu-sample" are supported. They are used 23 to control the clock phases, "ciu-sample" is required for tuning high- 26 * rockchip,default-sample-phase: The default phase to set ciu_sample at
|
D | sunxi-mmc.txt | 14 - clock-names : must contain "ahb", "mmc", "output" and "sample" 29 clock-names = "ahb", "mod", "output", "sample";
|
/linux-4.4.14/samples/pktgen/ |
D | README.rst | 3 This directory contains some pktgen sample and benchmark scripts, that 16 across the sample scripts. Usage example is printed on errors:: 43 See sample scripts for usage examples.
|
/linux-4.4.14/Documentation/hwmon/ |
D | ltc4245 | 88 If you have NOT configured the driver to sample all GPIO pins as analog 90 created. The driver will sample the GPIO pin that is currently connected to the 93 If you have configured the driver to sample all GPIO pins as analog voltages, 98 The LTC4245 chip can be configured to sample all GPIO pins with two methods: 102 The default mode of operation is to sample a single GPIO pin.
|
/linux-4.4.14/arch/m68k/ifpsp060/ |
D | fskeleton.S | 61 | simply execute an "rte" as with the sample code below. 75 | The sample routine below simply clears the exception status bit and 94 | The sample routine below simply clears the exception status bit and 113 | The sample routine below simply clears the exception status bit and 132 | The sample routine below simply clears the exception status bit and 151 | The sample routine below simply clears the exception status bit and 170 | The sample routine below simply clears the exception status bit and 188 | The sample routine below clears the exception status bit, clears the NaN 226 | The sample code below enables the FPU, sets the PC field in the exception stack 249 | The sample code below simply executes an "rte".
|
/linux-4.4.14/Documentation/sound/oss/ |
D | btaudio | 45 The chip gives you 16 bit stereo sound. The sample rate depends on 48 sample rate the hardware uses (32000 is the default). 51 chip which provides digital sound via I2S with 32 kHz sample rate. My 54 The Osprey-200 reportly gives you digital sound with 44100 Hz sample 68 downsampling by powers of two, so you can ask for more usual sample rates
|
D | README.ymfsb | 7 This code references YAMAHA's sample codes and data sheets. 58 with 21.739kHz sample rates rather than 22.050kHz (I think it must be 61 that specify correct sample frequency. For example, to play your MP3 file 72 Its Fs is fixed to 48kHz (It never means the sample frequency become
|
D | ESS1868 | 21 sample copy of the isapnp.conf directives regarding the ESS1868:
|
/linux-4.4.14/drivers/media/usb/msi2500/ |
D | msi2500.c | 154 u32 sample; /* for sample rate calc */ member 262 u32 sample[3]; in msi2500_convert_stream() local 268 sample[i] = src[3] << 24 | src[2] << 16 | src[1] << 8 | in msi2500_convert_stream() 270 if (i == 0 && dev->next_sample != sample[0]) { in msi2500_convert_stream() 273 sample[0] - dev->next_sample, in msi2500_convert_stream() 275 sample[0]); in msi2500_convert_stream() 298 dev->next_sample = sample[i] + 504; in msi2500_convert_stream() 320 dev->next_sample = sample[i] + 252; in msi2500_convert_stream() 330 dev->next_sample = sample[i] + 384; in msi2500_convert_stream() 337 dev->next_sample = sample[i] + 504; in msi2500_convert_stream() [all …]
|
/linux-4.4.14/include/linux/ |
D | uwb.h | 779 void stats_add_sample(struct stats *stats, s8 sample) in stats_add_sample() argument 794 if (sample < min) /* compute new values */ in stats_add_sample() 795 min = sample; in stats_add_sample() 796 else if (sample > max) in stats_add_sample() 797 max = sample; in stats_add_sample() 798 sigma += sample; in stats_add_sample()
|
D | oprofile.h | 184 struct op_sample *sample; member
|
D | wm97xx.h | 233 int (*poll_sample) (struct wm97xx *, int adcsel, int *sample);
|
/linux-4.4.14/Documentation/sound/alsa/ |
D | Audiophile-Usb.txt | 37 * sample depth of 16 or 24 bits 38 * sample rate from 8kHz to 96kHz 39 * Two interfaces can't use different sample depths at the same time. 59 to synchronize the device to an external sample clock 63 synchronization error (for instance sound played at an odd sample rate) 94 This approach has the advantage to let the driver automatically switch from sample 124 * playing an ac3 sample file to the Do port 147 * the sample depth 148 * the sample rate 177 where "test_S16_LE.raw" was in fact a little-endian sample file. [all …]
|
D | Bt87x.txt | 54 The first device (hw:X,0) gives you 16 bit stereo sound. The sample 63 sample rates are between 119466 and 448000 Hz (yes, these numbers are 65 maximum sample rate is 1792000 Hz, but audio data becomes unusable
|
D | SB-Live-mixer.txt | 7 various ways of sample processing, which is described here. 121 This control is used to attenuate sample for center PCM FX-bus accumulator. 122 ALSA uses accumulator 6 for center PCM sample. The result sample is forwarded 127 This control is used to attenuate sample for center PCM FX-bus accumulator. 128 ALSA uses accumulator 6 for center PCM sample. The result sample is forwarded 242 If this switch is on, then the sample for the center PCM is put to the 248 If this switch is on, then the sample for the center PCM is put to the
|
D | Audigy-mixer.txt | 8 various ways of sample processing, which is described here. 57 ALSA uses accumulator 6 for center PCM sample for 5.1 playback. The result sample 62 This control is used to attenuate sample for LFE PCM FX-bus accumulator. 63 ALSA uses accumulator 7 for LFE PCM sample for 5.1 playback. The result sample 182 This control is used to attenuate sample for center speaker of this mix. 187 This control is used to attenuate sample for LFE speaker of this mix.
|
/linux-4.4.14/drivers/mmc/host/ |
D | sunxi-mmc.c | 220 u32 sample; member 669 sclk_dly = host->clk_delays[SDXC_CLK_400K].sample; in sunxi_mmc_clk_set_rate() 672 sclk_dly = host->clk_delays[SDXC_CLK_25M].sample; in sunxi_mmc_clk_set_rate() 676 sclk_dly = host->clk_delays[SDXC_CLK_50M_DDR].sample; in sunxi_mmc_clk_set_rate() 679 sclk_dly = host->clk_delays[SDXC_CLK_50M].sample; in sunxi_mmc_clk_set_rate() 902 [SDXC_CLK_400K] = { .output = 180, .sample = 180 }, 903 [SDXC_CLK_25M] = { .output = 180, .sample = 75 }, 904 [SDXC_CLK_50M] = { .output = 90, .sample = 120 }, 905 [SDXC_CLK_50M_DDR] = { .output = 60, .sample = 120 }, 909 [SDXC_CLK_400K] = { .output = 180, .sample = 180 }, [all …]
|
D | dw_mmc-exynos.c | 381 static inline void dw_mci_exynos_set_clksmpl(struct dw_mci *host, u8 sample) in dw_mci_exynos_set_clksmpl() argument 391 clksel = SDMMC_CLKSEL_UP_SAMPLE(clksel, sample); in dw_mci_exynos_set_clksmpl() 403 u8 sample; in dw_mci_exynos_move_next_clksmpl() local 411 sample = (clksel + 1) & 0x7; in dw_mci_exynos_move_next_clksmpl() 412 clksel = SDMMC_CLKSEL_UP_SAMPLE(clksel, sample); in dw_mci_exynos_move_next_clksmpl() 420 return sample; in dw_mci_exynos_move_next_clksmpl()
|
/linux-4.4.14/Documentation/devicetree/bindings/sound/ |
D | designware-i2s.txt | 8 rate reference clock sample. 9 - clock-names : "i2sclk" for the sample rate reference clock.
|
D | adi,axi-i2s.txt | 8 the clock used as the sampling rate reference clock sample. 9 - clock-names : "axi" for the clock to the AXI interface, "ref" for the sample
|
D | adi,axi-spdif-tx.txt | 8 the clock used as the sampling rate reference clock sample. 9 - clock-names: "axi" for the clock to the AXI interface, "ref" for the sample
|
D | fsl,ssi.txt | 36 playback and capture to use different sample sizes and 37 sample rates. Some drivers may require that SRCK and STCK 39 together. This would still allow different sample sizes, 40 but not different sample rates.
|
D | fsl,asrc.txt | 33 - fsl,asrc-rate : Defines a mutual sample rate used by DPCM Back Ends. 35 - fsl,asrc-width : Defines a mutual sample width used by DPCM Back Ends.
|
D | da7213.txt | 19 - dlg,dmic-samplephase : When to sample audio from DMIC.
|
/linux-4.4.14/include/uapi/sound/ |
D | sfnt_info.h | 117 unsigned short sample; /* sample id */ member 162 unsigned short sample; /* sample id */ member
|
/linux-4.4.14/Documentation/devicetree/bindings/media/i2c/ |
D | tvp514x.txt | 21 - pclk-sample: Clock polarity of the endpoint. 39 pclk-sample = <0>;
|
D | tvp7002.txt | 16 - pclk-sample: Clock polarity of the bus. Default value when this property is 46 pclk-sample = <0>;
|
D | adv7604.txt | 45 - pclk-sample: Pixel clock polarity. Defaults to output on the falling edge. 47 If none of hsync-active, vsync-active and pclk-sample is specified the
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-smix-defs.h | 153 uint64_t sample:4; member 157 uint64_t sample:4; 176 uint64_t sample:4; member 180 uint64_t sample:4;
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | common-spectral.c | 46 u8 *sample; in ath_cmn_max_idx_verify_ht20_fft() local 60 sample = sample_end - SPECTRAL_HT20_SAMPLE_LEN + 1; in ath_cmn_max_idx_verify_ht20_fft() 75 if (sample[max_index] != (max_magnitude >> max_exp)) in ath_cmn_max_idx_verify_ht20_fft() 85 u8 *sample; in ath_cmn_max_idx_verify_ht20_40_fft() local 100 sample = sample_end - SPECTRAL_HT20_40_SAMPLE_LEN + 1; in ath_cmn_max_idx_verify_ht20_40_fft() 124 (sample[upper_max_index] == (upper_mag >> max_exp))) in ath_cmn_max_idx_verify_ht20_40_fft() 128 (sample[lower_max_index - dc_pos] == (lower_mag >> max_exp))) in ath_cmn_max_idx_verify_ht20_40_fft() 131 if ((sample[upper_max_index + dc_pos] != (upper_mag >> max_exp)) || in ath_cmn_max_idx_verify_ht20_40_fft() 132 (sample[lower_max_index] != (lower_mag >> max_exp))) in ath_cmn_max_idx_verify_ht20_40_fft()
|
/linux-4.4.14/drivers/hwmon/ |
D | mc13783-adc.c | 57 unsigned int sample[4]; in mc13783_adc_read() local 62 channel, 0, 0, sample); in mc13783_adc_read() 68 *val = (sample[channel % 4] >> (channel > 3 ? 14 : 2)) & 0x3ff; in mc13783_adc_read()
|
/linux-4.4.14/samples/livepatch/ |
D | Makefile | 1 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch-sample.o
|
/linux-4.4.14/Documentation/devicetree/bindings/spi/ |
D | spi-rockchip.txt | 27 - rx-sample-delay-ns: nanoseconds to delay after the SCLK edge before sampling 39 rx-sample-delay-ns = <10>;
|
/linux-4.4.14/drivers/macintosh/ |
D | rack-meter.c | 315 u32 sample = 0; in rackmeter_calc_sample() local 318 sample >>= 1; in rackmeter_calc_sample() 319 sample |= ((rm->ubuf[led] >= 0x80) << 15); in rackmeter_calc_sample() 321 return (sample << 17) | (sample >> 15); in rackmeter_calc_sample()
|
D | windfarm_pid.h | 46 extern s32 wf_pid_run(struct wf_pid_state *st, s32 sample);
|
/linux-4.4.14/tools/perf/arch/x86/include/ |
D | arch-tests.h | 13 int test__arch_unwind_sample(struct perf_sample *sample,
|
/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | capidtmf.c | 185 static void capidtmf_goertzel_loop(long *buffer, long *coeffs, short *sample, long count) in capidtmf_goertzel_loop() argument 200 … q0 = sample[j] - q2 + (c * (q1 >> 16)) + (((dword)(((dword) d) * ((dword)(q1 & 0xffff)))) >> 15); in capidtmf_goertzel_loop() 211 …q0 = sample[j] - q2 - ((c * (q1 >> 16)) + (((dword)(((dword) d) * ((dword)(q1 & 0xffff)))) >> 15)); in capidtmf_goertzel_loop() 226 …q0 = sample[j] - q2 + (c * (q1 >> 16)) + (((dword)(((dword)(c >> 1)) * ((dword)(q1 & 0xffff)))) >>… in capidtmf_goertzel_loop() 237 …q0 = sample[j] - q2 - ((c * (q1 >> 16)) + (((dword)(((dword)(c >> 1)) * ((dword)(q1 & 0xffff)))) >… in capidtmf_goertzel_loop()
|
/linux-4.4.14/sound/pci/emu10k1/ |
D | emu10k1_callback.c | 424 unsigned int val, sample; in start_voice() 427 sample = 0x80808080; in start_voice() 429 sample = 0; in start_voice() 435 snd_emu10k1_ptr_write(hw, CDE, ch, sample); in start_voice() 436 snd_emu10k1_ptr_write(hw, CDF, ch, sample); in start_voice()
|
/linux-4.4.14/Documentation/video4linux/ |
D | hauppauge-wintv-cx88-ir.txt | 40 as well. Remember, this is a free running sample of the IR receiver state 41 over time, so don't assume any sample starts at any particular place.
|
D | README.saa7134 | 74 saa7134 hardware specs and sample board.
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/ |
D | list.h | 294 #define __container_of(ptr, sample, member) \ argument 295 (void *)container_of((ptr), typeof(*(sample)), member)
|
/linux-4.4.14/Documentation/video4linux/cx88/ |
D | hauppauge-wintv-cx88-ir.txt | 40 as well. Remember, this is a free running sample of the IR receiver state 41 over time, so don't assume any sample starts at any particular place.
|
/linux-4.4.14/Documentation/devicetree/bindings/display/panel/ |
D | display-timing.txt | 31 sample data on falling edge 33 sample data on rising edge
|
/linux-4.4.14/Documentation/devicetree/bindings/rng/ |
D | timeriomem_rng.txt | 5 - reg : base address to sample from
|
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/ |
D | mvebu-devbus.txt | 47 to read data sample. This parameter is useful for 66 (no affect on first data sample). Set <rd-setup-ps> 71 - devbus,rd-hold-ps: Defines the time between the last data sample to the 74 (the cycle of the last data sample).
|
/linux-4.4.14/tools/perf/arch/arm/util/ |
D | unwind-libdw.c | 8 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers()
|
/linux-4.4.14/Documentation/devicetree/bindings/arc/ |
D | pct.txt | 9 counted, the HW events themselves cannot serve as a trigger for a sample.
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
D | dac.c | 242 uint32_t sample, testval, regoffset = nv04_dac_output_offset(encoder); in nv17_dac_sample_load() local 311 sample = NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset); in nv17_dac_sample_load() 313 sample &= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset); in nv17_dac_sample_load() 332 return sample; in nv17_dac_sample_load()
|
D | tvnv17.c | 53 uint32_t sample = 0; in nv42_tv_sample_load() local 104 sample |= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset) in nv42_tv_sample_load() 110 sample |= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset) in nv42_tv_sample_load() 126 return sample; in nv42_tv_sample_load()
|
/linux-4.4.14/drivers/char/ |
D | random.c | 796 } sample; in add_timer_randomness() local 801 sample.jiffies = jiffies; in add_timer_randomness() 802 sample.cycles = random_get_entropy(); in add_timer_randomness() 803 sample.num = num; in add_timer_randomness() 805 mix_pool_bytes(r, &sample, sizeof(sample)); in add_timer_randomness() 814 delta = sample.jiffies - state->last_time; in add_timer_randomness() 815 state->last_time = sample.jiffies; in add_timer_randomness()
|
/linux-4.4.14/drivers/staging/sm750fb/ |
D | TODO | 7 are supposed to be sample code which is given here if someone wants to
|
/linux-4.4.14/arch/powerpc/oprofile/cell/ |
D | spu_task_sync.c | 588 unsigned int sample = *(samples+i); in spu_sync_buffer() local 591 if (sample == 0) in spu_sync_buffer() 593 file_offset = vma_map_lookup( map, sample, the_spu, &grd_val); in spu_sync_buffer()
|
/linux-4.4.14/sound/soc/intel/skylake/ |
D | skl-nhlt.h | 41 } sample; member
|
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_video.c | 384 struct uvc_clock_sample *sample; in uvc_video_clock_decode() local 472 sample = &stream->clock.samples[stream->clock.head]; in uvc_video_clock_decode() 473 sample->dev_stc = get_unaligned_le32(&data[header_size - 6]); in uvc_video_clock_decode() 474 sample->dev_sof = dev_sof; in uvc_video_clock_decode() 475 sample->host_sof = host_sof; in uvc_video_clock_decode() 476 sample->host_ts = ts; in uvc_video_clock_decode() 537 static u16 uvc_video_clock_host_sof(const struct uvc_clock_sample *sample) in uvc_video_clock_host_sof() argument 542 delta_sof = (sample->host_sof - sample->dev_sof) & 255; in uvc_video_clock_host_sof() 544 return (sample->dev_sof + delta_sof) & 2047; in uvc_video_clock_host_sof()
|
/linux-4.4.14/Documentation/devicetree/bindings/media/ |
D | pxa-camera.txt | 40 pclk-sample = <1>; /* Rising */
|
D | video-interfaces.txt | 89 - pclk-sample: sample data on rising (1) or falling (0) edge of the pixel clock 157 pclk-sample = <1>; /* Rising */ 189 pclk-sample = <1>;
|
/linux-4.4.14/Documentation/devicetree/bindings/phy/ |
D | apm-xgene-phy.txt | 22 - apm,tx-eye-direction : Eye tuning manual control direction. 0 means sample 24 sample data later than the nominal sampling point.
|
/linux-4.4.14/Documentation/devicetree/bindings/clock/ |
D | nvidia,tegra124-dfll.txt | 38 - nvidia,sample-rate: Sample rate of the DFLL control loop. 71 nvidia,sample-rate = <12500>;
|
/linux-4.4.14/net/dccp/ |
D | input.c | 527 u32 sample = dp->dccps_options_received.dccpor_timestamp_echo; in dccp_rcv_respond_partopen_state_process() local 553 if (likely(sample)) { in dccp_rcv_respond_partopen_state_process() 554 long delta = dccp_timestamp() - sample; in dccp_rcv_respond_partopen_state_process()
|
/linux-4.4.14/include/sound/ |
D | soundfont.h | 40 struct snd_sf_sample *sample; /* Link to sample */ member
|
/linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
D | twl4030-audio.txt | 15 from the start of the recorded sample (in ms)
|
/linux-4.4.14/Documentation/accounting/ |
D | cgroupstats.txt | 22 has been developed, the sample output of the utility is shown below
|
/linux-4.4.14/kernel/events/ |
D | core.c | 5224 struct perf_sample_data *sample) in perf_event__output_id_sample() argument 5227 __perf_event__output_id_sample(handle, sample); in perf_event__output_id_sample() 5629 struct perf_sample_data sample; in perf_event_read_event() local 5641 perf_event_header__init_id(&read_event.header, &sample, event); in perf_event_read_event() 5648 perf_event__output_id_sample(event, &handle, &sample); in perf_event_read_event() 5753 struct perf_sample_data sample; in perf_event_task_output() local 5760 perf_event_header__init_id(&task_event->event_id.header, &sample, event); in perf_event_task_output() 5777 perf_event__output_id_sample(event, &handle, &sample); in perf_event_task_output() 5849 struct perf_sample_data sample; in perf_event_comm_output() local 5856 perf_event_header__init_id(&comm_event->event_id.header, &sample, event); in perf_event_comm_output() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/iio/adc/ |
D | vf610-adc.txt | 20 - min-sample-time: Minimum sampling time in nanoseconds. This value has
|
/linux-4.4.14/Documentation/devicetree/bindings/staging/iio/adc/ |
D | mxs-lradc.txt | 19 - fsl,settling: delay between plate switch to next sample. Allowed value is
|
/linux-4.4.14/tools/perf/scripts/python/ |
D | event_analyzing_sample.py | 72 sample = param_dict["sample"]
|
/linux-4.4.14/tools/power/cpupower/bench/ |
D | README-BENCH | 81 below possible ondemand sample kick ins (1)): 85 switching up (compare with below possible ondemand sample kick ins (2))::
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 203 unsigned short sample; in waveform_ai_timer() local 205 sample = fake_waveform(dev, CR_CHAN(chanspec), in waveform_ai_timer() 207 if (comedi_buf_write_samples(s, &sample, 1) == 0) in waveform_ai_timer()
|
D | adv_pci1710.c | 358 unsigned int sample; in pci171x_ai_read_sample() local 361 sample = inw(dev->iobase + PCI171X_AD_DATA_REG); in pci171x_ai_read_sample() 368 chan = sample >> 12; in pci171x_ai_read_sample() 376 *val = sample & s->maxdata; in pci171x_ai_read_sample()
|
/linux-4.4.14/Documentation/devicetree/bindings/media/xilinx/ |
D | video.txt | 25 - xlnx,video-width: This property qualifies the video format with the sample
|
/linux-4.4.14/drivers/net/caif/ |
D | Kconfig | 23 platform specific SPI device. A sample CAIF SPI Platform device is
|
/linux-4.4.14/Documentation/ia64/ |
D | err_inject.txt | 11 sample. The driver provides interface to PAL to inject error 13 arch/ia64/kernel/err_inject.c. The application sample (shown below) 22 Below is a sample application as part of the whole tool. The sample 27 The sample application takes err.conf as error configuration input. GCC 29 this sample application to inject errors. 64 The sample application source code:
|
/linux-4.4.14/arch/powerpc/oprofile/ |
D | op_model_cell.c | 1494 u32 sample; in cell_handle_interrupt_spu() local 1511 sample = 0xABCDEF; in cell_handle_interrupt_spu() 1561 sample = trace_entry >> 14; in cell_handle_interrupt_spu() 1572 spu_sync_buffer(spu_num, &sample, 1); in cell_handle_interrupt_spu()
|
/linux-4.4.14/net/dccp/ccids/ |
D | ccid3.c | 764 const u32 sample = tfrc_rx_hist_sample_rtt(&hc->rx_hist, skb); in ccid3_hc_rx_packet_recv() local 770 if (sample != 0) in ccid3_hc_rx_packet_recv() 771 hc->rx_rtt = tfrc_ewma(hc->rx_rtt, sample, 9); in ccid3_hc_rx_packet_recv()
|
/linux-4.4.14/Documentation/hid/ |
D | hid-sensor.txt | 82 int (*capture_sample)(..): Capture a sample for one of its data fields 139 to poll for any field. If there is some new sample, the core driver will call 140 registered callback function to process the sample.
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4_en.h | 179 #define AVG_PERF_COUNTER(cnt, sample) \ argument 180 ((cnt) = ((cnt) * (AVG_SIZE - 1) + (sample) * AVG_FACTOR) / AVG_SIZE) 188 #define AVG_PERF_COUNTER(cnt, sample) do {} while (0) argument
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | imx53-m53.dtsi | 68 st,sample-time = <4>;
|
/linux-4.4.14/Documentation/w1/ |
D | w1.generic | 68 (write_bit) and sample the signal level (read_bit). 71 sample a bit (touch_bit) and reset the bus (reset_bus).
|
/linux-4.4.14/include/linux/mfd/ |
D | mc13xxx.h | 35 u8 ato, bool atox, unsigned int *sample);
|
/linux-4.4.14/drivers/mfd/ |
D | mc13xxx-core.c | 257 unsigned int *sample) in mc13xxx_adc_do_conversion() argument 333 MC13XXX_ADC2, &sample[i]); in mc13xxx_adc_do_conversion()
|
/linux-4.4.14/drivers/media/usb/airspy/ |
D | airspy.c | 156 unsigned int sample; member 260 unsigned int samples = s->sample - s->sample_measured; in airspy_convert_stream() 263 s->sample_measured = s->sample; in airspy_convert_stream() 270 s->sample += src_len / 2; in airspy_convert_stream()
|