| /linux/sound/soc/intel/atom/sst/ |
| H A D | sst_loader.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sst_dsp.c - Intel SST Driver for audio engine 5 * Copyright (C) 2008-14 Intel Corp 29 #include "../sst-mfld-platform.h" 34 /* __iowrite32_copy uses 32-bit count values so divide by 4 for in memcpy32_toio() 42 /* __ioread32_copy uses 32-bit count values so divide by 4 for in memcpy32_fromio() 49 * intel_sst_reset_dsp_mrfld - Resetting SST DSP 58 dev_dbg(sst_drv_ctx->dev, "sst: Resetting the DSP in mrfld\n"); in intel_sst_reset_dsp_mrfld() 59 csr.full = sst_shim_read64(sst_drv_ctx->shim, SST_CSR); in intel_sst_reset_dsp_mrfld() 61 dev_dbg(sst_drv_ctx->dev, "value:0x%llx\n", csr.full); in intel_sst_reset_dsp_mrfld() [all …]
|
| H A D | sst_ipc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sst_ipc.c - Intel SST Driver for audio engine 5 * Copyright (C) 2008-14 Intel Corporation 25 #include "../sst-mfld-platform.h" 33 dev_dbg(ctx->dev, "Enter\n"); in sst_create_block() 37 msg->condition = false; in sst_create_block() 38 msg->on = true; in sst_create_block() 39 msg->msg_id = msg_id; in sst_create_block() 40 msg->drv_id = drv_id; in sst_create_block() 41 spin_lock_bh(&ctx->block_lock); in sst_create_block() [all …]
|
| /linux/net/ethtool/ |
| H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 [NETIF_F_SG_BIT] = "tx-scatter-gather", 18 [NETIF_F_IP_CSUM_BIT] = "tx-checksum-ipv4", 19 [NETIF_F_HW_CSUM_BIT] = "tx-checksum-ip-generic", 20 [NETIF_F_IPV6_CSUM_BIT] = "tx-checksum-ipv6", 22 [NETIF_F_FRAGLIST_BIT] = "tx-scatter-gather-fraglist", 23 [NETIF_F_HW_VLAN_CTAG_TX_BIT] = "tx-vlan-hw-insert", 25 [NETIF_F_HW_VLAN_CTAG_RX_BIT] = "rx-vlan-hw-parse", 26 [NETIF_F_HW_VLAN_CTAG_FILTER_BIT] = "rx-vlan-filter", 27 [NETIF_F_HW_VLAN_STAG_TX_BIT] = "tx-vlan-stag-hw-insert", [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-ufs | 3 Contact: linux-scsi@vger.kernel.org 5 This file contains the auto-hibernate idle timer setting of a 6 UFS host controller. A value of '0' means auto-hibernate is not 11 10-bit values with a power-of-ten multiplier which allows a 20 device descriptor parameters. The full information about 30 device descriptor parameters. The full information about 40 the UFS device descriptor parameters. The full information 51 The full information about the descriptor could be found 61 the UFS device descriptor parameters. The full information 72 The full information about the descriptor could be found [all …]
|
| /linux/sound/usb/line6/ |
| H A D | midibuf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2004-2010 Markus Grabner (line6@grabner-graz.at) 18 message_length = -1; in midibuf_message_length() 22 message_length = length[(code >> 4) - 8]; in midibuf_message_length() 24 static const int length[] = { -1, 2, 2, 2, -1, -1, 1, 1, 1, -1, in midibuf_message_length() 25 1, 1, 1, -1, 1, 1 in midibuf_message_length() 35 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty() 40 return this->full; in midibuf_is_full() 45 this->pos_read = this->pos_write = this->full = 0; in line6_midibuf_reset() 46 this->command_prev = -1; in line6_midibuf_reset() [all …]
|
| /linux/kernel/trace/ |
| H A D | trace_seq.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2008-2014 Red Hat Inc, Steven Rostedt <srostedt@redhat.com> 28 #define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq) 35 if (unlikely(!s->seq.size)) in __trace_seq_init() 40 * trace_print_seq - move the contents of trace_seq into a seq_file 54 ret = seq_buf_print_seq(m, &s->seq); in trace_print_seq() 68 * trace_seq_printf - sequence printing of trace information 80 unsigned int save_len = s->seq.len; in trace_seq_printf() 83 if (s->full) in trace_seq_printf() 89 seq_buf_vprintf(&s->seq, fmt, ap); in trace_seq_printf() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | fsl-lx2160a-bluebox3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 // Copyright 2020-2021 NXP 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2160a-bluebox3", "fsl,lx2160a"; 23 stdout-path = "serial0:115200n8"; 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed"; 28 regulator-name = "MC34717-3.3VSB"; 29 regulator-min-microvolt = <3300000>; [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | qcom,qca807x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christian Marangi <ansuelsmth@gmail.com> 11 - Robert Marko <robert.marko@sartura.hr> 15 IEEE 802.3 clause 22 compliant 10BASE-Te, 100BASE-TX and 16 1000BASE-T PHY-s. 21 Both models have a combo port that supports 1000BASE-X and 22 100BASE-FX fiber. 25 output only pins that natively drive LED-s for up to 2 attached [all …]
|
| /linux/arch/arm/boot/dts/nxp/vf/ |
| H A D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl-0 = <&pinctrl_leds_debug>; 24 pinctrl-names = "default"; 26 led-debug { [all …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm958625-meraki-alamo.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> 8 #include "bcm958625-meraki-mx6x-common.dtsi" 12 compatible = "gpio-keys-polled"; 14 poll-interval = <20>; 16 button-reset { 24 compatible = "gpio-leds"; 26 led-0 { 27 /* green:wan1-left */ 29 function-enumerator = <0>; [all …]
|
| H A D | bcm47094-linksys-panamera.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 30 gpio-keys { 31 compatible = "gpio-keys"; 33 button-wps { 39 button-rfkill { 45 button-reset { 53 compatible = "gpio-leds"; 55 led-wps { [all …]
|
| /linux/arch/powerpc/perf/ |
| H A D | vpa-dtl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 42 PMU_FORMAT_ATTR(event, "config:0-7"); 86 u64 size; member 92 bool full; member 99 * Formula is: ((timbase from DTL entry - boot time) / frequency) 101 * To match with size of "struct dtl_entry" to ease post processing, 124 struct dtl_entry *aux_copy_buf = (struct dtl_entry *)buf->base; in vpa_dtl_capture_aux() 129 * memory and set full to true. in vpa_dtl_capture_aux() 131 if (buf->head + *n_entries >= buf->threshold) { in vpa_dtl_capture_aux() 132 *n_entries = buf->threshold - buf->head; in vpa_dtl_capture_aux() [all …]
|
| /linux/fs/hfsplus/ |
| H A D | bitmap.c | 1 // SPDX-License-Identifier: GPL-2.0 19 int hfsplus_block_allocate(struct super_block *sb, u32 size, in hfsplus_block_allocate() argument 32 return size; in hfsplus_block_allocate() 34 hfs_dbg("size %u, offset %u, len %u\n", size, offset, len); in hfsplus_block_allocate() 35 mutex_lock(&sbi->alloc_mutex); in hfsplus_block_allocate() 36 mapping = sbi->alloc_file->i_mapping; in hfsplus_block_allocate() 39 start = size; in hfsplus_block_allocate() 43 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate() 45 offset &= ~(PAGE_CACHE_BITS - 1); in hfsplus_block_allocate() 46 if ((size ^ offset) / PAGE_CACHE_BITS) in hfsplus_block_allocate() [all …]
|
| /linux/drivers/usb/gadget/ |
| H A D | epautoconf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * epautoconf.c -- endpoint autoconfiguration for usb gadget drivers 20 * usb_ep_autoconfig_ss() - choose an endpoint matching the ep 25 * size must also be initialized. This is modified on 44 * Also, high and full speed descriptors will be different. 54 * is initialized as if the endpoint were used at full speed and 59 * assigning ep->claimed to true. 71 if (gadget->ops->match_ep) { in usb_ep_autoconfig_ss() 72 ep = gadget->ops->match_ep(gadget, desc, ep_comp); in usb_ep_autoconfig_ss() 78 list_for_each_entry (ep, &gadget->ep_list, ep_list) { in usb_ep_autoconfig_ss() [all …]
|
| /linux/lib/xz/ |
| H A D | xz_dec_lzma2.c | 1 // SPDX-License-Identifier: 0BSD 7 * Igor Pavlov <https://7-zip.org/> 31 * start <= pos <= full <= end 34 * In multi-call mode, also these are true: 35 * end == size 36 * size <= size_max 37 * allocated <= size 39 * Most of these variables are size_t to support single-call mode, 54 * How full dictionary is. This is used to detect corrupt input that 57 size_t full; member [all …]
|
| /linux/Documentation/devicetree/bindings/dma/stm32/ |
| H A D | st,stm32-dma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/stm32/st,stm32-dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The STM32 DMA is a general-purpose direct memory access controller capable of 13 described in the dma.txt file, using a four-cell specifier for each 19 -bit 9: Peripheral Increment Address 22 -bit 10: Memory Increment Address 25 -bit 15: Peripheral Increment Offset Size 26 0x0: offset size is linked to the peripheral bus width [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | cmpxchg.h | 6 * Copyright (C) 2003, 06, 07 by Ralf Baechle (ralf@linux-mips.org) 20 * - Get an error at compile-time due to __compiletime_error, if supported by 25 * - Get an error at link-time due to the call to the missing function. 28 __compiletime_error("Bad argument size for cmpxchg"); 32 __compiletime_error("Bad argument size for xchg"); 44 " " __SYNC(full, loongson3_war) " \n" \ 68 unsigned int size); 71 unsigned long __arch_xchg(volatile void *ptr, unsigned long x, int size) in __arch_xchg() argument 73 switch (size) { in __arch_xchg() 76 return __xchg_small(ptr, x, size); in __arch_xchg() [all …]
|
| /linux/Documentation/devicetree/bindings/fpga/ |
| H A D | fpga-region.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/fpga/fpga-region.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michal Simek <michal.simek@amd.com> 14 - Introduction 15 - Terminology 16 - Sequence 17 - FPGA Region 18 - Supported Use Models [all …]
|
| /linux/arch/arm/boot/dts/mediatek/ |
| H A D | mt7623a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 8 /dts-v1/; 9 #include <dt-bindings/power/mt7623a-power.h> 13 power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; 17 power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; 22 phy-mode = "trgmii"; 24 fixed-link { 26 full-duplex; 33 phy-mode = "rgmii"; [all …]
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | cacheinfo.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - Venkatesh Pallipadi: Cache identification through CPUID(0x4) 7 * - Ashok Raj <ashok.raj@intel.com>: Work with CPU hotplug infrastructure 8 * - Andi Kleen / Andreas Herrmann: CPUID(0x4) emulation on AMD 54 u32 full; member 63 u32 full; member 70 u32 full; member 78 unsigned long size; member 159 eax->full = 0; in legacy_amd_cpuid4() 160 ebx->full = 0; in legacy_amd_cpuid4() [all …]
|
| /linux/Documentation/devicetree/bindings/net/dsa/ |
| H A D | mediatek,mt7530.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Arınç ÜNAL <arinc.unal@arinc9.com> 11 - Landen Chao <Landen.Chao@mediatek.com> 12 - DENG Qingfang <dqfext@gmail.com> 13 - Sean Wang <sean.wang@mediatek.com> 14 - Daniel Golle <daniel@makrotopia.org> 17 There are three versions of MT7530, standalone, in a multi-chip module and 18 built-into a SoC. [all …]
|
| /linux/mm/ |
| H A D | slub.c | 1 // SPDX-License-Identifier: GPL-2.0 38 #include <linux/fault-inject.h> 45 #include <kunit/test-bug.h> 57 * 2. node->list_lock (Spinlock) 58 * 3. kmem_cache->cpu_slab->lock (Local lock) 76 * A. slab->freelist -> List of free objects in a slab 77 * B. slab->inuse -> Number of objects in use 78 * C. slab->objects -> Number of objects in slab 79 * D. slab->frozen -> frozen state 100 * - node partial slab: SL_partial && !frozen [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-ipq8064-rb3011.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-ipq8064.dtsi" 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/leds/common.h> 7 model = "MikroTik RB3011UiAS-RM"; 14 mdio-gpio0 = &mdio0; 15 mdio-gpio1 = &mdio1; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; [all …]
|
| /linux/Documentation/driver-api/md/ |
| H A D | raid5-cache.rst | 7 caches data to the RAID disks. The cache can be in write-through (supported 8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since 9 3.4) has a new option '--write-journal' to create array with cache. Please 11 in write-through mode. A user can switch it to write-back mode by:: 13 echo "write-back" > /sys/block/md0/md/journal_mode 15 And switch it back to write-through mode by:: 17 echo "write-through" > /sys/block/md0/md/journal_mode 22 write-through mode 34 The write-through cache will cache all data on cache disk first. After the data 36 two-step write will guarantee MD can recover correct data after unclean [all …]
|
| /linux/drivers/firmware/tegra/ |
| H A D | ivc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. 47 * This structure is divided into two-cache aligned parts, the first is only 50 * lines, which is critical to performance and necessary in non-cache coherent 79 if (!ivc->peer) in tegra_ivc_invalidate() 82 dma_sync_single_for_cpu(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_invalidate() 88 if (!ivc->peer) in tegra_ivc_flush() 91 dma_sync_single_for_device(ivc->peer, phys, TEGRA_IVC_ALIGN, in tegra_ivc_flush() 106 * Perform an over-full check to prevent denial of service attacks in tegra_ivc_empty() 109 * expected to check for full or over-full conditions. in tegra_ivc_empty() [all …]
|