Home
last modified time | relevance | path

Searched +full:step +full:- +full:size (Results 1 – 25 of 1047) sorted by relevance

12345678910>>...42

/linux/tools/testing/radix-tree/
H A Dbenchmark.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/radix-tree.h>
38 nsec = (finish.tv_sec - start.tv_sec) * NSEC_PER_SEC + in benchmark_iter()
39 (finish.tv_nsec - start.tv_nsec); in benchmark_iter()
53 unsigned long size, unsigned long step) in benchmark_insert() argument
61 for (index = 0 ; index < size ; index += step) in benchmark_insert()
66 nsec = (finish.tv_sec - start.tv_sec) * NSEC_PER_SEC + in benchmark_insert()
67 (finish.tv_nsec - start.tv_nsec); in benchmark_insert()
69 printv(2, "Size: %8ld, step: %8ld, insertion: %15lld ns\n", in benchmark_insert()
70 size, step, nsec); in benchmark_insert()
[all …]
/linux/drivers/gpu/drm/i915/
H A Dintel_step.c1 // SPDX-License-Identifier: MIT
138 u8 step = gmd->step + STEP_A0; in gmd_to_intel_step() local
140 if (step >= STEP_FUTURE) { in gmd_to_intel_step()
141 drm_dbg(&i915->drm, "Using future steppings\n"); in gmd_to_intel_step()
145 return step; in gmd_to_intel_step()
151 int size = 0; in intel_step_init() local
153 struct intel_step_info step = {}; in intel_step_init() local
156 step.graphics_step = gmd_to_intel_step(i915, in intel_step_init()
157 &RUNTIME_INFO(i915)->graphics.ip); in intel_step_init()
158 step.media_step = gmd_to_intel_step(i915, in intel_step_init()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_step.c1 // SPDX-License-Identifier: MIT
37 __diag_ignore_all("-Woverride-init", "Allow field overrides in table");
111 * xe_step_pre_gmdid_get - Determine IP steppings from PCI revid
120 struct xe_step_info step = {}; in xe_step_pre_gmdid_get() local
121 u16 revid = xe->info.revid; in xe_step_pre_gmdid_get()
122 int size = 0; in xe_step_pre_gmdid_get() local
127 if (xe->info.platform == XE_PVC) { in xe_step_pre_gmdid_get()
128 baseid = FIELD_GET(GENMASK(5, 3), xe->info.revid); in xe_step_pre_gmdid_get()
129 revid = FIELD_GET(GENMASK(2, 0), xe->info.revid); in xe_step_pre_gmdid_get()
131 size = ARRAY_SIZE(pvc_revid_step_tbl); in xe_step_pre_gmdid_get()
[all …]
/linux/arch/powerpc/platforms/cell/spufs/
H A Dspu_save.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * SPU-side context save sequence outlined in
29 /* Save, Step 2: in save_event_mask()
40 /* Save, Step 3: in save_tag_mask()
51 unsigned int size = sizeof(dma_list); in save_upper_240kb() local
55 /* Save, Step 7: in save_upper_240kb()
62 spu_writech(MFC_Size, size); in save_upper_240kb()
72 /* Save, Step 9: in save_fpcr()
73 * Issue the floating-point status and control register in save_fpcr()
84 /* Save, Step 10: in save_decr()
[all …]
H A Dspu_utils.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * utils.h: Utilities for SPU-side of the context switch operation.
12 * 64-bit safe EA.
20 * 128-bit register template.
31 unsigned int size; member
36 * Declare storage for 8-byte aligned DMA list.
51 ((char *)(&(dummy->_field)) - (char *)(&(dummy->gprs[0].slot[0])))
58 /* Save, Step 4: in set_event_mask()
59 * Restore, Step 1: in set_event_mask()
70 /* Save, Step 5: in set_tag_mask()
[all …]
H A Dspu_restore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * SPU-side context restore sequence outlined in
25 #define BR_INSTR 0x327fff80 /* br -4 */
35 unsigned int size = sizeof(regs_spill); in fetch_regs_from_mem() local
42 spu_writech(MFC_Size, size); in fetch_regs_from_mem()
51 unsigned int size = sizeof(dma_list); in restore_upper_240kb() local
55 /* Restore, Step 4: in restore_upper_240kb()
62 spu_writech(MFC_Size, size); in restore_upper_240kb()
73 /* Restore, Step 6(moved): in restore_decr()
92 /* Restore, Step 11: in write_ppu_mb()
[all …]
H A Dswitch.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Host-side part of SPU context switch sequence outlined in
66 /* Save, Step 1: in acquire_spu_lock()
67 * Restore, Step 1: in acquire_spu_lock()
68 * Acquire SPU-specific mutual exclusion lock. in acquire_spu_lock()
75 /* Restore, Step 76: in release_spu_lock()
76 * Release SPU-specific mutual exclusion lock. in release_spu_lock()
83 struct spu_problem __iomem *prob = spu->problem; in check_spu_isolate()
86 /* Save, Step 2: in check_spu_isolate()
87 * Save, Step 6: in check_spu_isolate()
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_ring.c1 // SPDX-License-Identifier: GPL-2.0
14 kref_init(&ring->ref); in mock_ring()
15 ring->size = sz; in mock_ring()
16 ring->wrap = BITS_PER_TYPE(ring->size) - ilog2(sz); in mock_ring()
17 ring->effective_size = sz; in mock_ring()
18 ring->vaddr = (void *)(ring + 1); in mock_ring()
19 atomic_set(&ring->pin_count, 1); in mock_ring()
39 result = -1; in check_ring_direction()
46 return -EINVAL; in check_ring_direction()
52 static int check_ring_step(struct intel_ring *ring, u32 x, u32 step) in check_ring_step() argument
[all …]
/linux/Documentation/devicetree/bindings/mtd/
H A Dhisi504-nand.txt5 - compatible: Should be "hisilicon,504-nfc".
6 - reg: The first contains base physical address and size of
8 physical address and size of NAND controller's buffer.
9 - interrupts: Interrupt number for nfc.
10 - nand-bus-width: See nand-controller.yaml.
11 - nand-ecc-mode: Support none and hw ecc mode.
12 - #address-cells: Partition address, should be set 1.
13 - #size-cells: Partition size, should be set 1.
17 - nand-ecc-strength: Number of bits to correct per ECC step.
18 - nand-ecc-step-size: Number of data bytes covered by a single ECC step.
[all …]
H A Damlogic,meson-nand.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mtd/amlogic,meson-nand.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - $ref: nand-controller.yaml
13 - liang.yang@amlogic.com
18 - amlogic,meson-gxl-nfc
19 - amlogic,meson-axg-nfc
24 reg-names:
26 - const: nfc
[all …]
H A Dmediatek,mtk-nfc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mtd/mediatek,mtk-nfc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Xiangsheng Hou <xiangsheng.hou@mediatek.com>
15 - mediatek,mt2701-nfc
16 - mediatek,mt2712-nfc
17 - mediatek,mt7622-nfc
21 - description: Base physical address and size of NFI.
25 - description: NFI interrupt
[all …]
H A Dbrcm,brcmnand.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Brian Norris <computersforpeace@gmail.com>
11 - Kamal Dasu <kdasu.kdev@gmail.com>
12 - William Zhang <william.zhang@broadcom.com>
15 The Broadcom Set-Top Box NAND controller supports low-level access to raw NAND
16 flash chips. It has a memory-mapped register interface for both control
27 -- Additional SoC-specific NAND controller properties --
35 interesting ways, sometimes with registers that lump multiple NAND-related
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Ditem.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */
13 short step; /* step in bytes for indexed items */ member
14 unsigned short in_step_offset; /* offset within one step */
16 unsigned char element_size; /* size of element in bit array */
21 } size; member
29 BUG_ON(index && !item->step); in __mlxsw_item_offset()
30 if (item->offset % typesize != 0 || in __mlxsw_item_offset()
31 item->step % typesize != 0 || in __mlxsw_item_offset()
32 item->in_step_offset % typesize != 0) { in __mlxsw_item_offset()
[all …]
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_pci.c1 // SPDX-License-Identifier: GPL-2.0 AND MIT
10 #include <kunit/test-bug.h>
12 #include <kunit/test-bug.h>
19 .step = { .graphics = STEP_ ## graphics_step__ } \
26 .step = { .graphics = STEP_ ## graphics_step__ } \
36 .step = { .graphics = STEP_ ## graphics_step__, \
68 * xe_pci_fake_data_gen_params - Generate struct xe_pci_fake_data parameters
71 * @desc: output buffer with minimum size of KUNIT_PARAM_DESC_SIZE
90 for (ids = pciidlist; ids->driver_data; ids++) { in lookup_desc()
91 desc = (const void *)ids->driver_data; in lookup_desc()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-enum-framesizes.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_ENUM_FRAMESIZES - Enumerate frame sizes
47 - **Discrete:** The function returns success if the given index value
48 (zero-based) is valid. The application should increase the index by
54 - **Step-wise:** The function returns success if the given index value
60 - **Continuous:** This is a special case of the step-wise type above.
68 the ``type`` field to determine the type of frame size enumeration the
81 other ioctl calls while it runs the frame size enumeration.
92 .. flat-table:: struct v4l2_frmsize_discrete
93 :header-rows: 0
[all …]
H A Dvidioc-enum-frameintervals.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals
30 that contains a pixel format and size and receives a frame interval.
36 device supports for the given pixel format and frame size.
46 - **Discrete:** The function returns success if the given index value
47 (zero-based) is valid. The application should increase the index by
53 - **Step-wise:** The function returns success if the given index value
59 - **Continuous:** This is a special case of the step-wise type above.
63 the union only the ``stepwise`` member is valid and the ``step``
102 .. flat-table:: struct v4l2_frmival_stepwise
[all …]
/linux/tools/perf/util/
H A Dbpf-utils.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
12 #include "bpf-utils.h"
18 int size_offset; /* > 0: offset of rec size,
19 * < 0: fix size of -size_offset
27 -1,
32 -1,
37 -(int)sizeof(__u32),
42 -(int)sizeof(__u64),
47 -(int)sizeof(__u32),
67 -(int)sizeof(__u8) * BPF_TAG_SIZE,
[all …]
/linux/sound/core/oss/
H A Dpcm_plugin.c2 * PCM Plug-In shared (kernel/library) code
4 * Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org>
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
35 #define snd_pcm_plug_first(plug) ((plug)->runtime->oss.plugin_first)
36 #define snd_pcm_plug_last(plug) ((plug)->runtime->oss.plugin_last)
40 * all "resampling" requests within +-5%
53 size_t size; in snd_pcm_plugin_alloc() local
57 if (plugin->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plugin_alloc()
58 format = &plugin->src_format; in snd_pcm_plugin_alloc()
60 format = &plugin->dst_format; in snd_pcm_plugin_alloc()
[all …]
/linux/drivers/media/pci/mantis/
H A Dmantis_dma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 #define RISC_INSTR(risc_pos, opcode) (mantis->risc_cpu[risc_pos++] = cpu_to_le32(opcode))
48 if (mantis->buf_cpu) { in mantis_dma_exit()
50 "DMA=0x%lx cpu=0x%p size=%d", in mantis_dma_exit()
51 (unsigned long) mantis->buf_dma, in mantis_dma_exit()
52 mantis->buf_cpu, in mantis_dma_exit()
55 dma_free_coherent(&mantis->pdev->dev, MANTIS_BUF_SIZE, in mantis_dma_exit()
56 mantis->buf_cpu, mantis->buf_dma); in mantis_dma_exit()
58 mantis->buf_cpu = NULL; in mantis_dma_exit()
60 if (mantis->risc_cpu) { in mantis_dma_exit()
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-fau.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
124 * - Step by 2 for 16 bit access.
125 * - Step by 4 for 32 bit access.
126 * - Step by 8 for 64 bit access.
141 * - 0 = Don't wait
142 * - 1 = Wait for tag switch to complete
144 * - Step by 2 for 16 bit access.
145 * - Step by 4 for 32 bit access.
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dfirmware.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright(c) 2015 - 2017 Intel Corporation.
60 u32 size; /* in DWORDs */ member
77 /* size of platform configuration partition */
80 /* size of file of plaform configuration encoded in format version 4 */
102 /* augmented file size difference */
103 #define AUGMENT_SIZE (sizeof(struct augmented_firmware_file) - \
217 * Read a single 64-bit value from 8051 data memory.
224 * ignored - i.e. the hardware will always do aligned 8-byte reads as if
227 * Return 0 on success, -ENXIO on a read error (timeout).
[all …]
/linux/tools/testing/selftests/bpf/map_tests/
H A Dhtab_map_batch_ops.c1 // SPDX-License-Identifier: GPL-2.0
84 int err, step, value_size; in __test_map_lookup_and_delete_batch() local
94 CHECK(map_fd == -1, in __test_map_lookup_and_delete_batch()
107 /* test 1: lookup/delete an empty hash table, -ENOENT */ in __test_map_lookup_and_delete_batch()
135 /* bpf_map_get_next_key() should return -ENOENT for an empty map. */ in __test_map_lookup_and_delete_batch()
141 for (step = 1; step < max_entries; step++) { in __test_map_lookup_and_delete_batch()
146 /* iteratively lookup/delete elements with 'step' in __test_map_lookup_and_delete_batch()
149 count = step; in __test_map_lookup_and_delete_batch()
158 /* It is possible that we are failing due to buffer size in __test_map_lookup_and_delete_batch()
160 * go with large steps. Not that a buffer size with in __test_map_lookup_and_delete_batch()
[all …]
/linux/tools/perf/ui/
H A Dprogress.c1 // SPDX-License-Identifier: GPL-2.0
18 u64 last = p->curr; in ui_progress__update()
20 p->curr += adv; in ui_progress__update()
22 if (p->curr >= p->next) { in ui_progress__update()
23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update()
25 p->next += nr * p->step; in ui_progress__update()
26 ui_progress__ops->update(p); in ui_progress__update()
31 const char *title, bool size) in __ui_progress__init() argument
33 p->curr = 0; in __ui_progress__init()
34 p->next = p->step = total / 16 ?: 1; in __ui_progress__init()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dcs35l33.txt5 - compatible : "cirrus,cs35l33"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
15 - reset-gpios : gpio used to reset the amplifier
17 - interrupts : IRQ line info CS35L33.
18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is
23 a value of 1 and will increase at a step size of 100mV until a maximum of
26 - cirrus,ramp-rate : On power up, it affects the time from when the power
27 up sequence begins to the time the audio reaches a full-scale output.
[all …]
/linux/arch/mips/sgi-ip22/
H A Dip22-mc.c1 // SPDX-License-Identifier: GPL-2.0
3 * ip22-mc.c: Routines for manipulating SGI Memory Controller.
6 * Copyright (C) 1999 Andrew R. Baker (andrewb@uab.edu) - Indigo2 changes
7 * Copyright (C) 2003 Ladislav Michl (ladis@linux-mips.org)
8 * Copyright (C) 2004 Peter Fuerst (pf@net.alphadv.de) - IP28
30 …return (memconfig & SGIMC_MCONFIG_BASEADDR) << ((sgimc->systemid & SGIMC_SYSID_MASKREV) >= 5 ? 24 … in get_bank_addr()
35 …return ((memconfig & SGIMC_MCONFIG_RMASK) + 0x0100) << ((sgimc->systemid & SGIMC_SYSID_MASKREV) >=… in get_bank_size()
40 unsigned int res = bank > 1 ? sgimc->mconfig1 : sgimc->mconfig0; in get_bank_config()
55 unsigned long addr, size; in probe_memory() local
64 size = get_bank_size(tmp); in probe_memory()
[all …]

12345678910>>...42