| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | cirrus,cs42l43.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 21 - $ref: dai-common.yaml# 26 - cirrus,cs42l43 31 vdd-p-supply: 35 vdd-a-supply: 39 vdd-d-supply: 43 vdd-io-supply: [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | radeon_asic.c | 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 44 * radeon_invalid_rreg - dummy reg read function 61 * radeon_invalid_wreg - dummy reg write function 78 * radeon_register_accessor_init - sets up the register accessor callbacks 87 rdev->mc_rreg = &radeon_invalid_rreg; in radeon_register_accessor_init() 88 rdev->mc_wreg = &radeon_invalid_wreg; in radeon_register_accessor_init() 89 rdev->pll_rreg = &radeon_invalid_rreg; in radeon_register_accessor_init() 90 rdev->pll_wreg = &radeon_invalid_wreg; in radeon_register_accessor_init() 91 rdev->pciep_rreg = &radeon_invalid_rreg; in radeon_register_accessor_init() [all …]
|
| D | radeon_ring.c | 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 37 * Most engines on the GPU are fed via ring buffers. Ring 43 * pointers are equal, the ring is idle. When the host 44 * writes commands to the ring buffer, it increments the 48 static void radeon_debugfs_ring_init(struct radeon_device *rdev, struct radeon_ring *ring); 51 * radeon_ring_supports_scratch_reg - check if the ring supports 55 * @ring: radeon_ring structure holding ring information 57 * Check if a specific ring supports writing to scratch registers (all asics). 58 * Returns true if the ring supports writing to scratch regs, false if not. [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | radeon_asic.c | 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 45 * radeon_invalid_rreg - dummy reg read function 62 * radeon_invalid_wreg - dummy reg write function 79 * radeon_register_accessor_init - sets up the register accessor callbacks 88 rdev->mc_rreg = &radeon_invalid_rreg; in radeon_register_accessor_init() 89 rdev->mc_wreg = &radeon_invalid_wreg; in radeon_register_accessor_init() 90 rdev->pll_rreg = &radeon_invalid_rreg; in radeon_register_accessor_init() 91 rdev->pll_wreg = &radeon_invalid_wreg; in radeon_register_accessor_init() 92 rdev->pciep_rreg = &radeon_invalid_rreg; in radeon_register_accessor_init() [all …]
|
| D | radeon_ring.c | 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 21 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 38 * Most engines on the GPU are fed via ring buffers. Ring 44 * pointers are equal, the ring is idle. When the host 45 * writes commands to the ring buffer, it increments the 49 static int radeon_debugfs_ring_init(struct radeon_device *rdev, struct radeon_ring *ring); 52 * radeon_ring_supports_scratch_reg - check if the ring supports 56 * @ring: radeon_ring structure holding ring information 58 * Check if a specific ring supports writing to scratch registers (all asics). 59 * Returns true if the ring supports writing to scratch regs, false if not. [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | cs42l43-jack.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and 14 #include <linux/mfd/cs42l43-regs.h> 21 #include <sound/soc-component.h> 44 struct cs42l43 *cs42l43 = priv->core; in cs42l43_find_index() 47 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index() 48 if (ret != -EINVAL && ret < 0) { in cs42l43_find_index() 49 dev_err(priv->dev, "Property %s malformed: %d\n", prop, ret); in cs42l43_find_index() 60 dev_err(priv->dev, "Invalid value for property %s: %d\n", prop, defval); in cs42l43_find_index() 61 return -EINVAL; in cs42l43_find_index() [all …]
|
| /kernel/linux/linux-6.6/include/sound/ac97/ |
| D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ 44 /* range 0x3c-0x58 - MODEM */ 59 /* range 0x5a-0x7b - Vendor Specific */ 62 /* range 0x60-0x6f (page 1) - extended codec registers */ 68 #define AC97_SENSE_INFO 0x6a /* Sense Details */ 108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */ 109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */ 110 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */ 112 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */ [all …]
|
| /kernel/linux/linux-5.10/include/sound/ac97/ |
| D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ 44 /* range 0x3c-0x58 - MODEM */ 59 /* range 0x5a-0x7b - Vendor Specific */ 62 /* range 0x60-0x6f (page 1) - extended codec registers */ 68 #define AC97_SENSE_INFO 0x6a /* Sense Details */ 108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */ 109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */ 110 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */ 112 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/ |
| D | tulip.h | 5 Written/copyright 1994-2001 by Donald Becker. 57 MC_HASH_ONLY = 0x00020, /* Hash-only multicast filter. */ 197 __le32 buffer2; /* We use only buffer 1. */ 234 * Top three bits of 14 bit frame length (status bits 27-29) should 283 csr6_ho = (1<<2), /* Hash-only filtering mode: can't be set */ 321 /* Keep the ring sizes a power of two for efficiency. 322 Making the Tx ring too large decreases the effectiveness of channel 324 There are no ill effects from too-large receive rings. */ 337 #define TULIP_MIN_CACHE_LINE 8 /* in units of 32-bit words */ 340 /* The UltraSparc PCI controllers will disconnect at every 64-byte [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
| D | tulip.h | 5 Written/copyright 1994-2001 by Donald Becker. 57 MC_HASH_ONLY = 0x00020, /* Hash-only multicast filter. */ 197 __le32 buffer2; /* We use only buffer 1. */ 234 * Top three bits of 14 bit frame length (status bits 27-29) should 283 csr6_ho = (1<<2), /* Hash-only filtering mode: can't be set */ 321 /* Keep the ring sizes a power of two for efficiency. 322 Making the Tx ring too large decreases the effectiveness of channel 324 There are no ill effects from too-large receive rings. */ 337 #define TULIP_MIN_CACHE_LINE 8 /* in units of 32-bit words */ 340 /* The UltraSparc PCI controllers will disconnect at every 64-byte [all …]
|
| /kernel/linux/linux-6.6/tools/include/linux/ |
| D | ring_buffer.h | 8 * Contract with kernel for walking the perf ring buffer from 17 * if (LOAD ->data_tail) { LOAD ->data_head 21 * STORE ->data_head STORE ->data_tail 27 * load of the ->data_tail and the stores of $data. In case 28 * ->data_tail indicates there is no room in the buffer to 37 * Note, instead of B, C, D we could also use smp_store_release() 40 * However, this optimization does not make sense for all kernel 59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head() 61 u64 head = READ_ONCE(base->data_head); in ring_buffer_read_head() 71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
|
| /kernel/linux/linux-5.10/tools/include/linux/ |
| D | ring_buffer.h | 8 * Contract with kernel for walking the perf ring buffer from 17 * if (LOAD ->data_tail) { LOAD ->data_head 21 * STORE ->data_head STORE ->data_tail 27 * load of the ->data_tail and the stores of $data. In case 28 * ->data_tail indicates there is no room in the buffer to 37 * Note, instead of B, C, D we could also use smp_store_release() 40 * However, this optimization does not make sense for all kernel 59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head() 61 u64 head = READ_ONCE(base->data_head); in ring_buffer_read_head() 71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
|
| /kernel/linux/linux-6.6/drivers/infiniband/ulp/srpt/ |
| D | ib_srpt.h | 2 * Copyright (c) 2006 - 2009 Mellanox Technology Inc. All rights reserved. 3 * Copyright (C) 2009 - 2010 Bart Van Assche <bvanassche@acm.org>. 11 * Redistribution and use in source and binary forms, with or 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 30 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 78 SRP_MTCH_ACTION = 0x03, /* MULTI-CHANNEL ACTION */ 132 DEFAULT_MAX_RSP_SIZE = 256, /* leaves 220 bytes for sense data */ 138 * enum srpt_command_state - SCSI command state managed by SRPT 162 * struct srpt_ioctx - shared SRPT I/O context information [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/ |
| D | ib_srpt.h | 2 * Copyright (c) 2006 - 2009 Mellanox Technology Inc. All rights reserved. 3 * Copyright (C) 2009 - 2010 Bart Van Assche <bvanassche@acm.org>. 11 * Redistribution and use in source and binary forms, with or 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 30 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 78 SRP_MTCH_ACTION = 0x03, /* MULTI-CHANNEL ACTION */ 132 DEFAULT_MAX_RSP_SIZE = 256, /* leaves 220 bytes for sense data */ 138 * enum srpt_command_state - SCSI command state managed by SRPT 162 * struct srpt_ioctx - shared SRPT I/O context information [all …]
|
| /kernel/linux/linux-5.10/drivers/net/vmxnet3/ |
| D | vmxnet3_int.h | 4 * Copyright (C) 2008-2020, VMware, Inc. All Rights Reserved. 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 23 * Maintained by: pv-drivers@vmware.com 63 # define VMXNET3_DRIVER_VERSION_REPORT VMXNET3_DRIVER_VERSION_STRING"-NAPI(debug)" 65 # define VMXNET3_DRIVER_VERSION_REPORT VMXNET3_DRIVER_VERSION_STRING"-NAPI" 72 #define VMXNET3_DRIVER_VERSION_STRING "1.5.0.0-k" 74 /* Each byte of this 32-bit integer encodes a version number in 80 /* RSS only makes sense if MSI-X is supported. */ 94 VMNET_CAP_SG = 0x0001, /* Can do scatter-gather transmits. */ 110 VMNET_CAP_TX_CHAIN = 0x4000, /* Guest can use multiple tx entries [all …]
|
| /kernel/linux/linux-6.6/drivers/net/vmxnet3/ |
| D | vmxnet3_int.h | 4 * Copyright (C) 2008-2022, VMware, Inc. All Rights Reserved. 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 23 * Maintained by: pv-drivers@vmware.com 66 # define VMXNET3_DRIVER_VERSION_REPORT VMXNET3_DRIVER_VERSION_STRING"-NAPI(debug)" 68 # define VMXNET3_DRIVER_VERSION_REPORT VMXNET3_DRIVER_VERSION_STRING"-NAPI" 75 #define VMXNET3_DRIVER_VERSION_STRING "1.7.0.0-k" 77 /* Each byte of this 32-bit integer encodes a version number in 83 /* RSS only makes sense if MSI-X is supported. */ 100 VMNET_CAP_SG = 0x0001, /* Can do scatter-gather transmits. */ 116 VMNET_CAP_TX_CHAIN = 0x4000, /* Guest can use multiple tx entries [all …]
|
| /kernel/linux/linux-5.10/include/trace/events/ |
| D | io_uring.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * io_uring_create - called after a new io_uring context was prepared 16 * @ctx: pointer to a ring context structure 19 * @flags: SQ ring flags, provided to io_uring_setup(2) 39 __entry->fd = fd; 40 __entry->ctx = ctx; 41 __entry->sq_entries = sq_entries; 42 __entry->cq_entries = cq_entries; 43 __entry->flags = flags; 46 TP_printk("ring %p, fd %d sq size %d, cq size %d, flags %d", [all …]
|
| /kernel/linux/linux-5.10/Documentation/process/ |
| D | volatile-considered-harmful.rst | 5 ------------------------------------------------ 9 sometimes tempted to use it in kernel code when shared data structures are 11 as a sort of easy atomic variable, which they are not. The use of volatile in 19 all optimization-related problems in a more efficient way. 24 need to use volatile as well. If volatile is still necessary, there is 25 almost certainly a bug in the code somewhere. In properly-written kernel 38 primitives act as memory barriers - they are explicitly written to do so - 50 unnecessary - and potentially harmful. 52 The volatile storage class was originally meant for memory-mapped I/O 61 Another situation where one might be tempted to use volatile is [all …]
|
| /kernel/linux/linux-6.6/Documentation/process/ |
| D | volatile-considered-harmful.rst | 5 ------------------------------------------------ 9 sometimes tempted to use it in kernel code when shared data structures are 11 as a sort of easy atomic variable, which they are not. The use of volatile in 19 all optimization-related problems in a more efficient way. 24 need to use volatile as well. If volatile is still necessary, there is 25 almost certainly a bug in the code somewhere. In properly-written kernel 38 primitives act as memory barriers - they are explicitly written to do so - 50 unnecessary - and potentially harmful. 52 The volatile storage class was originally meant for memory-mapped I/O 61 Another situation where one might be tempted to use volatile is [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
| D | igb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 18 #include <linux/i2c-algo-bit.h> 119 * PTHRESH - MAC will consider prefetch if it has fewer than this number of 122 * HTHRESH - MAC will only prefetch if there are at least this many descriptors 125 * WTHRESH - RX descriptor writeback threshold - MAC will delay writing back 129 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : 8) 131 #define IGB_TX_PTHRESH ((hw->mac.type == e1000_i354) ? 20 : 8) 133 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \ 134 (adapter->flags & IGB_FLAG_HAS_MSIX)) ? 1 : 4) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/ |
| D | igb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 18 #include <linux/i2c-algo-bit.h> 119 * PTHRESH - MAC will consider prefetch if it has fewer than this number of 122 * HTHRESH - MAC will only prefetch if there are at least this many descriptors 125 * WTHRESH - RX descriptor writeback threshold - MAC will delay writing back 129 #define IGB_RX_PTHRESH ((hw->mac.type == e1000_i354) ? 12 : 8) 131 #define IGB_TX_PTHRESH ((hw->mac.type == e1000_i354) ? 20 : 8) 133 #define IGB_RX_WTHRESH ((hw->mac.type == e1000_82576 && \ 134 (adapter->flags & IGB_FLAG_HAS_MSIX)) ? 1 : 4) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ipa/ |
| D | gsi_trans.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2020 Linaro Ltd. 12 #include <linux/dma-direction.h> 26 * (A "command" in this sense is either a data transfer or an IPA immediate 36 * for use in the transaction and the allocation succeeds. This way 37 * exhaustion of the available TREs in a channel ring is detected 54 * the scatterlist array into the channel ring buffer and informs the 74 /* An entry in a channel ring */ 82 /* gsi_tre->flags mask values (in CPU byte order) */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/8390/ |
| D | 8390.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 6 * under the same license. Auto-loading of 8390.o only in v2.2 - Paul G. 21 /* The 8390 specific per-packet-header format. */ 34 /* Without I/O delay - non ISA or later chips */ 70 /* You have one of these per-board */ 85 unsigned word16:1; /* We have the 16-bit (vs 8-bit) 88 unsigned bigendian:1; /* 16-bit big endian mode. Do NOT 96 unsigned char interface_num; /* Net port (AUI, 10bT.) to use. */ 98 short tx1, tx2; /* Packet lengths for ping-pong tx. */ 102 unsigned char saved_irq; /* Original dev->irq value. */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/8390/ |
| D | 8390.h | 4 * under the same license. Auto-loading of 8390.o only in v2.2 - Paul G. 19 /* The 8390 specific per-packet-header format. */ 32 /* Without I/O delay - non ISA or later chips */ 68 /* You have one of these per-board */ 83 unsigned word16:1; /* We have the 16-bit (vs 8-bit) 86 unsigned bigendian:1; /* 16-bit big endian mode. Do NOT 94 unsigned char interface_num; /* Net port (AUI, 10bT.) to use. */ 96 short tx1, tx2; /* Packet lengths for ping-pong tx. */ 100 unsigned char saved_irq; /* Original dev->irq value. */ 146 #define E8390_PAGE1 0x40 /* using the two high-order bits */ [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| D | vmw_pvscsi.c | 2 * Linux driver for VMware's para-virtualized SCSI HBA. 4 * Copyright (C) 2008-2014, VMware, Inc. All Rights Reserved. 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 58 * 1-to-1 mapping completions back to requests. 116 MODULE_PARM_DESC(ring_pages, "Number of pages per req/cmp ring - (default=" 123 MODULE_PARM_DESC(msg_ring_pages, "Number of pages for the msg ring - (default=" 127 MODULE_PARM_DESC(cmd_per_lun, "Maximum commands per lun - (default=" 131 MODULE_PARM_DESC(disable_msi, "Disable MSI use in driver - (default=0)"); 134 MODULE_PARM_DESC(disable_msix, "Disable MSI-X use in driver - (default=0)"); 137 MODULE_PARM_DESC(use_msg, "Use msg ring when available - (default=1)"); [all …]
|