| /linux/sound/pci/ |
| H A D | es1968.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Rewritted from card-es1938.c source. 27 * encoding. The codecs are almost always AC-97 compliant codecs, 88 #include <linux/dma-mapping.h> 102 #include <media/drv-intf/tea575x.h> 115 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 1-MA 117 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ global() variable 849 struct esschan *es; snd_es1968_bob_dec() local 863 snd_es1968_calc_bob_rate(struct es1968 * chip,struct esschan * es,struct snd_pcm_runtime * runtime) snd_es1968_calc_bob_rate() argument 897 snd_es1968_get_dma_ptr(struct es1968 * chip,struct esschan * es) snd_es1968_get_dma_ptr() argument 925 snd_es1968_pcm_start(struct es1968 * chip,struct esschan * es) snd_es1968_pcm_start() argument 945 snd_es1968_pcm_stop(struct es1968 * chip,struct esschan * es) snd_es1968_pcm_stop() argument 958 snd_es1968_program_wavecache(struct es1968 * chip,struct esschan * es,int channel,u32 addr,int capture) snd_es1968_program_wavecache() argument 977 snd_es1968_playback_setup(struct es1968 * chip,struct esschan * es,struct snd_pcm_runtime * runtime) snd_es1968_playback_setup() argument 1080 init_capture_apu(struct es1968 * chip,struct esschan * es,int channel,unsigned int pa,unsigned int bsize,int mode,int route) init_capture_apu() argument 1125 snd_es1968_capture_setup(struct es1968 * chip,struct esschan * es,struct snd_pcm_runtime * runtime) snd_es1968_capture_setup() argument 1198 struct esschan *es = runtime->private_data; snd_es1968_pcm_prepare() local 1229 struct esschan *es = substream->runtime->private_data; snd_es1968_pcm_trigger() local 1259 struct esschan *es = substream->runtime->private_data; snd_es1968_pcm_pointer() local 1525 struct esschan *es; snd_es1968_playback_open() local 1563 struct esschan *es; snd_es1968_capture_open() local 1622 struct esschan *es; snd_es1968_playback_close() local 1639 struct esschan *es; snd_es1968_capture_close() local 1824 snd_es1968_suppress_jitter(struct es1968 * chip,struct esschan * es) snd_es1968_suppress_jitter() argument 1841 snd_es1968_update_pcm(struct es1968 * chip,struct esschan * es) snd_es1968_update_pcm() argument 1972 struct esschan *es; snd_es1968_interrupt() local 2376 struct esschan *es; es1968_resume() local [all...] |
| /linux/drivers/staging/vc04_services/bcm2835-camera/ |
| H A D | bcm2835-camera.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/dma-mapping.h> 19 #include <media/videobuf2-vmalloc.h> 20 #include <media/videobuf2-dma-contig.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-ioctl.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-fh.h> 25 #include <media/v4l2-event.h> 26 #include <media/v4l2-common.h> [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_flex_pipe.c | 1 // SPDX-License-Identifier: GPL-2.0 77 * ice_sect_id - returns section ID 90 * ice_hw_ptype_ena - check if the PTYPE is enabled or not 97 test_bit(ptype, hw->hw_ptype); in ice_hw_ptype_ena() 112 * ice_gen_key_word - generate 16-bits of a key/mask word 120 * This function generates 16-bits from a 8-bit value, an 8-bit don't care mask 121 * and an 8-bit never match mask. The 16-bits of output are divided into 8 bits 133 * ------------------------------ 145 return -EIO; in ice_gen_key_word() 150 /* encode the 8 bits into 8-bit key and 8-bit key invert */ in ice_gen_key_word() [all …]
|
| /linux/drivers/clk/bcm/ |
| H A D | clk-cygnus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 13 #include <dt-bindings/clock/bcm-cygnus.h> 14 #include "clk-iproc.h" 23 #define ASIU_DIV_VAL(o, es, hs, hw, ls, lw) \ argument 24 { .offset = o, .en_shift = es, .high_shift = hs, \ 36 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument 39 #define ASIU_GATE_VAL(o, es) { .offset = o, .en_shift = es } argument 45 CLK_OF_DECLARE(cygnus_armpll, "brcm,cygnus-armpll", cygnus_armpll_init); 65 .enable = ENABLE_VAL(0x4, 6, 0, 12), [all …]
|
| H A D | clk-nsp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 11 #include <dt-bindings/clock/bcm-nsp.h> 12 #include "clk-iproc.h" 26 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument 33 CLK_OF_DECLARE(nsp_armpll, "brcm,nsp-armpll", nsp_armpll_init); 50 .enable = ENABLE_VAL(0x4, 12, 6, 18), 56 .enable = ENABLE_VAL(0x4, 13, 7, 19), 62 .enable = ENABLE_VAL(0x4, 14, 8, 20), 68 .enable = ENABLE_VAL(0x4, 15, 9, 21), [all …]
|
| H A D | clk-ns2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 11 #include <dt-bindings/clock/bcm-ns2.h> 12 #include "clk-iproc.h" 28 #define ENABLE_VAL(o, es, hs, bs) { .offset = o, .enable_shift = es, \ argument 51 .enable = ENABLE_VAL(0x0, 18, 12, 0), 57 .enable = ENABLE_VAL(0x0, 19, 13, 0), 63 .enable = ENABLE_VAL(0x0, 20, 14, 0), 69 .enable = ENABLE_VAL(0x0, 21, 15, 0), 75 .enable = ENABLE_VAL(0x0, 22, 16, 0), [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | richtek,rtmv20-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtmv20-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 15 (Enable/Fail), Enable pin to turn chip on, and Fail pin as fault indication. 27 wakeup-source: true 32 enable-gpios: 33 description: A connection of the 'enable' gpio line. 36 richtek,ld-pulse-delay-us: [all …]
|
| /linux/drivers/parisc/ |
| H A D | eisa_enumerator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * eisa_enumerator.c - provide support for EISA adapters in PA-RISC machines 36 * little-endian on the big-endian PAROSC */ 92 res->name = name; in configure_memory() 93 res->start = mem_parent->start + get_24(buf+len+2); in configure_memory() 94 res->end = res->start + get_16(buf+len+5)*1024; in configure_memory() 95 res->flags = IORESOURCE_MEM; in configure_memory() 182 res->name = board; in configure_port() 183 res->start = get_16(buf+len+1); in configure_port() 184 res->end = get_16(buf+len+1)+(c&HPEE_PORT_SIZE_MASK)+1; in configure_port() [all …]
|
| /linux/arch/powerpc/platforms/85xx/ |
| H A D | xes_mpc85xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * X-ES board-specific functionality 9 * Author: Nate Case <ncase@xes-inc.com> 24 #include <asm/pci-bridge.h> 36 #define MPC85xx_L2CTL_L2E 0x80000000 /* L2 enable */ 81 * Legacy xMon firmware on some X-ES boards does not enable L2 in xes_mpc85xx_fixups() 84 for_each_node_by_name(np, "l2-cache-controller") { in xes_mpc85xx_fixups() 90 "fsl,mpc8548-l2-cache-controller") && in xes_mpc85xx_fixups() 92 "fsl,mpc8540-l2-cache-controller") && in xes_mpc85xx_fixups() 94 "fsl,mpc8560-l2-cache-controller")) in xes_mpc85xx_fixups() [all …]
|
| /linux/arch/x86/realmode/rm/ |
| H A D | trampoline_64.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * with 16-bit addressing and 16-bit data. CS has some value 24 * --full-contents --reloc to make sure there are no relocation 33 #include <asm/processor-flags.h> 69 mov %ax, %es 91 # Enable protected mode 104 /* SEV-ES supports non-zero IP for entry points - no alignment needed */ 112 mov %ax, %es 130 movl %edx, %es 150 * Memory encryption is enabled but the SME enable bit for this [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | head_32.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 #include <asm/asm-offsets.h> 22 #include <asm/processor-flags.h> 23 #include <asm/msr-index.h> 27 #include <asm/nospec-branch.h> 32 #define pa(X) ((X) - __PAGE_OFFSET) 48 * Worst-case size of the kernel mapping we need to make: 58 * 32-bit kernel entrypoint; only used by the boot CPU. On entry, 59 * %esi points to the real-mode code as a 32-bit pointer. 74 movl %eax,%es [all …]
|
| /linux/fs/ext4/ |
| H A D | super.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Laboratoire MASI - Institut Blaise Pascal 16 * Big-endian to little-endian byte-swapping/bitmaps by 28 #include <linux/backing-dev.h> 73 struct ext4_super_block *es); 75 struct ext4_super_block *es); 102 * mmap_lock -> sb_start_pagefault -> invalidate_lock (r) -> transaction start 103 * -> page lock -> i_data_sem (rw) 106 * sb_start_write -> i_mutex -> mmap_lock 107 * sb_start_write -> i_mutex -> transaction start -> page lock -> [all …]
|
| H A D | ext4.h | 1 // SPDX-License-Identifier: GPL-2.0 7 * Laboratoire MASI - Institut Blaise Pascal 38 #include <linux/percpu-rwsem.h> 61 * with DOUBLE_CHECK defined mballoc creates persistent in-core 77 printk(KERN_DEBUG "EXT4-fs DEBUG (%s, %d): %s:", \ 86 * Turn on EXT_DEBUG to enable ext4_ext_show_path/leaf/move in extents.c 95 pr_debug("[%s/%d] EXT4-fs (%s): ino %lu: (%s, %d): %s:" fmt, \ 96 current->comm, task_pid_nr(current), \ 97 ino->i_sb->s_id, ino->i_ino, __FILE__, __LINE__, \ 116 /* data type for filesystem-wide blocks number */ [all …]
|
| /linux/drivers/regulator/ |
| H A D | rtmv20-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 75 gpiod_set_value(priv->enable_gpio, 1); in rtmv20_lsw_enable() 80 /* HW re-enable, disable cache only and sync regcache here */ in rtmv20_lsw_enable() 81 regcache_cache_only(priv->regmap, false); in rtmv20_lsw_enable() 82 ret = regcache_sync(priv->regmap); in rtmv20_lsw_enable() 99 regcache_cache_only(priv->regmap, true); in rtmv20_lsw_disable() 100 regcache_mark_dirty(priv->regmap); in rtmv20_lsw_disable() 102 gpiod_set_value(priv->enable_gpio, 0); in rtmv20_lsw_disable() 113 return -EINVAL; in rtmv20_lsw_set_current_limit() 118 sel = (max_uA - RTMV20_LSW_MINUA) / RTMV20_LSW_STEPUA; in rtmv20_lsw_set_current_limit() [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-ds2404.c | 1 // SPDX-License-Identifier: GPL-2.0 38 struct device *dev = &pdev->dev; in ds2404_gpio_map() 40 /* This will de-assert RESET, declare this GPIO as GPIOD_ACTIVE_LOW */ in ds2404_gpio_map() 41 chip->rst_gpiod = devm_gpiod_get(dev, "rst", GPIOD_OUT_LOW); in ds2404_gpio_map() 42 if (IS_ERR(chip->rst_gpiod)) in ds2404_gpio_map() 43 return PTR_ERR(chip->rst_gpiod); in ds2404_gpio_map() 45 chip->clk_gpiod = devm_gpiod_get(dev, "clk", GPIOD_OUT_HIGH); in ds2404_gpio_map() 46 if (IS_ERR(chip->clk_gpiod)) in ds2404_gpio_map() 47 return PTR_ERR(chip->clk_gpiod); in ds2404_gpio_map() 49 chip->dq_gpiod = devm_gpiod_get(dev, "dq", GPIOD_ASIS); in ds2404_gpio_map() [all …]
|
| /linux/include/linux/ |
| H A D | fsl_devices.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 17 PHY CLK to become stable - 10ms*/ 30 * Each sub-arch has its own master list of unique devices and 31 * enumerates them by enum fsl_devices in a sub-arch specific header 40 * - platform data structures: <driver>_platform_data 41 * - platform data device flags: FSL_<driver>_DEV_<FLAG> 42 * - platform data board flags: FSL_<driver>_BRD_<FLAG> 47 FSL_USB_VER_NONE = -1, 86 unsigned power_budget; /* hcd->power_budget */ 89 unsigned es:1; /* need USBMODE:ES */ member [all …]
|
| /linux/drivers/spi/ |
| H A D | spi-omap2-mcspi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/dma-mapping.h> 32 #include <linux/platform_data/spi-omap2-mcspi.h> 49 /* per-channel banks, 0x14 bytes each, first is: */ 56 /* per-register bitmasks: */ 155 writel_relaxed(val, mcspi->base + idx); in mcspi_write_reg() 162 return readl_relaxed(mcspi->base + idx); in mcspi_read_reg() 168 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_write_cs_reg() 170 writel_relaxed(val, cs->base + idx); in mcspi_write_cs_reg() 175 struct omap2_mcspi_cs *cs = spi->controller_state; in mcspi_read_cs_reg() [all …]
|
| /linux/Documentation/sound/ |
| H A D | alsa-configuration.rst | 2 Advanced Linux Sound Architecture - Driver Configuration guide 9 To enable ALSA support you need at least to build the kernel with 13 Enable "OSS API emulation" (``CONFIG_SND_OSSEMUL``) and both OSS mixer 17 SB Live! then you need to enable "Sequencer support" 20 To make ALSA debug messages more verbose, enable the "Verbose printk" 38 ---------- 47 limiting card index for auto-loading (1-8); 49 For auto-loading more than one card, specify this option 50 together with snd-card-X aliases. 63 Module snd-pcm-oss [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | smm.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 ASSERT_STRUCT_OFFSET(struct kvm_smram_state_32, field, offset - 0xFE00) 16 ASSERT_STRUCT_OFFSET(struct kvm_smram_state_64, field, offset - 0xFE00) 41 CHECK_SMRAM32_OFFSET(es, 0xFF84); in check_smram_offsets() 61 CHECK_SMRAM64_OFFSET(es, 0xFE00); in check_smram_offsets() 114 trace_kvm_smm_transition(vcpu->vcpu_id, vcpu->arch.smbase, entering_smm); in kvm_smm_changed() 117 vcpu->arch.hflags |= HF_SMM_MASK; in kvm_smm_changed() 119 vcpu->arch.hflags &= ~(HF_SMM_MASK | HF_SMM_INSIDE_NMI_MASK); in kvm_smm_changed() 129 vcpu->arch.pdptrs_from_userspace = false; in kvm_smm_changed() 138 vcpu->arch.smi_pending = true; in process_smi() [all …]
|
| /linux/tools/perf/util/scripting-engines/ |
| H A D | trace-event-python.c | 2 * trace-event-python. Feed trace events to an embedded Python interpreter. 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 34 #include <event-parse.h> 37 #include "../build-id.h" 48 #include "../mem-info.h" 49 #include "../db-export.h" 50 #include "../thread-stack.h" 51 #include "../trace-event.h" 52 #include "../call-path.h" 58 #include "mem-events.h" [all …]
|
| /linux/arch/x86/platform/pvh/ |
| H A D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #define _pa(x) ((x) - __START_KERNEL_map) 12 #define rva(x) ((x) - pvh_start_xen) 22 #include <asm/processor-flags.h> 24 #include <asm/nospec-branch.h> 34 * - `ebx`: contains the physical memory address where the loader has placed 36 * - `cr0`: bit 0 (PE) must be set. All the other writeable bits are cleared. 37 * - `cr4`: all bits are cleared. 38 * - `cs `: must be a 32-bit read/execute code segment with a base of `0` 40 * - `ds`, `es`: must be a 32-bit read/write data segment with a base of [all …]
|
| /linux/arch/mips/include/asm/mach-ath25/ |
| H A D | ath25_platform.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * This is board-specific data that is stored in a "fixed" location in flash. 11 * address(es). 32 #define BD_WLAN0 0x00000200 /* Enable WLAN0 */ 35 #define BD_WLAN1 0x00001000 /* Enable WLAN1 (ar5212) */
|
| /linux/arch/x86/kvm/svm/ |
| H A D | sev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Kernel-based Virtual Machine driver for Linux 5 * AMD SVM-SEV support 16 #include <linux/psp-sev.h> 22 #include <uapi/linux/sev-guest.h> 44 /* enable/disable SEV support */ 48 /* enable/disable SEV-ES support */ 52 /* enable/disable SEV-SNP support */ 56 /* enable/disable SEV-ES DebugSwap support */ 68 /* As defined by SEV-SNP Firmware ABI, under "Guest Policy". */ [all …]
|
| /linux/Documentation/admin-guide/nfs/ |
| H A D | nfs-rdma.rst | 29 nfs-rdma-devel@lists.sourceforge.net mailing list. 37 - Install an RDMA device 41 Testing has been performed using several Mellanox-based IB cards, the 44 - Install a Linux distribution and tools 53 - Install nfs-utils-1.1.2 or greater on the client 56 nfs-utils-1.1.2 or greater (nfs-utils-1.1.1 was the first nfs-utils 58 recommend using nfs-utils-1.1.2 or greater). To see which version of 61 .. code-block:: sh 63 $ /sbin/mount.nfs -V 66 you should install the latest version of nfs-utils. [all …]
|
| /linux/drivers/edac/ |
| H A D | aspeed_edac.c | 1 // SPDX-License-Identifier: GPL-2.0+ 18 #define DRV_NAME "aspeed-edac" 24 #define ASPEED_MCR_ADDR_UNREC 0x58 /* address of first un-recoverable error */ 45 /* enable write to MCR register set */ in regmap_reg_write() 94 struct csrow_info *csrow = mci->csrows[0]; in count_rec() 107 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, rec_cnt-1, in count_rec() 108 page, offset, syndrome, 0, 0, -1, in count_rec() 109 "address(es) not available", ""); in count_rec() 119 csrow->first_page + page, offset, syndrome, in count_rec() 120 0, 0, -1, "", ""); in count_rec() [all …]
|