Home
last modified time | relevance | path

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

12345678910>>...22

/linux-6.14.4/arch/x86/events/intel/
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 …]
Duncore.c149 u64 uncore_msr_read_counter(struct intel_uncore_box *box, struct perf_event *event) in uncore_msr_read_counter() argument
158 void uncore_mmio_exit_box(struct intel_uncore_box *box) in uncore_mmio_exit_box() argument
160 if (box->io_addr) in uncore_mmio_exit_box()
161 iounmap(box->io_addr); in uncore_mmio_exit_box()
164 u64 uncore_mmio_read_counter(struct intel_uncore_box *box, in uncore_mmio_read_counter() argument
167 if (!box->io_addr) in uncore_mmio_read_counter()
170 if (!uncore_mmio_is_valid_offset(box, event->hw.event_base)) in uncore_mmio_read_counter()
173 return readq(box->io_addr + event->hw.event_base); in uncore_mmio_read_counter()
180 uncore_get_constraint(struct intel_uncore_box *box, struct perf_event *event) in uncore_get_constraint() argument
189 * reg->alloc can be set due to existing state, so for fake box we in uncore_get_constraint()
[all …]
Duncore_discovery.c229 pr_info("Invalid address is detected for uncore type %d box %d, " in uncore_insert_box_info()
251 /* Store generic information for the first box */ in uncore_insert_box_info()
430 static u64 intel_generic_uncore_box_ctl(struct intel_uncore_box *box) in intel_generic_uncore_box_ctl() argument
434 unit = intel_uncore_find_discovery_unit(box->pmu->type->boxes, in intel_generic_uncore_box_ctl()
435 -1, box->pmu->pmu_idx); in intel_generic_uncore_box_ctl()
442 void intel_generic_uncore_msr_init_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_init_box() argument
444 wrmsrl(intel_generic_uncore_box_ctl(box), GENERIC_PMON_BOX_CTL_INT); in intel_generic_uncore_msr_init_box()
447 void intel_generic_uncore_msr_disable_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_disable_box() argument
449 wrmsrl(intel_generic_uncore_box_ctl(box), GENERIC_PMON_BOX_CTL_FRZ); in intel_generic_uncore_msr_disable_box()
452 void intel_generic_uncore_msr_enable_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_enable_box() argument
[all …]
Duncore_discovery.h142 void intel_generic_uncore_msr_init_box(struct intel_uncore_box *box);
143 void intel_generic_uncore_msr_disable_box(struct intel_uncore_box *box);
144 void intel_generic_uncore_msr_enable_box(struct intel_uncore_box *box);
146 void intel_generic_uncore_mmio_init_box(struct intel_uncore_box *box);
147 void intel_generic_uncore_mmio_disable_box(struct intel_uncore_box *box);
148 void intel_generic_uncore_mmio_enable_box(struct intel_uncore_box *box);
149 void intel_generic_uncore_mmio_disable_event(struct intel_uncore_box *box,
151 void intel_generic_uncore_mmio_enable_event(struct intel_uncore_box *box,
154 void intel_generic_uncore_pci_init_box(struct intel_uncore_box *box);
155 void intel_generic_uncore_pci_disable_box(struct intel_uncore_box *box);
[all …]
Duncore_snb.c258 static void snb_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_enable_event() argument
268 static void snb_uncore_msr_disable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_disable_event() argument
273 static void snb_uncore_msr_init_box(struct intel_uncore_box *box) in snb_uncore_msr_init_box() argument
275 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box()
281 static void snb_uncore_msr_enable_box(struct intel_uncore_box *box) in snb_uncore_msr_enable_box() argument
287 static void snb_uncore_msr_exit_box(struct intel_uncore_box *box) in snb_uncore_msr_exit_box() argument
289 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box()
372 static void skl_uncore_msr_init_box(struct intel_uncore_box *box) in skl_uncore_msr_init_box() argument
374 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box()
380 if (box->pmu->pmu_idx == 7) in skl_uncore_msr_init_box()
[all …]
Duncore_nhmex.c201 static void nhmex_uncore_msr_init_box(struct intel_uncore_box *box) in nhmex_uncore_msr_init_box() argument
206 static void nhmex_uncore_msr_exit_box(struct intel_uncore_box *box) in nhmex_uncore_msr_exit_box() argument
211 static void nhmex_uncore_msr_disable_box(struct intel_uncore_box *box) in nhmex_uncore_msr_disable_box() argument
213 unsigned msr = uncore_msr_box_ctl(box); in nhmex_uncore_msr_disable_box()
218 config &= ~((1ULL << uncore_num_counters(box)) - 1); in nhmex_uncore_msr_disable_box()
220 if (uncore_msr_fixed_ctl(box)) in nhmex_uncore_msr_disable_box()
226 static void nhmex_uncore_msr_enable_box(struct intel_uncore_box *box) in nhmex_uncore_msr_enable_box() argument
228 unsigned msr = uncore_msr_box_ctl(box); in nhmex_uncore_msr_enable_box()
233 config |= (1ULL << uncore_num_counters(box)) - 1; in nhmex_uncore_msr_enable_box()
235 if (uncore_msr_fixed_ctl(box)) in nhmex_uncore_msr_enable_box()
[all …]
Duncore_snbep.c11 /* SNB-EP Box level control */
554 static void snbep_uncore_pci_disable_box(struct intel_uncore_box *box) in snbep_uncore_pci_disable_box() argument
556 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_disable_box()
557 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_disable_box()
566 static void snbep_uncore_pci_enable_box(struct intel_uncore_box *box) in snbep_uncore_pci_enable_box() argument
568 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_enable_box()
569 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_enable_box()
578 static void snbep_uncore_pci_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_enable_event() argument
580 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_enable_event()
586 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-6.14.4/rust/kernel/alloc/
Dkbox.rs3 //! Implementation of [`Box`].
21 /// The kernel's [`Box`] type -- a heap allocation for a single value of type `T`.
23 /// This is the kernel's version of the Rust stdlib's `Box`. There are several differences,
24 /// for example no `noalias` attribute is emitted and partially moving out of a `Box` is not
25 /// supported. There are also several API differences, e.g. `Box` always requires an [`Allocator`]
29 /// `Box` works with any of the kernel's allocators, e.g. [`Kmalloc`], [`Vmalloc`] or [`KVmalloc`].
30 /// There are aliases for `Box` with these allocators ([`KBox`], [`VBox`], [`KVBox`]).
32 /// When dropping a [`Box`], the value is also dropped and the heap memory is automatically freed.
64 pub struct Box<T: ?Sized, A: Allocator>(NonNull<T>, PhantomData<A>); struct
66 /// Type alias for [`Box`] with a [`Kmalloc`] allocator.
[all …]
/linux-6.14.4/tools/testing/ktest/examples/include/
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-6.14.4/lib/
Dpacking.c41 * @box: Index of byte within buffer seen as a logical big-endian big number
46 * the physical offset of the @box logical octet within it. Internally, it
59 * Return: the physical offset into the buffer corresponding to the logical box.
61 static size_t calculate_box_addr(size_t box, size_t len, u8 quirks) in calculate_box_addr() argument
63 size_t offset_of_group, offset_in_group, this_group = box / 4; in calculate_box_addr()
74 offset_in_group = box - this_group * 4; in calculate_box_addr()
76 offset_in_group = group_size - (box - this_group * 4) - 1; in calculate_box_addr()
90 int box; in __pack() local
102 * logical bit significance. "box" denotes the current logical u8. in __pack()
104 for (box = plogical_first_u8; box >= plogical_last_u8; box--) { in __pack()
[all …]
/linux-6.14.4/Documentation/ABI/testing/
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>
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-6.14.4/Documentation/RCU/Design/Memory-Ordering/
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 …]
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 …]
/linux-6.14.4/scripts/kconfig/lxdialog/
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-6.14.4/sound/pci/ice1712/
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()
118 static void snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master) in snd_ice1712_stdsp24_box_midi() argument
124 /* select box */ in snd_ice1712_stdsp24_box_midi()
125 ICE1712_STDSP24_0_BOX(spec->boxbits, box); in snd_ice1712_stdsp24_box_midi()
158 int box, chn; in hoontech_init() local
191 /* let's go - activate only functions in first box */ in hoontech_init()
202 * ** MIDI IN can only be configured on one box ** in hoontech_init()
203 * ICE1712_STDSP24_BOX_MIDI1 needs to be set for that box. in hoontech_init()
[all …]
/linux-6.14.4/Documentation/admin-guide/media/
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]
Draspberrypi-rp1-cfe.dot18 n00000011 [label="rp1-cfe-csi2-ch0\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
19 n00000015 [label="rp1-cfe-csi2-ch1\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
20 n00000019 [label="rp1-cfe-csi2-ch2\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
21 n0000001d [label="rp1-cfe-csi2-ch3\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
22 n00000021 [label="rp1-cfe-fe-image0\n/dev/video4", shape=box, style=filled, fillcolor=yellow]
23 n00000025 [label="rp1-cfe-fe-image1\n/dev/video5", shape=box, style=filled, fillcolor=yellow]
24 n00000029 [label="rp1-cfe-fe-stats\n/dev/video6", shape=box, style=filled, fillcolor=yellow]
25 n0000002d [label="rp1-cfe-fe-config\n/dev/video7", shape=box, style=filled, fillcolor=yellow]
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]
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-6.14.4/drivers/virt/vboxguest/
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
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/
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-6.14.4/tools/testing/ktest/examples/
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-6.14.4/Documentation/RCU/Design/Data-Structures/
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 …]
/linux-6.14.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c1795 SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource]; in vmw_subres_dirty_add() local
1798 u32 box_c2 = box->z + box->d; in vmw_subres_dirty_add()
1803 if (box->d == 0 || box->z > loc_start->z) in vmw_subres_dirty_add()
1804 box->z = loc_start->z; in vmw_subres_dirty_add()
1806 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()
1809 box_c2 = box->y + box->h; in vmw_subres_dirty_add()
1810 if (box->h == 0 || box->y > loc_start->y) in vmw_subres_dirty_add()
1811 box->y = loc_start->y; in vmw_subres_dirty_add()
1813 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()
1816 box_c2 = box->x + box->w; in vmw_subres_dirty_add()
[all …]

12345678910>>...22