Home
last modified time | relevance | path

Searched full:box (Results 1 – 25 of 425) sorted by relevance

12345678910>>...17

/linux/arch/x86/events/intel/
H A Duncore.h155 u64 hrtimer_duration; /* hrtimer timeout for this box */
260 static inline bool uncore_mmio_is_valid_offset(struct intel_uncore_box *box, in uncore_mmio_is_valid_offset() argument
263 if (offset < box->pmu->type->mmio_map_size) in uncore_mmio_is_valid_offset()
267 offset, box->pmu->type->name); in uncore_mmio_is_valid_offset()
273 unsigned int uncore_mmio_box_ctl(struct intel_uncore_box *box) in uncore_mmio_box_ctl() argument
275 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl()
276 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
279 static inline unsigned uncore_pci_box_ctl(struct intel_uncore_box *box) in uncore_pci_box_ctl() argument
281 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
284 static inline unsigned uncore_pci_fixed_ctl(struct intel_uncore_box *box) in uncore_pci_fixed_ctl() argument
[all …]
H A Duncore.c150 u64 uncore_msr_read_counter(struct intel_uncore_box *box, struct perf_event *event) in uncore_msr_read_counter() argument
159 void uncore_mmio_exit_box(struct intel_uncore_box *box) in uncore_mmio_exit_box() argument
161 if (box->io_addr) in uncore_mmio_exit_box()
162 iounmap(box->io_addr); in uncore_mmio_exit_box()
165 u64 uncore_mmio_read_counter(struct intel_uncore_box *box, in uncore_mmio_read_counter() argument
168 if (!box->io_addr) in uncore_mmio_read_counter()
171 if (!uncore_mmio_is_valid_offset(box, event->hw.event_base)) in uncore_mmio_read_counter()
174 return readq(box->io_addr + event->hw.event_base); in uncore_mmio_read_counter()
181 uncore_get_constraint(struct intel_uncore_box *box, struct perf_event *event) in uncore_get_constraint() argument
190 * reg->alloc can be set due to existing state, so for fake box we in uncore_get_constraint()
[all …]
H A Duncore_discovery.c230 pr_info("Invalid address is detected for uncore type %d box %d, " in uncore_insert_box_info()
252 /* Store generic information for the first box */ in uncore_insert_box_info()
478 static u64 intel_generic_uncore_box_ctl(struct intel_uncore_box *box) in intel_generic_uncore_box_ctl() argument
482 unit = intel_uncore_find_discovery_unit(box->pmu->type->boxes, in intel_generic_uncore_box_ctl()
483 -1, box->pmu->pmu_idx); in intel_generic_uncore_box_ctl()
490 void intel_generic_uncore_msr_init_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_init_box() argument
492 wrmsrq(intel_generic_uncore_box_ctl(box), GENERIC_PMON_BOX_CTL_INT); in intel_generic_uncore_msr_init_box()
495 void intel_generic_uncore_msr_disable_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_disable_box() argument
497 wrmsrq(intel_generic_uncore_box_ctl(box), GENERIC_PMON_BOX_CTL_FRZ); in intel_generic_uncore_msr_disable_box()
500 void intel_generic_uncore_msr_enable_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_enable_box() argument
[all …]
H A Duncore_snb.c259 static void snb_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_enable_event() argument
269 static void snb_uncore_msr_disable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_disable_event() argument
274 static void snb_uncore_msr_init_box(struct intel_uncore_box *box) in snb_uncore_msr_init_box() argument
276 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box()
282 static void snb_uncore_msr_enable_box(struct intel_uncore_box *box) in snb_uncore_msr_enable_box() argument
288 static void snb_uncore_msr_exit_box(struct intel_uncore_box *box) in snb_uncore_msr_exit_box() argument
290 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box()
373 static void skl_uncore_msr_init_box(struct intel_uncore_box *box) in skl_uncore_msr_init_box() argument
375 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box()
381 if (box->pmu->pmu_idx == 7) in skl_uncore_msr_init_box()
[all …]
H A Duncore_discovery.h145 void intel_generic_uncore_msr_init_box(struct intel_uncore_box *box);
146 void intel_generic_uncore_msr_disable_box(struct intel_uncore_box *box);
147 void intel_generic_uncore_msr_enable_box(struct intel_uncore_box *box);
149 void intel_generic_uncore_mmio_init_box(struct intel_uncore_box *box);
150 void intel_generic_uncore_mmio_disable_box(struct intel_uncore_box *box);
151 void intel_generic_uncore_mmio_enable_box(struct intel_uncore_box *box);
152 void intel_generic_uncore_mmio_disable_event(struct intel_uncore_box *box,
154 void intel_generic_uncore_mmio_enable_event(struct intel_uncore_box *box,
157 void intel_generic_uncore_pci_init_box(struct intel_uncore_box *box);
158 void intel_generic_uncore_pci_disable_box(struct intel_uncore_box *box);
[all …]
H A Duncore_snbep.c12 /* SNB-EP Box level control */
555 static void snbep_uncore_pci_disable_box(struct intel_uncore_box *box) in snbep_uncore_pci_disable_box() argument
557 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_disable_box()
558 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_disable_box()
567 static void snbep_uncore_pci_enable_box(struct intel_uncore_box *box) in snbep_uncore_pci_enable_box() argument
569 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_enable_box()
570 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_enable_box()
579 static void snbep_uncore_pci_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_enable_event() argument
581 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_enable_event()
587 static void snbep_uncore_pci_disable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_disable_event() argument
[all …]
/linux/rust/kernel/alloc/
H A Dkbox.rs3 //! Implementation of [`Box`].
25 /// The kernel's [`Box`] type -- a heap allocation for a single value of type `T`.
27 /// This is the kernel's version of the Rust stdlib's `Box`. There are several differences,
28 /// for example no `noalias` attribute is emitted and partially moving out of a `Box` is not
29 /// supported. There are also several API differences, e.g. `Box` always requires an [`Allocator`]
33 /// `Box` works with any of the kernel's allocators, e.g. [`Kmalloc`], [`Vmalloc`] or [`KVmalloc`].
34 /// There are aliases for `Box` with these allocators ([`KBox`], [`VBox`], [`KVBox`]).
36 /// When dropping a [`Box`], the value is also dropped and the heap memory is automatically freed.
63 /// [`Box`]es can also be used to store trait objects by coercing their type:
81 pub struct Box<#[cfg_attr(CONFIG_RUSTC_HAS_COERCE_POINTEE, pointee)] T: ?Sized, A: Allocator>( struct
[all …]
/linux/tools/testing/ktest/examples/include/
H A Ddefaults.conf10 # box (usually different if it was 64 bit or 32 bit) but the
11 # BOX here is defined as a variable that will be the name of the box
13 # the box, as only one script needs to be created to power cycle
14 # even though the box itself has multiple operating systems on it.
15 # By default, BOX and MACHINE are the same.
17 DEFAULTS IF NOT DEFINED BOX
18 BOX := ${MACHINE}
21 # Consider each box as 64 bit box, unless the config including this file
52 # Update this. The default here is ktest will ssh to the target box
53 # and run a script called 'run-test' located on that box.
[all …]
/linux/scripts/kconfig/lxdialog/
H A Dtextbox.c3 * textbox.c -- implements the text box
133 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
138 print_page(box, boxh, boxw); in refresh_text_box()
147 * Display text from a file in a dialog box.
157 WINDOW *dialog, *box; in dialog_textbox() local
195 /* center dialog box on screen */ in dialog_textbox()
204 /* Create window for box region, used for scrolling text */ in dialog_textbox()
207 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
208 wattrset(box, dlg.dialog.atr); in dialog_textbox()
209 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
[all …]
/linux/Documentation/RCU/Design/Memory-Ordering/
H A Drcu_node-lock.svg80 <!-- Line: box -->
81 <!-- Line: box -->
82 <!-- Line: box -->
91 <!-- Line: box -->
92 <!-- Line: box -->
120 <!-- Line: box -->
121 <!-- Line: box -->
122 <!-- Line: box -->
123 <!-- Line: box -->
124 <!-- Line: box -->
[all …]
H A DTreeRCU-callback-invocation.svg234 <!-- Line: box -->
235 <!-- Line: box -->
236 <!-- Line: box -->
245 <!-- Line: box -->
246 <!-- Line: box -->
274 <!-- Line: box -->
275 <!-- Line: box -->
276 <!-- Line: box -->
277 <!-- Line: box -->
278 <!-- Line: box -->
[all …]
H A DTreeRCU-callback-registry.svg234 <!-- Line: box -->
235 <!-- Line: box -->
236 <!-- Line: box -->
245 <!-- Line: box -->
246 <!-- Line: box -->
274 <!-- Line: box -->
275 <!-- Line: box -->
276 <!-- Line: box -->
277 <!-- Line: box -->
278 <!-- Line: box -->
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-intel_sdsi4 Contact: "David E. Box" <david.e.box@linux.intel.com>
33 Contact: "David E. Box" <david.e.box@linux.intel.com>
43 Contact: "David E. Box" <david.e.box@linux.intel.com>
54 Contact: "David E. Box" <david.e.box@linux.intel.com>
63 Contact: "David E. Box" <david.e.box@linux.intel.com>
75 Contact: "David E. Box" <david.e.box@linux.intel.com>
85 Contact: "David E. Box" <david.e.box@linux.intel.com>
H A Dsysfs-class-intel_pmt4 Contact: David Box <david.e.box@linux.intel.com>
13 Contact: David Box <david.e.box@linux.intel.com>
26 Contact: David Box <david.e.box@linux.intel.com>
34 Contact: David Box <david.e.box@linux.intel.com>
43 Contact: David Box <david.e.box@linux.intel.com>
51 Contact: David Box <david.e.box@linux.intel.com>
72 Contact: David Box <david.e.box@linux.intel.com>
/linux/sound/pci/ice1712/
H A Dhoontech.c68 static void snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate) in snd_ice1712_stdsp24_box_channel() argument
74 /* select box */ in snd_ice1712_stdsp24_box_channel()
75 ICE1712_STDSP24_0_BOX(spec->boxbits, box); in snd_ice1712_stdsp24_box_channel()
116 static void snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) in snd_ice1712_stdsp24_box_channel()
122 /* select box */ in snd_ice1712_stdsp24_box_midi()
123 ICE1712_STDSP24_0_BOX(spec->boxbits, box); in snd_ice1712_stdsp24_box_midi()
154 int box, chn;
187 /* let's go - activate only functions in first box */ in hoontech_init()
198 * ** MIDI IN can only be configured on one box ** in hoontech_init()
199 * ICE1712_STDSP24_BOX_MIDI1 needs to be set for that box in hoontech_init()
118 snd_ice1712_stdsp24_box_midi(struct snd_ice1712 * ice,int box,int master) snd_ice1712_stdsp24_box_midi() argument
158 int box, chn; hoontech_init() local
[all...]
/linux/rust/kernel/time/hrtimer/
H A Dtbox.rs14 /// A handle for a [`Box<HasHrTimer<T>>`] returned by a call to
19 /// - `self.inner` comes from a `Box::into_raw` call.
54 // SAFETY: By type invariant, `self.inner` came from a `Box::into_raw` in drop()
56 drop(unsafe { Box::<T, A>::from_raw(self.inner.as_ptr()) }) in drop()
60 impl<T, A> HrTimerPointer for Pin<Box<T, A>>
65 T: for<'a> HrTimerCallback<Pointer<'a> = Pin<Box<T, A>>>,
76 // - We will not move out of this box during timer callback (we pass an in start()
78 // - `Box::into_raw` is guaranteed to return a valid pointer. in start()
80 unsafe { NonNull::new_unchecked(Box::into_raw(Pin::into_inner_unchecked(self))) }; in start()
88 // INVARIANT: `inner` came from `Box in start()
[all...]
/linux/Documentation/admin-guide/media/
H A Draspberrypi-pisp-be.dot8 n0000000a [label="pispbe-input\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
10 n00000010 [label="pispbe-tdn_input\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
12 n00000016 [label="pispbe-stitch_input\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
14 n0000001c [label="pispbe-output0\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
15 n00000022 [label="pispbe-output1\n/dev/video4", shape=box, style=filled, fillcolor=yellow]
16 n00000028 [label="pispbe-tdn_output\n/dev/video5", shape=box, style=filled, fillcolor=yellow]
17 n0000002e [label="pispbe-stitch_output\n/dev/video6", shape=box, style=filled, fillcolor=yellow]
18 n00000034 [label="pispbe-config\n/dev/video7", shape=box, style=filled, fillcolor=yellow]
H A Dimx6q-sabreauto.dot7 n00000005 [label="ipu1_csi0 capture\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
15 n00000016 [label="ipu1_ic_prpenc capture\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
18 n0000001f [label="ipu1_ic_prpvf capture\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
23 n00000033 [label="ipu1_csi1 capture\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
28 n00000041 [label="ipu2_csi0 capture\n/dev/video4", shape=box, style=filled, fillcolor=yellow]
36 n00000052 [label="ipu2_ic_prpenc capture\n/dev/video5", shape=box, style=filled, fillcolor=yellow]
39 n0000005b [label="ipu2_ic_prpvf capture\n/dev/video6", shape=box, style=filled, fillcolor=yellow]
44 n0000006f [label="ipu2_csi1 capture\n/dev/video7", shape=box, style=filled, fillcolor=yellow]
H A Dimx6q-sabresd.dot7 n00000005 [label="ipu1_csi0 capture\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
15 n00000016 [label="ipu1_ic_prpenc capture\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
18 n0000001f [label="ipu1_ic_prpvf capture\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
23 n00000033 [label="ipu1_csi1 capture\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
28 n00000041 [label="ipu2_csi0 capture\n/dev/video4", shape=box, style=filled, fillcolor=yellow]
36 n00000052 [label="ipu2_ic_prpenc capture\n/dev/video5", shape=box, style=filled, fillcolor=yellow]
39 n0000005b [label="ipu2_ic_prpvf capture\n/dev/video6", shape=box, style=filled, fillcolor=yellow]
44 n0000006f [label="ipu2_csi1 capture\n/dev/video7", shape=box, style=filled, fillcolor=yellow]
/linux/Documentation/RCU/Design/Data-Structures/
H A Dblkd_task.svg77 <!-- Line: box -->
78 <!-- Line: box -->
79 <!-- Line: box -->
108 <!-- Line: box -->
117 <!-- Line: box -->
232 <!-- Line: box -->
241 <!-- Line: box -->
250 <!-- Line: box -->
259 <!-- Line: box -->
268 <!-- Line: box -->
[all …]
H A Dnxtlist.svg74 <!-- Line: box -->
83 <!-- Line: box -->
92 <!-- Line: box -->
101 <!-- Line: box -->
110 <!-- Line: box -->
119 <!-- Line: box -->
128 <!-- Line: box -->
143 <!-- Line: box -->
152 <!-- Line: box -->
161 <!-- Line: box -->
[all …]
H A DBigTreePreemptRCUBHdyntickCB.svg106 <!-- Line: box -->
107 <!-- Line: box -->
108 <!-- Line: box -->
109 <!-- Line: box -->
110 <!-- Line: box -->
111 <!-- Line: box -->
154 <!-- Line: box -->
163 <!-- Line: box -->
289 <!-- Line: box -->
298 <!-- Line: box -->
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-dhcor-maveo-box.dts9 * maveo box PCB number: 525-200 or newer
17 model = "DH electronics i.MX6ULL DHCOR on maveo box";
18 compatible = "marantec,imx6ull-dhcor-maveo-box", "dh,imx6ull-dhcor-som",
115 "", "MAVEO-BOX-HW0", "LED-G", "MAVEO-BOX-VAR1",
116 "MAVEO-BOX-VAR0", "MAVEO-BOX-HW1", "MAVEO-BOX-HW2", "LED-B",
214 pinctrl_hog_maveo_box: hog-maveo-box-grp {
334 pinctrl_snvs_hog_maveo_box: snvs-hog-maveo-box-grp {
/linux/tools/testing/ktest/examples/
H A Dtest.conf8 # BOX can be different than foo, if the machine BOX has
10 # you may have a i386 and x86_64 installation on a test box.
13 # is booting into. BOX is used for the scripts to reboot and power cycle
16 #BOX := bar
/linux/drivers/virt/vboxguest/
H A DKconfig3 tristate "Virtual Box Guest integration support"
7 This is a driver for the Virtual Box Guest PCI device used in
8 Virtual Box virtual machines. Enabling this driver will add
9 support for Virtual Box Guest integration features such as

12345678910>>...17