Home
last modified time | relevance | path

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

12345678

/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.
67 phy_db->trans = trans; in iwl_phy_db_init()
69 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/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/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[ member
168 struct rackmeter_dma *db = rm->dma_buf_v; rackmeter_setup_dbdma() local
169 struct dbdma_cmd *cmd = db->cmd; rackmeter_setup_dbdma() local
326 struct rackmeter_dma *db = rm->dma_buf_v; rackmeter_irq() local
[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 * - MI
410 struct rsnd_mod *cmd = rsnd_io_to_mod_cmd(io); rsnd_get_dalign() local
692 rsnd_soc_dai_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * dai) rsnd_soc_dai_trigger() argument
[all...]
/linux/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include <linux/dma-mapping.h>
30 q->pool = kzalloc_objs(struct iu_entry *, max); in srp_iu_pool_alloc()
31 if (!q->pool) in srp_iu_pool_alloc()
32 return -ENOMEM; in srp_iu_pool_alloc()
33 q->items = kzalloc_objs(struct iu_entry, max); in srp_iu_pool_alloc()
34 if (!q->items) in srp_iu_pool_alloc()
37 spin_lock_init(&q->lock); in srp_iu_pool_alloc()
38 kfifo_init(&q->queue, (void *)q->pool, max * sizeof(void *)); in srp_iu_pool_alloc()
40 for (i = 0, iue = q->items; i < max; i++) { in srp_iu_pool_alloc()
[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(-ENOME in atmel_pdmic_dt_init()
432 atmel_pdmic_cpu_dai_trigger(struct snd_pcm_substream * substream,int cmd,struct snd_soc_dai * cpu_dai) atmel_pdmic_cpu_dai_trigger() argument
[all...]
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_queue.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 #include <linux/dma-mapping.h>
15 * ring, an optional 64b HW write-back area, and an optional SW state ring.
17 * and the VA of the write-back area.
31 /* Place optional write-back area at end of descriptor ring. */ in fun_alloc_ring_mem()
52 *wb_va = va + dma_sz - sizeof(u64); in fun_alloc_ring_mem()
72 * provided parameters. If the queue ID is auto-allocated by the device it is
84 } cmd; in fun_sq_create() local
89 if (sq_depth > fdev->q_depth) in fun_sq_create()
90 return -EINVAL; in fun_sq_create()
[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_bu in peb2466_write_byte()
149 peb2466_read_byte(struct peb2466 * peb2466,u8 cmd,u8 * val) peb2466_read_byte() argument
179 peb2466_write_buf(struct peb2466 * peb2466,u8 cmd,const u8 * buf,unsigned int len) peb2466_write_buf() 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/mailbox/
H A Dpcc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 * * After it is acquired it writes READ cmd in communication region cmd
32 * * Client writes WRITE cmd in communication region cmd address.
59 #include <linux/io-64-nonatomic-lo-hi.h>
62 #define MBOX_IRQ_NAME "pcc-mbox"
65 * struct pcc_chan_reg - PCC register bundle
82 * struct pcc_chan_info - PCC channel specific information
85 * @db: PCC register bundle for the doorbell register
103 struct pcc_chan_reg db; member
166 if (!reg->gas) { in pcc_chan_reg_read()
[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/net/ethernet/intel/ice/
H A Dice_sched.c1 // SPDX-License-Identifier: GPL-2.0
8 * ice_sched_add_root_node - Insert the Tx scheduler root node in SW DB
13 * to the SW DB.
23 return -EINVAL; in ice_sched_add_root_node()
25 hw = pi->hw; in ice_sched_add_root_node()
29 return -ENOMEM; in ice_sched_add_root_node()
31 root->children = devm_kcalloc(ice_hw_to_dev(hw), hw->max_children[0], in ice_sched_add_root_node()
32 sizeof(*root->children), GFP_KERNEL); in ice_sched_add_root_node()
33 if (!root->children) { in ice_sched_add_root_node()
35 return -ENOMEM; in ice_sched_add_root_node()
[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"
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
47 #define MLX5_FEATURE(_mvdev, _feature) (!!((_mvdev)->actual_features & BIT_ULL(_feature)))
73 struct mlx5_db db; member
87 struct mlx5_db db; member
149 if (!(mvdev->actual_features & BIT_ULL(VIRTIO_NET_F_MQ))) { in is_index_valid()
150 if (!(mvdev->actual_features & BIT_ULL(VIRTIO_NET_F_CTRL_VQ))) in is_index_valid()
156 return idx <= mvdev->max_idx; in is_index_valid()
179 /* TODO: cross-endian support */
183 (mvdev->actual_features & BIT_ULL(VIRTIO_F_VERSION_1)); in mlx5_vdpa_is_little_endian()
198 if (!(mvdev->actual_features & BIT_ULL(VIRTIO_NET_F_MQ))) in ctrl_vq_idx()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsa8155p.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
7 * though the cmd-db doesn't reflect that and access attemps result in a bite.
13 power-domains = <&rpmhpd SA8155P_CX>;
17 power-domains = <&rpmhpd SA8155P_CX>;
21 power-domains = <&rpmhpd SA8155P_CX>;
25 power-domains = <&rpmhpd SA8155P_CX>;
29 power-domains = <&rpmhpd SA8155P_CX>;
33 power-domains = <&rpmhpd SA8155P_CX>,
43 compatible = "qcom,sa8155p-rpmhpd";
47 power-domains = <&rpmhpd SA8155P_CX>;
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dfw.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2026 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
11 #include "iwl-trans.h"
12 #include "iwl-op-mode.h"
14 #include "iwl-debug.h"
15 #include "iwl-prph.h"
23 #include "iwl-phy-db.h"
24 #include "iwl-modparams.h"
[all …]
/linux/drivers/net/ieee802154/
H A Dadf7242.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Analog Devices ADF7242 Low-Power IEEE 802.15.4 Transceiver
5 * Copyright 2009-2017 Analog Devices Inc.
48 #define REG_CH_FREQ0 0x300 /* RW Channel Frequency Settings - Low */
49 #define REG_CH_FREQ1 0x301 /* RW Channel Frequency Settings - Middle */
50 #define REG_CH_FREQ2 0x302 /* RW Channel Frequency Settings - High */
62 #define REG_TMR_CFG0 0x316 /* RW Wake up Timer Conf Register - High */
63 #define REG_TMR_CFG1 0x317 /* RW Wake up Timer Conf Register - Low */
64 #define REG_TMR_RLD0 0x318 /* RW Wake up Timer Value Register - High */
65 #define REG_TMR_RLD1 0x319 /* RW Wake up Timer Value Register - Low */
[all …]
/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved.
8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
15 #include <linux/dma-mapping.h>
29 * il_verify_inst_sparse - verify runtime uCode image in card vs. host,
44 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_sparse()
50 ret = -EIO; in il4965_verify_inst_sparse()
61 * il4965_verify_inst_full - verify runtime uCode image in card vs. host,
77 for (; len > 0; len -= sizeof(u32), image++) { in il4965_verify_inst_full()
78 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_full()
[all …]

12345678