Searched refs:box (Results 1 - 180 of 180) sorted by relevance

/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_intel_uncore.h81 struct intel_uncore_box ** __percpu box; member in struct:intel_uncore_pmu
105 u64 hrtimer_duration; /* hrtimer timeout for this box */
140 static inline unsigned uncore_pci_box_ctl(struct intel_uncore_box *box) uncore_pci_box_ctl() argument
142 return box->pmu->type->box_ctl; uncore_pci_box_ctl()
145 static inline unsigned uncore_pci_fixed_ctl(struct intel_uncore_box *box) uncore_pci_fixed_ctl() argument
147 return box->pmu->type->fixed_ctl; uncore_pci_fixed_ctl()
150 static inline unsigned uncore_pci_fixed_ctr(struct intel_uncore_box *box) uncore_pci_fixed_ctr() argument
152 return box->pmu->type->fixed_ctr; uncore_pci_fixed_ctr()
156 unsigned uncore_pci_event_ctl(struct intel_uncore_box *box, int idx) uncore_pci_event_ctl() argument
158 return idx * 4 + box->pmu->type->event_ctl; uncore_pci_event_ctl()
162 unsigned uncore_pci_perf_ctr(struct intel_uncore_box *box, int idx) uncore_pci_perf_ctr() argument
164 return idx * 8 + box->pmu->type->perf_ctr; uncore_pci_perf_ctr()
167 static inline unsigned uncore_msr_box_offset(struct intel_uncore_box *box) uncore_msr_box_offset() argument
169 struct intel_uncore_pmu *pmu = box->pmu; uncore_msr_box_offset()
175 static inline unsigned uncore_msr_box_ctl(struct intel_uncore_box *box) uncore_msr_box_ctl() argument
177 if (!box->pmu->type->box_ctl) uncore_msr_box_ctl()
179 return box->pmu->type->box_ctl + uncore_msr_box_offset(box); uncore_msr_box_ctl()
182 static inline unsigned uncore_msr_fixed_ctl(struct intel_uncore_box *box) uncore_msr_fixed_ctl() argument
184 if (!box->pmu->type->fixed_ctl) uncore_msr_fixed_ctl()
186 return box->pmu->type->fixed_ctl + uncore_msr_box_offset(box); uncore_msr_fixed_ctl()
189 static inline unsigned uncore_msr_fixed_ctr(struct intel_uncore_box *box) uncore_msr_fixed_ctr() argument
191 return box->pmu->type->fixed_ctr + uncore_msr_box_offset(box); uncore_msr_fixed_ctr()
195 unsigned uncore_msr_event_ctl(struct intel_uncore_box *box, int idx) uncore_msr_event_ctl() argument
197 return box->pmu->type->event_ctl + uncore_msr_event_ctl()
198 (box->pmu->type->pair_ctr_ctl ? 2 * idx : idx) + uncore_msr_event_ctl()
199 uncore_msr_box_offset(box); uncore_msr_event_ctl()
203 unsigned uncore_msr_perf_ctr(struct intel_uncore_box *box, int idx) uncore_msr_perf_ctr() argument
205 return box->pmu->type->perf_ctr + uncore_msr_perf_ctr()
206 (box->pmu->type->pair_ctr_ctl ? 2 * idx : idx) + uncore_msr_perf_ctr()
207 uncore_msr_box_offset(box); uncore_msr_perf_ctr()
211 unsigned uncore_fixed_ctl(struct intel_uncore_box *box) uncore_fixed_ctl() argument
213 if (box->pci_dev) uncore_fixed_ctl()
214 return uncore_pci_fixed_ctl(box); uncore_fixed_ctl()
216 return uncore_msr_fixed_ctl(box); uncore_fixed_ctl()
220 unsigned uncore_fixed_ctr(struct intel_uncore_box *box) uncore_fixed_ctr() argument
222 if (box->pci_dev) uncore_fixed_ctr()
223 return uncore_pci_fixed_ctr(box); uncore_fixed_ctr()
225 return uncore_msr_fixed_ctr(box); uncore_fixed_ctr()
229 unsigned uncore_event_ctl(struct intel_uncore_box *box, int idx) uncore_event_ctl() argument
231 if (box->pci_dev) uncore_event_ctl()
232 return uncore_pci_event_ctl(box, idx); uncore_event_ctl()
234 return uncore_msr_event_ctl(box, idx); uncore_event_ctl()
238 unsigned uncore_perf_ctr(struct intel_uncore_box *box, int idx) uncore_perf_ctr() argument
240 if (box->pci_dev) uncore_perf_ctr()
241 return uncore_pci_perf_ctr(box, idx); uncore_perf_ctr()
243 return uncore_msr_perf_ctr(box, idx); uncore_perf_ctr()
246 static inline int uncore_perf_ctr_bits(struct intel_uncore_box *box) uncore_perf_ctr_bits() argument
248 return box->pmu->type->perf_ctr_bits; uncore_perf_ctr_bits()
251 static inline int uncore_fixed_ctr_bits(struct intel_uncore_box *box) uncore_fixed_ctr_bits() argument
253 return box->pmu->type->fixed_ctr_bits; uncore_fixed_ctr_bits()
256 static inline int uncore_num_counters(struct intel_uncore_box *box) uncore_num_counters() argument
258 return box->pmu->type->num_counters; uncore_num_counters()
261 static inline void uncore_disable_box(struct intel_uncore_box *box) uncore_disable_box() argument
263 if (box->pmu->type->ops->disable_box) uncore_disable_box()
264 box->pmu->type->ops->disable_box(box); uncore_disable_box()
267 static inline void uncore_enable_box(struct intel_uncore_box *box) uncore_enable_box() argument
269 if (box->pmu->type->ops->enable_box) uncore_enable_box()
270 box->pmu->type->ops->enable_box(box); uncore_enable_box()
273 static inline void uncore_disable_event(struct intel_uncore_box *box, uncore_disable_event() argument
276 box->pmu->type->ops->disable_event(box, event); uncore_disable_event()
279 static inline void uncore_enable_event(struct intel_uncore_box *box, uncore_enable_event() argument
282 box->pmu->type->ops->enable_event(box, event); uncore_enable_event()
285 static inline u64 uncore_read_counter(struct intel_uncore_box *box, uncore_read_counter() argument
288 return box->pmu->type->ops->read_counter(box, event); uncore_read_counter()
291 static inline void uncore_box_init(struct intel_uncore_box *box) uncore_box_init() argument
293 if (!test_and_set_bit(UNCORE_BOX_FLAG_INITIATED, &box->flags)) { uncore_box_init()
294 if (box->pmu->type->ops->init_box) uncore_box_init()
295 box->pmu->type->ops->init_box(box); uncore_box_init()
299 static inline bool uncore_box_is_fake(struct intel_uncore_box *box) uncore_box_is_fake() argument
301 return (box->phys_id < 0); uncore_box_is_fake()
307 u64 uncore_msr_read_counter(struct intel_uncore_box *box, struct perf_event *event);
308 void uncore_pmu_start_hrtimer(struct intel_uncore_box *box);
309 void uncore_pmu_cancel_hrtimer(struct intel_uncore_box *box);
311 void uncore_perf_event_update(struct intel_uncore_box *box, struct perf_event *event);
313 uncore_get_constraint(struct intel_uncore_box *box, struct perf_event *event);
314 void uncore_put_constraint(struct intel_uncore_box *box, struct perf_event *event);
315 u64 uncore_shared_reg_config(struct intel_uncore_box *box, int idx);
H A Dperf_event_intel_uncore.c38 struct intel_uncore_box *box; uncore_pmu_to_box() local
40 box = *per_cpu_ptr(pmu->box, cpu); uncore_pmu_to_box()
41 if (box) uncore_pmu_to_box()
42 return box; uncore_pmu_to_box()
46 if (*per_cpu_ptr(pmu->box, cpu)) uncore_pmu_to_box()
48 list_for_each_entry(box, &pmu->box_list, list) { uncore_pmu_to_box()
49 if (box->phys_id == topology_physical_package_id(cpu)) { uncore_pmu_to_box()
50 atomic_inc(&box->refcnt); uncore_pmu_to_box()
51 *per_cpu_ptr(pmu->box, cpu) = box; uncore_pmu_to_box()
58 return *per_cpu_ptr(pmu->box, cpu); uncore_pmu_to_box()
70 u64 uncore_msr_read_counter(struct intel_uncore_box *box, struct perf_event *event) uncore_msr_read_counter() argument
83 uncore_get_constraint(struct intel_uncore_box *box, struct perf_event *event) uncore_get_constraint() argument
92 * reg->alloc can be set due to existing state, so for fake box we uncore_get_constraint()
97 (!uncore_box_is_fake(box) && reg1->alloc)) uncore_get_constraint()
100 er = &box->shared_regs[reg1->idx]; uncore_get_constraint()
112 if (!uncore_box_is_fake(box)) uncore_get_constraint()
120 void uncore_put_constraint(struct intel_uncore_box *box, struct perf_event *event) uncore_put_constraint() argument
129 * Also, if this is a fake box we shouldn't touch any event state uncore_put_constraint()
130 * (reg->alloc) and we don't care about leaving inconsistent box uncore_put_constraint()
133 if (uncore_box_is_fake(box) || !reg1->alloc) uncore_put_constraint()
136 er = &box->shared_regs[reg1->idx]; uncore_put_constraint()
141 u64 uncore_shared_reg_config(struct intel_uncore_box *box, int idx) uncore_shared_reg_config() argument
147 er = &box->shared_regs[idx]; uncore_shared_reg_config()
156 static void uncore_assign_hw_event(struct intel_uncore_box *box, struct perf_event *event, int idx) uncore_assign_hw_event() argument
161 hwc->last_tag = ++box->tags[idx]; uncore_assign_hw_event()
164 hwc->event_base = uncore_fixed_ctr(box); uncore_assign_hw_event()
165 hwc->config_base = uncore_fixed_ctl(box); uncore_assign_hw_event()
169 hwc->config_base = uncore_event_ctl(box, hwc->idx); uncore_assign_hw_event()
170 hwc->event_base = uncore_perf_ctr(box, hwc->idx); uncore_assign_hw_event()
173 void uncore_perf_event_update(struct intel_uncore_box *box, struct perf_event *event) uncore_perf_event_update() argument
179 shift = 64 - uncore_fixed_ctr_bits(box); uncore_perf_event_update()
181 shift = 64 - uncore_perf_ctr_bits(box); uncore_perf_event_update()
186 new_count = uncore_read_counter(box, event); uncore_perf_event_update()
203 struct intel_uncore_box *box; uncore_pmu_hrtimer() local
208 box = container_of(hrtimer, struct intel_uncore_box, hrtimer); uncore_pmu_hrtimer()
209 if (!box->n_active || box->cpu != smp_processor_id()) uncore_pmu_hrtimer()
221 list_for_each_entry(event, &box->active_list, active_entry) { uncore_pmu_hrtimer()
222 uncore_perf_event_update(box, event); uncore_pmu_hrtimer()
225 for_each_set_bit(bit, box->active_mask, UNCORE_PMC_IDX_MAX) uncore_pmu_hrtimer()
226 uncore_perf_event_update(box, box->events[bit]); uncore_pmu_hrtimer()
230 hrtimer_forward_now(hrtimer, ns_to_ktime(box->hrtimer_duration)); uncore_pmu_hrtimer()
234 void uncore_pmu_start_hrtimer(struct intel_uncore_box *box) uncore_pmu_start_hrtimer() argument
236 __hrtimer_start_range_ns(&box->hrtimer, uncore_pmu_start_hrtimer()
237 ns_to_ktime(box->hrtimer_duration), 0, uncore_pmu_start_hrtimer()
241 void uncore_pmu_cancel_hrtimer(struct intel_uncore_box *box) uncore_pmu_cancel_hrtimer() argument
243 hrtimer_cancel(&box->hrtimer); uncore_pmu_cancel_hrtimer()
246 static void uncore_pmu_init_hrtimer(struct intel_uncore_box *box) uncore_pmu_init_hrtimer() argument
248 hrtimer_init(&box->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); uncore_pmu_init_hrtimer()
249 box->hrtimer.function = uncore_pmu_hrtimer; uncore_pmu_init_hrtimer()
254 struct intel_uncore_box *box; uncore_alloc_box() local
257 size = sizeof(*box) + type->num_shared_regs * sizeof(struct intel_uncore_extra_reg); uncore_alloc_box()
259 box = kzalloc_node(size, GFP_KERNEL, node); uncore_alloc_box()
260 if (!box) uncore_alloc_box()
264 raw_spin_lock_init(&box->shared_regs[i].lock); uncore_alloc_box()
266 uncore_pmu_init_hrtimer(box); uncore_alloc_box()
267 atomic_set(&box->refcnt, 1); uncore_alloc_box()
268 box->cpu = -1; uncore_alloc_box()
269 box->phys_id = -1; uncore_alloc_box()
272 box->hrtimer_duration = UNCORE_PMU_HRTIMER_INTERVAL; uncore_alloc_box()
274 INIT_LIST_HEAD(&box->active_list); uncore_alloc_box()
276 return box; uncore_alloc_box()
291 uncore_collect_events(struct intel_uncore_box *box, struct perf_event *leader, bool dogrp) uncore_collect_events() argument
296 max_count = box->pmu->type->num_counters; uncore_collect_events()
297 if (box->pmu->type->fixed_ctl) uncore_collect_events()
300 if (box->n_events >= max_count) uncore_collect_events()
303 n = box->n_events; uncore_collect_events()
306 box->event_list[n] = leader; uncore_collect_events()
321 box->event_list[n] = event; uncore_collect_events()
328 uncore_get_event_constraint(struct intel_uncore_box *box, struct perf_event *event) uncore_get_event_constraint() argument
330 struct intel_uncore_type *type = box->pmu->type; uncore_get_event_constraint()
334 c = type->ops->get_constraint(box, event); uncore_get_event_constraint()
352 static void uncore_put_event_constraint(struct intel_uncore_box *box, struct perf_event *event) uncore_put_event_constraint() argument
354 if (box->pmu->type->ops->put_constraint) uncore_put_event_constraint()
355 box->pmu->type->ops->put_constraint(box, event); uncore_put_event_constraint()
358 static int uncore_assign_events(struct intel_uncore_box *box, int assign[], int n) uncore_assign_events() argument
368 c = uncore_get_event_constraint(box, box->event_list[i]); uncore_assign_events()
369 box->event_constraint[i] = c; uncore_assign_events()
376 hwc = &box->event_list[i]->hw; uncore_assign_events()
377 c = box->event_constraint[i]; uncore_assign_events()
397 ret = perf_assign_events(box->event_constraint, n, uncore_assign_events()
402 uncore_put_event_constraint(box, box->event_list[i]); uncore_assign_events()
409 struct intel_uncore_box *box = uncore_event_to_box(event); uncore_pmu_event_start() local
419 box->events[idx] = event; uncore_pmu_event_start()
420 box->n_active++; uncore_pmu_event_start()
421 __set_bit(idx, box->active_mask); uncore_pmu_event_start()
423 local64_set(&event->hw.prev_count, uncore_read_counter(box, event)); uncore_pmu_event_start()
424 uncore_enable_event(box, event); uncore_pmu_event_start()
426 if (box->n_active == 1) { uncore_pmu_event_start()
427 uncore_enable_box(box); uncore_pmu_event_start()
428 uncore_pmu_start_hrtimer(box); uncore_pmu_event_start()
434 struct intel_uncore_box *box = uncore_event_to_box(event); uncore_pmu_event_stop() local
437 if (__test_and_clear_bit(hwc->idx, box->active_mask)) { uncore_pmu_event_stop()
438 uncore_disable_event(box, event); uncore_pmu_event_stop()
439 box->n_active--; uncore_pmu_event_stop()
440 box->events[hwc->idx] = NULL; uncore_pmu_event_stop()
444 if (box->n_active == 0) { uncore_pmu_event_stop()
445 uncore_disable_box(box); uncore_pmu_event_stop()
446 uncore_pmu_cancel_hrtimer(box); uncore_pmu_event_stop()
455 uncore_perf_event_update(box, event); uncore_pmu_event_stop()
462 struct intel_uncore_box *box = uncore_event_to_box(event); uncore_pmu_event_add() local
467 if (!box) uncore_pmu_event_add()
470 ret = n = uncore_collect_events(box, event, false); uncore_pmu_event_add()
478 ret = uncore_assign_events(box, assign, n); uncore_pmu_event_add()
483 for (i = 0; i < box->n_events; i++) { uncore_pmu_event_add()
484 event = box->event_list[i]; uncore_pmu_event_add()
488 hwc->last_tag == box->tags[assign[i]]) uncore_pmu_event_add()
502 event = box->event_list[i]; uncore_pmu_event_add()
506 hwc->last_tag != box->tags[assign[i]]) uncore_pmu_event_add()
507 uncore_assign_hw_event(box, event, assign[i]); uncore_pmu_event_add()
508 else if (i < box->n_events) uncore_pmu_event_add()
516 box->n_events = n; uncore_pmu_event_add()
523 struct intel_uncore_box *box = uncore_event_to_box(event); uncore_pmu_event_del() local
528 for (i = 0; i < box->n_events; i++) { uncore_pmu_event_del()
529 if (event == box->event_list[i]) { uncore_pmu_event_del()
530 uncore_put_event_constraint(box, event); uncore_pmu_event_del()
532 while (++i < box->n_events) uncore_pmu_event_del()
533 box->event_list[i - 1] = box->event_list[i]; uncore_pmu_event_del()
535 --box->n_events; uncore_pmu_event_del()
546 struct intel_uncore_box *box = uncore_event_to_box(event); uncore_pmu_event_read() local
547 uncore_perf_event_update(box, event); uncore_pmu_event_read()
592 struct intel_uncore_box *box; uncore_pmu_event_init() local
622 box = uncore_pmu_to_box(pmu, event->cpu); uncore_pmu_event_init()
623 if (!box || box->cpu < 0) uncore_pmu_event_init()
625 event->cpu = box->cpu; uncore_pmu_event_init()
648 ret = pmu->type->ops->hw_config(box, event); uncore_pmu_event_init()
718 free_percpu(type->pmus[i].box); uncore_type_exit()
754 pmus[i].box = alloc_percpu(struct intel_uncore_box *); uncore_type_init()
755 if (!pmus[i].box) uncore_type_init()
808 struct intel_uncore_box *box; uncore_pci_probe() local
825 box = uncore_alloc_box(type, NUMA_NO_NODE); uncore_pci_probe()
826 if (!box) uncore_pci_probe()
831 * each box has a different function id. uncore_pci_probe()
839 box->phys_id = phys_id; uncore_pci_probe()
840 box->pci_dev = pdev; uncore_pci_probe()
841 box->pmu = pmu; uncore_pci_probe()
842 uncore_box_init(box); uncore_pci_probe()
843 pci_set_drvdata(pdev, box); uncore_pci_probe()
848 list_add_tail(&box->list, &pmu->box_list); uncore_pci_probe()
858 struct intel_uncore_box *box = pci_get_drvdata(pdev); uncore_pci_remove() local
863 box = pci_get_drvdata(pdev); uncore_pci_remove()
864 if (!box) { uncore_pci_remove()
875 pmu = box->pmu; uncore_pci_remove()
876 if (WARN_ON_ONCE(phys_id != box->phys_id)) uncore_pci_remove()
882 list_del(&box->list); uncore_pci_remove()
888 if (*per_cpu_ptr(pmu->box, cpu) == box) { for_each_possible_cpu()
889 *per_cpu_ptr(pmu->box, cpu) = NULL; for_each_possible_cpu()
890 atomic_dec(&box->refcnt); for_each_possible_cpu()
894 WARN_ON_ONCE(atomic_read(&box->refcnt) != 1);
895 kfree(box);
962 struct intel_uncore_box *box; uncore_kfree_boxes() local
965 box = list_entry(boxes_to_free.next, uncore_kfree_boxes()
967 list_del(&box->list); uncore_kfree_boxes()
968 kfree(box); uncore_kfree_boxes()
976 struct intel_uncore_box *box; uncore_cpu_dying() local
983 box = *per_cpu_ptr(pmu->box, cpu); uncore_cpu_dying()
984 *per_cpu_ptr(pmu->box, cpu) = NULL; uncore_cpu_dying()
985 if (box && atomic_dec_and_test(&box->refcnt)) uncore_cpu_dying()
986 list_add(&box->list, &boxes_to_free); uncore_cpu_dying()
995 struct intel_uncore_box *box, *exist; uncore_cpu_starting() local
1004 box = *per_cpu_ptr(pmu->box, cpu); uncore_cpu_starting()
1006 if (box && box->phys_id >= 0) { uncore_cpu_starting()
1007 uncore_box_init(box); uncore_cpu_starting()
1012 exist = *per_cpu_ptr(pmu->box, k); for_each_online_cpu()
1015 *per_cpu_ptr(pmu->box, cpu) = exist; for_each_online_cpu()
1016 if (box) { for_each_online_cpu()
1017 list_add(&box->list, for_each_online_cpu()
1019 box = NULL; for_each_online_cpu()
1025 if (box) {
1026 box->phys_id = phys_id;
1027 uncore_box_init(box);
1038 struct intel_uncore_box *box; uncore_cpu_prepare() local
1048 box = uncore_alloc_box(type, cpu_to_node(cpu)); uncore_cpu_prepare()
1049 if (!box) uncore_cpu_prepare()
1052 box->pmu = pmu; uncore_cpu_prepare()
1053 box->phys_id = phys_id; uncore_cpu_prepare()
1054 *per_cpu_ptr(pmu->box, cpu) = box; uncore_cpu_prepare()
1065 struct intel_uncore_box *box; uncore_change_context() local
1073 box = uncore_pmu_to_box(pmu, new_cpu); uncore_change_context()
1075 box = uncore_pmu_to_box(pmu, old_cpu); uncore_change_context()
1076 if (!box) uncore_change_context()
1080 WARN_ON_ONCE(box->cpu != -1); uncore_change_context()
1081 box->cpu = new_cpu; uncore_change_context()
1085 WARN_ON_ONCE(box->cpu != old_cpu); uncore_change_context()
1087 uncore_pmu_cancel_hrtimer(box); uncore_change_context()
1090 box->cpu = new_cpu; uncore_change_context()
1092 box->cpu = -1; uncore_change_context()
1147 /* allocate/free data structure for uncore box */ uncore_cpu_notifier()
H A Dperf_event_intel_uncore_snb.c68 static void snb_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_msr_enable_event() argument
78 static void snb_uncore_msr_disable_event(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_msr_disable_event() argument
83 static void snb_uncore_msr_init_box(struct intel_uncore_box *box) snb_uncore_msr_init_box() argument
85 if (box->pmu->pmu_idx == 0) { snb_uncore_msr_init_box()
192 static void snb_uncore_imc_init_box(struct intel_uncore_box *box) snb_uncore_imc_init_box() argument
194 struct pci_dev *pdev = box->pci_dev; snb_uncore_imc_init_box()
209 box->io_addr = ioremap(addr, SNB_UNCORE_PCI_IMC_MAP_SIZE); snb_uncore_imc_init_box()
210 box->hrtimer_duration = UNCORE_SNB_IMC_HRTIMER_INTERVAL; snb_uncore_imc_init_box()
213 static void snb_uncore_imc_enable_box(struct intel_uncore_box *box) snb_uncore_imc_enable_box() argument
216 static void snb_uncore_imc_disable_box(struct intel_uncore_box *box) snb_uncore_imc_disable_box() argument
219 static void snb_uncore_imc_enable_event(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_enable_event() argument
222 static void snb_uncore_imc_disable_event(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_disable_event() argument
225 static u64 snb_uncore_imc_read_counter(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_read_counter() argument
229 return (u64)*(unsigned int *)(box->io_addr + hwc->event_base); snb_uncore_imc_read_counter()
240 struct intel_uncore_box *box; snb_uncore_imc_event_init() local
278 box = uncore_pmu_to_box(pmu, event->cpu); snb_uncore_imc_event_init()
279 if (!box || box->cpu < 0) snb_uncore_imc_event_init()
282 event->cpu = box->cpu; snb_uncore_imc_event_init()
314 static int snb_uncore_imc_hw_config(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_hw_config() argument
321 struct intel_uncore_box *box = uncore_event_to_box(event); snb_uncore_imc_event_start() local
328 box->n_active++; snb_uncore_imc_event_start()
330 list_add_tail(&event->active_entry, &box->active_list); snb_uncore_imc_event_start()
332 count = snb_uncore_imc_read_counter(box, event); snb_uncore_imc_event_start()
335 if (box->n_active == 1) snb_uncore_imc_event_start()
336 uncore_pmu_start_hrtimer(box); snb_uncore_imc_event_start()
341 struct intel_uncore_box *box = uncore_event_to_box(event); snb_uncore_imc_event_stop() local
345 box->n_active--; snb_uncore_imc_event_stop()
352 if (box->n_active == 0) snb_uncore_imc_event_stop()
353 uncore_pmu_cancel_hrtimer(box); snb_uncore_imc_event_stop()
361 uncore_perf_event_update(box, event); snb_uncore_imc_event_stop()
368 struct intel_uncore_box *box = uncore_event_to_box(event); snb_uncore_imc_event_add() local
371 if (!box) snb_uncore_imc_event_add()
380 box->n_events++; snb_uncore_imc_event_add()
387 struct intel_uncore_box *box = uncore_event_to_box(event); snb_uncore_imc_event_del() local
392 for (i = 0; i < box->n_events; i++) { snb_uncore_imc_event_del()
393 if (event == box->event_list[i]) { snb_uncore_imc_event_del()
394 --box->n_events; snb_uncore_imc_event_del()
567 static void nhm_uncore_msr_disable_box(struct intel_uncore_box *box) nhm_uncore_msr_disable_box() argument
572 static void nhm_uncore_msr_enable_box(struct intel_uncore_box *box) nhm_uncore_msr_enable_box() argument
577 static void nhm_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) nhm_uncore_msr_enable_event() argument
H A Dperf_event_intel_uncore_nhmex.c199 static void nhmex_uncore_msr_init_box(struct intel_uncore_box *box) nhmex_uncore_msr_init_box() argument
204 static void nhmex_uncore_msr_disable_box(struct intel_uncore_box *box) nhmex_uncore_msr_disable_box() argument
206 unsigned msr = uncore_msr_box_ctl(box); nhmex_uncore_msr_disable_box()
211 config &= ~((1ULL << uncore_num_counters(box)) - 1); nhmex_uncore_msr_disable_box()
213 if (uncore_msr_fixed_ctl(box)) nhmex_uncore_msr_disable_box()
219 static void nhmex_uncore_msr_enable_box(struct intel_uncore_box *box) nhmex_uncore_msr_enable_box() argument
221 unsigned msr = uncore_msr_box_ctl(box); nhmex_uncore_msr_enable_box()
226 config |= (1ULL << uncore_num_counters(box)) - 1; nhmex_uncore_msr_enable_box()
228 if (uncore_msr_fixed_ctl(box)) nhmex_uncore_msr_enable_box()
234 static void nhmex_uncore_msr_disable_event(struct intel_uncore_box *box, struct perf_event *event) nhmex_uncore_msr_disable_event() argument
239 static void nhmex_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) nhmex_uncore_msr_enable_event() argument
245 else if (box->pmu->type->event_mask & NHMEX_PMON_CTL_EN_BIT0) nhmex_uncore_msr_enable_event()
343 static int nhmex_bbox_hw_config(struct intel_uncore_box *box, struct perf_event *event) nhmex_bbox_hw_config() argument
360 if (box->pmu->pmu_idx == 0) nhmex_bbox_hw_config()
370 static void nhmex_bbox_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) nhmex_bbox_msr_enable_event() argument
434 static int nhmex_sbox_hw_config(struct intel_uncore_box *box, struct perf_event *event) nhmex_sbox_hw_config() argument
445 if (box->pmu->pmu_idx == 0) nhmex_sbox_hw_config()
455 static void nhmex_sbox_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) nhmex_sbox_msr_enable_event() argument
546 static bool nhmex_mbox_get_shared_reg(struct intel_uncore_box *box, int idx, u64 config) nhmex_mbox_get_shared_reg() argument
554 er = &box->shared_regs[idx]; nhmex_mbox_get_shared_reg()
579 er = &box->shared_regs[EXTRA_REG_NHMEX_M_ZDP_CTL_FVC]; nhmex_mbox_get_shared_reg()
607 static void nhmex_mbox_put_shared_reg(struct intel_uncore_box *box, int idx) nhmex_mbox_put_shared_reg() argument
612 er = &box->shared_regs[idx]; nhmex_mbox_put_shared_reg()
618 er = &box->shared_regs[EXTRA_REG_NHMEX_M_ZDP_CTL_FVC]; nhmex_mbox_put_shared_reg()
662 nhmex_mbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event) nhmex_mbox_get_constraint() argument
673 if (!uncore_box_is_fake(box) && (reg1->alloc & (0x1 << i))) nhmex_mbox_get_constraint()
679 if (!nhmex_mbox_get_shared_reg(box, idx[i], nhmex_mbox_get_constraint()
687 (uncore_box_is_fake(box) || !reg2->alloc) && nhmex_mbox_get_constraint()
688 !nhmex_mbox_get_shared_reg(box, reg2->idx, reg2->config)) nhmex_mbox_get_constraint()
692 * If it's a fake box -- as per validate_{group,event}() we nhmex_mbox_get_constraint()
697 if (!uncore_box_is_fake(box)) { nhmex_mbox_get_constraint()
725 nhmex_mbox_put_shared_reg(box, idx[0]); nhmex_mbox_get_constraint()
727 nhmex_mbox_put_shared_reg(box, idx[1]); nhmex_mbox_get_constraint()
731 static void nhmex_mbox_put_constraint(struct intel_uncore_box *box, struct perf_event *event) nhmex_mbox_put_constraint() argument
736 if (uncore_box_is_fake(box)) nhmex_mbox_put_constraint()
740 nhmex_mbox_put_shared_reg(box, __BITS_VALUE(reg1->idx, 0, 8)); nhmex_mbox_put_constraint()
742 nhmex_mbox_put_shared_reg(box, __BITS_VALUE(reg1->idx, 1, 8)); nhmex_mbox_put_constraint()
746 nhmex_mbox_put_shared_reg(box, reg2->idx); nhmex_mbox_put_constraint()
758 static int nhmex_mbox_hw_config(struct intel_uncore_box *box, struct perf_event *event) nhmex_mbox_hw_config() argument
760 struct intel_uncore_type *type = box->pmu->type; nhmex_mbox_hw_config()
777 msr = er->msr + type->msr_offset * box->pmu->pmu_idx; nhmex_mbox_hw_config()
804 if (box->pmu->pmu_idx == 0) nhmex_mbox_hw_config()
812 static u64 nhmex_mbox_shared_reg_config(struct intel_uncore_box *box, int idx) nhmex_mbox_shared_reg_config() argument
819 return box->shared_regs[idx].config; nhmex_mbox_shared_reg_config()
821 er = &box->shared_regs[EXTRA_REG_NHMEX_M_ZDP_CTL_FVC]; nhmex_mbox_shared_reg_config()
828 static void nhmex_mbox_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) nhmex_mbox_msr_enable_event() argument
838 nhmex_mbox_shared_reg_config(box, idx)); nhmex_mbox_msr_enable_event()
842 nhmex_mbox_shared_reg_config(box, idx)); nhmex_mbox_msr_enable_event()
937 static void nhmex_rbox_alter_er(struct intel_uncore_box *box, struct perf_event *event) nhmex_rbox_alter_er() argument
971 nhmex_rbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event) nhmex_rbox_get_constraint() argument
982 if (!uncore_box_is_fake(box) && reg1->alloc) nhmex_rbox_get_constraint()
994 er = &box->shared_regs[er_idx]; nhmex_rbox_get_constraint()
1045 if (!uncore_box_is_fake(box)) { nhmex_rbox_get_constraint()
1047 nhmex_rbox_alter_er(box, event); nhmex_rbox_get_constraint()
1055 static void nhmex_rbox_put_constraint(struct intel_uncore_box *box, struct perf_event *event) nhmex_rbox_put_constraint() argument
1061 if (uncore_box_is_fake(box) || !reg1->alloc) nhmex_rbox_put_constraint()
1070 er = &box->shared_regs[er_idx]; nhmex_rbox_put_constraint()
1079 static int nhmex_rbox_hw_config(struct intel_uncore_box *box, struct perf_event *event) nhmex_rbox_hw_config() argument
1104 static void nhmex_rbox_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) nhmex_rbox_msr_enable_event() argument
1112 port = idx / 6 + box->pmu->pmu_idx * 4; nhmex_rbox_msr_enable_event()
1124 uncore_shared_reg_config(box, 2 + (idx / 6) * 5)); nhmex_rbox_msr_enable_event()
H A Dperf_event_intel_uncore_snbep.c263 static void snbep_uncore_pci_disable_box(struct intel_uncore_box *box) snbep_uncore_pci_disable_box() argument
265 struct pci_dev *pdev = box->pci_dev; snbep_uncore_pci_disable_box()
266 int box_ctl = uncore_pci_box_ctl(box); snbep_uncore_pci_disable_box()
275 static void snbep_uncore_pci_enable_box(struct intel_uncore_box *box) snbep_uncore_pci_enable_box() argument
277 struct pci_dev *pdev = box->pci_dev; snbep_uncore_pci_enable_box()
278 int box_ctl = uncore_pci_box_ctl(box); snbep_uncore_pci_enable_box()
287 static void snbep_uncore_pci_enable_event(struct intel_uncore_box *box, struct perf_event *event) snbep_uncore_pci_enable_event() argument
289 struct pci_dev *pdev = box->pci_dev; snbep_uncore_pci_enable_event()
295 static void snbep_uncore_pci_disable_event(struct intel_uncore_box *box, struct perf_event *event) snbep_uncore_pci_disable_event() argument
297 struct pci_dev *pdev = box->pci_dev; snbep_uncore_pci_disable_event()
303 static u64 snbep_uncore_pci_read_counter(struct intel_uncore_box *box, struct perf_event *event) snbep_uncore_pci_read_counter() argument
305 struct pci_dev *pdev = box->pci_dev; snbep_uncore_pci_read_counter()
315 static void snbep_uncore_pci_init_box(struct intel_uncore_box *box) snbep_uncore_pci_init_box() argument
317 struct pci_dev *pdev = box->pci_dev; snbep_uncore_pci_init_box()
322 static void snbep_uncore_msr_disable_box(struct intel_uncore_box *box) snbep_uncore_msr_disable_box() argument
327 msr = uncore_msr_box_ctl(box); snbep_uncore_msr_disable_box()
335 static void snbep_uncore_msr_enable_box(struct intel_uncore_box *box) snbep_uncore_msr_enable_box() argument
340 msr = uncore_msr_box_ctl(box); snbep_uncore_msr_enable_box()
348 static void snbep_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) snbep_uncore_msr_enable_event() argument
354 wrmsrl(reg1->reg, uncore_shared_reg_config(box, 0)); snbep_uncore_msr_enable_event()
359 static void snbep_uncore_msr_disable_event(struct intel_uncore_box *box, snbep_uncore_msr_disable_event() argument
367 static void snbep_uncore_msr_init_box(struct intel_uncore_box *box) snbep_uncore_msr_init_box() argument
369 unsigned msr = uncore_msr_box_ctl(box); snbep_uncore_msr_init_box()
640 static void snbep_cbox_put_constraint(struct intel_uncore_box *box, struct perf_event *event) snbep_cbox_put_constraint() argument
643 struct intel_uncore_extra_reg *er = &box->shared_regs[0]; snbep_cbox_put_constraint()
646 if (uncore_box_is_fake(box)) snbep_cbox_put_constraint()
657 __snbep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event, __snbep_cbox_get_constraint() argument
661 struct intel_uncore_extra_reg *er = &box->shared_regs[0]; __snbep_cbox_get_constraint()
673 if (!uncore_box_is_fake(box) && (reg1->alloc & (0x1 << i))) __snbep_cbox_get_constraint()
691 if (!uncore_box_is_fake(box)) __snbep_cbox_get_constraint()
720 snbep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event) snbep_cbox_get_constraint() argument
722 return __snbep_cbox_get_constraint(box, event, snbep_cbox_filter_mask); snbep_cbox_get_constraint()
725 static int snbep_cbox_hw_config(struct intel_uncore_box *box, struct perf_event *event) snbep_cbox_hw_config() argument
739 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; snbep_cbox_hw_config()
789 snbep_pcu_get_constraint(struct intel_uncore_box *box, struct perf_event *event) snbep_pcu_get_constraint() argument
792 struct intel_uncore_extra_reg *er = &box->shared_regs[0]; snbep_pcu_get_constraint()
799 (!uncore_box_is_fake(box) && reg1->alloc)) snbep_pcu_get_constraint()
822 if (!uncore_box_is_fake(box)) { snbep_pcu_get_constraint()
830 static void snbep_pcu_put_constraint(struct intel_uncore_box *box, struct perf_event *event) snbep_pcu_put_constraint() argument
833 struct intel_uncore_extra_reg *er = &box->shared_regs[0]; snbep_pcu_put_constraint()
835 if (uncore_box_is_fake(box) || !reg1->alloc) snbep_pcu_put_constraint()
842 static int snbep_pcu_hw_config(struct intel_uncore_box *box, struct perf_event *event) snbep_pcu_hw_config() argument
897 static int snbep_qpi_hw_config(struct intel_uncore_box *box, struct perf_event *event) snbep_qpi_hw_config() argument
913 static void snbep_qpi_enable_event(struct intel_uncore_box *box, struct perf_event *event) snbep_qpi_enable_event() argument
915 struct pci_dev *pdev = box->pci_dev; snbep_qpi_enable_event()
921 int idx = box->pmu->pmu_idx + SNBEP_PCI_QPI_PORT0_FILTER; snbep_qpi_enable_event()
922 struct pci_dev *filter_pdev = uncore_extra_pci_dev[box->phys_id][idx]; snbep_qpi_enable_event()
1152 static void ivbep_uncore_msr_init_box(struct intel_uncore_box *box) ivbep_uncore_msr_init_box() argument
1154 unsigned msr = uncore_msr_box_ctl(box); ivbep_uncore_msr_init_box()
1159 static void ivbep_uncore_pci_init_box(struct intel_uncore_box *box) ivbep_uncore_pci_init_box() argument
1161 struct pci_dev *pdev = box->pci_dev; ivbep_uncore_pci_init_box()
1374 ivbep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event) ivbep_cbox_get_constraint() argument
1376 return __snbep_cbox_get_constraint(box, event, ivbep_cbox_filter_mask); ivbep_cbox_get_constraint()
1379 static int ivbep_cbox_hw_config(struct intel_uncore_box *box, struct perf_event *event) ivbep_cbox_hw_config() argument
1393 SNBEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; ivbep_cbox_hw_config()
1400 static void ivbep_cbox_enable_event(struct intel_uncore_box *box, struct perf_event *event) ivbep_cbox_enable_event() argument
1406 u64 filter = uncore_shared_reg_config(box, 0); ivbep_cbox_enable_event()
1501 static void ivbep_uncore_irp_enable_event(struct intel_uncore_box *box, struct perf_event *event) ivbep_uncore_irp_enable_event() argument
1503 struct pci_dev *pdev = box->pci_dev; ivbep_uncore_irp_enable_event()
1510 static void ivbep_uncore_irp_disable_event(struct intel_uncore_box *box, struct perf_event *event) ivbep_uncore_irp_disable_event() argument
1512 struct pci_dev *pdev = box->pci_dev; ivbep_uncore_irp_disable_event()
1518 static u64 ivbep_uncore_irp_read_counter(struct intel_uncore_box *box, struct perf_event *event) ivbep_uncore_irp_read_counter() argument
1520 struct pci_dev *pdev = box->pci_dev; ivbep_uncore_irp_read_counter()
1732 static int hswep_ubox_hw_config(struct intel_uncore_box *box, struct perf_event *event) hswep_ubox_hw_config() argument
1860 hswep_cbox_get_constraint(struct intel_uncore_box *box, struct perf_event *event) hswep_cbox_get_constraint() argument
1862 return __snbep_cbox_get_constraint(box, event, hswep_cbox_filter_mask); hswep_cbox_get_constraint()
1865 static int hswep_cbox_hw_config(struct intel_uncore_box *box, struct perf_event *event) hswep_cbox_hw_config() argument
1879 HSWEP_CBO_MSR_OFFSET * box->pmu->pmu_idx; hswep_cbox_hw_config()
1886 static void hswep_cbox_enable_event(struct intel_uncore_box *box, hswep_cbox_enable_event() argument
1893 u64 filter = uncore_shared_reg_config(box, 0); hswep_cbox_enable_event()
1932 static void hswep_uncore_sbox_msr_init_box(struct intel_uncore_box *box) hswep_uncore_sbox_msr_init_box() argument
1934 unsigned msr = uncore_msr_box_ctl(box); hswep_uncore_sbox_msr_init_box()
1982 static int hswep_pcu_hw_config(struct intel_uncore_box *box, struct perf_event *event) hswep_pcu_hw_config() argument
2076 static u64 hswep_uncore_irp_read_counter(struct intel_uncore_box *box, struct perf_event *event) hswep_uncore_irp_read_counter() argument
2078 struct pci_dev *pdev = box->pci_dev; hswep_uncore_irp_read_counter()
/linux-4.1.27/scripts/kconfig/lxdialog/
H A Dtextbox.c2 * textbox.c -- implements the text box
39 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, refresh_text_box() argument
43 print_page(box, boxh, boxw, update_text, data); refresh_text_box()
51 * Display text from a file in a dialog box.
62 WINDOW *dialog, *box; dialog_textbox() local
100 /* center dialog box on screen */ dialog_textbox()
109 /* Create window for box region, used for scrolling text */ dialog_textbox()
112 box = subwin(dialog, boxh, boxw, y + 1, x + 1); dialog_textbox()
113 wattrset(box, dlg.dialog.atr); dialog_textbox()
114 wbkgdset(box, dlg.dialog.atr & A_COLOR); dialog_textbox()
116 keypad(box, TRUE); dialog_textbox()
137 attr_clear(box, boxh, boxw, dlg.dialog.atr); dialog_textbox()
138 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x, update_text, dialog_textbox()
157 refresh_text_box(dialog, box, boxh, boxw, dialog_textbox()
169 refresh_text_box(dialog, box, boxh, boxw, cur_y, dialog_textbox()
179 refresh_text_box(dialog, box, boxh, boxw, cur_y, dialog_textbox()
189 refresh_text_box(dialog, box, boxh, boxw, cur_y, dialog_textbox()
199 refresh_text_box(dialog, box, boxh, boxw, cur_y, dialog_textbox()
209 refresh_text_box(dialog, box, boxh, boxw, cur_y, dialog_textbox()
225 refresh_text_box(dialog, box, boxh, boxw, cur_y, dialog_textbox()
236 refresh_text_box(dialog, box, boxh, boxw, cur_y, dialog_textbox()
245 delwin(box); dialog_textbox()
258 delwin(box); dialog_textbox()
H A Dinputbox.c2 * inputbox.c -- implements the input box
42 * Display a dialog box for inputing a string
64 /* center dialog box on screen */ dialog_inputbox()
87 /* Draw the input field box */ dialog_inputbox()
122 if (button == -1) { /* Input box selected */ dialog_inputbox()
250 button = -1; /* Indicates input box is selected */ dialog_inputbox()
274 button = -1; /* Indicates input box is selected */ dialog_inputbox()
H A Dyesno.c2 * yesno.c -- implements the yes/no box
40 * Display a dialog box with two buttons - Yes and No
53 /* center dialog box on screen */ dialog_yesno()
H A Dmenubox.c2 * menubox.c -- implements the menu box
30 * to the first position in the menu box. Now lxdialog is a bit
37 * cursor is at the bottom of the box. Now it writes the temporary file
50 * middle of the menu box, not at the bottom.
205 /* center dialog box on screen */ dialog_menu()
238 /* draw a box around the menu items */ dialog_menu()
H A Dchecklist.c2 * checklist.c -- implements the checklist box
114 * Display a dialog box with a list of options that can be turned on or off
142 /* center dialog box on screen */
175 /* draw a box around the list items */
H A Dutil.c474 * Draw a rectangular box with line drawing characters
478 chtype box, chtype border) draw_box()
491 waddch(win, box | ACS_URCORNER); draw_box()
493 waddch(win, box | ACS_LRCORNER); draw_box()
497 waddch(win, box | ACS_HLINE); draw_box()
501 waddch(win, box | ACS_VLINE); draw_box()
503 waddch(win, box | ' '); draw_box()
477 draw_box(WINDOW * win, int y, int x, int height, int width, chtype box, chtype border) draw_box() argument
H A Ddialog.h226 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
/linux-4.1.27/sound/pci/ice1712/
H A Dhoontech.c82 static void snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) snd_ice1712_stdsp24_box_channel() argument
88 /* select box */ snd_ice1712_stdsp24_box_channel()
89 ICE1712_STDSP24_0_BOX(spec->boxbits, box); snd_ice1712_stdsp24_box_channel()
132 static void snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) snd_ice1712_stdsp24_box_midi() argument
138 /* select box */ snd_ice1712_stdsp24_box_midi()
139 ICE1712_STDSP24_0_BOX(spec->boxbits, box); snd_ice1712_stdsp24_box_midi()
172 int box, chn; snd_ice1712_hoontech_init() local
205 /* let's go - activate only functions in first box */ snd_ice1712_hoontech_init()
213 * ** MIDI IN can only be configured on one box ** snd_ice1712_hoontech_init()
214 * ICE1712_STDSP24_BOX_MIDI1 needs to be set for that box. snd_ice1712_hoontech_init()
215 * Tests on a ADAC2000 box suggest the box config flags do not snd_ice1712_hoontech_init()
218 * on the same box connects MIDI-In to both 401 uarts; both outputs snd_ice1712_hoontech_init()
220 * The default config here sets up everything on the first box. snd_ice1712_hoontech_init()
238 for (box = 0; box < 4; box++) { snd_ice1712_hoontech_init()
239 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI2) snd_ice1712_hoontech_init()
242 snd_ice1712_stdsp24_box_channel(ice, box, chn, snd_ice1712_hoontech_init()
243 (spec->boxconfig[box] & (1 << chn)) ? 1 : 0); snd_ice1712_hoontech_init()
244 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI1) snd_ice1712_hoontech_init()
245 snd_ice1712_stdsp24_box_midi(ice, box, 1); snd_ice1712_hoontech_init()
H A Dhoontech.h58 /* Hoontech SoundTrack Audio DSP 24 box configuration definitions */
H A Dice1712.c2372 * Also disable AC97 as no hardware in standard 6fire card/box snd_ice1712_chip_init()
/linux-4.1.27/include/uapi/linux/
H A Dnetfilter_bridge.h15 /* If the packet is destined for this box. */
H A Dxilinx-v4l2-controls.h40 /* Enable a moving box */
64 /* Moving box size */
66 /* Moving box color */
H A Dnetfilter_decnet.h31 /* If the packet is destined for this box. */
H A Dnetfilter_ipv4.h46 /* If the packet is destined for this box. */
H A Dnetfilter_ipv6.h50 /* If the packet is destined for this box. */
H A Dcdrom.h258 * which should just be the Medium Catalog Number on the box. Also note
376 #define CDC_SELECT_DISC 0x10 /* select disc from juke-box */
H A Dvideodev2.h1326 /* field 'status' - VCR and set-top box */
/linux-4.1.27/drivers/gpu/drm/mga/
H A Dmga_state.c44 struct drm_clip_rect *box) mga_emit_clip_rect()
62 MGA_CXBNDRY, ((box->x2 - 1) << 16) | box->x1, mga_emit_clip_rect()
63 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); mga_emit_clip_rect()
502 struct drm_clip_rect *box = &pbox[i]; mga_dma_dispatch_clear() local
503 u32 height = box->y2 - box->y1; mga_dma_dispatch_clear()
506 box->x1, box->y1, box->x2, box->y2); mga_dma_dispatch_clear()
513 MGA_YDSTLEN, (box->y1 << 16) | height, mga_dma_dispatch_clear()
514 MGA_FXBNDRY, (box->x2 << 16) | box->x1); mga_dma_dispatch_clear()
529 MGA_YDSTLEN, (box->y1 << 16) | height, mga_dma_dispatch_clear()
530 MGA_FXBNDRY, (box->x2 << 16) | box->x1); mga_dma_dispatch_clear()
545 MGA_YDSTLEN, (box->y1 << 16) | height, mga_dma_dispatch_clear()
546 MGA_FXBNDRY, (box->x2 << 16) | box->x1); mga_dma_dispatch_clear()
600 struct drm_clip_rect *box = &pbox[i]; mga_dma_dispatch_swap() local
601 u32 height = box->y2 - box->y1; mga_dma_dispatch_swap()
602 u32 start = box->y1 * dev_priv->front_pitch; mga_dma_dispatch_swap()
605 box->x1, box->y1, box->x2, box->y2); mga_dma_dispatch_swap()
607 DMA_BLOCK(MGA_AR0, start + box->x2 - 1, mga_dma_dispatch_swap()
608 MGA_AR3, start + box->x1, mga_dma_dispatch_swap()
609 MGA_FXBNDRY, ((box->x2 - 1) << 16) | box->x1, mga_dma_dispatch_swap()
610 MGA_YDSTLEN + MGA_EXEC, (box->y1 << 16) | height); mga_dma_dispatch_swap()
43 mga_emit_clip_rect(drm_mga_private_t *dev_priv, struct drm_clip_rect *box) mga_emit_clip_rect() argument
/linux-4.1.27/arch/mips/loongson/common/
H A Dmachtype.c23 [MACH_LEMOTE_FL2E] = "lemote-fuloong-2e-box",
24 [MACH_LEMOTE_FL2F] = "lemote-fuloong-2f-box",
/linux-4.1.27/arch/sh/lib64/
H A Dudelay.c21 * a 1GHz box, that's about 2 seconds.
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dr300_cmdbuf.c62 struct drm_clip_rect box; r300_emit_cliprects() local
79 (&box, &cmdbuf->boxes[n + i], sizeof(box))) { r300_emit_cliprects()
84 box.x2--; /* Hardware expects inclusive bottom-right corner */ r300_emit_cliprects()
85 box.y2--; r300_emit_cliprects()
88 box.x1 = (box.x1) & r300_emit_cliprects()
90 box.y1 = (box.y1) & r300_emit_cliprects()
92 box.x2 = (box.x2) & r300_emit_cliprects()
94 box.y2 = (box.y2) & r300_emit_cliprects()
97 box.x1 = (box.x1 + R300_CLIPRECT_OFFSET) & r300_emit_cliprects()
99 box.y1 = (box.y1 + R300_CLIPRECT_OFFSET) & r300_emit_cliprects()
101 box.x2 = (box.x2 + R300_CLIPRECT_OFFSET) & r300_emit_cliprects()
103 box.y2 = (box.y2 + R300_CLIPRECT_OFFSET) & r300_emit_cliprects()
107 OUT_RING((box.x1 << R300_CLIPRECT_X_SHIFT) | r300_emit_cliprects()
108 (box.y1 << R300_CLIPRECT_Y_SHIFT)); r300_emit_cliprects()
109 OUT_RING((box.x2 << R300_CLIPRECT_X_SHIFT) | r300_emit_cliprects()
110 (box.y2 << R300_CLIPRECT_Y_SHIFT)); r300_emit_cliprects()
H A Dradeon_state.c450 struct drm_clip_rect * box) radeon_emit_clip_rect()
454 DRM_DEBUG(" box: x1=%d y1=%d x2=%d y2=%d\n", radeon_emit_clip_rect()
455 box->x1, box->y1, box->x2, box->y2); radeon_emit_clip_rect()
459 OUT_RING((box->y1 << 16) | box->x1); radeon_emit_clip_rect()
461 OUT_RING(((box->y2 - 1) << 16) | (box->x2 - 1)); radeon_emit_clip_rect()
831 /* Purple box for page flipping radeon_cp_performance_boxes()
836 /* Red box if we have to wait for idle at any point radeon_cp_performance_boxes()
841 /* Blue box: lost context? radeon_cp_performance_boxes()
844 /* Yellow box for texture swaps radeon_cp_performance_boxes()
849 /* Green box if hardware never idles (as far as we can tell) radeon_cp_performance_boxes()
2782 struct drm_clip_rect box; radeon_emit_packet3_cliprect() local
2802 if (copy_from_user(&box, &boxes[i], sizeof(box))) radeon_emit_packet3_cliprect()
2821 radeon_emit_clip_rect(dev_priv, &box); radeon_emit_packet3_cliprect()
449 radeon_emit_clip_rect(drm_radeon_private_t * dev_priv, struct drm_clip_rect * box) radeon_emit_clip_rect() argument
H A Datombios.h3932 #define ATOM_CV_LINE3_ASPECTRATIO_4_3_LETBOX_GPIO_A 0x04 //represent gpio 3 state for 4:3 Letter box
3933 #define ATOM_CV_LINE3_ASPECTRATIO_4_3_LETBOX_GPIO_B 0x08 //represent gpio 4 state for 4:3 Letter box
/linux-4.1.27/arch/alpha/lib/
H A Dudelay.c18 * a 1GHz box, that's about 2 seconds.
/linux-4.1.27/tools/power/cpupower/debug/i386/
H A Dintel_gsic.c50 "doesn't work out of the box,\nyou may want to " main()
57 "doesn't work out of the box,\nyou may want to " main()
/linux-4.1.27/arch/tile/include/asm/
H A Dpmc.h43 #define TILE_BOX_MASK 0x1c0 /* 3 bits box msks,
/linux-4.1.27/arch/x86/boot/
H A Dbioscall.S12 * "Glove box" for BIOS calls. Avoids the constant problems with BIOSes
/linux-4.1.27/arch/mips/loongson/lemote-2f/
H A Dmachtype.c28 * LM6XXX Lemote FuLoong(2F) box series mach_prom_init_machtype()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_execbuffer.c1098 struct drm_clip_rect *box, i915_emit_box()
1103 if (box->y2 <= box->y1 || box->x2 <= box->x1 || i915_emit_box()
1104 box->y2 <= 0 || box->x2 <= 0) { i915_emit_box()
1105 DRM_ERROR("Bad box %d,%d..%d,%d\n", i915_emit_box()
1106 box->x1, box->y1, box->x2, box->y2); i915_emit_box()
1116 intel_ring_emit(ring, (box->x1 & 0xffff) | box->y1 << 16); i915_emit_box()
1117 intel_ring_emit(ring, ((box->x2 - 1) & 0xffff) | (box->y2 - 1) << 16); i915_emit_box()
1126 intel_ring_emit(ring, (box->x1 & 0xffff) | box->y1 << 16); i915_emit_box()
1127 intel_ring_emit(ring, ((box->x2 - 1) & 0xffff) | (box->y2 - 1) << 16); i915_emit_box()
1097 i915_emit_box(struct intel_engine_cs *ring, struct drm_clip_rect *box, int DR1, int DR4) i915_emit_box() argument
H A Di915_drv.c1032 * a black-box for the driver. Further investigation is needed to reduce the
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c297 SVGA3dCopyBox *box; vmw_kms_cursor_snoop() local
319 DRM_ERROR("at least one full copy box must be given\n"); vmw_kms_cursor_snoop()
323 box = (SVGA3dCopyBox *)&cmd[1]; vmw_kms_cursor_snoop()
328 box->x != 0 || box->y != 0 || box->z != 0 || vmw_kms_cursor_snoop()
329 box->srcx != 0 || box->srcy != 0 || box->srcz != 0 || vmw_kms_cursor_snoop()
330 box->d != 1 || box_count != 1) { vmw_kms_cursor_snoop()
336 box->srcx, box->srcy, box->srcz, vmw_kms_cursor_snoop()
337 box->x, box->y, box->z, vmw_kms_cursor_snoop()
338 box->w, box->h, box->d, box_count, vmw_kms_cursor_snoop()
358 if (box->w == 64 && cmd->dma.guest.pitch == 64*4) { vmw_kms_cursor_snoop()
362 for (i = 0; i < box->h; i++) vmw_kms_cursor_snoop()
365 box->w * 4); vmw_kms_cursor_snoop()
H A Dsvga3d_reg.h2136 SVGA3dBox box; member in struct:SVGA3dCmdUpdateGBImage
2183 SVGA3dBox box; member in struct:SVGA3dCmdReadbackGBImagePartial
2220 SVGA3dBox box; member in struct:SVGA3dCmdInvalidateGBImagePartial
2424 SVGA3dBox box; member in struct:__anon4547
/linux-4.1.27/drivers/media/i2c/smiapp/
H A Dsmiapp-reg.h113 * The manufacturer specifies these as a black box.
/linux-4.1.27/drivers/media/rc/keymaps/
H A Drc-budget-ci-old.c19 * Hauppauge (from NOVA-CI-s box product)
H A Drc-medion-x10-or2x.c31 { 0x16, KEY_TEXT }, /* "T" in a box, for teletext */
H A Drc-ati-x10.c86 /* Symbol is "circle nailed to box" */
/linux-4.1.27/arch/parisc/kernel/
H A Dinventory.c12 * These are the routines to discover what hardware exists in this box.
14 * performing an inventory, depending largely on the age of the box.
67 * is a pdc pat box, or it is an older box. All 64 bit capable setup_pdc()
379 /* We only look for extended memory ranges on a 64 bit capable box */ sprockets_memconfig()
H A Dprocess.c102 /* Nope...box should reset with just CMD_RESET now */ machine_restart()
H A Dirq.c316 * So a Legacy PA I/O device on a PA 2.0 box can't use all the bits supported
H A Ddrivers.c334 * may be printed on the outside of the box.
369 * may be printed on the outside of the box.
H A Dperf.c42 * on every box.
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Dfriio-fe.c93 /* note: Win box reads it by 8B block at the I2C addr 0x30 from reg:0x80 */ jdvbt90502_pll_read()
180 /* but the USB log on a windows box contains them */ jdvbt90502_pll_set_freq()
329 * captured on a Windows box.
H A Dnova-t-usb2.c132 /* this is a complete guess, but works for my box */ nova_t_read_mac_address()
H A Dvp702x.c259 /* remote control stuff (does not work with my box) */ vp702x_rc_query()
H A Ddvb-usb.h61 * @name: real name of the box, regardless which DVB USB device class is in use
H A Daz6027.c394 /* remote control stuff (does not work with my box) */ az6027_rc_query()
H A Dcxusb.c4 * capturing (using the cx25842). The box I took to write this driver (reverse
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-designware-baytrail.c160 MODULE_AUTHOR("David E. Box <david.e.box@linux.intel.com>");
/linux-4.1.27/arch/x86/kernel/
H A Djump_label.c31 * Something went wrong. Crash the box, as something could be bug_at()
H A Dcpuid.c25 * an SMP box will direct the access to CPU %d.
H A Dvsmp_64.c149 /* Check if we are running on a ScaleMP vSMPowered box */ detect_vsmp_box()
H A Diosf_mbi.c326 MODULE_AUTHOR("David E. Box <david.e.box@linux.intel.com>");
H A Dmsr.c22 * an SMP box will direct the access to CPU %d.
H A Dapm_32.c263 * [no-]smp Use apm even on an SMP box
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dnf_conntrack_common.h46 /* Connection is confirmed: originating packet has left box */
/linux-4.1.27/arch/ia64/include/asm/sn/
H A Dgeo.h28 moduleid_t module; /* The module (box) this h/w lives in */
/linux-4.1.27/scripts/kconfig/
H A Dnconf.gui.c238 * 1) show a text box, no buttons.
301 box(win, 0, 0); btn_dialog()
404 box(win, 0, 0); dialog_inputbox()
587 box(win, 0, 0); show_scroll_win()
H A Dgconf.c644 "For each option, a blank box indicates the feature is disabled, a\n" on_introduction1_activate()
646 "be compiled as a module. Clicking on the box will cycle through the three states.\n" on_introduction1_activate()
H A Dqconf.cc1671 "For each option, a blank box indicates the feature is disabled, a check\n" showIntro()
1673 "as a module. Clicking on the box will cycle through the three states.\n\n" showIntro()
H A Dnconf.c963 box(main_window, 0, 0); show_menu()
/linux-4.1.27/sound/pci/echoaudio/
H A Decho3g_dsp.c67 what type of external box is attached */ init_hw()
H A Dlayla20_dsp.c108 defective - the external box may be disconnected or turned off.
140 /* Layla20 has an ASIC in the external box */ load_asic()
H A Dechoaudio.h74 Obviously, the difference here is the box labeled "vmixer." Vmixer is
282 #define EXT_3GBOX_NC 0x01 /* 3G box not connected */
283 #define EXT_3GBOX_NOT_SET 0x02 /* 3G box not detected yet */
474 for 3G cards because they depend on the external box. They are integer
H A Dechoaudio_gml.c39 defective - the external box may be disconnected or turned off. */ check_asic_status()
H A Dlayla24_dsp.c110 /* Layla24 has an ASIC on the PCI card and another ASIC in the external box;
H A Dechoaudio_dsp.h573 /* 3G external box types */
683 u32 ext_box_status; /* External box status 0xb70 4 */
H A Dmona_dsp.c113 /* Mona has an ASIC on the PCI card and another ASIC in the external box;
/linux-4.1.27/net/ipv4/netfilter/
H A Dnf_nat_pptp.c163 /* only need to NAT in case PAC is behind NAT box */ pptp_outbound_pkt()
241 /* only need to nat in case PAC is behind NAT box */ pptp_inbound_pkt()
/linux-4.1.27/drivers/mtd/devices/
H A Dms02-nv.h56 * (i.e. looking from the back side of the system box), their meaning
/linux-4.1.27/tools/thermal/tmon/
H A Dtmon.h197 /* dialogue box starts */
H A Dtui.c300 box(w, 0, 0); show_dialogue()
501 box(cooling_device_window, 10, 0); handle_tui_events()
/linux-4.1.27/drivers/gpu/drm/i810/
H A Di810_dma.c714 struct drm_clip_rect *box = sarea_priv->boxes; i810_dma_dispatch_vertex() local
753 OUT_RING(box[i].x1 | (box[i].y1 << 16)); i810_dma_dispatch_vertex()
754 OUT_RING((box[i].x2 - i810_dma_dispatch_vertex()
755 1) | ((box[i].y2 - 1) << 16)); i810_dma_dispatch_vertex()
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx23418.h450 /* PPU (Presensation/Decoder) mail box is corrupted */
453 /* CPU (Capture/Encoder) mail box is corrupted */
456 /* APU (Audio) mail box is corrupted */
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dboot.c263 /* get hardware config command mail box */ wl1251_boot_run_firmware()
266 /* get hardware config event mail box */ wl1251_boot_run_firmware()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dboot.c491 /* get hardware config command mail box */ wlcore_boot_run_firmware()
498 /* get hardware config event mail box */ wlcore_boot_run_firmware()
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_ioctl.h92 * @mb_type : Type of the mail box (MB_LEGACY or MB_HPE)
/linux-4.1.27/drivers/pci/hotplug/
H A Dibmphp_ebda.c444 //create linked list of expansion box ebda_rio_table()
496 * reorganizing linked list of expansion box
539 * var (0 = chassis, 1 = expansion box)
570 //check to see if this slot_num belongs to expansion box find_rxe_num()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbfa_cee.c192 * bfa_cee_isrs - Handles Mail-box interrupts for CEE module.
/linux-4.1.27/drivers/base/power/
H A Dtrace.c50 * And if your box can't boot in less than three minutes,
/linux-4.1.27/drivers/ata/
H A Dpata_mpiix.c197 the MPIIX your box goes castors up */ mpiix_init_one()
/linux-4.1.27/drivers/vme/bridges/
H A Dvme_tsi148.h1375 #define TSI148_GCSR_GCTRL_MBI3S (1<<3) /* Mail box 3 Int Status */
1376 #define TSI148_GCSR_GCTRL_MBI2S (1<<2) /* Mail box 2 Int Status */
1377 #define TSI148_GCSR_GCTRL_MBI1S (1<<1) /* Mail box 1 Int Status */
1378 #define TSI148_GCSR_GCTRL_MBI0S (1<<0) /* Mail box 0 Int Status */
H A Dvme_tsi148.c114 * Wake up mail box queue.
286 /* Mail box irqs */ tsi148_irqhandler()
/linux-4.1.27/arch/arm/mach-ixp4xx/
H A Dnas100d-setup.c185 /* This causes the box to drop the power and go dead. */ nas100d_power_off()
H A Dnslu2-setup.c198 /* This causes the box to drop the power and go dead. */ nslu2_power_off()
/linux-4.1.27/include/linux/
H A Ddrbd.h49 # error "sorry, weird endianness on this box"
H A Dpe.h269 #define IMAGE_SCN_ALIGN_1BYTES 0x00100000 /* it does what it says on the box */
/linux-4.1.27/tools/testing/ktest/
H A Dktest.pl346 The box is expected to have ssh on normal bootup, provide the user
378 A script or command to reboot the box.
383 Here is an example to reboot a virtual box on the current host
404 Way to reboot the box to the test kernel.
2095 # Sometimes the reboot fails, and will hang. We try to ssh to the box
2736 # Now boot the box
2759 # reboot the box to a kernel we can ssh to
3957 doprint "$min_configs{$config} is needed to boot the box... keeping\n";
4317 # A test may opt to not reboot the box
/linux-4.1.27/drivers/input/touchscreen/
H A Dsur40.c63 __le16 bb_pos_x; /* upper left corner of bounding box */
66 __le16 bb_size_x; /* size of bounding box */
/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_nx.h849 uint16_t mailbox_in[32]; /* Mail box In registers */
854 uint16_t mailbox_out[32]; /* Mail box Out registers */
/linux-4.1.27/drivers/parisc/
H A Deisa.c353 /* old firmware, need to figure out the box */ eisa_probe()
H A Dsba_iommu.c1522 ** USB will HPMC the box. USB is only enabled if a sba_hw_init()
1642 ** Make sure the box crashes on rope errors. sba_hw_init()
/linux-4.1.27/drivers/watchdog/
H A Dsbc60xxwdt.c98 * should be sufficient for a box under any load.
H A Dhpwdt.c800 * not run on a legacy ASM box. hpwdt_init_one()
/linux-4.1.27/arch/parisc/include/asm/
H A Dpdcpat.h301 /* Flag to indicate this is a PAT box...don't use this unless you
/linux-4.1.27/arch/alpha/include/asm/
H A Dcore_lca.h185 unsigned long abox_ctl; /* address box control register */
/linux-4.1.27/net/mac80211/
H A Dtkip.c25 * 2-byte by 2-byte subset of the full AES S-box table; second part of this
/linux-4.1.27/net/netfilter/
H A Dxt_socket.c112 * box.
/linux-4.1.27/sound/pci/mixart/
H A Dmixart_core.h4 * low level interface with interrupt handling and mail box implementation
H A Dmixart_core.c4 * low level interface with interrupt handling and mail box implementation
/linux-4.1.27/Documentation/cdrom/
H A Dcdrom-standard.tex310 as a juke-box, or otherwise~1. The parameters are declared $const$
391 $disc_nr$ identifies a specific slot in a juke-box, it should be
450 If the drive can store multiple discs (a juke-box) this function
560 CDC_SELECT_DISC& drive is juke-box\cr
878 \item[CDROM_SELECT_DISC] Select disc numbered $arg$ from a juke-box.
880 maximum number of discs in the juke-box found in the $cdrom_dops$.
937 juke-box.
/linux-4.1.27/drivers/staging/rtl8712/
H A Drtl871x_security.c388 /* S-box lookup: 16 bits --> 16 bits */
399 /* 2-unsigned char by 2-unsigned char subset of the full AES S-box table */
548 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ phase2()
/linux-4.1.27/drivers/staging/rtl8723au/core/
H A Drtw_security.c404 /* S-box lookup: 16 bits --> 16 bits */
414 /* 2-unsigned char by 2-unsigned char subset of the full AES S-box table */
569 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ phase2()
/linux-4.1.27/drivers/leds/
H A Dleds-ss4200.c276 * We need to enable all of the GPIO lines used by the NAS box, ich7_gpio_init()
/linux-4.1.27/drivers/ide/
H A Dalim15x3.c277 * box without a device at 0:0.0. The ALi bridge will be at init_chipset_ali15x3()
/linux-4.1.27/include/net/
H A Dinet_hashtables.h75 * users logged onto your box, isn't it nice to know that new data
/linux-4.1.27/arch/powerpc/kernel/
H A Dftrace.c6 * Thanks goes out to P.A. Semi, Inc for supplying me with a PPC64 box.
/linux-4.1.27/arch/alpha/kernel/
H A Dsmp.c459 /* Nothing to do on a UP box, or when told not to. */ smp_prepare_cpus()
H A Dsetup.c526 * Oh, and "white box" AS800 (aka DIGITAL Server 3000 series) setup_arch()
739 /* FIXME: only set this when we actually have EISA in this box? */ setup_arch()
/linux-4.1.27/drivers/net/can/
H A Dat91_can.c627 * @mb: mail box to read from
681 * 0 1 2 3 4 5 6 7 8 9 0 1 / box
/linux-4.1.27/drivers/media/usb/ttusb-dec/
H A Dttusb_dec.c233 * the box also reports a keyrepeat signal ttusb_dec_handle_irq()
1414 give the box */ ttusb_dec_init_stb()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_fw.h52 __le32 mailbox_in[8]; /* 0x0300 (R/W): Mail box In registers */
57 __le32 mailbox_out[8]; /* 0x0400 (R): Mail box Out registers */
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
H A Dfw.c351 /* 3. Check if the box content is empty. */ _rtl92ee_fill_h2c_command()
393 /* 4. Fill the H2C cmd into box */ _rtl92ee_fill_h2c_command()
/linux-4.1.27/drivers/video/fbdev/
H A Dpvr2fb.c364 * XXX: It's possible that a user could use a VGA box, change the cable pvr2fb_set_par()
368 * don't have a VGA box to make sure this works properly. pvr2fb_set_par()
/linux-4.1.27/arch/mips/include/asm/sn/
H A Dklconfig.h609 nic_t hub_box_nic; /* nic of containing box */
617 nic_t hubuart_box_nic; /* nic of containing box */
/linux-4.1.27/drivers/staging/rtl8188eu/core/
H A Drtw_security.c374 /* S-box lookup: 16 bits --> 16 bits */
384 /* 2-unsigned char by 2-unsigned char subset of the full AES S-box table */
534 PPK[5] += _S_(PPK[4] ^ TK16(5)); /* Total # S-box lookups == 6 */ phase2()
/linux-4.1.27/drivers/mtd/maps/
H A Dvmu-flash.c173 /* Very long timeouts seem to be needed when box is stressed */ maple_vmu_read_block()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Daz6007.c206 /* remote control stuff (does not work with my box) */ az6007_rc_query()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfa_port.c768 * @brief Handles Mail-box interrupts for CEE module.
/linux-4.1.27/drivers/ssb/
H A Ddriver_chipcommon_pmu.c232 * the default crystal settings work out-of-the-box. */ ssb_pmu1_pllinit_r0()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c264 /* Step 2 - 96-bit bijective mixing using S-box */ tkip_mixing_phase2()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c272 /* Step 2 - 96-bit bijective mixing using S-box */ tkip_mixing_phase2()
/linux-4.1.27/drivers/net/ethernet/apple/
H A Dmacmace.c55 /* The MACE is simply wired down on a Mac68K box */
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_hw.h523 /* Mail box */
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.h240 /* VF mail box (aka vf-pf channel) */
H A Dbnx2x.h1770 /* used to protect the FW mail box */
/linux-4.1.27/arch/x86/mm/
H A Dnuma.c730 * for NUMA on a non NUMA box), which is OK as cpu_to_node[]
/linux-4.1.27/arch/x86/pci/
H A Dfixup.c542 * there and any access kills the box.
/linux-4.1.27/crypto/
H A Danubis.c16 * Only the S-box and (consequently) the rounds constants have been
H A Ddes_generic.c368 /* S-box lookup tables */
H A Dtwofish_common.c409 * S-box entries, preprocessed through q0 and q1. */
/linux-4.1.27/kernel/
H A Dsoftirq.c192 * should not be able to lock up the box.
/linux-4.1.27/kernel/time/
H A Dalarmtimer.c5 * but triggers a RTC alarm if the box is suspend.
/linux-4.1.27/net/wireless/
H A Dlib80211_crypt_tkip.c278 /* Step 2 - 96-bit bijective mixing using S-box */ tkip_mixing_phase2()
/linux-4.1.27/sound/drivers/
H A Dportman2x4.c456 * hardware handshake lines to midi box: portman_probe()
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dcryptocop.c1678 /* The AES s-transform matrix (s-box). */
1707 /* Apply the s-box to each of the four occtets in w. */ aes_ks_subword()
1743 * SubWord(t) applies the AES s-box individually to each octet
/linux-4.1.27/drivers/net/appletalk/
H A Dltpc.c29 * consisting of a 1.2.13 linux box running netatalk 1.3.3, and with
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A De1000_defines.h413 #define E1000_IMS_VMMB E1000_ICR_VMMB /* Mail box activity */
/linux-4.1.27/drivers/net/plip/
H A Dplip.c54 * To use with DOS box, please do (Turn on ARP switch):
/linux-4.1.27/drivers/misc/
H A Dpti.c604 * with PTI debug HW like Nokia's Fido box and Lauterbach
/linux-4.1.27/drivers/s390/cio/
H A Ddevice_fsm.c439 * algorithm, so we start with sense id and box the device after an ccw_device_recognition()
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.h667 /* Mail box */
/linux-4.1.27/fs/
H A Dopen.c167 /* explicitly opened as large or we are on 64-bit box */ do_sys_ftruncate()
/linux-4.1.27/fs/cifs/
H A Dsmb1ops.c215 * box by issuing long-running calls and SIGKILL'ing them. If cifs_get_next_mid()
/linux-4.1.27/net/irda/
H A Dirlap.c592 * my Linux box with discovery enabled and one Ultra frame sent every irlap_discovery_indication()
/linux-4.1.27/kernel/trace/
H A Dtrace_selftest.c75 * the buffer, this will run forever, and hard lock the box. trace_test_buffer()
H A Dring_buffer.c3751 * the box. Return the padding, and we will release rb_buffer_peek()
/linux-4.1.27/sound/pci/rme9652/
H A Dhdsp.c679 "IO box found after %d ms\n", hdsp_check_for_iobox()
686 dev_err(hdsp->card->dev, "no IO box connected!\n"); hdsp_check_for_iobox()
709 dev_info(hdsp->card->dev, "no IO box connected!\n"); hdsp_wait_for_iobox()
3363 snd_iprintf(buffer, "No I/O box connected.\n" snd_hdsp_proc_read()
/linux-4.1.27/sound/usb/usx2y/
H A Dusbusx2yaudio.c51 1, 2 and 4 work out of the box on ohci, if I recall correctly.
/linux-4.1.27/drivers/input/mouse/
H A Dalps.c355 * only generates points representing a bounding box of at most two contacts.
430 * only generates points representing a bounding box of all contacts.
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-dvb.c1130 /* The tin box says DEE1601, but it seems to be DTT7579 dvb_register()
/linux-4.1.27/drivers/net/wireless/ath/ar5523/
H A Dar5523.c23 * OpenBSD, who did black-box analysis of the Windows binary driver to find
/linux-4.1.27/drivers/net/ethernet/sgi/
H A Dioc3-eth.c1179 * showhorn PCI box that happens to have 4 IOC3 cards in it so it's ioc3_serial_probe()
/linux-4.1.27/drivers/crypto/
H A Dn2_core.c653 u8 arc4[258]; /* S-box, X, Y */
/linux-4.1.27/drivers/acpi/
H A Dosl.c1513 osi_linux.dmi = 1; /* DMI knows that this box asks OSI(Linux) */ acpi_dmi_osi_linux()
/linux-4.1.27/arch/arm/crypto/
H A Daes-armv4.S13 @ Code uses single 1K S-box and is >2 times faster than code generated
/linux-4.1.27/net/sched/
H A Dsch_api.c55 Generally, queueing discipline ("qdisc") is a black box,
/linux-4.1.27/scripts/
H A Danalyze_suspend.py2261 # calculate the timeline height and create bounding box, add buttons
2351 .callgraph {margin-top: 30px;box-shadow: 5px 5px 20px black;}\n\
2388 #devicedetail {height:100px;box-shadow: 5px 5px 20px black;}\n\
/linux-4.1.27/drivers/media/usb/s2255/
H A Ds2255drv.c343 /* Channels on box are in reverse order */
/linux-4.1.27/drivers/net/irda/
H A Dnsc-ircc.c950 * On my box, cfg_base is in the PnP descriptor of the nsc_ircc_pnp_probe()
/linux-4.1.27/arch/x86/kernel/apic/
H A Dapic.c571 * around to find out, that a tick has elapsed. I have a box, where the PIT
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_bitmap.c292 /* on a 32bit box, this would allow for exactly (2<<38) bits. */ bm_word_to_page_idx()
/linux-4.1.27/drivers/tty/vt/
H A Dkeyboard.c1089 * attached to the box. The reason we use tasklet is that we
/linux-4.1.27/drivers/media/dvb-frontends/
H A Ddib9000.c804 /* Set jump and no jump in the dma box */ dib9000_fw_boot()
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_core.c826 pr_err("shouldn't reach here, because the box is on the " handle_response_icmp()
/linux-4.1.27/sound/usb/
H A Dmidi.c948 0x00, /* EEPROM, box 0 */ snd_usbmidi_emagic_init_out()
/linux-4.1.27/drivers/net/ethernet/alteon/
H A Dacenic.c1437 * If we do this sooner, Mckinley box pukes. ace_init()
/linux-4.1.27/kernel/printk/
H A Dprintk.c1825 * box.
/linux-4.1.27/mm/
H A Dpage-writeback.c1766 * much memory the box has..
/linux-4.1.27/sound/oss/
H A Dad1848.c2819 module_param(deskpro_m, bool, 0); /* Special magic for Deskpro M box */
/linux-4.1.27/sound/pci/
H A Dazt3328.c14 * has very good support out of the box;
/linux-4.1.27/drivers/pci/
H A Dquirks.c806 * The AMD io apic can hang the box when an apic irq is masked.
/linux-4.1.27/drivers/cdrom/
H A Dcdrom.c2498 * the Medium Catalog Number on the box. Note, that the way the code
/linux-4.1.27/fs/btrfs/
H A Dextent_io.c3895 * but no sense in crashing the users box for something btree_write_cache_pages()
/linux-4.1.27/drivers/scsi/
H A Dhpsa.c2778 * and match target/lun numbers box figure_bus_target_lun()
/linux-4.1.27/drivers/video/fbdev/sis/
H A Dinit301.c2595 * in a 650 box (Jake). What is the criteria? SiS_SetCRT2ModeRegs()

Completed in 7377 milliseconds