Home
last modified time | relevance | path

Searched refs:box (Results 1 – 25 of 166) sorted by relevance

1234567

/Linux-v5.15/arch/x86/events/intel/
Duncore.h238 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()
262 static inline unsigned uncore_pci_fixed_ctl(struct intel_uncore_box *box) in uncore_pci_fixed_ctl() argument
264 return box->pmu->type->fixed_ctl; in uncore_pci_fixed_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
178 (!uncore_box_is_fake(box) && reg1->alloc)) in uncore_get_constraint()
[all …]
Duncore_discovery.c340 void intel_generic_uncore_msr_init_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_init_box() argument
342 wrmsrl(uncore_msr_box_ctl(box), GENERIC_PMON_BOX_CTL_INT); in intel_generic_uncore_msr_init_box()
345 void intel_generic_uncore_msr_disable_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_disable_box() argument
347 wrmsrl(uncore_msr_box_ctl(box), GENERIC_PMON_BOX_CTL_FRZ); in intel_generic_uncore_msr_disable_box()
350 void intel_generic_uncore_msr_enable_box(struct intel_uncore_box *box) in intel_generic_uncore_msr_enable_box() argument
352 wrmsrl(uncore_msr_box_ctl(box), 0); in intel_generic_uncore_msr_enable_box()
355 static void intel_generic_uncore_msr_enable_event(struct intel_uncore_box *box, in intel_generic_uncore_msr_enable_event() argument
363 static void intel_generic_uncore_msr_disable_event(struct intel_uncore_box *box, in intel_generic_uncore_msr_disable_event() argument
380 void intel_generic_uncore_pci_init_box(struct intel_uncore_box *box) in intel_generic_uncore_pci_init_box() argument
382 struct pci_dev *pdev = box->pci_dev; in intel_generic_uncore_pci_init_box()
[all …]
Duncore_discovery.h133 void intel_generic_uncore_msr_init_box(struct intel_uncore_box *box);
134 void intel_generic_uncore_msr_disable_box(struct intel_uncore_box *box);
135 void intel_generic_uncore_msr_enable_box(struct intel_uncore_box *box);
137 void intel_generic_uncore_mmio_init_box(struct intel_uncore_box *box);
138 void intel_generic_uncore_mmio_disable_box(struct intel_uncore_box *box);
139 void intel_generic_uncore_mmio_enable_box(struct intel_uncore_box *box);
140 void intel_generic_uncore_mmio_disable_event(struct intel_uncore_box *box,
143 void intel_generic_uncore_pci_init_box(struct intel_uncore_box *box);
144 void intel_generic_uncore_pci_disable_box(struct intel_uncore_box *box);
145 void intel_generic_uncore_pci_enable_box(struct intel_uncore_box *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_snb.c165 static void snb_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_enable_event() argument
175 static void snb_uncore_msr_disable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_disable_event() argument
180 static void snb_uncore_msr_init_box(struct intel_uncore_box *box) in snb_uncore_msr_init_box() argument
182 if (box->pmu->pmu_idx == 0) { in snb_uncore_msr_init_box()
188 static void snb_uncore_msr_enable_box(struct intel_uncore_box *box) in snb_uncore_msr_enable_box() argument
194 static void snb_uncore_msr_exit_box(struct intel_uncore_box *box) in snb_uncore_msr_exit_box() argument
196 if (box->pmu->pmu_idx == 0) in snb_uncore_msr_exit_box()
279 static void skl_uncore_msr_init_box(struct intel_uncore_box *box) in skl_uncore_msr_init_box() argument
281 if (box->pmu->pmu_idx == 0) { in skl_uncore_msr_init_box()
287 if (box->pmu->pmu_idx == 7) in skl_uncore_msr_init_box()
[all …]
Duncore_snbep.c549 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
583 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_disable_event()
[all …]
/Linux-v5.15/scripts/kconfig/lxdialog/
Dtextbox.c26 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()
49 WINDOW *dialog, *box; in dialog_textbox() local
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()
103 keypad(box, TRUE); in dialog_textbox()
124 attr_clear(box, boxh, boxw, dlg.dialog.atr); in dialog_textbox()
125 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x, update_text, in dialog_textbox()
144 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
[all …]
/Linux-v5.15/lib/
Dpacking.c99 int plogical_first_u8, plogical_last_u8, box; in packing() local
132 for (box = plogical_first_u8; box >= plogical_last_u8; box--) { in packing()
144 if (box == plogical_first_u8) in packing()
148 if (box == plogical_last_u8) in packing()
160 proj_start_bit = ((box * 8) + box_start_bit) - endbit; in packing()
161 proj_end_bit = ((box * 8) + box_end_bit) - endbit; in packing()
170 box_addr = pbuflen - box - 1; in packing()
/Linux-v5.15/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
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
125 ICE1712_STDSP24_0_BOX(spec->boxbits, box); in snd_ice1712_stdsp24_box_midi()
158 int box, chn; in hoontech_init() local
234 for (box = 0; box < 4; box++) { in hoontech_init()
235 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI2) in hoontech_init()
238 snd_ice1712_stdsp24_box_channel(ice, box, chn, in hoontech_init()
239 (spec->boxconfig[box] & (1 << chn)) ? 1 : 0); in hoontech_init()
240 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI1) in hoontech_init()
[all …]
/Linux-v5.15/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-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c1718 SVGA3dBox *box = &dirty->boxes[loc_start->sub_resource]; in vmw_subres_dirty_add() local
1721 u32 box_c2 = box->z + box->d; in vmw_subres_dirty_add()
1726 if (box->d == 0 || box->z > loc_start->z) in vmw_subres_dirty_add()
1727 box->z = loc_start->z; in vmw_subres_dirty_add()
1729 box->d = loc_end->z - box->z; in vmw_subres_dirty_add()
1732 box_c2 = box->y + box->h; in vmw_subres_dirty_add()
1733 if (box->h == 0 || box->y > loc_start->y) in vmw_subres_dirty_add()
1734 box->y = loc_start->y; in vmw_subres_dirty_add()
1736 box->h = loc_end->y - box->y; in vmw_subres_dirty_add()
1739 box_c2 = box->x + box->w; in vmw_subres_dirty_add()
[all …]
Dvmwgfx_stdu.c1220 struct SVGA3dCopyBox *box = cmd; in vmw_stdu_bo_populate_clip() local
1222 box->srcx = fb_x; in vmw_stdu_bo_populate_clip()
1223 box->srcy = fb_y; in vmw_stdu_bo_populate_clip()
1224 box->srcz = 0; in vmw_stdu_bo_populate_clip()
1225 box->x = clip->x1; in vmw_stdu_bo_populate_clip()
1226 box->y = clip->y1; in vmw_stdu_bo_populate_clip()
1227 box->z = 0; in vmw_stdu_bo_populate_clip()
1228 box->w = drm_rect_width(clip); in vmw_stdu_bo_populate_clip()
1229 box->h = drm_rect_height(clip); in vmw_stdu_bo_populate_clip()
1230 box->d = 1; in vmw_stdu_bo_populate_clip()
[all …]
Dvmwgfx_kms.c156 SVGA3dCopyBox *box; in vmw_kms_cursor_snoop() local
182 box = (SVGA3dCopyBox *)&cmd[1]; in vmw_kms_cursor_snoop()
187 box->x != 0 || box->y != 0 || box->z != 0 || in vmw_kms_cursor_snoop()
188 box->srcx != 0 || box->srcy != 0 || box->srcz != 0 || in vmw_kms_cursor_snoop()
189 box->d != 1 || box_count != 1) { in vmw_kms_cursor_snoop()
195 box->srcx, box->srcy, box->srcz, in vmw_kms_cursor_snoop()
196 box->x, box->y, box->z, in vmw_kms_cursor_snoop()
197 box->w, box->h, box->d, box_count, in vmw_kms_cursor_snoop()
217 if (box->w == 64 && cmd->dma.guest.pitch == 64*4) { in vmw_kms_cursor_snoop()
221 for (i = 0; i < box->h; i++) in vmw_kms_cursor_snoop()
[all …]
/Linux-v5.15/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]
Drkisp1.dot11 n0000000c [label="rkisp1_mainpath\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
12 n00000010 [label="rkisp1_selfpath\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
13 n00000014 [label="rkisp1_stats\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
14 n00000018 [label="rkisp1_params\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
Dvimc.dot15 n0000000b [label="Raw Capture 0\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
16 n0000000f [label="Raw Capture 1\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
17 n00000013 [label="RGB/YUV Input\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
21 n0000001a [label="RGB/YUV Capture\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
Dqcom_camss_8x96_graph.dot78 n00000025 [label="msm_vfe0_video0\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
81 n0000002e [label="msm_vfe0_video1\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
84 n00000037 [label="msm_vfe0_video2\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
87 n00000040 [label="msm_vfe0_video3\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
90 n00000049 [label="msm_vfe1_video0\n/dev/video4", shape=box, style=filled, fillcolor=yellow]
93 n00000052 [label="msm_vfe1_video1\n/dev/video5", shape=box, style=filled, fillcolor=yellow]
96 n0000005b [label="msm_vfe1_video2\n/dev/video6", shape=box, style=filled, fillcolor=yellow]
99 n00000064 [label="msm_vfe1_video3\n/dev/video7", shape=box, style=filled, fillcolor=yellow]
/Linux-v5.15/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>
/Linux-v5.15/arch/mips/include/asm/mach-loongson64/
Dloongson_regs.h233 #define CSR_MAIL_SEND_BOX_LOW(box) (box << 1) argument
234 #define CSR_MAIL_SEND_BOX_HIGH(box) ((box << 1) + 1) argument
/Linux-v5.15/Documentation/gpu/dp-mst/
Dtopology-figure-1.dot38 driver [label="DRM driver";style=filled;shape=box;fillcolor=lightblue];
40 payload1 [label="Payload #1";style=filled;shape=box;fillcolor=lightblue];
41 payload2 [label="Payload #2";style=filled;shape=box;fillcolor=lightblue];
Dtopology-figure-2.dot52 driver [label="DRM driver";style=filled;shape=box;fillcolor=lightblue];
54 payload1 [label="Payload #1";style=filled;shape=box;fillcolor=lightblue];
55 payload2 [label="Payload #2";style=filled;shape=box;fillcolor=lightblue];
Dtopology-figure-3.dot55 driver [label="DRM driver";style=filled;shape=box;fillcolor=lightblue];
57 payload1 [label="Payload #1";style=filled;shape=box;fillcolor=lightblue];
58 payload2 [label="Payload #2";style=filled;shape=box;fillcolor=lightblue;penwidth=3];
/Linux-v5.15/arch/arm/mach-sti/
DKconfig34 Electronics family StiH415 parts, primarily targeted at set-top-box
43 Electronics family StiH416 parts, primarily targeted at set-top-box
53 Electronics family StiH407 parts, targetted at set-top-box

1234567