Home
last modified time | relevance | path

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

1234567891011

/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/
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-v6.1/Documentation/devicetree/bindings/reserved-memory/
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-v6.1/drivers/net/ethernet/dec/tulip/
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 …]
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-v6.1/sound/pci/pcxhr/
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 -> 0 dBFS ) */
29 #define PCXHR_LINE_PLAYBACK_LEVEL_MIN 0 /* -104.0 dB */
30 #define PCXHR_LINE_PLAYBACK_LEVEL_MAX 128 /* +24.0 dB */
31 #define PCXHR_LINE_PLAYBACK_ZERO_LEVEL 104 /* 0.0 dB ( 0 dBFS -> 0 dBu ) */
33 static const DECLARE_TLV_DB_SCALE(db_scale_analog_capture, -11200, 50, 1550);
34 static const DECLARE_TLV_DB_SCALE(db_scale_analog_playback, -10400, 100, 2400);
36 static const DECLARE_TLV_DB_SCALE(db_scale_a_hr222_capture, -11150, 50, 1600);
[all …]
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 - WRITE */
103 0x00, /* [000] -49.5 dB: AKM[000] = -1.#INF dB (mute) */
104 0x01, /* [001] -49.0 dB: AKM[001] = -48.131 dB (diff=0.86920 dB) */
105 0x01, /* [002] -48.5 dB: AKM[001] = -48.131 dB (diff=0.36920 dB) */
106 0x01, /* [003] -48.0 dB: AKM[001] = -48.131 dB (diff=0.13080 dB) */
[all …]
/Linux-v6.1/drivers/scsi/
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-v6.1/drivers/soc/qcom/
Dcmd-db.c1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2016-2018, 2020, The Linux Foundation. All rights reserved. */
14 #include <soc/qcom/cmd-db.h>
58 * struct cmd_db_header: The DB header information
60 * @version: The cmd db version
77 * DOC: Description of the Command DB database.
79 * At the start of the command DB memory is the cmd_db_header structure.
99 const u8 *magic = header->magic; in cmd_db_magic_matches()
108 u16 offset = le16_to_cpu(hdr->header_offset); in rsc_to_entry_header()
110 return cmd_db_header->data + offset; in rsc_to_entry_header()
[all …]
Drpmhpd.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <soc/qcom/cmd-db.h>
17 #include <dt-bindings/power/qcom-rpmpd.h>
24 * struct rpmhpd - top level RPMh power domain resource data structure
33 * @enable_corner: lowest non-zero corner
35 * derived from cmd-db
37 * being 16 (0 - 15)
39 * @res_name: Resource name used for cmd-db lookup
41 * cmd-db
433 { .compatible = "qcom,sa8540p-rpmhpd", .data = &sa8540p_desc },
[all …]
/Linux-v6.1/sound/pci/lx6464es/
Dlx_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- linux-c -*- *
5 * low-level interface
20 /* low-level register access */
57 void __iomem *base_address = chip->port_dsp_bar; in lx_dsp_register()
114 void __iomem *base_address = chip->port_plx_remapped; in lx_plx_register()
142 u32 dcCodeOp; /* Op Code of the command (usually 1st 24-bits
153 - OpCode:
155 - CmdLength
157 - StatusType
[all …]
/Linux-v6.1/drivers/net/ethernet/davicom/
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-v6.1/drivers/macintosh/
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-v6.1/sound/sparc/
Damd7930.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * --- Notes from Thomas's original driver ---
23 * which provide mono-channel audio at 8K samples per second via either
24 * 8-bit A-law or 8-bit mu-law encoding. Also, the chip features an
30 * --- End of notes from Thoamas's original driver ---
52 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
72 #define AMD7930_DSR1 0x02UL /* D-channel Status Register 1 (R) */
73 #define AMD7930_DER 0x03UL /* D-channel Error Register (R) */
74 #define AMD7930_DCTB 0x04UL /* D-channel Transmit Buffer (W) */
75 #define AMD7930_DCRB AMD7930_DCTB /* D-channel Receive Buffer (R) */
[all …]
/Linux-v6.1/drivers/net/fddi/skfp/
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-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.h38 #define PSP_TMR_SIZE(adev) ((adev)->asic_type == CHIP_ALDEBARAN ? 0x800000 : 0x400000)
238 /** PSP runtime DB **/
255 /* PSP runtime DB header */
257 /* determine the existence of runtime db */
259 /* version of runtime db */
263 /* PSP runtime DB entry */
265 /* type of runtime db entry */
273 /* PSP runtime DB directory */
277 /* db entries*/
281 /* PSP runtime DB boot config feature bitmask */
[all …]
/Linux-v6.1/Documentation/block/
Drequest.rst9 No idea about what does mean - seems just some noise, so comment it
38 access through certain macros or functions (eg ->flags).
50 unsigned char cmd[16] D Driver can use this for setting up
61 int errors DB Error counts
71 unsigned short nr_phys_segments DB Number of physical scatter gather
74 unsigned short nr_hw_segments DB Number of hardware scatter gather
77 unsigned int current_nr_sectors DB Number of sectors in first segment
82 int tag DB TCQ tag, if assigned
96 ``struct request_queue *q`` DB Request queue this request belongs to
/Linux-v6.1/sound/soc/codecs/
Dtas5805m.c1 // SPDX-License-Identifier: GPL-2.0
5 // Author: Andy Liu <andy-liu@ti.com>
11 // https://e2e.ti.com/support/audio-group/audio/f/audio-forum/722027/linux-tas5825m-linux-drivers
33 /* Datasheet-defined registers on page 0, book 0 */
71 0x0000001B, /* 0, -110dB */ 0x0000001E, /* 1, -109dB */
72 0x00000021, /* 2, -108dB */ 0x00000025, /* 3, -107dB */
73 0x0000002A, /* 4, -106dB */ 0x0000002F, /* 5, -105dB */
74 0x00000035, /* 6, -104dB */ 0x0000003B, /* 7, -103dB */
75 0x00000043, /* 8, -102dB */ 0x0000004B, /* 9, -101dB */
76 0x00000054, /* 10, -100dB */ 0x0000005E, /* 11, -99dB */
[all …]
Duda1380.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * uda1380.c - Philips UDA1380 ALSA SoC audio driver
5 * Copyright (c) 2007-2009 Philipp Zabel <philipp.zabel@gmail.com>
65 u16 *cache = uda1380->reg_cache; in uda1380_read_reg_cache()
70 return -1; in uda1380_read_reg_cache()
81 u16 *cache = uda1380->reg_cache; in uda1380_write_reg_cache()
86 set_bit(reg - 0x10, &uda1380_cache_dirty); in uda1380_write_reg_cache()
116 if (i2c_master_send(uda1380->i2c, data, 3) == 3) { in uda1380_write()
118 i2c_master_send(uda1380->i2c, data, 1); in uda1380_write()
119 i2c_master_recv(uda1380->i2c, data, 2); in uda1380_write()
[all …]
/Linux-v6.1/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 #include <linux/dma-mapping.h>
30 q->pool = kcalloc(max, sizeof(struct iu_entry *), GFP_KERNEL); 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 = kcalloc(max, sizeof(struct iu_entry), GFP_KERNEL); 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-v6.1/drivers/media/i2c/
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-v6.1/sound/soc/sh/rcar/
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-v6.1/sound/soc/atmel/
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 …]
Datmel-classd.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 #include "atmel-classd.h"
40 .compatible = "atmel,sama5d2-classd",
49 struct device_node *np = dev->of_node; in atmel_classd_dt_init()
56 return ERR_PTR(-EINVAL); in atmel_classd_dt_init()
61 return ERR_PTR(-ENOMEM); in atmel_classd_dt_init()
63 ret = of_property_read_string(np, "atmel,pwm-type", &pwm_type_s); in atmel_classd_dt_init()
65 pdata->pwm_type = CLASSD_MR_PWMTYP_DIFF; in atmel_classd_dt_init()
67 pdata->pwm_type = CLASSD_MR_PWMTYP_SINGLE; in atmel_classd_dt_init()
70 "atmel,non-overlap-time", &pdata->non_overlap_time); in atmel_classd_dt_init()
[all …]
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dalive.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018, 2020-2021 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
116 * enum iwl_extended_cfg_flag - commands driver may send before
129 * struct iwl_extended_cfg_cmd - mark what commands ucode should wait for
138 * struct iwl_radio_version_notif - information on the radio version
161 * enum iwl_error_recovery_flags - flags for error recovery cmd
162 * @ERROR_RECOVERY_UPDATE_DB: update db from blob sent
171 * struct iwl_fw_error_recovery_cmd - recovery cmd sent upon assert
[all …]
/Linux-v6.1/drivers/bus/mhi/host/
Dmain.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
9 #include <linux/dma-direction.h>
10 #include <linux/dma-mapping.h>
22 return mhi_cntrl->read_reg(mhi_cntrl, base + offset, out); in mhi_read_reg()
46 u32 out, retry = (mhi_cntrl->timeout_ms * 1000) / delayus; in mhi_poll_reg_field()
48 while (retry--) { in mhi_poll_reg_field()
59 return -ETIMEDOUT; in mhi_poll_reg_field()
65 mhi_cntrl->write_reg(mhi_cntrl, base + offset, val); in mhi_write_reg()
98 if (db_cfg->db_mode) { in mhi_db_brstmode()
[all …]

1234567891011