/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/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/arch/arm/boot/dts/nxp/vf/ |
H A D | vf610-zii-dev-rev-b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "vf610-zii-dev.dtsi" 11 compatible = "zii,vf610dev-b", "zii,vf610dev", "fsl,vf610"; 13 mdio-mux { 14 compatible = "mdio-mux-gpio"; 15 pinctrl-0 = <&pinctrl_mdio_mux>; 16 pinctrl-names = "default"; 21 mdio-parent-bus = <&mdio1>; 22 #address-cells = <1>; [all …]
|
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/drivers/gpu/drm/radeon/ |
H A D | r100.c | 111 * r100_wait_for_vblank - vblank wait asic callback. 116 * Wait for vblank on the requested crtc (r1xx-r4xx). 122 if (crtc >= rdev->num_crtc) in r100_wait_for_vblank() 152 * r100_page_flip - pageflip callback. 159 * Does the actual pageflip (r1xx-r4xx). 166 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in r100_page_flip() 168 struct drm_framebuffer *fb = radeon_crtc->base.primary->fb; in r100_page_flip() 174 WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); in r100_page_flip() 177 pitch_pixels = fb->pitches[0] / fb->format->cpp[0]; in r100_page_flip() 178 crtc_pitch = DIV_ROUND_UP(pitch_pixels * fb->format->cpp[0] * 8, in r100_page_flip() [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/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/net/ethtool/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 [NETIF_F_SG_BIT] = "tx-scatter-gather", 14 [NETIF_F_IP_CSUM_BIT] = "tx-checksum-ipv4", 15 [NETIF_F_HW_CSUM_BIT] = "tx-checksum-ip-generic", 16 [NETIF_F_IPV6_CSUM_BIT] = "tx-checksum-ipv6", 18 [NETIF_F_FRAGLIST_BIT] = "tx-scatter-gather-fraglist", 19 [NETIF_F_HW_VLAN_CTAG_TX_BIT] = "tx-vlan-hw-insert", 21 [NETIF_F_HW_VLAN_CTAG_RX_BIT] = "rx-vlan-hw-parse", 22 [NETIF_F_HW_VLAN_CTAG_FILTER_BIT] = "rx-vlan-filter", 23 [NETIF_F_HW_VLAN_STAG_TX_BIT] = "tx-vlan-stag-hw-insert", [all …]
|
/linux/fs/btrfs/ |
H A D | block-rsv.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "block-rsv.h" 6 #include "space-info.h" 8 #include "block-group.h" 16 * reservations. Each block_rsv has a ->size and a ->reserved. ->size is 17 * how large we want our block rsv to be, ->reserved is how much space is 20 * ->failfast exists for the truncate case, and is described below. 24 * -> Reserve 28 * accounted for in space_info->bytes_may_use, and then add the bytes to 29 * ->reserved, and ->size in the case of btrfs_block_rsv_add. [all …]
|
H A D | block-rsv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 u64 size; member 36 bool full; member 42 * Qgroup equivalent for @size @reserved 44 * Unlike normal @size/@reserved for inode rsv, qgroup doesn't care 45 * about things like csum size nor how many tree blocks it will need to 103 * Fast path to check if the reserve is full, may be carefully used outside of 108 return data_race(rsv->full); in btrfs_block_rsv_full() 120 spin_lock(&rsv->lock); in btrfs_block_rsv_reserved() 121 ret = rsv->reserved; in btrfs_block_rsv_reserved() [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/x86/kernel/cpu/ |
H A D | cacheinfo.c | 1 // SPDX-License-Identifier: GPL-2.0 50 short size; member 60 { 0x06, LVL_1_INST, 8 }, /* 4-way set assoc, 32 byte line size */ 61 { 0x08, LVL_1_INST, 16 }, /* 4-way set assoc, 32 byte line size */ 62 { 0x09, LVL_1_INST, 32 }, /* 4-way set assoc, 64 byte line size */ 63 { 0x0a, LVL_1_DATA, 8 }, /* 2 way set assoc, 32 byte line size */ 64 { 0x0c, LVL_1_DATA, 16 }, /* 4-way set assoc, 32 byte line size */ 65 { 0x0d, LVL_1_DATA, 16 }, /* 4-way set assoc, 64 byte line size */ 66 { 0x0e, LVL_1_DATA, 24 }, /* 6-way set assoc, 64 byte line size */ 67 { 0x21, LVL_2, 256 }, /* 8-way set assoc, 64 byte line size */ [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 …]
|
/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(BITMAP, "block_allocate: %u,%u,%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/include/linux/ |
H A D | lz4.h | 4 * Copyright (C) 2016, Sven Schmidt <4sschmid@informatik.uni-hamburg.de> 11 * for LZ4 - Fast LZ compression algorithm. 13 * LZ4 - Fast LZ compression algorithm 14 * Copyright (C) 2011-2016, Yann Collet. 15 * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) 37 * - LZ4 homepage : http://www.lz4.org 38 * - LZ4 source repository : https://github.com/lz4/lz4 47 /*-************************************************************************ 52 * Memory usage formula : N->2^N Bytes 53 * (examples : 10 -> 1KB; 12 -> 4KB ; 16 -> 64KB; 20 -> 1MB; etc.) [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/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/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 …]
|