| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
| D | gtt.c | 4 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 60 vgpu_gmadr_is_aperture(vgpu, addr + size - 1)) in intel_gvt_ggtt_validate_range() 63 vgpu_gmadr_is_hidden(vgpu, addr + size - 1)) in intel_gvt_ggtt_validate_range() 74 struct drm_i915_private *i915 = vgpu->gvt->gt->i915; in intel_gvt_ggtt_gmadr_g2h() 76 if (drm_WARN(&i915->drm, !vgpu_gmadr_is_valid(vgpu, g_addr), in intel_gvt_ggtt_gmadr_g2h() 78 return -EACCES; in intel_gvt_ggtt_gmadr_g2h() 82 + (g_addr - vgpu_aperture_offset(vgpu)); in intel_gvt_ggtt_gmadr_g2h() 85 + (g_addr - vgpu_hidden_offset(vgpu)); in intel_gvt_ggtt_gmadr_g2h() 92 struct drm_i915_private *i915 = vgpu->gvt->gt->i915; in intel_gvt_ggtt_gmadr_h2g() 94 if (drm_WARN(&i915->drm, !gvt_gmadr_is_valid(vgpu->gvt, h_addr), in intel_gvt_ggtt_gmadr_h2g() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
| D | gtt.c | 4 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 62 vgpu_gmadr_is_aperture(vgpu, addr + size - 1)) in intel_gvt_ggtt_validate_range() 65 vgpu_gmadr_is_hidden(vgpu, addr + size - 1)) in intel_gvt_ggtt_validate_range() 76 struct drm_i915_private *i915 = vgpu->gvt->gt->i915; in intel_gvt_ggtt_gmadr_g2h() 78 if (drm_WARN(&i915->drm, !vgpu_gmadr_is_valid(vgpu, g_addr), in intel_gvt_ggtt_gmadr_g2h() 80 return -EACCES; in intel_gvt_ggtt_gmadr_g2h() 84 + (g_addr - vgpu_aperture_offset(vgpu)); in intel_gvt_ggtt_gmadr_g2h() 87 + (g_addr - vgpu_hidden_offset(vgpu)); in intel_gvt_ggtt_gmadr_g2h() 94 struct drm_i915_private *i915 = vgpu->gvt->gt->i915; in intel_gvt_ggtt_gmadr_h2g() 96 if (drm_WARN(&i915->drm, !gvt_gmadr_is_valid(vgpu->gvt, h_addr), in intel_gvt_ggtt_gmadr_h2g() [all …]
|
| /kernel/linux/linux-6.6/fs/hpfs/ |
| D | anode.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999 18 anode_secno a = -1; in hpfs_bplus_lookup() 23 if (hpfs_sb(s)->sb_chk) if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_bplus_lookup")) return -1; in hpfs_bplus_lookup() 25 for (i = 0; i < btree->n_used_nodes; i++) in hpfs_bplus_lookup() 26 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup() 27 a = le32_to_cpu(btree->u.internal[i].down); in hpfs_bplus_lookup() 29 if (!(anode = hpfs_map_anode(s, a, &bh))) return -1; in hpfs_bplus_lookup() 30 btree = &anode->btree; in hpfs_bplus_lookup() 35 return -1; in hpfs_bplus_lookup() [all …]
|
| /kernel/linux/linux-5.10/fs/hpfs/ |
| D | anode.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Mikulas Patocka (mikulas@artax.karlin.mff.cuni.cz), 1998-1999 18 anode_secno a = -1; in hpfs_bplus_lookup() 23 if (hpfs_sb(s)->sb_chk) if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_bplus_lookup")) return -1; in hpfs_bplus_lookup() 25 for (i = 0; i < btree->n_used_nodes; i++) in hpfs_bplus_lookup() 26 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup() 27 a = le32_to_cpu(btree->u.internal[i].down); in hpfs_bplus_lookup() 29 if (!(anode = hpfs_map_anode(s, a, &bh))) return -1; in hpfs_bplus_lookup() 30 btree = &anode->btree; in hpfs_bplus_lookup() 35 return -1; in hpfs_bplus_lookup() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/ |
| D | soc-topology.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-topology.c -- ALSA SoC Topology 29 #include <sound/soc-dapm.h> 30 #include <sound/soc-topology.h> 59 const u8 *pos; /* read postion */ member 83 static void soc_tplg_denum_remove_texts(struct soc_enum *se); 84 static void soc_tplg_denum_remove_values(struct soc_enum *se); 90 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count() 92 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count() 93 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_debugfs.c | 46 * amdgpu_debugfs_process_reg_op - Handle MMIO register reads/writes 52 * @pos: Offset to seek to 60 * Bits 24..33: The SE or ME selector if needed 73 char __user *buf, size_t size, loff_t *pos) in amdgpu_debugfs_process_reg_op() argument 75 struct amdgpu_device *adev = file_inode(f)->i_private; in amdgpu_debugfs_process_reg_op() 84 if (size & 0x3 || *pos & 0x3 || in amdgpu_debugfs_process_reg_op() 85 ((*pos & (1ULL << 62)) && (*pos & (1ULL << 61)))) in amdgpu_debugfs_process_reg_op() 86 return -EINVAL; in amdgpu_debugfs_process_reg_op() 89 pm_pg_lock = (*pos >> 23) & 1; in amdgpu_debugfs_process_reg_op() 91 if (*pos & (1ULL << 62)) { in amdgpu_debugfs_process_reg_op() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/ |
| D | soc-topology.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-topology.c -- ALSA SoC Topology 29 #include <sound/soc-dapm.h> 30 #include <sound/soc-topology.h> 58 const u8 *pos; /* read position */ member 83 const u8 *end = tplg->pos + elem_size * count; in soc_tplg_check_elem_count() 85 if (end > tplg->fw->data + tplg->fw->size) { in soc_tplg_check_elem_count() 86 dev_err(tplg->dev, "ASoC: %s overflow end of data\n", in soc_tplg_check_elem_count() 88 return -EINVAL; in soc_tplg_check_elem_count() 94 dev_err(tplg->dev, in soc_tplg_check_elem_count() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/frequency/ |
| D | adi,admv1013.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Antoniu Miclaus <antoniu.miclaus@analog.com> 21 - adi,admv1013 26 spi-max-frequency: 34 clock-names: 36 - const: lo_in 38 vcm-supply: 42 vcc-drv-supply: [all …]
|
| D | adi,admv1014.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Antoniu Miclaus <antoniu.miclaus@analog.com> 21 - adi,admv1014 26 spi-max-frequency: 32 clock-names: 34 - const: lo_in 38 vcm-supply: 40 Common-mode voltage regulator. [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_debugfs.c | 40 * amdgpu_debugfs_add_files - Add simple debugfs entries 53 for (i = 0; i < adev->debugfs_count; i++) { in amdgpu_debugfs_add_files() 54 if (adev->debugfs[i].files == files) { in amdgpu_debugfs_add_files() 60 i = adev->debugfs_count + 1; in amdgpu_debugfs_add_files() 65 return -EINVAL; in amdgpu_debugfs_add_files() 67 adev->debugfs[adev->debugfs_count].files = files; in amdgpu_debugfs_add_files() 68 adev->debugfs[adev->debugfs_count].num_files = nfiles; in amdgpu_debugfs_add_files() 69 adev->debugfs_count = i; in amdgpu_debugfs_add_files() 72 adev_to_drm(adev)->primary->debugfs_root, in amdgpu_debugfs_add_files() 73 adev_to_drm(adev)->primary); in amdgpu_debugfs_add_files() [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
| D | decbin.S | 5 | register A6 to extended-precision value in FP0. 9 | Output: Exact floating-point representation of the packed bcd value. 11 | Saves and Modifies: D2-D5 20 | Expected is a normal bcd (i.e. non-exceptional; all inf, zero, 25 | Set the sign according to SE. Subtract 16 to compensate 33 | assumed following the least-significant digit. 37 | bcd string. If SE is positive, count the leading zeros; 43 | SM = 0 a non-zero digit in the integer position 44 | SM = 1 a non-zero digit in Mant0, lsd of the fraction 47 | representation (ex. 0.1E2, 1E1, 10E0, 100E-1), is converted [all …]
|
| /kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
| D | decbin.S | 5 | register A6 to extended-precision value in FP0. 9 | Output: Exact floating-point representation of the packed bcd value. 11 | Saves and Modifies: D2-D5 20 | Expected is a normal bcd (i.e. non-exceptional; all inf, zero, 25 | Set the sign according to SE. Subtract 16 to compensate 33 | assumed following the least-significant digit. 37 | bcd string. If SE is positive, count the leading zeros; 43 | SM = 0 a non-zero digit in the integer position 44 | SM = 1 a non-zero digit in Mant0, lsd of the fraction 47 | representation (ex. 0.1E2, 1E1, 10E0, 100E-1), is converted [all …]
|
| /kernel/linux/linux-6.6/kernel/trace/ |
| D | trace_events_synth.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace_events_synth - synthetic trace events 29 C(INVALID_DYN_CMD, "Command must be of the form: s or -:[synthetic/]<name> field[;field] ..."),\ 104 return ev->ops == &synth_event_ops; in is_synth_event() 116 return event->ref != 0; in synth_event_is_busy() 124 return strcmp(sev->name, event) == 0 && in synth_event_match() 137 struct synth_event *event = call->data; in synth_event_define_fields() 143 for (i = 0, n_u64 = 0; i < event->n_fields; i++) { in synth_event_define_fields() 144 size = event->fields[i]->size; in synth_event_define_fields() 145 is_signed = event->fields[i]->is_signed; in synth_event_define_fields() [all …]
|
| /kernel/linux/linux-5.10/kernel/trace/ |
| D | trace_events_synth.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace_events_synth - synthetic trace events 56 strncpy(last_cmd, str, MAX_FILTER_STR_VAL - 1); in last_cmd_set() 82 return ev->ops == &synth_event_ops; in is_synth_event() 94 return event->ref != 0; in synth_event_is_busy() 102 return strcmp(sev->name, event) == 0 && in synth_event_match() 115 struct synth_event *event = call->data; in synth_event_define_fields() 121 for (i = 0, n_u64 = 0; i < event->n_fields; i++) { in synth_event_define_fields() 122 size = event->fields[i]->size; in synth_event_define_fields() 123 is_signed = event->fields[i]->is_signed; in synth_event_define_fields() [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/ |
| D | cptpf_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 #define DRV_NAME "thunder-cpt" 21 MODULE_PARM_DESC(num_vfs, "Number of VFs to enable(1-16)"); 32 struct device *dev = &cpt->pdev->dev; in cpt_disable_cores() 35 coremask = (coremask << cpt->max_se_cores); in cpt_disable_cores() 38 grpmask = cpt_read_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp)); in cpt_disable_cores() 39 cpt_write_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp), in cpt_disable_cores() 42 grp = cpt_read_csr64(cpt->reg_base, CPTX_PF_EXEC_BUSY(0)); in cpt_disable_cores() 45 grp = cpt_read_csr64(cpt->reg_base, in cpt_disable_cores() 47 if (!timeout--) in cpt_disable_cores() [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/ |
| D | cptpf_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #define DRV_NAME "thunder-cpt" 22 MODULE_PARM_DESC(num_vfs, "Number of VFs to enable(1-16)"); 33 struct device *dev = &cpt->pdev->dev; in cpt_disable_cores() 36 coremask = (coremask << cpt->max_se_cores); in cpt_disable_cores() 39 grpmask = cpt_read_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp)); in cpt_disable_cores() 40 cpt_write_csr64(cpt->reg_base, CPTX_PF_GX_EN(0, grp), in cpt_disable_cores() 43 grp = cpt_read_csr64(cpt->reg_base, CPTX_PF_EXEC_BUSY(0)); in cpt_disable_cores() 46 grp = cpt_read_csr64(cpt->reg_base, in cpt_disable_cores() 48 if (timeout--) in cpt_disable_cores() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | sort.c | 1 // SPDX-License-Identifier: GPL-2.0 25 #include <traceevent/event-parse.h> 26 #include "mem-events.h" 28 #include "time-utils.h" 52 * -t, --field-separator 78 return size - 1; in repsep_snprintf() 87 return -1; in cmp_null() 92 /* --sort pid */ 97 return right->thread->tid - left->thread->tid; in sort__thread_cmp() 103 const char *comm = thread__comm_str(he->thread); in hist_entry__thread_snprintf() [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/ |
| D | nitrox_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 /* SE microcode */ 39 * nitrox_pci_tbl - PCI Device ID Table 50 MODULE_PARM_DESC(qlen, "Command queue length - default 2048"); 62 * struct ucode - Firmware Header 71 char version[VERSION_LEN - 1]; 78 * write_to_ucd_unit - Write Firmware to NITROX UCD unit 90 * ------------- in write_to_ucd_unit() 92 * ------------- in write_to_ucd_unit() 94 * ------------- in write_to_ucd_unit() [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/ |
| D | nitrox_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 /* SE microcode */ 38 * nitrox_pci_tbl - PCI Device ID Table 49 MODULE_PARM_DESC(qlen, "Command queue length - default 2048"); 52 * struct ucode - Firmware Header 61 char version[VERSION_LEN - 1]; 68 * write_to_ucd_unit - Write Firmware to NITROX UCD unit 80 * ------------- in write_to_ucd_unit() 82 * ------------- in write_to_ucd_unit() 84 * ------------- in write_to_ucd_unit() [all …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | sort.c | 1 // SPDX-License-Identifier: GPL-2.0 25 #include "mem-events.h" 28 #include "time-utils.h" 31 #include "trace-event.h" 36 #include <traceevent/event-parse.h> 66 * -t, --field-separator 92 return size - 1; in repsep_snprintf() 101 return -1; in cmp_null() 106 /* --sort pid */ 111 return thread__tid(right->thread) - thread__tid(left->thread); in sort__thread_cmp() [all …]
|
| /kernel/linux/linux-5.10/arch/openrisc/kernel/ |
| D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 39 * (Each item is a 32-bit word) 41 * 31 GPRS r1-r31 53 membuf_write(&to, regs->gpr + 1, 31 * 4); in genregs_get() 54 membuf_store(&to, regs->pc); in genregs_get() 55 return membuf_store(&to, regs->sr); in genregs_get() 63 unsigned int pos, unsigned int count, in genregs_set() argument 70 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, 4); in genregs_set() 71 /* r1 - r31 */ in genregs_set() [all …]
|
| /kernel/linux/linux-6.6/arch/openrisc/kernel/ |
| D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 42 * (Each item is a 32-bit word) 44 * 31 GPRS r1-r31 56 membuf_write(&to, regs->gpr + 1, 31 * 4); in genregs_get() 57 membuf_store(&to, regs->pc); in genregs_get() 58 return membuf_store(&to, regs->sr); in genregs_get() 66 unsigned int pos, unsigned int count, in genregs_set() argument 73 user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, 4); in genregs_set() 74 /* r1 - r31 */ in genregs_set() [all …]
|
| /kernel/linux/linux-5.10/Documentation/translations/it_IT/process/ |
| D | coding-style.rst | 1 .. include:: ../disclaimer-ita.rst 3 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>` 24 --------------- 29 pi-greco a 3. 34 indentazione se questi sono larghi. 38 caratteri. La risposta a questa affermazione è che se vi servono più di 3 51 .. code-block:: c 73 .. code-block:: c 90 ----------------------------------- 107 --------------------------------------------- [all …]
|
| /kernel/linux/linux-5.10/fs/f2fs/ |
| D | segment.c | 1 // SPDX-License-Identifier: GPL-2.0 38 MAX_PLIST_NUM - 1, true, true, false, false, DISCARD_GRAN_BL, 41 MAX_PLIST_NUM - 1, true, true, false, false, DISCARD_GRAN_FORCE, 61 shift -= BITS_PER_BYTE; in __reverse_ulong() 67 * __reverse_ffs is copied from include/asm-generic/bitops/__ffs.h since 110 * MSB <--> LSB 124 size -= (offset & ~(BITS_PER_LONG - 1)); in find_rev_next_bit() 135 tmp &= (~0UL << (BITS_PER_LONG - size)); in find_rev_next_bit() 141 size -= BITS_PER_LONG; in find_rev_next_bit() 147 return result - size + __reverse_ffs(tmp); in find_rev_next_bit() [all …]
|
| /kernel/linux/linux-6.6/Documentation/translations/sp_SP/process/ |
| D | coding-style.rst | 1 .. include:: ../disclaimer-sp.rst 3 :Original: :ref:`Documentation/process/coding-style.rst <submittingpatches>` 24 ----------- 37 el código se mueva demasiado a la derecha y dificulta la lectura en una 49 sangría`` (``double-indenting``) en etiquetas ``case``. Por ejemplo: 51 .. code-block:: c 73 .. code-block:: c 80 .. code-block:: c 87 .. code-block:: c 99 espacios nunca se utilizan para la sangría, y el ejemplo anterior se rompe [all …]
|