/linux-4.1.27/arch/x86/kernel/cpu/ |
H A D | perf_event_intel_uncore.h | 81 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 D | perf_event_intel_uncore.c | 38 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 D | perf_event_intel_uncore_snb.c | 68 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 D | perf_event_intel_uncore_nhmex.c | 199 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 D | perf_event_intel_uncore_snbep.c | 263 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 D | textbox.c | 2 * 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 D | inputbox.c | 2 * 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 D | yesno.c | 2 * 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 D | menubox.c | 2 * 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 D | checklist.c | 2 * 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 D | util.c | 474 * 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 D | dialog.h | 226 void draw_box(WINDOW * win, int y, int x, int height, int width, chtype box,
|
/linux-4.1.27/sound/pci/ice1712/ |
H A D | hoontech.c | 82 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 D | hoontech.h | 58 /* Hoontech SoundTrack Audio DSP 24 box configuration definitions */
|
H A D | ice1712.c | 2372 * Also disable AC97 as no hardware in standard 6fire card/box snd_ice1712_chip_init()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | netfilter_bridge.h | 15 /* If the packet is destined for this box. */
|
H A D | xilinx-v4l2-controls.h | 40 /* Enable a moving box */ 64 /* Moving box size */ 66 /* Moving box color */
|
H A D | netfilter_decnet.h | 31 /* If the packet is destined for this box. */
|
H A D | netfilter_ipv4.h | 46 /* If the packet is destined for this box. */
|
H A D | netfilter_ipv6.h | 50 /* If the packet is destined for this box. */
|
H A D | cdrom.h | 258 * 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 D | videodev2.h | 1326 /* field 'status' - VCR and set-top box */
|
/linux-4.1.27/drivers/gpu/drm/mga/ |
H A D | mga_state.c | 44 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 D | machtype.c | 23 [MACH_LEMOTE_FL2E] = "lemote-fuloong-2e-box", 24 [MACH_LEMOTE_FL2F] = "lemote-fuloong-2f-box",
|
/linux-4.1.27/arch/sh/lib64/ |
H A D | udelay.c | 21 * a 1GHz box, that's about 2 seconds.
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | r300_cmdbuf.c | 62 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 D | radeon_state.c | 450 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 D | atombios.h | 3932 #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 D | udelay.c | 18 * a 1GHz box, that's about 2 seconds.
|
/linux-4.1.27/tools/power/cpupower/debug/i386/ |
H A D | intel_gsic.c | 50 "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 D | pmc.h | 43 #define TILE_BOX_MASK 0x1c0 /* 3 bits box msks,
|
/linux-4.1.27/arch/x86/boot/ |
H A D | bioscall.S | 12 * "Glove box" for BIOS calls. Avoids the constant problems with BIOSes
|
/linux-4.1.27/arch/mips/loongson/lemote-2f/ |
H A D | machtype.c | 28 * LM6XXX Lemote FuLoong(2F) box series mach_prom_init_machtype()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_gem_execbuffer.c | 1098 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 D | i915_drv.c | 1032 * a black-box for the driver. Further investigation is needed to reduce the
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.c | 297 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 D | svga3d_reg.h | 2136 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 D | smiapp-reg.h | 113 * The manufacturer specifies these as a black box.
|
/linux-4.1.27/drivers/media/rc/keymaps/ |
H A D | rc-budget-ci-old.c | 19 * Hauppauge (from NOVA-CI-s box product)
|
H A D | rc-medion-x10-or2x.c | 31 { 0x16, KEY_TEXT }, /* "T" in a box, for teletext */
|
H A D | rc-ati-x10.c | 86 /* Symbol is "circle nailed to box" */
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | inventory.c | 12 * 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 D | process.c | 102 /* Nope...box should reset with just CMD_RESET now */ machine_restart()
|
H A D | irq.c | 316 * So a Legacy PA I/O device on a PA 2.0 box can't use all the bits supported
|
H A D | drivers.c | 334 * may be printed on the outside of the box. 369 * may be printed on the outside of the box.
|
H A D | perf.c | 42 * on every box.
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
H A D | friio-fe.c | 93 /* 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 D | nova-t-usb2.c | 132 /* this is a complete guess, but works for my box */ nova_t_read_mac_address()
|
H A D | vp702x.c | 259 /* remote control stuff (does not work with my box) */ vp702x_rc_query()
|
H A D | dvb-usb.h | 61 * @name: real name of the box, regardless which DVB USB device class is in use
|
H A D | az6027.c | 394 /* remote control stuff (does not work with my box) */ az6027_rc_query()
|
H A D | cxusb.c | 4 * capturing (using the cx25842). The box I took to write this driver (reverse
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-designware-baytrail.c | 160 MODULE_AUTHOR("David E. Box <david.e.box@linux.intel.com>");
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | jump_label.c | 31 * Something went wrong. Crash the box, as something could be bug_at()
|
H A D | cpuid.c | 25 * an SMP box will direct the access to CPU %d.
|
H A D | vsmp_64.c | 149 /* Check if we are running on a ScaleMP vSMPowered box */ detect_vsmp_box()
|
H A D | iosf_mbi.c | 326 MODULE_AUTHOR("David E. Box <david.e.box@linux.intel.com>");
|
H A D | msr.c | 22 * an SMP box will direct the access to CPU %d.
|
H A D | apm_32.c | 263 * [no-]smp Use apm even on an SMP box
|
/linux-4.1.27/include/uapi/linux/netfilter/ |
H A D | nf_conntrack_common.h | 46 /* Connection is confirmed: originating packet has left box */
|
/linux-4.1.27/arch/ia64/include/asm/sn/ |
H A D | geo.h | 28 moduleid_t module; /* The module (box) this h/w lives in */
|
/linux-4.1.27/scripts/kconfig/ |
H A D | nconf.gui.c | 238 * 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 D | gconf.c | 644 "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 D | qconf.cc | 1671 "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 D | nconf.c | 963 box(main_window, 0, 0); show_menu()
|
/linux-4.1.27/sound/pci/echoaudio/ |
H A D | echo3g_dsp.c | 67 what type of external box is attached */ init_hw()
|
H A D | layla20_dsp.c | 108 defective - the external box may be disconnected or turned off. 140 /* Layla20 has an ASIC in the external box */ load_asic()
|
H A D | echoaudio.h | 74 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 D | echoaudio_gml.c | 39 defective - the external box may be disconnected or turned off. */ check_asic_status()
|
H A D | layla24_dsp.c | 110 /* Layla24 has an ASIC on the PCI card and another ASIC in the external box;
|
H A D | echoaudio_dsp.h | 573 /* 3G external box types */ 683 u32 ext_box_status; /* External box status 0xb70 4 */
|
H A D | mona_dsp.c | 113 /* Mona has an ASIC on the PCI card and another ASIC in the external box;
|
/linux-4.1.27/net/ipv4/netfilter/ |
H A D | nf_nat_pptp.c | 163 /* 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 D | ms02-nv.h | 56 * (i.e. looking from the back side of the system box), their meaning
|
/linux-4.1.27/tools/thermal/tmon/ |
H A D | tmon.h | 197 /* dialogue box starts */
|
H A D | tui.c | 300 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 D | i810_dma.c | 714 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 D | cx23418.h | 450 /* 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 D | boot.c | 263 /* 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 D | boot.c | 491 /* 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 D | megaraid_ioctl.h | 92 * @mb_type : Type of the mail box (MB_LEGACY or MB_HPE)
|
/linux-4.1.27/drivers/pci/hotplug/ |
H A D | ibmphp_ebda.c | 444 //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 D | bfa_cee.c | 192 * bfa_cee_isrs - Handles Mail-box interrupts for CEE module.
|
/linux-4.1.27/drivers/base/power/ |
H A D | trace.c | 50 * And if your box can't boot in less than three minutes,
|
/linux-4.1.27/drivers/ata/ |
H A D | pata_mpiix.c | 197 the MPIIX your box goes castors up */ mpiix_init_one()
|
/linux-4.1.27/drivers/vme/bridges/ |
H A D | vme_tsi148.h | 1375 #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 D | vme_tsi148.c | 114 * Wake up mail box queue. 286 /* Mail box irqs */ tsi148_irqhandler()
|
/linux-4.1.27/arch/arm/mach-ixp4xx/ |
H A D | nas100d-setup.c | 185 /* This causes the box to drop the power and go dead. */ nas100d_power_off()
|
H A D | nslu2-setup.c | 198 /* This causes the box to drop the power and go dead. */ nslu2_power_off()
|
/linux-4.1.27/include/linux/ |
H A D | drbd.h | 49 # error "sorry, weird endianness on this box"
|
H A D | pe.h | 269 #define IMAGE_SCN_ALIGN_1BYTES 0x00100000 /* it does what it says on the box */
|
/linux-4.1.27/tools/testing/ktest/ |
H A D | ktest.pl | 346 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 D | sur40.c | 63 __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 D | qla_nx.h | 849 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 D | eisa.c | 353 /* old firmware, need to figure out the box */ eisa_probe()
|
H A D | sba_iommu.c | 1522 ** 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 D | sbc60xxwdt.c | 98 * should be sufficient for a box under any load.
|
H A D | hpwdt.c | 800 * not run on a legacy ASM box. hpwdt_init_one()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | pdcpat.h | 301 /* Flag to indicate this is a PAT box...don't use this unless you
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | core_lca.h | 185 unsigned long abox_ctl; /* address box control register */
|
/linux-4.1.27/net/mac80211/ |
H A D | tkip.c | 25 * 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 D | xt_socket.c | 112 * box.
|
/linux-4.1.27/sound/pci/mixart/ |
H A D | mixart_core.h | 4 * low level interface with interrupt handling and mail box implementation
|
H A D | mixart_core.c | 4 * low level interface with interrupt handling and mail box implementation
|
/linux-4.1.27/Documentation/cdrom/ |
H A D | cdrom-standard.tex | 310 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 D | rtl871x_security.c | 388 /* 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 D | rtw_security.c | 404 /* 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 D | leds-ss4200.c | 276 * 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 D | alim15x3.c | 277 * 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 D | inet_hashtables.h | 75 * users logged onto your box, isn't it nice to know that new data
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | ftrace.c | 6 * Thanks goes out to P.A. Semi, Inc for supplying me with a PPC64 box.
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | smp.c | 459 /* Nothing to do on a UP box, or when told not to. */ smp_prepare_cpus()
|
H A D | setup.c | 526 * 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 D | at91_can.c | 627 * @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 D | ttusb_dec.c | 233 * 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 D | ql4_fw.h | 52 __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 D | fw.c | 351 /* 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 D | pvr2fb.c | 364 * 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 D | klconfig.h | 609 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 D | rtw_security.c | 374 /* 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 D | vmu-flash.c | 173 /* 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 D | az6007.c | 206 /* remote control stuff (does not work with my box) */ az6007_rc_query()
|
/linux-4.1.27/drivers/scsi/bfa/ |
H A D | bfa_port.c | 768 * @brief Handles Mail-box interrupts for CEE module.
|
/linux-4.1.27/drivers/ssb/ |
H A D | driver_chipcommon_pmu.c | 232 * the default crystal settings work out-of-the-box. */ ssb_pmu1_pllinit_r0()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_tkip.c | 264 /* Step 2 - 96-bit bijective mixing using S-box */ tkip_mixing_phase2()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_tkip.c | 272 /* Step 2 - 96-bit bijective mixing using S-box */ tkip_mixing_phase2()
|
/linux-4.1.27/drivers/net/ethernet/apple/ |
H A D | macmace.c | 55 /* The MACE is simply wired down on a Mac68K box */
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.h | 523 /* Mail box */
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.h | 240 /* VF mail box (aka vf-pf channel) */
|
H A D | bnx2x.h | 1770 /* used to protect the FW mail box */
|
/linux-4.1.27/arch/x86/mm/ |
H A D | numa.c | 730 * for NUMA on a non NUMA box), which is OK as cpu_to_node[]
|
/linux-4.1.27/arch/x86/pci/ |
H A D | fixup.c | 542 * there and any access kills the box.
|
/linux-4.1.27/crypto/ |
H A D | anubis.c | 16 * Only the S-box and (consequently) the rounds constants have been
|
H A D | des_generic.c | 368 /* S-box lookup tables */
|
H A D | twofish_common.c | 409 * S-box entries, preprocessed through q0 and q1. */
|
/linux-4.1.27/kernel/ |
H A D | softirq.c | 192 * should not be able to lock up the box.
|
/linux-4.1.27/kernel/time/ |
H A D | alarmtimer.c | 5 * but triggers a RTC alarm if the box is suspend.
|
/linux-4.1.27/net/wireless/ |
H A D | lib80211_crypt_tkip.c | 278 /* Step 2 - 96-bit bijective mixing using S-box */ tkip_mixing_phase2()
|
/linux-4.1.27/sound/drivers/ |
H A D | portman2x4.c | 456 * hardware handshake lines to midi box: portman_probe()
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
H A D | cryptocop.c | 1678 /* 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 D | ltpc.c | 29 * 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 D | e1000_defines.h | 413 #define E1000_IMS_VMMB E1000_ICR_VMMB /* Mail box activity */
|
/linux-4.1.27/drivers/net/plip/ |
H A D | plip.c | 54 * To use with DOS box, please do (Turn on ARP switch):
|
/linux-4.1.27/drivers/misc/ |
H A D | pti.c | 604 * with PTI debug HW like Nokia's Fido box and Lauterbach
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | device_fsm.c | 439 * 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 D | atl1c_hw.h | 667 /* Mail box */
|
/linux-4.1.27/fs/ |
H A D | open.c | 167 /* explicitly opened as large or we are on 64-bit box */ do_sys_ftruncate()
|
/linux-4.1.27/fs/cifs/ |
H A D | smb1ops.c | 215 * box by issuing long-running calls and SIGKILL'ing them. If cifs_get_next_mid()
|
/linux-4.1.27/net/irda/ |
H A D | irlap.c | 592 * my Linux box with discovery enabled and one Ultra frame sent every irlap_discovery_indication()
|
/linux-4.1.27/kernel/trace/ |
H A D | trace_selftest.c | 75 * the buffer, this will run forever, and hard lock the box. trace_test_buffer()
|
H A D | ring_buffer.c | 3751 * the box. Return the padding, and we will release rb_buffer_peek()
|
/linux-4.1.27/sound/pci/rme9652/ |
H A D | hdsp.c | 679 "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 D | usbusx2yaudio.c | 51 1, 2 and 4 work out of the box on ohci, if I recall correctly.
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | alps.c | 355 * 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 D | cx88-dvb.c | 1130 /* The tin box says DEE1601, but it seems to be DTT7579 dvb_register()
|
/linux-4.1.27/drivers/net/wireless/ath/ar5523/ |
H A D | ar5523.c | 23 * OpenBSD, who did black-box analysis of the Windows binary driver to find
|
/linux-4.1.27/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 1179 * 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 D | n2_core.c | 653 u8 arc4[258]; /* S-box, X, Y */
|
/linux-4.1.27/drivers/acpi/ |
H A D | osl.c | 1513 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 D | aes-armv4.S | 13 @ Code uses single 1K S-box and is >2 times faster than code generated
|
/linux-4.1.27/net/sched/ |
H A D | sch_api.c | 55 Generally, queueing discipline ("qdisc") is a black box,
|
/linux-4.1.27/scripts/ |
H A D | analyze_suspend.py | 2261 # 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 D | s2255drv.c | 343 /* Channels on box are in reverse order */
|
/linux-4.1.27/drivers/net/irda/ |
H A D | nsc-ircc.c | 950 * 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 D | apic.c | 571 * 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 D | drbd_bitmap.c | 292 /* 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 D | keyboard.c | 1089 * attached to the box. The reason we use tasklet is that we
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | dib9000.c | 804 /* Set jump and no jump in the dma box */ dib9000_fw_boot()
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_core.c | 826 pr_err("shouldn't reach here, because the box is on the " handle_response_icmp()
|
/linux-4.1.27/sound/usb/ |
H A D | midi.c | 948 0x00, /* EEPROM, box 0 */ snd_usbmidi_emagic_init_out()
|
/linux-4.1.27/drivers/net/ethernet/alteon/ |
H A D | acenic.c | 1437 * If we do this sooner, Mckinley box pukes. ace_init()
|
/linux-4.1.27/kernel/printk/ |
H A D | printk.c | 1825 * box.
|
/linux-4.1.27/mm/ |
H A D | page-writeback.c | 1766 * much memory the box has..
|
/linux-4.1.27/sound/oss/ |
H A D | ad1848.c | 2819 module_param(deskpro_m, bool, 0); /* Special magic for Deskpro M box */
|
/linux-4.1.27/sound/pci/ |
H A D | azt3328.c | 14 * has very good support out of the box;
|
/linux-4.1.27/drivers/pci/ |
H A D | quirks.c | 806 * The AMD io apic can hang the box when an apic irq is masked.
|
/linux-4.1.27/drivers/cdrom/ |
H A D | cdrom.c | 2498 * the Medium Catalog Number on the box. Note, that the way the code
|
/linux-4.1.27/fs/btrfs/ |
H A D | extent_io.c | 3895 * but no sense in crashing the users box for something btree_write_cache_pages()
|
/linux-4.1.27/drivers/scsi/ |
H A D | hpsa.c | 2778 * and match target/lun numbers box figure_bus_target_lun()
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
H A D | init301.c | 2595 * in a 650 box (Jake). What is the criteria? SiS_SetCRT2ModeRegs()
|