Home
last modified time | relevance | path

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

12345678910>>...42

/kernel/linux/linux-6.6/tools/testing/radix-tree/
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 …]
/kernel/linux/linux-5.10/tools/testing/radix-tree/
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
Dintel_step.c1 // SPDX-License-Identifier: MIT
145 u8 step = gmd->step + STEP_A0; in gmd_to_intel_step() local
147 if (step >= STEP_FUTURE) { in gmd_to_intel_step()
148 drm_dbg(&i915->drm, "Using future steppings\n"); in gmd_to_intel_step()
152 return step; in gmd_to_intel_step()
160 int size = 0; in intel_step_init() local
162 struct intel_step_info step = {}; in intel_step_init() local
165 step.graphics_step = gmd_to_intel_step(i915, in intel_step_init()
166 &RUNTIME_INFO(i915)->graphics.ip); in intel_step_init()
167 step.media_step = gmd_to_intel_step(i915, in intel_step_init()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/
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 …]
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 …]
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 …]
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 …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
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 …]
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 …]
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 …]
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/
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 …]
Dmtk-nand.txt15 - compatible: Should be one of
16 "mediatek,mt2701-nfc",
17 "mediatek,mt2712-nfc",
18 "mediatek,mt7622-nfc".
19 - reg: Base physical address and size of NFI.
20 - interrupts: Interrupts of NFI.
21 - clocks: NFI required clocks.
22 - clock-names: NFI clocks internal name.
23 - ecc-engine: Required ECC Engine node.
24 - #address-cells: NAND chip index, should be 1.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mtd/
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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
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 …]
/kernel/linux/linux-6.6/drivers/mtd/nand/
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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
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 …]
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.
94 .. flat-table:: struct v4l2_frmsize_discrete
95 :header-rows: 0
[all …]
/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
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 …]
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 …]
/kernel/linux/linux-6.6/tools/perf/util/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
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 …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dvs6624_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * vs6624 - ST VS6624 CMOS image sensor registers
32 #define VS6624_MAN_HSIZE0_MSB 0x0383 /* input required manual H size MSB */
33 #define VS6624_MAN_HSIZE0_LSB 0x0384 /* input required manual H size LSB */
34 #define VS6624_MAN_VSIZE0_MSB 0x0387 /* input required manual V size MSB */
35 #define VS6624_MAN_VSIZE0_LSB 0x0388 /* input required manual V size LSB */
36 #define VS6624_ZOOM_HSTEP0_MSB 0x038B /* set the zoom H step MSB */
37 #define VS6624_ZOOM_HSTEP0_LSB 0x038C /* set the zoom H step LSB */
38 #define VS6624_ZOOM_VSTEP0_MSB 0x038F /* set the zoom V step MSB */
39 #define VS6624_ZOOM_VSTEP0_LSB 0x0390 /* set the zoom V step LSB */
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
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 …]

12345678910>>...42