Home
last modified time | relevance | path

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

12345678910>>...46

/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
36 __diag_ignore_all("-Woverride-init", "Allow field overrides in table");
110 * xe_step_pre_gmdid_get - Determine IP steppings from PCI revid
119 struct xe_step_info step = {}; in xe_step_pre_gmdid_get() local
120 u16 revid = xe->info.revid; in xe_step_pre_gmdid_get()
121 int size = 0; in xe_step_pre_gmdid_get() local
126 if (xe->info.platform == XE_PVC) { in xe_step_pre_gmdid_get()
127 baseid = FIELD_GET(GENMASK(5, 3), xe->info.revid); in xe_step_pre_gmdid_get()
128 revid = FIELD_GET(GENMASK(2, 0), xe->info.revid); in xe_step_pre_gmdid_get()
130 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 Dvf610-nfc.txt7 - compatible: Should be set to "fsl,vf610-nfc".
8 - reg: address range of the NFC.
9 - interrupts: interrupt of the NFC.
10 - #address-cells: shall be set to 1. Encode the nand CS.
11 - #size-cells : shall be set to 0.
12 - assigned-clocks: main clock from the SoC, for Vybrid <&clks VF610_CLK_NFC>;
13 - assigned-clock-rates: The NAND bus timing is derived from this clock
19 - #address-cells, #size-cells : Must be present if the device has sub-nodes
27 - compatible: Should be set to "fsl,vf610-nfc-cs".
28 - nand-bus-width: see nand-controller.yaml
[all …]
/linux/drivers/mtd/nand/
H A Decc-mxic.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/dma-mapping.h>
19 #include <linux/mtd/nand-ecc-mxic.h>
53 /* ECC Chunk Size */
55 /* Main Data Size */
57 /* Spare Data Size */
126 struct nand_ecc_engine *eng = nand->ecc.engine; in nand_to_mxic()
128 if (eng->integration == NAND_ECC_ENGINE_INTEGRATION_EXTERNAL) in nand_to_mxic()
140 if (section < 0 || section >= ctx->steps) in mxic_ecc_ooblayout_ecc()
141 return -ERANGE; in mxic_ecc_ooblayout_ecc()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-fm-tx.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _fm-tx-controls:
15 .. _fm-tx-control-id:
27 step are driver-specific.
34 to 31 pre-defined programme types.
46 always contain a string with size multiple of 8.
52 programme-related information or any other text. In these cases,
60 The result is it must always contain a string with size multiple of
98 frequencies so check the array size.
103 receiver-generated distortion and prevent overmodulation.
[all …]
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-queryctrl.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
42 of a struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` and call the
60 driver returns the next supported non-compound control, or ``EINVAL`` if
72 :ref:`v4l2_queryctrl <v4l2-queryctrl>` since that structure is full.
80 fields of struct :ref:`v4l2_querymenu <v4l2-querymenu>` and call the
85 :ref:`v4l2_queryctrl <v4l2-queryctrl>` ``minimum`` to ``maximum``,
99 .. _v4l2-queryctrl:
103 .. flat-table:: struct v4l2_queryctrl
104 :header-rows: 0
[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/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/Documentation/admin-guide/device-mapper/
H A Dvdo-design.rst1 .. SPDX-License-Identifier: GPL-2.0-only
4 Design of dm-vdo
7 The dm-vdo (virtual data optimizer) target provides inline deduplication,
8 compression, zero-block elimination, and thin provisioning. A dm-vdo target
9 can be backed by up to 256TB of storage, and can present a logical size of
12 production environments ever since. It was made open-source in 2017 after
14 dm-vdo. For usage, see vdo.rst in the same directory as this file.
16 Because deduplication rates fall drastically as the block size increases, a
17 vdo target has a maximum block size of 4K. However, it can achieve
25 The design of dm-vdo is based on the idea that deduplication is a two-part
[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/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/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/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 …]

12345678910>>...46