Home
last modified time | relevance | path

Searched +full:d +full:- +full:- +full:- +full:- +full:- +full:0 (Results 1 – 25 of 1132) sorted by relevance

12345678910>>...46

/Linux-v6.1/net/bluetooth/rfcomm/
Dcore.c42 static int channel_mtu = -1;
56 static int rfcomm_queue_disc(struct rfcomm_dlc *d);
58 static int rfcomm_send_pn(struct rfcomm_session *s, int cr, struct rfcomm_dlc *d);
73 /* ---- RFCOMM frame parsing macros ---- */
74 #define __get_dlci(b) ((b & 0xfc) >> 2)
75 #define __get_type(b) ((b & 0xef))
77 #define __test_ea(b) ((b & 0x01))
78 #define __test_cr(b) (!!(b & 0x02))
79 #define __test_pf(b) (!!(b & 0x10))
81 #define __session_dir(s) ((s)->initiator ? 0x00 : 0x01)
[all …]
/Linux-v6.1/drivers/media/usb/dvb-usb-v2/
Ddvb_usb_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@posteo.de>
10 #include <media/media-device.h>
15 "disable remote control polling (default: 0)");
20 "force all DVB USB devices to use a PID filter, if any (default: 0)");
22 static int dvb_usbv2_download_firmware(struct dvb_usb_device *d, in dvb_usbv2_download_firmware() argument
27 dev_dbg(&d->udev->dev, "%s:\n", __func__); in dvb_usbv2_download_firmware()
29 if (!d->props->download_firmware) { in dvb_usbv2_download_firmware()
30 ret = -EINVAL; in dvb_usbv2_download_firmware()
34 ret = request_firmware(&fw, name, &d->udev->dev); in dvb_usbv2_download_firmware()
[all …]
Drtl28xxu.c1 // SPDX-License-Identifier: GPL-2.0-or-later
17 static int rtl28xxu_ctrl_msg(struct dvb_usb_device *d, struct rtl28xxu_req *req) in rtl28xxu_ctrl_msg() argument
19 struct rtl28xxu_dev *dev = d->priv; in rtl28xxu_ctrl_msg()
24 mutex_lock(&d->usb_mutex); in rtl28xxu_ctrl_msg()
26 if (req->size > sizeof(dev->buf)) { in rtl28xxu_ctrl_msg()
27 dev_err(&d->intf->dev, "too large message %u\n", req->size); in rtl28xxu_ctrl_msg()
28 ret = -EINVAL; in rtl28xxu_ctrl_msg()
32 if (req->index & CMD_WR_FLAG) { in rtl28xxu_ctrl_msg()
34 memcpy(dev->buf, req->data, req->size); in rtl28xxu_ctrl_msg()
36 pipe = usb_sndctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg()
[all …]
Danysee.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DVB USB Linux driver for Anysee E30 DVB-C & DVB-T USB2.0 receiver
8 * - add smart card reader support for Conditional Access (CA)
22 #include "dvb-pll.h"
36 static int anysee_ctrl_msg(struct dvb_usb_device *d, in anysee_ctrl_msg() argument
39 struct anysee_state *state = d_to_priv(d); in anysee_ctrl_msg()
42 mutex_lock(&d->usb_mutex); in anysee_ctrl_msg()
44 memcpy(&state->buf[0], sbuf, slen); in anysee_ctrl_msg()
45 state->buf[60] = state->seq++; in anysee_ctrl_msg()
47 dev_dbg(&d->udev->dev, "%s: >>> %*ph\n", __func__, slen, state->buf); in anysee_ctrl_msg()
[all …]
/Linux-v6.1/drivers/mtd/
Dmtdswap.c1 // SPDX-License-Identifier: GPL-2.0-only
11 * support and lock-less operation written by Adrian Hunter.
59 #define BLOCK_ERROR (UINT_MAX - 1)
60 #define BLOCK_MAX (UINT_MAX - 2)
62 #define EBLOCK_BAD (1 << 0)
80 rb)->erase_count)
82 rb)->erase_count)
135 #define MTDSWAP_MAGIC_CLEAN 0x2095
137 #define MTDSWAP_TYPE_CLEAN 0
153 * page from the current block and is then pre-empted by the GC
[all …]
/Linux-v6.1/drivers/base/regmap/
Dregmap-irq.c1 // SPDX-License-Identifier: GPL-2.0
59 return &data->chip->irqs[irq]; in irq_to_regmap_irq()
64 struct regmap *map = data->map; in regmap_irq_can_bulk_read_status()
67 * While possible that a user-defined ->get_irq_reg() callback might in regmap_irq_can_bulk_read_status()
71 return data->irq_reg_stride == 1 && map->reg_stride == 1 && in regmap_irq_can_bulk_read_status()
72 data->get_irq_reg == regmap_irq_get_irq_reg_linear && in regmap_irq_can_bulk_read_status()
73 !map->use_single_read; in regmap_irq_can_bulk_read_status()
78 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_lock() local
80 mutex_lock(&d->lock); in regmap_irq_lock()
85 struct regmap_irq_chip_data *d = irq_data_get_irq_chip_data(data); in regmap_irq_sync_unlock() local
[all …]
/Linux-v6.1/drivers/sh/intc/
Dcore.c5 * Copyright (C) 2009 - 2012 Paul Mundt
12 * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp>
33 #include <linux/radix-tree.h>
44 * - this needs to be at least 2 for 5-bit priorities on 7780
46 static unsigned int default_prio_level = 2; /* 2 - 16 */
74 struct intc_desc_int *d, in intc_register_irq() argument
84 radix_tree_insert(&d->tree, enum_id, intc_irq_xlate_get(irq)); in intc_register_irq()
95 data[0] = intc_get_mask_handle(desc, d, enum_id, 0); in intc_register_irq()
96 data[1] = intc_get_prio_handle(desc, d, enum_id, 0); in intc_register_irq()
98 primary = 0; in intc_register_irq()
[all …]
/Linux-v6.1/drivers/clk/ti/
Dadpll.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/clk-provider.h>
14 #define ADPLL_PLLSS_MMR_LOCK_OFFSET 0x00 /* Managed by MPPULL */
15 #define ADPLL_PLLSS_MMR_LOCK_ENABLED 0x1f125B64
16 #define ADPLL_PLLSS_MMR_UNLOCK_MAGIC 0x1eda4c3d
18 #define ADPLL_PWRCTRL_OFFSET 0x00
24 #define ADPLL_PWRCTRL_OFFMODE 0
26 #define ADPLL_CLKCTRL_OFFSET 0x04
40 #define ADPLL_CLKCTRL_TINITZ 0
42 #define ADPLL_TENABLE_OFFSET 0x08
[all …]
/Linux-v6.1/drivers/media/usb/dvb-usb/
Ddvb-usb-remote.c1 // SPDX-License-Identifier: GPL-2.0
2 /* dvb-usb-remote.c is part of the DVB USB library.
4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
5 * see dvb-usb-init.c for copyright information.
7 …* This file contains functions for initializing the input-device and for handling remote-control-q…
9 #include "dvb-usb-common.h"
20 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index()
21 index = ke->index; in legacy_dvb_usb_get_keymap_index()
27 for (index = 0; index < keymap_size; index++) in legacy_dvb_usb_get_keymap_index()
33 for (index = 0; index < keymap_size; index++) { in legacy_dvb_usb_get_keymap_index()
[all …]
Ddvb-usb-init.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * DVB USB library - provides a generic interface for a DVB USB device driver.
5 * dvb-usb-init.c
7 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de)
9 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
11 #include "dvb-usb-common.h"
16 …ng level (1=info,xfer=2,pll=4,ts=8,err=16,rc=32,fw=64,mem=128,uxfer=256 (or-able))." DVB_USB_DEBU…
20 MODULE_PARM_DESC(disable_rc_polling, "disable remote control polling (default: 0).");
24 …E_PARM_DESC(force_pid_filter_usage, "force all dvb-usb-devices to use a PID filter, if any (defaul…
26 static int dvb_usb_adapter_init(struct dvb_usb_device *d, short *adapter_nrs) in dvb_usb_adapter_init() argument
[all …]
/Linux-v6.1/tools/lib/bpf/
Dbtf_dump.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
4 * BTF-to-C type converter.
25 static const size_t PREFIX_CNT = sizeof(PREFIXES) - 1;
29 return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; in pfx()
44 /* per-type auxiliary state */
52 /* whether unique non-duplicate name was already assigned */
87 /* per-type auxiliary state */
90 /* per-type optional cached unique name, must be freed, if present */
94 /* topo-sorted list of dependent type definitions */
127 return strcmp(a, b) == 0; in str_equal_fn()
[all …]
/Linux-v6.1/drivers/dma/lgm/
Dlgm-dma.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2016 - 2020 Intel Corporation.
10 #include <linux/dma-mapping.h>
23 #include "../virt-dma.h"
25 #define DRIVER_NAME "lgm-dma"
27 #define DMA_ID 0x0008
28 #define DMA_ID_REV GENMASK(7, 0)
33 #define DMA_VER32 0x32
34 #define DMA_VER31 0x31
35 #define DMA_VER22 0x0A
[all …]
/Linux-v6.1/arch/arm64/crypto/
Dsha3-ce-core.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * sha3-ce-core.S - core SHA-3 transform using v8.2 Crypto Extensions
15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31
16 .set .Lv\b\().2d, \b
24 .inst 0xce000000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16)
28 .inst 0xce608c00 | .L\rd | (.L\rn << 5) | (.L\rm << 16)
32 .inst 0xce200000 | .L\rd | (.L\rn << 5) | (.L\ra << 10) | (.L\rm << 16)
36 .inst 0xce800000 | .L\rd | (.L\rn << 5) | ((\imm6) << 10) | (.L\rm << 16)
46 ld1 { v0.1d- v3.1d}, [x0]
47 ld1 { v4.1d- v7.1d}, [x8], #32
[all …]
/Linux-v6.1/drivers/nvme/target/
Dfabrics-cmd-auth.c1 // SPDX-License-Identifier: GPL-2.0
3 * NVMe over Fabrics DH-HMAC-CHAP authentication command handling.
10 #include <linux/nvme-auth.h>
20 pr_debug("%s: ctrl %d qid %d transaction %u expired, resetting\n", in nvmet_auth_expired_work()
21 __func__, sq->ctrl->cntlid, sq->qid, sq->dhchap_tid); in nvmet_auth_expired_work()
22 sq->dhchap_step = NVME_AUTH_DHCHAP_MESSAGE_NEGOTIATE; in nvmet_auth_expired_work()
23 sq->dhchap_tid = -1; in nvmet_auth_expired_work()
28 /* Initialize in-band authentication */ in nvmet_auth_sq_init()
29 INIT_DELAYED_WORK(&sq->auth_expired_work, nvmet_auth_expired_work); in nvmet_auth_sq_init()
30 sq->authenticated = false; in nvmet_auth_sq_init()
[all …]
/Linux-v6.1/drivers/dma/
Dk3dma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2013 - 2015 Linaro Ltd.
8 #include <linux/dma-mapping.h>
23 #include "virt-dma.h"
25 #define DRIVER_NAME "k3-dma"
26 #define DMA_MAX_SIZE 0x1ffc
27 #define DMA_CYCLIC_MAX_PERIOD 0x1000
30 #define INT_STAT 0x00
31 #define INT_TC1 0x04
32 #define INT_TC2 0x08
[all …]
/Linux-v6.1/drivers/gpu/drm/mcde/
Dmcde_dsi.c1 // SPDX-License-Identifier: GPL-2.0+
33 #define PRCM_DSI_SW_RESET 0x324
34 #define PRCM_DSI_SW_RESET_DSI0_SW_RESETN BIT(0)
69 struct mcde_dsi *d; in mcde_dsi_irq() local
73 d = host_to_mcde_dsi(mdsi->host); in mcde_dsi_irq()
75 dev_dbg(d->dev, "%s called\n", __func__); in mcde_dsi_irq()
77 val = readl(d->regs + DSI_DIRECT_CMD_STS_FLAG); in mcde_dsi_irq()
79 dev_dbg(d->dev, "DSI_DIRECT_CMD_STS_FLAG = %08x\n", val); in mcde_dsi_irq()
81 dev_dbg(d->dev, "direct command write completed\n"); in mcde_dsi_irq()
84 dev_dbg(d->dev, "direct command TE received\n"); in mcde_dsi_irq()
[all …]
/Linux-v6.1/net/core/
Dgen_stats.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 gnet_stats_copy(struct gnet_dump *d, int type, void *buf, int size, int padattr) in gnet_stats_copy() argument
26 if (nla_put_64bit(d->skb, type, size, buf, padattr)) in gnet_stats_copy()
28 return 0; in gnet_stats_copy()
31 if (d->lock) in gnet_stats_copy()
32 spin_unlock_bh(d->lock); in gnet_stats_copy()
33 kfree(d->xstats); in gnet_stats_copy()
34 d->xstats = NULL; in gnet_stats_copy()
35 d->xstats_len = 0; in gnet_stats_copy()
36 return -1; in gnet_stats_copy()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_processpptables.c41 phm_cap_set(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
43 phm_cap_unset(hwmgr->platform_descriptor.platformCaps, cap); in set_hw_cap()
52 const void *table_address = hwmgr->soft_pp_table; in get_powerplay_table()
56 smu_atom_get_data_table(hwmgr->adev, index, in get_powerplay_table()
59 hwmgr->soft_pp_table = table_address; in get_powerplay_table()
60 hwmgr->soft_pp_table_size = size; in get_powerplay_table()
66 #if 0
71 pr_info("Version = 0x%08x\n", pptable->Version);
73 pr_info("FeaturesToRun[0] = 0x%08x\n", pptable->FeaturesToRun[0]);
74 pr_info("FeaturesToRun[1] = 0x%08x\n", pptable->FeaturesToRun[1]);
[all …]
/Linux-v6.1/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c1 // SPDX-License-Identifier: GPL-2.0+
3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget
5 * dev.c - Individual device/gadget management (ie, a port = a gadget)
26 #include <linux/dma-mapping.h>
32 void ast_vhub_dev_irq(struct ast_vhub_dev *d) in ast_vhub_dev_irq() argument
34 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq()
36 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq()
39 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq()
41 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq()
43 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq()
[all …]
/Linux-v6.1/arch/loongarch/mm/
Dtlbex.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
15 #define PTRS_PER_PGD_BITS (PAGE_SHIFT - 3)
16 #define PTRS_PER_PUD_BITS (PAGE_SHIFT - 3)
17 #define PTRS_PER_PMD_BITS (PAGE_SHIFT - 3)
18 #define PTRS_PER_PTE_BITS (PAGE_SHIFT - 3)
28 jirl ra, t0, 0
33 tlb_do_page_fault 0
44 jirl ra, t0, 0
62 bstrpick.d ra, t0, PTRS_PER_PGD_BITS + PGDIR_SHIFT - 1, PGDIR_SHIFT
[all …]
/Linux-v6.1/drivers/block/aoe/
Daoedev.c8 #include <linux/blk-mq.h>
18 static void freetgt(struct aoedev *d, struct aoetgt *t);
19 static void skbpoolfree(struct aoedev *d);
29 * - partitions,
30 * - slots per shelf,
31 * - or shelves,
45 int error = 0; in minor_get_dyn()
52 error = -1; in minor_get_dyn()
64 int error = 0; in minor_get_static()
72 pr_err("aoe: %s %d slots per shelf\n", in minor_get_static()
[all …]
Daoecmd.c10 #include <linux/blk-mq.h>
24 static int count_targets(struct aoedev *d, int *untainted);
71 skb->protocol = __constant_htons(ETH_P_AOE); in new_skb()
78 getframe_deferred(struct aoedev *d, u32 tag) in getframe_deferred() argument
83 head = &d->rexmitq; in getframe_deferred()
86 if (f->tag == tag) { in getframe_deferred()
95 getframe(struct aoedev *d, u32 tag) in getframe() argument
102 head = &d->factive[n]; in getframe()
105 if (f->tag == tag) { in getframe()
116 * This driver reserves tag -1 to mean "unused frame."
[all …]
/Linux-v6.1/crypto/
Dmd5.c27 0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, 0xb2, 0x04,
28 0xe9, 0x80, 0x09, 0x98, 0xec, 0xf8, 0x42, 0x7e,
38 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x)
42 u32 a, b, c, d; in md5_transform() local
44 a = hash[0]; in md5_transform()
47 d = hash[3]; in md5_transform()
49 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform()
50 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform()
51 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform()
52 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform()
[all …]
/Linux-v6.1/tools/perf/util/
Ddlfilter.c1 // SPDX-License-Identifier: GPL-2.0
3 * dlfilter.c: Interface to perf script --dlfilter shared object
10 #include <subcmd/exec-cmd.h>
20 #include "trace-event.h"
28 struct symbol *sym = al->sym; in al_to_d_al()
30 d_al->size = sizeof(*d_al); in al_to_d_al()
31 if (al->map) { in al_to_d_al()
32 struct dso *dso = al->map->dso; in al_to_d_al()
34 if (symbol_conf.show_kernel_path && dso->long_name) in al_to_d_al()
35 d_al->dso = dso->long_name; in al_to_d_al()
[all …]
/Linux-v6.1/drivers/mtd/ubi/
Ddebug.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 * ubi_dump_flash - dump a region of flash.
27 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_dump_flash()
32 err = mtd_read(ubi->mtd, addr, len, &read, buf); in ubi_dump_flash()
33 if (err && err != -EUCLEAN) { in ubi_dump_flash()
34 ubi_err(ubi, "err %d while reading %d bytes from PEB %d:%d, read %zd bytes", in ubi_dump_flash()
39 ubi_msg(ubi, "dumping %d bytes of data from PEB %d, offset %d", in ubi_dump_flash()
48 * ubi_dump_ec_hdr - dump an erase counter header.
54 pr_err("\tmagic %#08x\n", be32_to_cpu(ec_hdr->magic)); in ubi_dump_ec_hdr()
55 pr_err("\tversion %d\n", (int)ec_hdr->version); in ubi_dump_ec_hdr()
[all …]

12345678910>>...46