Home
last modified time | relevance | path

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

12345678910>>...21

/Linux-v6.1/arch/x86/events/intel/
Duncore.h62 u64 *box_ctls; /* Unit ctrl addr of the first box of each die */
149 u64 hrtimer_duration; /* hrtimer timeout for this box */
238 static inline bool uncore_mmio_is_valid_offset(struct intel_uncore_box *box, in uncore_mmio_is_valid_offset() argument
241 if (offset < box->pmu->type->mmio_map_size) in uncore_mmio_is_valid_offset()
245 offset, box->pmu->type->name); in uncore_mmio_is_valid_offset()
251 unsigned int uncore_mmio_box_ctl(struct intel_uncore_box *box) in uncore_mmio_box_ctl() argument
253 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl()
254 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
257 static inline unsigned uncore_pci_box_ctl(struct intel_uncore_box *box) in uncore_pci_box_ctl() argument
259 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
[all …]
Duncore.c133 u64 uncore_msr_read_counter(struct intel_uncore_box *box, struct perf_event *event) in uncore_msr_read_counter() argument
142 void uncore_mmio_exit_box(struct intel_uncore_box *box) in uncore_mmio_exit_box() argument
144 if (box->io_addr) in uncore_mmio_exit_box()
145 iounmap(box->io_addr); in uncore_mmio_exit_box()
148 u64 uncore_mmio_read_counter(struct intel_uncore_box *box, in uncore_mmio_read_counter() argument
151 if (!box->io_addr) in uncore_mmio_read_counter()
154 if (!uncore_mmio_is_valid_offset(box, event->hw.event_base)) in uncore_mmio_read_counter()
157 return readq(box->io_addr + event->hw.event_base); in uncore_mmio_read_counter()
164 uncore_get_constraint(struct intel_uncore_box *box, struct perf_event *event) in uncore_get_constraint() argument
173 * reg->alloc can be set due to existing state, so for fake box we in uncore_get_constraint()
[all …]
Duncore_discovery.c150 /* Store the first box of each die */ in uncore_insert_box_info()
168 /* Store generic information for the first box */ in uncore_insert_box_info()
348 void intel_generic_uncore_msr_init_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_init_box() argument
350 wrmsrl(uncore_msr_box_ctl(box), GENERIC_PMON_BOX_CTL_INT); in intel_generic_uncore_msr_init_box()
353 void intel_generic_uncore_msr_disable_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_disable_box() argument
355 wrmsrl(uncore_msr_box_ctl(box), GENERIC_PMON_BOX_CTL_FRZ); in intel_generic_uncore_msr_disable_box()
358 void intel_generic_uncore_msr_enable_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_enable_box() argument
360 wrmsrl(uncore_msr_box_ctl(box), 0); in intel_generic_uncore_msr_enable_box()
363 static void intel_generic_uncore_msr_enable_event(struct intel_uncore_box *box, in intel_generic_uncore_msr_enable_event() argument
371 static void intel_generic_uncore_msr_disable_event(struct intel_uncore_box *box, in intel_generic_uncore_msr_disable_event() argument
[all …]
Duncore_discovery.h113 u64 box_ctrl; /* Unit ctrl addr of the first box */
114 u64 *box_ctrl_die; /* Unit ctrl addr of the first box of each die */
121 unsigned int *ids; /* Box IDs */
122 unsigned int *box_offset; /* Box offset */
131 void intel_generic_uncore_msr_init_box(struct intel_uncore_box *box);
132 void intel_generic_uncore_msr_disable_box(struct intel_uncore_box *box);
133 void intel_generic_uncore_msr_enable_box(struct intel_uncore_box *box);
135 void intel_generic_uncore_mmio_init_box(struct intel_uncore_box *box);
136 void intel_generic_uncore_mmio_disable_box(struct intel_uncore_box *box);
137 void intel_generic_uncore_mmio_enable_box(struct intel_uncore_box *box);
[all …]
Duncore_snb.c218 static void snb_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_enable_event() argument
228 static void snb_uncore_msr_disable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_disable_event() argument
233 static void snb_uncore_msr_init_box(struct intel_uncore_box *box) in snb_uncore_msr_init_box() argument
235 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box()
241 static void snb_uncore_msr_enable_box(struct intel_uncore_box *box) in snb_uncore_msr_enable_box() argument
247 static void snb_uncore_msr_exit_box(struct intel_uncore_box *box) in snb_uncore_msr_exit_box() argument
249 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box()
332 static void skl_uncore_msr_init_box(struct intel_uncore_box *box) in skl_uncore_msr_init_box() argument
334 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box()
340 if (box->pmu->pmu_idx == 7) in skl_uncore_msr_init_box()
[all …]
Duncore_nhmex.c200 static void nhmex_uncore_msr_init_box(struct intel_uncore_box *box) in nhmex_uncore_msr_init_box() argument
205 static void nhmex_uncore_msr_exit_box(struct intel_uncore_box *box) in nhmex_uncore_msr_exit_box() argument
210 static void nhmex_uncore_msr_disable_box(struct intel_uncore_box *box) in nhmex_uncore_msr_disable_box() argument
212 unsigned msr = uncore_msr_box_ctl(box); in nhmex_uncore_msr_disable_box()
217 config &= ~((1ULL << uncore_num_counters(box)) - 1); in nhmex_uncore_msr_disable_box()
219 if (uncore_msr_fixed_ctl(box)) in nhmex_uncore_msr_disable_box()
225 static void nhmex_uncore_msr_enable_box(struct intel_uncore_box *box) in nhmex_uncore_msr_enable_box() argument
227 unsigned msr = uncore_msr_box_ctl(box); in nhmex_uncore_msr_enable_box()
232 config |= (1ULL << uncore_num_counters(box)) - 1; in nhmex_uncore_msr_enable_box()
234 if (uncore_msr_fixed_ctl(box)) in nhmex_uncore_msr_enable_box()
[all …]
Duncore_snbep.c10 /* SNB-EP Box level control */
549 static void snbep_uncore_pci_disable_box(struct intel_uncore_box *box) in snbep_uncore_pci_disable_box() argument
551 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_disable_box()
552 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_disable_box()
561 static void snbep_uncore_pci_enable_box(struct intel_uncore_box *box) in snbep_uncore_pci_enable_box() argument
563 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_enable_box()
564 int box_ctl = uncore_pci_box_ctl(box); in snbep_uncore_pci_enable_box()
573 static void snbep_uncore_pci_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snbep_uncore_pci_enable_event() argument
575 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_enable_event()
581 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-v6.1/rust/alloc/
Dboxed.rs5 //! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
12 //! Move a value from the stack to the heap by creating a [`Box`]:
16 //! let boxed: Box<u8> = Box::new(val);
19 //! Move a value from a [`Box`] back to the stack by [dereferencing]:
22 //! let boxed: Box<u8> = Box::new(5);
31 //! Cons(T, Box<List<T>>),
35 //! let list: List<i32> = List::Cons(1, Box::new(List::Cons(2, Box::new(List::Nil))));
52 //! for a `Cons`. By introducing a [`Box<T>`], which has a defined size, we know how
57 //! For non-zero-sized values, a [`Box`] will use the [`Global`] allocator for
58 //! its allocation. It is valid to convert both ways between a [`Box`] and a
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/scripts/kconfig/lxdialog/
Dtextbox.c3 * textbox.c -- implements the text box
26 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
30 print_page(box, boxh, boxw, update_text, data); in refresh_text_box()
38 * Display text from a file in a dialog box.
49 WINDOW *dialog, *box; in dialog_textbox() local
87 /* center dialog box on screen */ in dialog_textbox()
96 /* Create window for box region, used for scrolling text */ in dialog_textbox()
99 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
100 wattrset(box, dlg.dialog.atr); in dialog_textbox()
101 wbkgdset(box, dlg.dialog.atr & A_COLOR); in dialog_textbox()
[all …]
/Linux-v6.1/Documentation/ABI/testing/
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>
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>
/Linux-v6.1/lib/
Dpacking.c99 int plogical_first_u8, plogical_last_u8, box; in packing() local
127 * logical bit significance. "box" denotes the current logical u8. in packing()
132 for (box = plogical_first_u8; box >= plogical_last_u8; box--) { in packing()
133 /* Bit indices into the currently accessed 8-bit box */ in packing()
144 if (box == plogical_first_u8) in packing()
148 if (box == plogical_last_u8) in packing()
153 /* We have determined the box bit start and end. in packing()
154 * Now we calculate where this (masked) u8 box would fit in packing()
155 * in the unpacked (CPU-readable) u64 - the u8 box's in packing()
157 * box is u8, the projection is u64 because it may fall in packing()
[all …]
/Linux-v6.1/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-v6.1/drivers/gpu/drm/mga/
Dmga_state.c42 struct drm_clip_rect *box) in mga_emit_clip_rect() argument
60 MGA_CXBNDRY, ((box->x2 - 1) << 16) | box->x1, in mga_emit_clip_rect()
61 MGA_YTOP, box->y1 * pitch, MGA_YBOT, (box->y2 - 1) * pitch); in mga_emit_clip_rect()
500 struct drm_clip_rect *box = &pbox[i]; in mga_dma_dispatch_clear() local
501 u32 height = box->y2 - box->y1; in mga_dma_dispatch_clear()
504 box->x1, box->y1, box->x2, box->y2); in mga_dma_dispatch_clear()
511 MGA_YDSTLEN, (box->y1 << 16) | height, in mga_dma_dispatch_clear()
512 MGA_FXBNDRY, (box->x2 << 16) | box->x1); in mga_dma_dispatch_clear()
527 MGA_YDSTLEN, (box->y1 << 16) | height, in mga_dma_dispatch_clear()
528 MGA_FXBNDRY, (box->x2 << 16) | box->x1); in mga_dma_dispatch_clear()
[all …]
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_stdu.c57 * @left: Left side of bounding box.
58 * @right: Right side of bounding box.
59 * @top: Top side of bounding box.
60 * @bottom: Bottom side of bounding box.
61 * @fb_left: Left side of the framebuffer/content bounding box
62 * @fb_top: Top of the framebuffer/content bounding box
257 * bounding box.
261 * @left: Left side of bounding box.
262 * @right: Right side of bounding box.
263 * @top: Top side of bounding box.
[all …]
Dvmwgfx_surface.c1672 SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource]; in vmw_subres_dirty_add() local
1675 u32 box_c2 = box->z + box->d; in vmw_subres_dirty_add()
1680 if (box->d == 0 || box->z > loc_start->z) in vmw_subres_dirty_add()
1681 box->z = loc_start->z; in vmw_subres_dirty_add()
1683 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()
1686 box_c2 = box->y + box->h; in vmw_subres_dirty_add()
1687 if (box->h == 0 || box->y > loc_start->y) in vmw_subres_dirty_add()
1688 box->y = loc_start->y; in vmw_subres_dirty_add()
1690 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()
1693 box_c2 = box->x + box->w; in vmw_subres_dirty_add()
[all …]
/Linux-v6.1/Documentation/admin-guide/media/
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-v6.1/drivers/virt/vboxguest/
DKconfig3 tristate "Virtual Box Guest integration support"
6 This is a driver for the Virtual Box Guest PCI device used in
7 Virtual Box virtual machines. Enabling this driver will add
8 support for Virtual Box Guest integration features such as
/Linux-v6.1/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-v6.1/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-v6.1/drivers/net/appletalk/
DKconfig10 on a network. If your Linux box is connected to such a network and you
12 so that your Linux box can act as a print and file server for Macs as
37 on a network. If your Linux box is connected to such a network, and wish
78 box is stuck on an AppleTalk only network) or decapsulate (e.g. if
79 you want your Linux box to act as an Internet gateway for a zoo of
99 IP packets inside AppleTalk frames; this is useful if your Linux box

12345678910>>...21