Home
last modified time | relevance | path

Searched +full:software +full:- +full:locked (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/linux/include/drm/
H A Ddrm_modeset_lock.h6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
13 * all copies or substantial portions of the Software.
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 * OTHER DEALINGS IN THE SOFTWARE.
27 #include <linux/types.h> /* stackdepot.h is not self-contained */
34 * struct drm_modeset_acquire_ctx - locking context (see ww_acquire_ctx)
[all …]
H A Dtask_barrier.h5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
27 * Reusable 2 PHASE task barrier (rendez-vous point) implementation for N tasks.
28 * Based on the Little book of semaphores - https://greenteapress.com/wp/semaphores/
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_vkms.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
8 * copy of this software and associated documentation files (the
9 * "Software"), to deal in the Software without restriction, including
11 * distribute, sub license, and/or sell copies of the Software, and to
12 * permit persons to whom the Software is furnished to do so, subject to
17 * of the Software.
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
24 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
25 * USE OR OTHER DEALINGS IN THE SOFTWARE.
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dbase.c5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
37 fb->func->tile.fini(fb, region, tile); in nvkm_fb_tile_fini()
44 fb->func->tile.init(fb, region, addr, size, pitch, flags, tile); in nvkm_fb_tile_init()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_modeset_lock.c6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
13 * all copies or substantial portions of the Software.
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 * OTHER DEALINGS IN THE SOFTWARE.
35 * to use &ww_mutex and acquire-contexts to avoid deadlocks. But because
37 * of extra utility/tracking out of our acquire-ctx. This is provided
[all …]
H A Ddrm_vma_manager.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
8 * copy of this software and associated documentation files (the "Software"),
9 * to deal in the Software without restriction, including without limitation
11 * and/or sell copies of the Software, and to permit persons to whom the
12 * Software is furnished to do so, subject to the following conditions:
15 * all copies or substantial portions of the Software.
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23 * OTHER DEALINGS IN THE SOFTWARE.
[all …]
/linux/drivers/gpu/drm/radeon/
H A Devergreen_dma.c5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
31 * evergreen_dma_fence_ring_emit - emit a fence on the DMA ring
38 * an interrupt if needed (evergreen-SI).
[all …]
H A Dsi_dma.c5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
32 * si_dma_is_lockup - Check if the DMA engine is locked up
37 * Check if the async DMA engine is locked up.
[all …]
H A Dradeon_vm.c7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
14 * all copies or substantial portions of the Software.
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 * OTHER DEALINGS IN THE SOFTWARE.
54 * radeon_vm_num_pdes - return the number of page directory entries
62 return rdev->vm_manager.max_pfn >> radeon_vm_block_size; in radeon_vm_num_pdes()
[all …]
H A Dni_dma.c5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
45 * cayman_dma_get_rptr - get the current read pointer
57 if (rdev->wb.enabled) { in cayman_dma_get_rptr()
[all …]
H A Dr600_dma.c5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
43 * r600_dma_get_rptr - get the current read pointer
55 if (rdev->wb.enabled) in r600_dma_get_rptr()
[all …]
/linux/drivers/infiniband/hw/qib/
H A Dqib_user_pages.c5 * This software is available to you under a choice of one of two
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
24 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
30 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31 * SOFTWARE.
47 * qib_map_page - a safety wrapper around pci_map_page()
63 phys = dma_map_page(&hwdev->dev, page, 0, PAGE_SIZE, DMA_FROM_DEVICE); in qib_map_page()
64 if (dma_mapping_error(&hwdev->dev, phys)) in qib_map_page()
65 return -ENOMEM; in qib_map_page()
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-l2c.h7 * Copyright (c) 2003-2017 Cavium, Inc.
9 * This file is free software; you can redistribute it and/or modify
11 * published by the Free Software Foundation.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
20 * along with this file; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
44 #define CVMX_L2C_IDX_MASK (cvmx_l2c_get_num_sets() - 1)
52 /* Number of L2C Tag-and-data sections (TADs) that are connected to LMC. */
189 * -1 on error
216 * -1 on error
[all …]
/linux/Documentation/arch/x86/
H A Dresctrl.rst1 .. SPDX-License-Identifier: GPL-2.0
9 :Authors: - Fenghua Yu <fenghua.yu@intel.com>
10 - Tony Luck <tony.luck@intel.com>
11 - Vikas Shivappa <vikas.shivappa@intel.com>
38 # mount -t resctrl resctrl [-o cdp[,cdpl2][,mba_MBps][,debug]] /sys/fs/resctrl
47 Enable the MBA Software Controller(mba_sc) to specify MBA
57 pseudo-locking is a unique way of using cache control to "pin" or
59 "Cache Pseudo-Locking".
96 own settings for cache use which can over-ride
110 but available for software use. If a resource
[all …]
/linux/drivers/dma-buf/
H A Ddma-resv.c1 // SPDX-License-Identifier: MIT
3 * Copyright (C) 2012-2014 Canonical Ltd (Maarten Lankhorst)
8 * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA
12 * copy of this software and associated documentation files (the
13 * "Software"), to deal in the Software without restriction, including
15 * distribute, sub license, and/or sell copies of the Software, and to
16 * permit persons to whom the Software is furnished to do so, subject to
21 * of the Software.
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
[all …]
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_object.c5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
13 * Software.
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 * IN THE SOFTWARE.
52 if (drm_WARN_ON(&i915->drm, level >= I915_MAX_CACHE_LEVEL)) in i915_gem_get_pat_index()
55 return INTEL_INFO(i915)->cachelevel_to_pat[level]; in i915_gem_get_pat_index()
[all …]
/linux/include/uapi/linux/
H A Dpps.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
5 * Copyright (C) 2005-2009 Rodolfo Giometti <giometti@linux.it>
7 * This program is free software; you can redistribute it and/or modify
9 * the Free Software Foundation; either version 2 of the License, or
18 * along with this program; if not, write to the Free Software
43 /* 32-bit vs. 64-bit compatibility.
120 use a phase-locked loop */
122 use a frequency-locked loop */
124 * Here begins the implementation-specific part!
/linux/arch/x86/kernel/cpu/resctrl/
H A Dctrlmondata.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * - Cache Allocation code.
13 * Software Developer Manual June 2016, volume 3, section 17.17.
40 if (!r->membw.delay_linear && r->membw.arch_needs_linear) { in bw_validate()
41 rdt_last_cmd_puts("No support for non-linear MB domains\n"); in bw_validate()
51 /* Nothing else to do if software controller is enabled. */ in bw_validate()
57 if (bw < r->membw.min_bw || bw > r->default_ctrl) { in bw_validate()
59 bw, r->membw.min_bw, r->default_ctrl); in bw_validate()
63 *data = roundup(bw, (unsigned long)r->membw.bw_gran); in bw_validate()
71 u32 closid = data->rdtgrp->closid; in parse_bw()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dvga.c5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
29 if (device->card_type >= NV_50) in nvkm_rdport()
40 if (device->card_type < NV_40) in nvkm_rdport()
[all …]
/linux/drivers/infiniband/hw/mlx5/
H A Dgsi.c4 * This software is available to you under a choice of one of two
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
43 return MLX5_CAP_GEN(dev->mdev, set_deth_sqpn); in mlx5_ib_deth_sqpn_cap()
46 /* Call with gsi->lock locked */
49 struct mlx5_ib_gsi_qp *gsi = &mqp->gsi; in generate_completions()
50 struct ib_cq *gsi_cq = mqp->ibqp.send_cq; in generate_completions()
[all …]
/linux/security/lockdown/
H A Dlockdown.c1 // SPDX-License-Identifier: GPL-2.0
7 * This program is free software; you can redistribute it and/or
9 * as published by the Free Software Foundation; either version
25 * Put the kernel into lock-down mode.
30 return -EPERM; in lock_kernel_down()
33 pr_notice("Kernel is locked down from %s; see man kernel_lockdown.7\n", in lock_kernel_down()
41 return -EINVAL; in lockdown_param()
48 return -EINVAL; in lockdown_param()
56 * lockdown_is_locked_down - Find out if the kernel is locked down
63 return -EPERM; in lockdown_is_locked_down()
[all …]
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.h6 * This software is available to you under a choice of one of two
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
25 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32 * SOFTWARE.
120 * We have one global lock that protects dev->cq/qp_table. Each
123 * a qp may be locked, with the cq with the lower cqn locked first.
140 * - lock cq/qp_table and look up struct
141 * - increment ref count in struct
[all …]
/linux/drivers/mtd/spi-nor/
H A Dswp.c1 // SPDX-License-Identifier: GPL-2.0
3 * SPI NOR Software Write Protection logic.
9 #include <linux/mtd/spi-nor.h>
17 if (nor->flags & SNOR_F_HAS_SR_BP3_BIT6) in spi_nor_get_sr_bp_mask()
20 if (nor->flags & SNOR_F_HAS_4BIT_BP) in spi_nor_get_sr_bp_mask()
28 if (nor->flags & SNOR_F_HAS_SR_TB_BIT6) in spi_nor_get_sr_tb_mask()
41 unsigned int sector_size = nor->info->sector_size ?: SPI_NOR_DEFAULT_SECTOR_SIZE; in spi_nor_get_min_prot_length_sr()
42 u64 n_sectors = div_u64(nor->params->size, sector_size); in spi_nor_get_min_prot_length_sr()
46 bp_slots = (1 << hweight8(mask)) - 2; in spi_nor_get_min_prot_length_sr()
50 return sector_size << (bp_slots_needed - bp_slots); in spi_nor_get_min_prot_length_sr()
[all …]
/linux/drivers/spi/
H A Dspi-intel.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016 - 2022, Intel Corporation
13 #include <linux/mtd/spi-nor.h>
17 #include <linux/spi/spi-mem.h>
19 #include "spi-intel.h"
21 /* Offsets are from @ispi->base */
60 /* Offset is from @ispi->pregs */
68 /* Offsets are from @ispi->sregs */
140 * struct intel_spi - Driver private data
145 * @sregs: Start of software sequencer registers
[all …]
/linux/include/uapi/mtd/
H A Dmtd-abi.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al.
5 * This program is free software; you can redistribute it and/or modify
7 * the Free Software Foundation; either version 2 of the License, or
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
55 * @MTD_OPS_RAW: data are transferred as-is, with no error correction;
69 * struct mtd_write_req - data structure for requesting a write operation
74 * @usr_data: user-provided data buffer
75 * @usr_oob: user-provided OOB buffer
[all …]

12345678910>>...18