/linux/Documentation/admin-guide/media/ |
H A D | ipu6-isys.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 Intel Image Processing Unit 6 (IPU6) Input System driver 9 Copyright |copy| 2023--2024 Intel Corporation 15 Input System (MIPI CSI2 receiver) drivers located under 26 Intel IPU6 is made up of two components - Input System (ISYS) and Processing 27 System (PSYS). 29 The Input System mainly works as MIPI CSI-2 receiver which receives and 32 There are 2 driver modules - intel-ipu6 and intel-ipu6-isys. intel-ipu6 is an 34 firmware authentication, DMA mapping and IPU-MMU (internal Memory mapping Unit) 36 sub-device interfaces. The IPU6 ISYS driver supports camera sensors connected [all …]
|
H A D | cec.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 - Exynos4 13 - Exynos5 14 - STIH4xx HDMI CEC 15 - V4L2 adv7511 (same HW, but a different driver from the drm adv7511) 16 - stm32 17 - Allwinner A10 (sun4i) 18 - Raspberry Pi 19 - dw-hdmi (Synopsis IP) 20 - amlogic (meson ao-cec and ao-cec-g12a) [all …]
|
H A D | ipu3.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 ImgU). The CIO2 driver is available as drivers/media/pci/intel/ipu3/ipu3-cio2* 36 Both of the drivers implement V4L2, Media Controller and V4L2 sub-device 38 MIPI CSI-2 interfaces through V4L2 sub-device sensor drivers. 44 interface to the user space. There is a video node for each CSI-2 receiver, 47 The CIO2 contains four independent capture channel, each with its own MIPI CSI-2 48 receiver and DMA engine. Each channel is modelled as a V4L2 sub-device exposed 49 to userspace as a V4L2 sub-device node and has two pads: 53 .. flat-table:: 54 :header-rows: 1 [all …]
|
/linux/drivers/isdn/mISDN/ |
H A D | clock.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * ctl = callback function to enable/disable clock source 14 * Note: Callback 'ctl' can be called before mISDN_register_clock returns! 55 int pri = -128; in select_iclock() 58 if (iclock->pri > pri) { in select_iclock() 59 pri = iclock->pri; in select_iclock() 69 lastclock->name); in select_iclock() 70 lastclock->ctl(lastclock->priv, 0); in select_iclock() 76 bestclock->name); in select_iclock() 77 bestclock->ctl(bestclock->priv, 1); in select_iclock() [all …]
|
/linux/Documentation/devicetree/bindings/cache/ |
H A D | baikal,bt1-l2-ctl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/cache/baikal,bt1-l2-ctl.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Baikal-T1 L2-cache Control Block 11 - Serge Semin <fancer.lancer@gmail.com> 14 By means of the System Controller Baikal-T1 SoC exposes a few settings to 16 to change the Tag, Data and Way-select RAM access latencies. Baikal-T1 17 L2-cache controller block is responsible for the tuning. Its DT node is 18 supposed to be a child of the system controller. [all …]
|
/linux/tools/testing/selftests/alsa/ |
H A D | mixer-test.c | 1 // SPDX-License-Identifier: GPL-2.0 6 // Copyright (c) 2021-2 Arm Limited 8 // This test will iterate over all cards detected in the system, exercising 9 // every mixer control it can find. This may conflict with other system 10 // software if there is audio activity so is best run on a system with a 29 #include "alsa-local.h" 64 int card, ctl, err; in find_controls() local 70 card = -1; in find_controls() 83 err = snd_ctl_open_lconf(&card_data->handle, name, 0, config); in find_controls() 97 err = snd_ctl_card_info_malloc(&card_data->info); in find_controls() [all …]
|
/linux/arch/mips/ath25/ |
H A D | ar5312.c | 9 * Copyright (C) 2006-2009 Felix Fietkau <nbd@openwrt.org> 96 ar5312_rst_reg_mask(AR5312_IMR, 0, BIT(d->hwirq)); in ar5312_misc_irq_unmask() 102 ar5312_rst_reg_mask(AR5312_IMR, BIT(d->hwirq), 0); in ar5312_misc_irq_mask() 107 .name = "ar5312-misc", 152 if (request_irq(irq, ar5312_ahb_err_handler, 0, "ar5312-ahb-error", in ar5312_arch_init_irq() 154 pr_err("Failed to register ar5312-ahb-error interrupt\n"); in ar5312_arch_init_irq() 168 .end = AR5312_FLASH_BASE + AR5312_FLASH_SIZE - 1, 173 .name = "physmap-flash", 183 u32 ctl; in ar5312_flash_init() local 188 ctl = __raw_readl(flashctl_base + AR5312_FLASHCTL0); in ar5312_flash_init() [all …]
|
/linux/drivers/thunderbolt/ |
H A D | domain.c | 1 // SPDX-License-Identifier: GPL-2.0 24 if (id->match_flags & TBSVC_MATCH_PROTOCOL_KEY) { in match_service_id() 25 if (strcmp(id->protocol_key, svc->key)) in match_service_id() 29 if (id->match_flags & TBSVC_MATCH_PROTOCOL_ID) { in match_service_id() 30 if (id->protocol_id != svc->prtcid) in match_service_id() 34 if (id->match_flags & TBSVC_MATCH_PROTOCOL_VERSION) { in match_service_id() 35 if (id->protocol_version != svc->prtcvers) in match_service_id() 39 if (id->match_flags & TBSVC_MATCH_PROTOCOL_VERSION) { in match_service_id() 40 if (id->protocol_revision != svc->prtcrevs) in match_service_id() 59 if (!driver->id_table) in __tb_service_match() [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-stat.txt | 1 perf-stat(1) 5 ---- 6 perf-stat - Run a command and gather performance counter statistics 9 -------- 11 'perf stat' [-e <EVENT> | --event=EVENT] [-a] <command> 12 'perf stat' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>] 13 'perf stat' [-e <EVENT> | --event=EVENT] [-a] record [-o file] \-- <command> [<options>] 14 'perf stat' report [-i file] 17 ----------- 23 ------- [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | sil-sii8620.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Copyright (C) 2013-2014 Silicon Image, Inc. 33 /* System Control #1, default value: 0x00 */ 44 /* System Control DPD, default value: 0x90 */ 323 /* I2C Device Address re-assignment */ 648 /* E-MSC General Control, default value: 0x80 */ 659 /* E-MSC Comma ErrorCNT, default value: 0x03 */ 664 /* E-MSC RFIFO ByteCnt, default value: 0x00 */ 678 /* E-MSC 1st Interrupt, default value: 0x00 */ 689 /* E-MSC Interrupt Mask, default value: 0x00 */ [all …]
|
/linux/sound/pci/ice1712/ |
H A D | psc724.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2012 Ondrej Zary <linux@rainbow-software.org> 34 * VT1722 (Envy24GT) - 6 outputs, 4 inputs (only 2 used), 24-bit/96kHz 36 * system configuration ICE_EEP2_SYSCONF=0x42 42 * AC-Link configuration ICE_EEP2_ACLINK=0x80 60 * 2-channel DAC used for main output and stereo ADC (with 10-channel MUX) 63 * MODE (pin16) -- GND 64 * CE (pin17) -- GND I2C mode (address=0x34) 65 * DI (pin18) -- SDA (VT1722 pin70) 66 * CL (pin19) -- SCLK (VT1722 pin71) [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-pnx.c | 7 * 2004-2006 (c) MontaVista Software, Inc. This file is licensed under 82 #define I2C_REG_RX(a) ((a)->ioaddr) /* Rx FIFO reg (RO) */ 83 #define I2C_REG_TX(a) ((a)->ioaddr) /* Tx FIFO reg (WO) */ 84 #define I2C_REG_STS(a) ((a)->ioaddr + 0x04) /* Status reg (RO) */ 85 #define I2C_REG_CTL(a) ((a)->ioaddr + 0x08) /* Ctl reg */ 86 #define I2C_REG_CKL(a) ((a)->ioaddr + 0x0c) /* Clock divider low */ 87 #define I2C_REG_CKH(a) ((a)->ioaddr + 0x10) /* Clock divider high */ 88 #define I2C_REG_ADR(a) ((a)->ioaddr + 0x14) /* I2C address */ 89 #define I2C_REG_RFL(a) ((a)->ioaddr + 0x18) /* Rx FIFO level (RO) */ 90 #define I2C_REG_TFL(a) ((a)->ioaddr + 0x1c) /* Tx FIFO level (RO) */ [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | syscon.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: System Controller Devices 10 System controller node represents a register region containing a set 12 represent as any specific type of device. The typical use-case is 13 for some other node's driver, or platform-specific code, to acquire 20 - Lee Jones <lee@kernel.org> 30 - al,alpine-sysfabric-servic 31 - allwinner,sun8i-a83t-system-controller [all …]
|
/linux/fs/btrfs/ |
H A D | volumes.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include "disk-io.h" 21 #include "rcu-string.h" 22 #include "dev-replace.h" 24 #include "tree-checker.h" 25 #include "space-info.h" 26 #include "block-group.h" 31 #include "uuid-tree.h" 36 #include "raid-stripe-tree.h" 227 size_bp -= ret; \ in btrfs_describe_block_groups() [all …]
|
/linux/drivers/memory/ |
H A D | bt1-l2-ctl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Baikal-T1 CM2 L2-cache Control Block driver. 38 * struct l2_ctl - Baikal-T1 L2 Control block private data. 40 * @sys_regs: Baikal-T1 System Controller registers map. 49 * enum l2_ctl_stall - Baikal-T1 L2-cache-RAM stall identifier. 50 * @L2_WSSTALL: Way-select latency. 61 * struct l2_ctl_device_attribute - Baikal-T1 L2-cache device attribute. 63 * @id: L2-cache stall field identifier. 82 ret = regmap_read(l2->sys_regs, L2_CTL_REG, &data); in l2_ctl_get_latency() 97 return -EINVAL; in l2_ctl_get_latency() [all …]
|
/linux/net/sched/ |
H A D | sch_plug.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * based fault-tolerance to ensure that the checkpoint from which a system 14 * Consider for e.g. Remus - a Virtual Machine checkpointing system, 47 * ------------------+--------------------+----------------> 51 * ----------------->|<--------+--------->|+---------------> 59 * a pass-through queue for newly arriving packets. 92 if (likely(sch->qstats.backlog + skb->len <= q->limit)) { in plug_enqueue() 93 if (!q->unplug_indefinite) in plug_enqueue() 94 q->pkts_current_epoch++; in plug_enqueue() 105 if (q->throttled) in plug_dequeue() [all …]
|
/linux/sound/soc/kirkwood/ |
H A D | kirkwood-i2s.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * kirkwood-i2s.c 6 * (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org> 20 #include <linux/platform_data/asoc-kirkwood.h> 34 /* These registers are relative to the second register region - 56 struct device_node *np = pdev->dev.of_node; in armada_38x_i2s_init_quirk() 60 priv->pll_config = devm_platform_ioremap_resource_byname(pdev, "pll_regs"); in armada_38x_i2s_init_quirk() 61 if (IS_ERR(priv->pll_config)) in armada_38x_i2s_init_quirk() 62 return -ENOMEM; in armada_38x_i2s_init_quirk() 64 priv->soc_control = devm_platform_ioremap_resource_byname(pdev, "soc_ctrl"); in armada_38x_i2s_init_quirk() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | cs35l36.txt | 5 - compatible : "cirrus,cs35l36" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost 18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA. 24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value. 32 - cirrus,multi-amp-mode : Boolean to determine if there are more than 33 one amplifier in the system. If more than one it is best to Hi-Z the ASP 36 - cirrus,boost-ctl-select : Boost converter control source selection. 39 0x00 - Control Port Value [all …]
|
/linux/drivers/ras/amd/atl/ |
H A D | dehash.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 intlv_bit_pos = ctx->map.intlv_bit_pos; in df2_dehash_addr() 20 intlv_bit = !!(BIT_ULL(intlv_bit_pos) & ctx->ret_addr); in df2_dehash_addr() 23 hashed_bit ^= FIELD_GET(BIT_ULL(12), ctx->ret_addr); in df2_dehash_addr() 24 hashed_bit ^= FIELD_GET(BIT_ULL(18), ctx->ret_addr); in df2_dehash_addr() 25 hashed_bit ^= FIELD_GET(BIT_ULL(21), ctx->ret_addr); in df2_dehash_addr() 26 hashed_bit ^= FIELD_GET(BIT_ULL(30), ctx->ret_addr); in df2_dehash_addr() 29 ctx->ret_addr ^= BIT_ULL(intlv_bit_pos); in df2_dehash_addr() 39 hash_ctl_64k = FIELD_GET(DF3_HASH_CTL_64K, ctx->map.ctl); in df3_dehash_addr() 40 hash_ctl_2M = FIELD_GET(DF3_HASH_CTL_2M, ctx->map.ctl); in df3_dehash_addr() [all …]
|
H A D | denormalize.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 case DF2: return FIELD_GET(DF2_DST_FABRIC_ID, ctx->map.limit); in get_dst_fabric_id() 23 case DF3: return FIELD_GET(DF3_DST_FABRIC_ID, ctx->map.limit); in get_dst_fabric_id() 24 case DF3p5: return FIELD_GET(DF3p5_DST_FABRIC_ID, ctx->map.limit); in get_dst_fabric_id() 25 case DF4: return FIELD_GET(DF4_DST_FABRIC_ID, ctx->map.ctl); in get_dst_fabric_id() 26 case DF4p5: return FIELD_GET(DF4p5_DST_FABRIC_ID, ctx->map.ctl); in get_dst_fabric_id() 41 * expanded address bits: [20+n : n+p][n+p-1 : p][p-1 : 0] 46 return expand_bits(ctx->map.intlv_bit_pos, in make_space_for_coh_st_id_at_intlv_bit() 47 ctx->map.total_intlv_bits, in make_space_for_coh_st_id_at_intlv_bit() 48 ctx->ret_addr); in make_space_for_coh_st_id_at_intlv_bit() [all …]
|
/linux/arch/alpha/kernel/ |
H A D | sys_marvel.c | 1 // SPDX-License-Identifier: GPL-2.0 52 * -----+-----+--------+--- in io7_device_interrupt() 57 * 0x0800 - 0x0ff0 - 0x0800 + (LSI id << 4) in io7_device_interrupt() 58 * 0x1000 - 0x2ff0 - 0x1000 + (MSI_DAT<8:0> << 4) in io7_device_interrupt() 61 irq = ((vector & 0xffff) - 0x800) >> 4; in io7_device_interrupt() 73 volatile unsigned long *ctl; in io7_get_irq_ctl() local 81 "%s for nonexistent io7 -- vec %x, pid %d\n", in io7_get_irq_ctl() 87 irq -= 16; /* subtract legacy bias */ in io7_get_irq_ctl() 91 "%s for invalid irq -- pid %d adjusted irq %x\n", in io7_get_irq_ctl() 96 ctl = &io7->csrs->PO7_LSI_CTL[irq & 0xff].csr; /* assume LSI */ in io7_get_irq_ctl() [all …]
|
/linux/Documentation/devicetree/bindings/reset/ |
H A D | hisilicon,hi3660-reset.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/hisilicon,hi3660-reset.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Hisilicon System Reset Controller 10 - Wei Xu <xuwei5@hisilicon.com> 15 The reset controller registers are part of the system-ctl block on 21 - items: 22 - const: hisilicon,hi3660-reset 23 - items: [all …]
|
/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra234-p3768-0000+p3767.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/input/gpio-keys.h> 6 #include "tegra234-p3767.dtsi" 17 stdout-path = "serial0:115200n8"; 22 compatible = "nvidia,tegra194-hsuart"; 23 reset-names = "serial"; 28 compatible = "nvidia,tegra194-hsuart"; 29 reset-names = "serial"; 40 label = "system"; [all …]
|
/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | dxe.c | 17 /* DXE - DMA transfer engine 36 writel(data, wcn->ccu_base + addr); in wcn36xx_ccu_write_register() 45 writel(data, wcn->dxe_base + addr); in wcn36xx_dxe_write_register() 50 *data = readl(wcn->dxe_base + addr); in wcn36xx_dxe_read_register() 59 struct wcn36xx_dxe_ctl *ctl = ch->head_blk_ctl, *next; in wcn36xx_dxe_free_ctl_block() local 62 for (i = 0; i < ch->desc_num && ctl; i++) { in wcn36xx_dxe_free_ctl_block() 63 next = ctl->next; in wcn36xx_dxe_free_ctl_block() 64 kfree(ctl); in wcn36xx_dxe_free_ctl_block() 65 ctl = next; in wcn36xx_dxe_free_ctl_block() 75 spin_lock_init(&ch->lock); in wcn36xx_dxe_allocate_ctl_block() [all …]
|
/linux/include/uapi/linux/ |
H A D | sem.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 19 /* ipcs ctl cmds */ 39 /* semop system calls takes an array of these. */ 46 /* arg for semctl system calls. */ 82 #define SEMMNS (SEMMNI*SEMMSL) /* <= INT_MAX max # of semaphores in system */ 89 #define SEMMNU SEMMNS /* num of undo structures system wide */
|