Home
last modified time | relevance | path

Searched +full:cmd +full:- +full:db (Results 1 – 25 of 202) sorted by relevance

123456789

/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-phy-db.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2005-2014, 2020-2021 Intel Corporation
10 #include "iwl-drv.h"
11 #include "iwl-phy-db.h"
12 #include "iwl-debug.h"
13 #include "iwl-op-mode.h"
14 #include "iwl-trans.h"
22 * struct iwl_phy_db - stores phy configuration and calibration data.
68 phy_db->trans = trans; in iwl_phy_db_init()
70 phy_db->n_group_txp = -1; in iwl_phy_db_init()
[all …]
/linux/drivers/net/ethernet/dec/tulip/
H A Duli526x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 #include <linux/dma-mapping.h>
38 /* Board/System/Debug information/definition ---------------- */
45 #define TX_FREE_DESC_CNT (TX_DESC_CNT - 2) /* Max TX packet count */
46 #define TX_WAKE_DESC_CNT (TX_DESC_CNT - 3) /* TX wakeup count */
75 #define ULI526X_TX_TIMEOUT ((16*HZ)/2) /* tx packet time-out time 8 s" */
76 #define ULI526X_TX_KICK (4*HZ/2) /* tx packet Kick-out time 2 s" */
105 /* Structure/enum declaration ------------------------------- */
196 /* Global variable declaration ----------------------------- */
206 /* function declaration ------------------------------------- */
[all …]
H A Ddmfe.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 DAVICOM Web-Site: www.davicom.com.tw
10 Author: Sten Wang, 886-3-5798797-8517, E-mail: sten_wang@davicom.com.tw
13 (C)Copyright 1997-1998 DAVICOM Semiconductor,Inc. All Rights Reserved.
22 Removed IRQ 0-15 assumption
69 #include <linux/dma-mapping.h>
91 /* Board/System/Debug information/definition ---------------- */
102 #define TX_FREE_DESC_CNT (TX_DESC_CNT - 2) /* Max TX packet count */
103 #define TX_WAKE_DESC_CNT (TX_DESC_CNT - 3) /* TX wakeup count */
140 #define DMFE_TX_TIMEOUT ((3*HZ)/2) /* tx packet time-out time 1.5 s" */
[all …]
/linux/Documentation/devicetree/bindings/reserved-memory/
H A Dqcom,cmd-db.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/reserved-memory/qcom,cmd-db.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Command DB
10 Command DB is a database that provides a mapping between resource key and the
20 - Bjorn Andersson <bjorn.andersson@linaro.org>
23 - $ref: reserved-memory.yaml
27 const: qcom,cmd-db
30 - reg
[all …]
/linux/sound/pci/pcxhr/
H A Dpcxhr_mixer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 #define PCXHR_LINE_CAPTURE_LEVEL_MIN 0 /* -112.0 dB */
26 #define PCXHR_LINE_CAPTURE_LEVEL_MAX 255 /* +15.5 dB */
27 #define PCXHR_LINE_CAPTURE_ZERO_LEVEL 224 /* 0.0 dB ( 0 dBu ->
953 int i, err, cmd; pcxhr_iec958_update_byte() local
[all...]
H A Dpcxhr_mix22.c1 // SPDX-License-Identifier: GPL-2.0-or-later
36 #define PCXHR_INPB(mgr, x) inb((mgr)->port[PCXHR_DSP] + (x))
37 #define PCXHR_OUTPB(mgr, x, data) outb((data), (mgr)->port[PCXHR_DSP] + (x))
72 /* values for PCHR_XLX_STATUS register - READ */
78 /* values for PCHR_XLX_STATUS register - WRITE */
96 /* values for PCXHR_XLX_SELMIC register - WRIT
225 unsigned short cmd; hr222_set_hw_playback_level() local
[all...]
/linux/drivers/scsi/
H A Dwd33c93.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Drew Eckhardt's excellent 'Generic NCR5380' sources from Linux-PC
18 * - Target Disconnection/Reconnection is now supported. Any
21 * call 'adaptive disconnect' - meaning that each command
24 * device chooses), or as a "SCSI-bus-hog".
26 * - Synchronous data transfers are now supported. Because of
29 * this faster protocol - it can be enabled via the command-
30 * line on a device-by-device basis.
32 * - Runtime operating parameters can now be specified through
38 * - The old driver relied exclusively on what the Western Digital
[all …]
/linux/drivers/soc/qcom/
H A Dcmd-db.c1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2016-2018, 2020, The Linux Foundation. All rights reserved.
18 #include <soc/qcom/cmd-db.h>
64 * struct cmd_db_header: The DB header information
66 * @version: The cmd db version
83 * DOC: Description of the Command DB database.
85 * At the start of the command DB memory is the cmd_db_header structure.
105 const u8 *magic = header->magic; in cmd_db_magic_matches()
114 u16 offset = le16_to_cpu(hdr->header_offset); in rsc_to_entry_header()
116 return cmd_db_header->data + offset; in rsc_to_entry_header()
[all …]
/linux/sound/pci/lx6464es/
H A Dlx_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- linux-c -*- *
208 lx_message_init(struct lx_rmh * rmh,enum cmd_mb_opcodes cmd) lx_message_init() argument
[all...]
/linux/drivers/net/ethernet/davicom/
H A Ddm9000.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * (C) Copyright 1997-1998 DAVICOM Semiconductor,Inc. All Rights Reserved.
39 /* Board/System/Debug information/definition ---------------- */
57 MODULE_PARM_DESC(debug, "dm9000 debug level (0-6)");
87 /* Structure/enum declaration ------------------------------- */
141 #define dm9000_dbg(db, lev, msg...) do { \ argument
143 dev_dbg(db->dev, msg); \
152 /* DM9000 network board routine ---------------------------- */
158 ior(struct board_info *db, int reg) in ior() argument
160 writeb(reg, db->io_addr); in ior()
[all …]
/linux/sound/sparc/
H A Damd7930.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * --- Notes from Thomas's original driver ---
537 snd_amd7930_trigger(struct snd_amd7930 * amd,unsigned int flag,int cmd) snd_amd7930_trigger() argument
568 snd_amd7930_playback_trigger(struct snd_pcm_substream * substream,int cmd) snd_amd7930_playback_trigger() argument
575 snd_amd7930_capture_trigger(struct snd_pcm_substream * substream,int cmd) snd_amd7930_capture_trigger() argument
[all...]
/linux/drivers/macintosh/
H A Drack-meter.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * RackMac vu-meter driver
8 * Support the CPU-meter LEDs of the Xserve G5
11 * interface for fun. Also, the CPU-meter could be made nicer by being
13 * time. Patches welcome :-)
24 #include <linux/dma-mapping.h>
43 struct dbdma_cmd cmd[4] ____cacheline_aligned; member
86 retval = kcpustat->cpustat[CPUTIME_IDLE] + in get_cpu_idle_time()
87 kcpustat->cpustat[CPUTIME_IOWAIT]; in get_cpu_idle_time()
97 struct macio_chip *macio = rm->mdev->bus->chip; in rackmeter_setup_i2s()
[all …]
/linux/drivers/net/fddi/skfp/
H A Dess.c1 // SPDX-License-Identifier: GPL-2.0-or-later
27 * FDDI sub-system supporting the SBA application.
50 -------------------------------------------------------------
52 -------------------------------------------------------------
66 -------------------------------------------------------------
68 -------------------------------------------------------------
73 -------------------------------------------------------------
75 -------------------------------------------------------------
85 -------------------------------------------------------------
87 -------------------------------------------------------------
[all …]
/linux/drivers/media/i2c/
H A Dtvaudio.c14 * Copyright(c) 2005-2008 Mauro Carvalho Chehab
15 * - Some cleanups, code fixes, etc
16 * - Convert it to V4L2 API
21 * debug - set to 1 if you'd like to see debug messages
40 #include <media/v4l2-device.h>
41 #include <media/v4l2-ctrls.h>
43 /* ---------------------------------------------------------------------- */
53 #define UNSET (-1U)
55 /* ---------------------------------------------------------------------- */
97 /* functions to convert the values (v4l -> chip) */
[all …]
/linux/sound/soc/renesas/rcar/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 // Renesas R-Car SRU/SCU/SSIU/SSI support
12 * Renesas R-Car sound device structure
17 * - SRC : Sampling Rate Converter
18 * - CMD
19 * - CTU : Channel Count Conversion Unit
20 * - MIX : Mixer
21 * - DVC : Digital Volume and Mute Function
22 * - SSI : Serial Sound Interface
27 * - SRC : Sampling Rate Converter
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_psp.h38 #define PSP_TMR_SIZE(adev) ((adev)->asic_type == CHIP_ALDEBARAN ? 0x800000 : 0x400000)
59 * both status bits and response state - helps to detect a command failure
285 /** PSP runtime DB **/
302 /* PSP runtime DB header */
304 /* determine the existence of runtime db */
306 /* version of runtime db */
310 /* PSP runtime DB entry */
312 /* type of runtime db entry */
320 /* PSP runtime DB directory */
324 /* db entries*/
[all …]
/linux/sound/soc/atmel/
H A Datmel-pdmic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 #include "atmel-pdmic.h"
40 .compatible = "atmel,sama5d2-pdmic",
52 struct device_node *np = dev->of_node; in atmel_pdmic_dt_init()
57 return ERR_PTR(-EINVAL); in atmel_pdmic_dt_init()
62 return ERR_PTR(-ENOMEM); in atmel_pdmic_dt_init()
64 if (of_property_read_string(np, "atmel,model", &pdata->card_name)) in atmel_pdmic_dt_init()
65 pdata->card_name = "PDMIC"; in atmel_pdmic_dt_init()
67 if (of_property_read_u32(np, "atmel,mic-min-freq", in atmel_pdmic_dt_init()
68 &pdata->mic_min_freq)) { in atmel_pdmic_dt_init()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dalive.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018, 2020-2021, 2024-2025 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
111 * enum iwl_extended_cfg_flags - commands driver may send before
124 * struct iwl_init_extended_cfg_cmd - mark what commands ucode should wait for
133 * struct iwl_radio_version_notif - information on the radio version
156 * enum iwl_error_recovery_flags - flags for error recovery cmd
157 * @ERROR_RECOVERY_UPDATE_DB: update db from blob sent
166 * struct iwl_fw_error_recovery_cmd - recovery cmd sent upon assert
[all …]
/linux/sound/soc/codecs/
H A Dpeb2466.c1 // SPDX-License-Identifier: GPL-2.0
3 // peb2466.c -- Infineon PEB2466 ALSA SoC driver
42 u8 spi_tx_buf[2 + 8]; /* Cannot use stack area for SPI (dma-safe memory) */
43 u8 spi_rx_buf[2 + 8]; /* Cannot use stack area for SPI (dma-safe memory) */
133 static int peb2466_write_byte(struct peb2466 *peb2466, u8 cmd, u8 val) in peb2466_write_byte() argument
136 .tx_buf = &peb2466->spi_tx_buf, in peb2466_write_byte()
140 peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_W; in peb2466_write_byte()
141 peb2466->spi_tx_buf[1] = val; in peb2466_write_byte()
143 dev_dbg(&peb2466->spi->dev, "write byte (cmd %02x) %02x\n", in peb2466_write_byte()
144 peb2466->spi_tx_buf[0], peb2466->spi_tx_buf[1]); in peb2466_write_byte()
[all …]
/linux/sound/pci/
H A Dad1889.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * on the HP PA-RISC [BCJ]-xxx0 workstations.
7 * Copyright (C) 2004-2005, Kyle McMartin <kyle@parisc-linux.org>
8 * Copyright (C) 2005, Thibaut Varene <varenet@parisc-linux.org>
25 #include <linux/dma-mappin
435 snd_ad1889_playback_trigger(struct snd_pcm_substream * ss,int cmd) snd_ad1889_playback_trigger() argument
476 snd_ad1889_capture_trigger(struct snd_pcm_substream * ss,int cmd) snd_ad1889_capture_trigger() argument
[all...]
/linux/drivers/net/ethernet/tehuti/
H A Dtehuti.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * 1) RX Free Fifo - RXF - holds descriptors of empty buffers to accept incoming
16 * 2) RX Data Fifo - RXD - holds descriptors of full buffers. This Fifo is
23 * One holds 1.5K packets and another - 26K packets. Depending on incoming
30 * skb db - used to keep track of all skbs owned by SW and their dma addresses.
33 * skb db. Implemented as array with bitmask.
34 * fifo - keeps info about fifo's size and location, relevant HW registers,
35 * usage and skb db. Each RXD and RXF Fifo has its own fifo structure.
45 * NAPI - interrupt-driven mixed with polling
46 * interrupt-driven only
[all …]
H A Dtn40.c1 // SPDX-License-Identifier: GPL-2.0+
23 tn40_write_reg(priv, TN40_REG_IMR, priv->isr_mask); in tn40_enable_interrupts()
43 f->va = dma_alloc_coherent(&priv->pdev->dev, in tn40_fifo_alloc()
44 memsz + TN40_FIFO_EXTRA_SPACE, &f->da, in tn40_fifo_alloc()
46 if (!f->va) in tn40_fifo_alloc()
47 return -ENOMEM; in tn40_fifo_alloc()
49 f->reg_cfg0 = reg_cfg0; in tn40_fifo_alloc()
50 f->reg_cfg1 = reg_cfg1; in tn40_fifo_alloc()
51 f->reg_rptr = reg_rptr; in tn40_fifo_alloc()
52 f->reg_wptr = reg_wptr; in tn40_fifo_alloc()
[all …]
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005 - 2016 Broadcom
7 * linux-drivers@emulex.com
20 …"Optics faulted/incorrectly installed/not installed - Reseat optics. If issue not resolved, replac…
24 "Uncertified optics – Replace with Avago-certified optics to enable link operation."
35 "Link is non-operational",
103 u32 cmd_privileges = adapter->cmd_privileges; in be_cmd_allowed()
116 return wrb->payload.embedded_payload; in embedded_payload()
121 struct be_queue_info *mccq = &adapter->mcc_obj.q; in be_mcc_notify()
125 return -EIO; in be_mcc_notify()
[all …]
/linux/drivers/media/dvb-frontends/
H A Dstv0910.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for the ST STV0910 DVB-S/S2 demodulator.
5 * Copyright (C) 2014-2015 Ralph Metzler <rjkm@metzlerbros.de>
129 struct i2c_adapter *adap = state->base->i2c; in write_reg()
131 struct i2c_msg msg = {.addr = state->base->adr, .flags = 0, in write_reg()
135 dev_warn(&adap->dev, "i2c write error ([%02x] %04x: %02x)\n", in write_reg()
136 state->base->adr, reg, val); in write_reg()
137 return -EIO; in write_reg()
152 dev_warn(&adapter->dev, "i2c read error ([%02x] %04x)\n", in i2c_read_regs16()
154 return -EIO; in i2c_read_regs16()
[all …]
/linux/drivers/interconnect/qcom/
H A Dbcm-voter.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <soc/qcom/cmd-db.h>
13 #include "icc-rpmh.h"

123456789