Home
last modified time | relevance | path

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

1234567

/linux/arch/x86/events/intel/
H A Duncore.h261 static inline bool uncore_mmio_is_valid_offset(struct intel_uncore_box *box, in uncore_mmio_is_valid_offset() argument
264 if (offset < box->pmu->type->mmio_map_size) in uncore_mmio_is_valid_offset()
268 offset, box->pmu->type->name); in uncore_mmio_is_valid_offset()
274 unsigned int uncore_mmio_box_ctl(struct intel_uncore_box *box) in uncore_mmio_box_ctl() argument
276 return box->pmu->type->box_ctl + in uncore_mmio_box_ctl()
277 box->pmu->type->mmio_offset * box->pmu->pmu_idx; in uncore_mmio_box_ctl()
280 static inline unsigned uncore_pci_box_ctl(struct intel_uncore_box *box) in uncore_pci_box_ctl() argument
282 return box->pmu->type->box_ctl; in uncore_pci_box_ctl()
285 static inline unsigned uncore_pci_fixed_ctl(struct intel_uncore_box *box) in uncore_pci_fixed_ctl() argument
287 return box->pmu->type->fixed_ctl; in uncore_pci_fixed_ctl()
[all …]
H A 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
194 (!uncore_box_is_fake(box) && reg1->alloc)) in uncore_get_constraint()
[all …]
H A Duncore_discovery.c430 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
454 wrmsrl(intel_generic_uncore_box_ctl(box), 0); in intel_generic_uncore_msr_enable_box()
457 static void intel_generic_uncore_msr_enable_event(struct intel_uncore_box *box, in intel_generic_uncore_msr_enable_event() argument
[all …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Duncore_snbep.c554 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
588 struct pci_dev *pdev = box->pci_dev; in snbep_uncore_pci_disable_event()
[all …]
/linux/scripts/kconfig/lxdialog/
H A Dtextbox.c133 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()
157 WINDOW *dialog, *box; in dialog_textbox() local
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()
211 keypad(box, TRUE); in dialog_textbox()
232 attr_clear(box, boxh, boxw, dlg.dialog.atr); in dialog_textbox()
233 refresh_text_box(dialog, box, boxh, boxw, cur_y, cur_x); in dialog_textbox()
251 refresh_text_box(dialog, box, boxh, boxw, in dialog_textbox()
[all …]
/linux/lib/
H A Dpacking.c87 int plogical_first_u8, plogical_last_u8, box; in packing() local
120 for (box = plogical_first_u8; box >= plogical_last_u8; box--) { in packing()
132 if (box == plogical_first_u8) in packing()
136 if (box == plogical_last_u8) in packing()
148 proj_start_bit = ((box * 8) + box_start_bit) - endbit; in packing()
149 proj_end_bit = ((box * 8) + box_end_bit) - endbit; in packing()
158 box_addr = pbuflen - box - 1; in packing()
/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]
H A 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]
H A 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]
H A Dqcom_camss_graph.dot29 n00000016 [label="msm_vfe0_video0\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
32 n0000001f [label="msm_vfe0_video1\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
35 n00000028 [label="msm_vfe0_video2\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
38 n00000031 [label="msm_vfe0_video3\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
/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
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/drivers/gpu/drm/vmwgfx/
H A 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 …]
H A Dvmwgfx_stdu.c1205 SVGA3dBox *box = &cmd_img->body.box; in vmw_stdu_bo_populate_update_cpu() local
1213 box->x = diff.rect.x1; in vmw_stdu_bo_populate_update_cpu()
1214 box->y = diff.rect.y1; in vmw_stdu_bo_populate_update_cpu()
1215 box->z = 0; in vmw_stdu_bo_populate_update_cpu()
1216 box->w = drm_rect_width(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1217 box->h = drm_rect_height(&diff.rect); in vmw_stdu_bo_populate_update_cpu()
1218 box->d = 1; in vmw_stdu_bo_populate_update_cpu()
1316 struct SVGA3dCopyBox *box = cmd; in vmw_stdu_surface_populate_clip() local
1318 box->srcx = fb_x; in vmw_stdu_surface_populate_clip()
1319 box->srcy = fb_y; in vmw_stdu_surface_populate_clip()
[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/arch/mips/include/asm/mach-loongson64/
H A Dloongson_regs.h243 #define CSR_MAIL_SEND_BOX_LOW(box) (box << 1) argument
244 #define CSR_MAIL_SEND_BOX_HIGH(box) ((box << 1) + 1) argument
/linux/Documentation/gpu/dp-mst/
H A 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];
H A 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];
H A 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];
/linux/arch/arm/mach-sti/
H A 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