Home
last modified time | relevance | path

Searched +full:needs +full:- +full:double +full:- +full:reset (Results 1 – 25 of 242) sorted by relevance

12345678910

/linux/Documentation/devicetree/bindings/usb/
H A Dnvidia,tegra20-ehci.txt9 - compatible : For Tegra20, must contain "nvidia,tegra20-ehci".
10 For Tegra30, must contain "nvidia,tegra30-ehci". Otherwise, must contain
11 "nvidia,<chip>-ehci" plus at least one of the above, where <chip> is
13 - nvidia,phy : phandle of the PHY that the controller is connected to.
14 - clocks : Must contain one entry, for the module clock.
15 See ../clocks/clock-bindings.txt for details.
16 - resets : Must contain an entry for each entry in reset-names.
17 See ../reset/reset.txt for details.
18 - reset-names : Must include the following entries:
19 - usb
[all …]
/linux/tools/perf/util/
H A Dannotate.h1 /* SPDX-License-Identifier: GPL-2.0 */
97 double percent[PERCENT_MAX];
98 double percent_sum;
136 /* This needs to be at the end. */
144 static inline double annotation_data__percent(struct annotation_data *data, in annotation_data__percent()
147 return which < PERCENT_MAX ? data->percent[which] : -1; in annotation_data__percent()
176 return dl->ops.target.offset_avail && !dl->ops.target.outside; in disasm_line__has_local_offset()
193 void (*set_percent_color)(void *obj, double percent, bool current);
211 * struct sym_hist - symbol histogram information for an event
222 * struct cyc_hist - (CPU) cycle histogram for a basic block
[all …]
H A Dannotate.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Parts came from builtin-annotate.c, see those files for further
16 #include "build-id.h"
30 #include "annotate-data.h"
33 #include "bpf-event.h"
34 #include "bpf-utils.h"
35 #include "block-range.h"
37 #include "dwarf-regs.h"
50 #include <subcmd/parse-options.h>
51 #include <subcmd/run-command.h>
[all …]
/linux/arch/arc/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
90 source "arch/arc/plat-tb10x/Kconfig"
91 source "arch/arc/plat-axs10x/Kconfig"
92 source "arch/arc/plat-hsdk/Kconfig"
110 ISA for the Next Generation ARC-HS cores
128 -MMU-v3: Variable Page Sz (4k, 8k, 16k), bigger J-TLB (128x4)
130 -Caches: New Prog Model, Region Flush
131 -Insns: endian swap, load-locked/store-conditional, time-stamp-ctr
134 bool "ARC-HS"
[all …]
/linux/drivers/gpu/drm/meson/
H A Dmeson_encoder_hdmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include <linux/reset.h>
19 #include <media/cec-notifier.h>
29 #include <linux/media-bus-format.h>
56 return drm_bridge_attach(bridge->encoder, encoder_hdmi->next_bridge, in meson_encoder_hdmi_attach()
57 &encoder_hdmi->bridge, flags); in meson_encoder_hdmi_attach()
64 cec_notifier_conn_unregister(encoder_hdmi->cec_notifier); in meson_encoder_hdmi_detach()
65 encoder_hdmi->cec_notifier = NULL; in meson_encoder_hdmi_detach()
71 struct meson_drm *priv = encoder_hdmi->priv; in meson_encoder_hdmi_set_vclk()
78 vclk_freq = mode->clock; in meson_encoder_hdmi_set_vclk()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/
H A Ddml2_pmo_dcn4_fams2.c1 // SPDX-License-Identifier: MIT
10 static const double MIN_VACTIVE_MARGIN_PCT = 0.25; // We need more than non-zero margin because DET…
11 static const double MIN_BLANK_STUTTER_FACTOR = 3.0;
236 for (i = 0; i < display_cfg->num_planes; i++) { in count_planes_with_stream_index()
237 if (display_cfg->plane_descriptors[i].stream_index == stream_index) in count_planes_with_stream_index()
247 struct dml2_pmo_instance *pmo = in_out->instance; in optimize_dcc_mcache_no_odm()
252 for (i = 0; i < in_out->optimized_display_cfg->num_planes; i++) { in optimize_dcc_mcache_no_odm()
256 if (!in_out->dcc_mcache_supported[i]) { in optimize_dcc_mcache_no_odm()
258 …if (in_out->cfg_support_info->stream_support_info[in_out->optimized_display_cfg->plane_descriptors… in optimize_dcc_mcache_no_odm()
259 in_out->optimized_display_cfg->plane_descriptors[i].overrides.mpcc_combine_factor = in optimize_dcc_mcache_no_odm()
[all …]
/linux/include/uapi/linux/
H A Dfd.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
19 stretch; /* bit 0 !=0 means double track steps */
28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1)
35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8)
36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \
50 /* clear user-defined parameters */
54 /* set user-defined parameters for current media */
93 reset, /* maximal number of errors before a reset is tried */ member
100 * ultra cheap floppies ;-)
171 * Auto-detection. Each drive type has eight formats which are
[all …]
/linux/arch/arc/kernel/
H A Dentry-compact.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Low Level Interrupts/Traps/Exceptions(non-TLB) Handling for ARCompact ISA
5 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
6 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
9 * -Userspace unaligned access emulation
12 * -traced syscall return code (r0) was not saved into pt_regs for restoring
13 * into user reg-file when traded task rets to user space.
14 * -syscalls needing arch-wrappers (mainly for passing sp as pt_regs)
15 * were not invoking post-syscall trace hook (jumping directly into
19 * -Vector table jumps (@8 bytes) converted into branches (@4 bytes)
[all …]
/linux/drivers/net/wan/
H A Dfarsync.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Actually sync driver for X.21, V.35 and V.24 on FarSync T-series cards
23 * used with the FarSite T-Series cards (T2P & T4P) running in the high
30 * purpose (FarSite T-series).
32 * Finally the device driver needs a short network interface name. Since
75 * FSTCPURESET forces the cards CPU into a reset state and holds it there.
76 * FSTCPURELEASE releases the CPU from this reset state allowing it to run,
77 * the reset vector should be setup before this ioctl is run.
117 unsigned char structure; /* unframed, double, crc4, f4, f12, */
121 unsigned char lineBuildOut; /* 0, -7.5, -15, -22 */
[all …]
/linux/tools/perf/
H A Dbuiltin-ftrace.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * builtin-ftrace.c
25 #include <subcmd/parse-options.h>
39 #include "util/parse-sublevel-options.h"
64 workload_exec_errno = info->si_value.sival_int; in ftrace__workload_exec_failed_signal()
106 int fd, ret = -1; in __write_tracing_file()
115 return -1; in __write_tracing_file()
168 int ret = -1; in read_tracing_file_to_stdout()
173 return -1; in read_tracing_file_to_stdout()
215 return -1; in read_tracing_file_by_line()
[all …]
/linux/Documentation/bpf/
H A Dclassic_vs_extended.rst12 - Number of registers increase from 2 to 10:
15 new layout extends this to be 10 internal registers and a read-only frame
16 pointer. Since 64-bit CPUs are passing arguments to functions via registers
17 the number of args from eBPF program to in-kernel function is restricted
18 to 5 and one register is used to accept return value from an in-kernel
20 sparcv9/mips64 have 7 - 8 registers for arguments; x86_64 has 6 callee saved
25 64-bit architectures.
27 On 32-bit architectures JIT may map programs that use only 32-bit arithmetic
30 R0 - R5 are scratch registers and eBPF program needs spill/fill them if
33 call predefined in-kernel functions, though.
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn32/
H A Ddcn32_dio_stream_encoder.c36 enc1->base.ctx->logger
39 (enc1->regs->reg)
43 enc1->se_shift->field_name, enc1->se_mask->field_name
49 enc1->base.ctx
70 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in enc32_stream_encoder_dvi_set_stream_attribute()
74 cntl.engine_id = enc1->base.id; in enc32_stream_encoder_dvi_set_stream_attribute()
78 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc32_stream_encoder_dvi_set_stream_attribute()
81 if (enc1->base.bp->funcs->encoder_control( in enc32_stream_encoder_dvi_set_stream_attribute()
82 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc32_stream_encoder_dvi_set_stream_attribute()
90 //DIG_BE_TMDS_DVI_MODE : TMDS-DVI mode is already set in link_encoder_setup in enc32_stream_encoder_dvi_set_stream_attribute()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn314/
H A Ddcn314_dio_stream_encoder.c1 // SPDX-License-Identifier: MIT
37 enc1->base.ctx->logger
40 (enc1->regs->reg)
44 enc1->se_shift->field_name, enc1->se_mask->field_name
50 enc1->base.ctx
52 void enc314_reset_fifo(struct stream_encoder *enc, bool reset) in enc314_reset_fifo() argument
55 uint32_t reset_val = reset ? 1 : 0; in enc314_reset_fifo()
112 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in enc314_stream_encoder_dvi_set_stream_attribute()
116 cntl.engine_id = enc1->base.id; in enc314_stream_encoder_dvi_set_stream_attribute()
120 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc314_stream_encoder_dvi_set_stream_attribute()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn35/
H A Ddcn35_dio_stream_encoder.c1 /* SPDX-License-Identifier: MIT */
36 enc1->base.ctx->logger
39 (enc1->regs->reg)
43 enc1->se_shift->field_name, enc1->se_mask->field_name
49 enc1->base.ctx
58 if (!enc->ctx->dc->debug.avoid_vbios_exec_table) { in enc35_stream_encoder_dvi_set_stream_attribute()
62 cntl.engine_id = enc1->base.id; in enc35_stream_encoder_dvi_set_stream_attribute()
66 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc35_stream_encoder_dvi_set_stream_attribute()
69 if (enc1->base.bp->funcs->encoder_control( in enc35_stream_encoder_dvi_set_stream_attribute()
70 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc35_stream_encoder_dvi_set_stream_attribute()
[all …]
/linux/arch/powerpc/platforms/pasemi/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2006-2007 PA Semi, Inc
40 /* SDC reset register, must be pre-mapped at reset time */
43 /* Various error status registers, must be pre-mapped at MCE time */
90 platform_device_register_simple("rtc_cmos", -1, rtc_resource, 2); in nemo_init_rtc()
150 /* Remap SDC register for doing reset */ in pas_setup_arch()
214 chip->irq_eoi(&desc->irq_data); in sb600_8259_cascade()
231 irq_set_default_host(mpic->irqhost); in nemo_init_IRQ()
254 for_each_node_by_type(np, "interrupt-controller") in pas_init_IRQ()
255 if (of_device_is_compatible(np, "open-pic")) { in pas_init_IRQ()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_pfc.sh2 # SPDX-License-Identifier: GPL-2.0
4 # This test injects a 10-MB burst of traffic with VLAN tag and 802.1p priority
8 # - the stream first ingresses through $swp1, where it is forwarded to $swp3
10 # - then it ingresses through $swp4. Here it is put to a lossless buffer and put
15 # - since $swp3 now can't send traffic, the traffic ingressing $swp1 is kept at
16 # a pool ("overflow pool"). The overflow pool needs to be large enough to
19 # - eventually the PFC pool gets some traffic out, headroom therefore gets some
24 # - if PFC works, all lossless flow packets that ingress through $swp1 should
28 # - it should all play out relatively quickly, so that SLL and HLL will not
31 # +-----------------------+
[all …]
/linux/arch/x86/mm/
H A Dkmmio.c1 // SPDX-License-Identifier: GPL-2.0
76 /* Read-protected by RCU, write-protected by kmmio_lock. */
92 /* Accessed per-cpu */
101 * Space Efficient Dynamic Stabbing with Fast Queries - Mikkel Thorup
108 if (addr >= p->addr && addr < (p->addr + p->len)) in get_kmmio_probe()
127 if (f->addr == addr) in get_kmmio_fault_page()
163 pte_t *pte = lookup_address(f->addr, &level); in clear_page_presence()
166 pr_err("no pte for addr 0x%08lx\n", f->addr); in clear_page_presence()
167 return -1; in clear_page_presence()
172 clear_pmd_presence((pmd_t *)pte, clear, &f->old_presence); in clear_page_presence()
[all …]
/linux/drivers/net/ethernet/sgi/
H A Dmeth.h4 #define TX_RING_ENTRIES 64 /* 64-512?*/
11 #define METH_RX_HEAD 34 /* status + 3 quad garbage-fill + 2 byte zero-pad */
32 * It consists of header, 0-3 concatination
43 u64 data_len:16; /*Length of valid data in bytes-1*/
48 u64 len:16; /*length of buffer data - 1*/
91 u64 pad[3]; /* For whatever reason, there needs to be 4 double-word offset */
93 char buf[METH_RX_BUFF_SIZE-sizeof(rx_status_vector)-3*sizeof(u64)-sizeof(u16)];/* data */
101 #define SGI_MAC_RESET BIT(0) /* 0: MAC110 active in run mode, 1: Global reset signal to MAC110 cor…
122 … /* Bits 8 through 14 are used to determine Inter-Packet Gap between "Back to Back" packets */
137 #define METH_RX_DEPTH_SHIFT 4 /* Bits 8:4 define RX fifo depth -- when # of RX fifo entries != dept…
[all …]
/linux/drivers/dma/idxd/
H A Dirq.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/io-64-nonatomic-lo-hi.h>
35 struct device *dev = &idxd->pdev->dev; in idxd_device_reinit()
47 for (i = 0; i < idxd->max_wq in idxd_device_reinit()
[all...]
/linux/drivers/gpu/drm/xe/
H A Dxe_gt_tlb_invalidation.c1 // SPDX-License-Identifier: MIT
26 * invalidation time. Double up the time to process full CT queue
31 /* this reflects what HW/GuC needs to process TLB inv request */ in tlb_timeout_jiffies()
35 long delay = xe_guc_ct_queue_proc_time_jiffies(&gt->uc.guc.ct); in tlb_timeout_jiffies()
42 if (WARN_ON_ONCE(!fence->gt)) in xe_gt_tlb_invalidation_fence_fini()
45 xe_pm_runtime_put(gt_to_xe(fence->gt)); in xe_gt_tlb_invalidation_fence_fini()
46 fence->gt = NULL; /* fini() should be called once */ in xe_gt_tlb_invalidation_fence_fini()
52 bool stack = test_bit(FENCE_STACK_BIT, &fence->base.flags); in __invalidation_fence_signal()
56 dma_fence_signal(&fence->base); in __invalidation_fence_signal()
58 dma_fence_put(&fence->base); in __invalidation_fence_signal()
[all …]
/linux/drivers/media/usb/gspca/
H A Dw996Xcf.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (C) 2002-2004 by Luca Risolia <luca.risolia@studio.unibo.it>
13 is a bit of a hack, but it needs the driver code for a lot of different
23 #define Y_QUANTABLE (&sd->jpeg_hdr[JPEG_QT0_OFFSET])
24 #define UV_QUANTABLE (&sd->jpeg_hdr[JPEG_QT1_OFFSET])
51 /*--------------------------------------------------------------------------
52 Write 64-bit data to the fast serial bus registers.
53 Return 0 on success, -1 otherwise.
54 --------------------------------------------------------------------------*/
57 struct usb_device *udev = sd->gspca_dev.dev; in w9968cf_write_fsb()
[all …]
/linux/arch/m68k/math-emu/
H A Dfp_util.S23 * the restrictions contained in a BSD-style copyright.)
63 tst.l (TASK_MM-8,%a2)
65 tst.l (TASK_MM-4,%a2)
69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM)
94 | args: %d0 = source (32-bit long)
98 printf PCONV,"l2e: %p -> %p(",2,%d0,%a0
125 | args: %d0 = source (single-precision fp value)
129 printf PCONV,"s2e: %p -> %p(",2,%d0,%a0
139 add.w #0x3fff-0x7f,%d1 | re-bias the exponent.
152 move.w #0x4000-0x7f,%d1
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn20/
H A Ddcn20_stream_encoder.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
36 enc1->base.ctx->logger
39 (enc1->regs->reg)
43 enc1->se_shift->field_name, enc1->se_mask->field_name
47 enc1->base.ctx
57 if (info_packet->valid) { in enc2_update_hdmi_info_packet()
63 /* enable transmission of packet(s) - in enc2_update_hdmi_info_packet()
76 /* DP_SEC_GSP[x]_LINE_REFERENCE - keep default value REFER_TO_DP_SOF */ in enc2_update_hdmi_info_packet()
151 /* for bring up, disable dp double TODO */ in enc2_stream_encoder_update_hdmi_info_packets()
155 enc2_update_hdmi_info_packet(enc1, 0, &info_frame->avi); in enc2_stream_encoder_update_hdmi_info_packets()
[all …]
/linux/include/linux/
H A Dblk_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
37 #define PAGE_SECTORS_SHIFT (PAGE_SHIFT - SECTOR_SHIFT)
39 #define SECTOR_MASK (PAGE_SECTORS - 1)
49 #define BD_PARTNO 255 // lower 8 bits; assign-once
50 #define BD_READ_ONLY (1u<<8) // read-only policy
61 spinlock_t bd_size_lock; /* for bd_inode->i_size updates */
78 * keep this out-of-line as it's both big and not needed in the fast
85 ((_bdev)->bd_disk->part0)
91 (&((_bdev)->bd_device.kobj))
94 * Block error status values. See block/blk-core:blk_errors for the details.
[all …]
/linux/drivers/staging/media/atomisp/pci/
H A Dia_css_stream_public.h1 /* SPDX-License-Identifier: GPL-2.0 */
29 IA_CSS_INPUT_MODE_FIFO, /** data from input-fifo */
30 IA_CSS_INPUT_MODE_TPG, /** data from test-pattern generator */
31 IA_CSS_INPUT_MODE_PRBS, /** data from pseudo-random bit stream */
62 int linked_isys_stream_id; /** default value is -1, other value means
119 s32 flash_gpio_pin; /** pin on which the flash is connected, -1 for no flash */
120 int left_padding; /** The number of input-formatter left-paddings, -1 for default from binary.*/
129 This setting needs to be enabled to allow raw buffer locking
147 * This function will reset the stream configuration to the default state:
150 stream_config->online = true;
[all …]

12345678910