Home
last modified time | relevance | path

Searched +full:system +full:- +full:ctl (Results 1 – 25 of 197) sorted by relevance

12345678

/Linux-v6.1/drivers/isdn/mISDN/
Dclock.c1 // 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-v6.1/Documentation/devicetree/bindings/memory-controllers/
Dbaikal,bt1-l2-ctl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/memory-controllers/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-v6.1/tools/testing/selftests/alsa/
Dmixer-test.c1 // 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
54 "ctl.hw {\n"
106 int card, ctl, err; in find_controls() local
111 card = -1; in find_controls()
117 ksft_print_msg("Unable to parse custom alsa-lib configuration: %s\n", in find_controls()
129 err = snd_ctl_open_lconf(&card_data->handle, name, 0, config); in find_controls()
[all …]
/Linux-v6.1/arch/mips/ath25/
Dar5312.c9 * 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-v6.1/drivers/thunderbolt/
Ddomain.c1 // 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-v6.1/sound/pci/ice1712/
Dpsc724.c1 // 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-v6.1/sound/soc/kirkwood/
Dkirkwood-i2s.c1 // 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>
52 return -EINVAL; in kirkwood_i2s_set_fmt()
59 value = readl(priv->io+KIRKWOOD_I2S_PLAYCTL); in kirkwood_i2s_set_fmt()
62 writel(value, priv->io+KIRKWOOD_I2S_PLAYCTL); in kirkwood_i2s_set_fmt()
64 value = readl(priv->io+KIRKWOOD_I2S_RECCTL); in kirkwood_i2s_set_fmt()
67 writel(value, priv->io+KIRKWOOD_I2S_RECCTL); in kirkwood_i2s_set_fmt()
104 if (IS_ERR(priv->extclk)) { in kirkwood_set_rate()
[all …]
/Linux-v6.1/drivers/gpu/drm/bridge/
Dsil-sii8620.h1 /* 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-v6.1/tools/perf/Documentation/
Dperf-stat.txt1 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-v6.1/drivers/i2c/busses/
Di2c-pnx.c7 * 2004-2006 (c) MontaVista Software, Inc. This file is licensed under
84 #define I2C_REG_RX(a) ((a)->ioaddr) /* Rx FIFO reg (RO) */
85 #define I2C_REG_TX(a) ((a)->ioaddr) /* Tx FIFO reg (WO) */
86 #define I2C_REG_STS(a) ((a)->ioaddr + 0x04) /* Status reg (RO) */
87 #define I2C_REG_CTL(a) ((a)->ioaddr + 0x08) /* Ctl reg */
88 #define I2C_REG_CKL(a) ((a)->ioaddr + 0x0c) /* Clock divider low */
89 #define I2C_REG_CKH(a) ((a)->ioaddr + 0x10) /* Clock divider high */
90 #define I2C_REG_ADR(a) ((a)->ioaddr + 0x14) /* I2C address */
91 #define I2C_REG_RFL(a) ((a)->ioaddr + 0x18) /* Rx FIFO level (RO) */
92 #define I2C_REG_TFL(a) ((a)->ioaddr + 0x1c) /* Tx FIFO level (RO) */
[all …]
/Linux-v6.1/drivers/memory/
Dbt1-l2-ctl.c1 // 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-v6.1/fs/btrfs/
Dvolumes.c1 // SPDX-License-Identifier: GPL-2.0
21 #include "disk-io.h"
23 #include "print-tree.h"
26 #include "async-thread.h"
27 #include "check-integrity.h"
28 #include "rcu-string.h"
29 #include "dev-replace.h"
31 #include "tree-checker.h"
32 #include "space-info.h"
33 #include "block-group.h"
[all …]
Ddiscard.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "block-group.h"
13 #include "free-space-cache.h"
38 * The in-memory free space cache serves as the backing state for discard.
74 return &discard_ctl->discard_list[block_group->discard_index]; in get_discard_list()
83 if (list_empty(&block_group->discard_list) || in __add_to_discard_list()
84 block_group->discard_index == BTRFS_DISCARD_INDEX_UNUSED) { in __add_to_discard_list()
85 if (block_group->discard_index == BTRFS_DISCARD_INDEX_UNUSED) in __add_to_discard_list()
86 block_group->discard_index = BTRFS_DISCARD_INDEX_START; in __add_to_discard_list()
87 block_group->discard_eligible_time = (ktime_get_ns() + in __add_to_discard_list()
[all …]
/Linux-v6.1/net/sched/
Dsch_plug.c1 // 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-v6.1/Documentation/devicetree/bindings/sound/
Dcs35l36.txt5 - 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 conerter control source selection.
39 0x00 - Control Port Value
[all …]
/Linux-v6.1/arch/alpha/kernel/
Dsys_marvel.c1 // 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-v6.1/drivers/fpga/
Daltera-fpga2sdram.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2013-2016 Altera Corporation, All Rights Reserved.
10 * host processor system (HPS).
18 * is passed in a handoff register in the system manager.
23 * reprogramming the FPGA and re-enabled after the FPGA has been programmed.
26 #include <linux/fpga/fpga-bridge.h>
58 struct alt_fpga2sdram_data *priv = bridge->priv; in alt_fpga2sdram_enable_show()
61 regmap_read(priv->sdrctl, ALT_SDR_CTL_FPGAPORTRST_OFST, &value); in alt_fpga2sdram_enable_show()
63 return (value & priv->mask) == priv->mask; in alt_fpga2sdram_enable_show()
69 return regmap_update_bits(priv->sdrctl, ALT_SDR_CTL_FPGAPORTRST_OFST, in _alt_fpga2sdram_enable_set()
[all …]
/Linux-v6.1/Documentation/admin-guide/media/
Dipu3.rst1 .. 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-v6.1/drivers/net/wireless/ath/wcn36xx/
Ddxe.c17 /* 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-v6.1/include/uapi/linux/
Dsem.h1 /* 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 */
Dshm.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
7 #include <asm-generic/hugetlb_encode.h>
19 * suitable for both 32 and 64-bit systems.
22 #define SHMMNI 4096 /* max num of segs system wide */
23 #define SHMMAX (ULONG_MAX - (1UL << 24)) /* max shared seg size (bytes) */
24 #define SHMALL (ULONG_MAX - (1UL << 24)) /* max shm system wide (pages) */
38 void *shm_unused2; /* ditto - used by DIPC */
78 #define SHM_RDONLY 010000 /* read-only access */
80 #define SHM_REMAP 040000 /* take-over region on attach */
87 /* ipcs ctl commands */
/Linux-v6.1/Documentation/devicetree/bindings/reset/
Dhisilicon,hi3660-reset.yaml1 # 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-v6.1/sound/soc/codecs/
Dcs43130.h1 /* SPDX-License-Identifier: GPL-2.0-only */
29 #define CS43130_SYS_CLK_CTL_1 0x010006 /* System Clocking Ctl 1 */
40 #define CS43130_PWDN_CTL 0x020000 /* Power Down Ctl */
53 #define CS43130_CLKOUT_CTL 0x040004 /* CLKOUT Ctl */
84 #define CS43130_DSD_PATH_CTL_1 0x070002 /* DSD Proc Path Sig Ctl 1 */
86 #define CS43130_DSD_PATH_CTL_2 0x070004 /* DSD Proc Path Sig Ctl 2 */
87 #define CS43130_DSD_PCM_MIX_CTL 0x070005 /* DSD and PCM Mixing Ctl */
88 #define CS43130_DSD_PATH_CTL_3 0x070006 /* DSD Proc Path Sig Ctl 3 */
89 #define CS43130_HP_OUT_CTL_1 0x080000 /* HP Output Ctl 1 */
95 #define CS43130_PCM_PATH_CTL_1 0x090003 /* PCM Path Signal Ctl 1 */
[all …]
/Linux-v6.1/drivers/misc/
Dvmw_balloon.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2000-2018, VMware, Inc. All Rights Reserved.
46 …"Enable non-cooperative out-of-memory protection. Disabled by default as it may degrade performanc…
54 /* Magic number for the balloon mount-point */
80 #define VMW_BALLOON_2M_ORDER (PMD_SHIFT - PAGE_SHIFT)
83 * 64-bit targets are only supported in 64-bit
118 * enum vmballoon_cmd_type - backdoor commands.
209 [VMW_BALLOON_CMD_BATCHED_2M_LOCK] = "2m-lock",
210 [VMW_BALLOON_CMD_BATCHED_2M_UNLOCK] = "2m-unlock",
250 * struct vmballoon_batch_entry - a batch entry for lock or unlock.
[all …]
/Linux-v6.1/drivers/staging/vme_user/
Dvme_tsi148.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for the Tundra TSI148 VME-PCI Bridge Chip
20 #include <linux/dma-mapping.h>
81 wake_up(&bridge->dma_queue[0]); in tsi148_DMA_irqhandler()
85 wake_up(&bridge->dma_queue[1]); in tsi148_DMA_irqhandler()
103 bridge->lm_callback[i](bridge->lm_data[i]); in tsi148_LM_irqhandler()
123 bridge = tsi148_bridge->driver_priv; in tsi148_MB_irqhandler()
127 val = ioread32be(bridge->base + TSI148_GCSR_MBOX[i]); in tsi148_MB_irqhandler()
128 dev_err(tsi148_bridge->parent, "VME Mailbox %d received: 0x%x\n", in tsi148_MB_irqhandler()
144 bridge = tsi148_bridge->driver_priv; in tsi148_PERR_irqhandler()
[all …]

12345678