/Linux-v5.10/net/mac80211/ |
D | debugfs_sta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2003-2005 Devicescape Software, Inc. 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018 - 2020 Intel Corporation 17 #include "driver-ops.h" 26 struct sta_info *sta = file->private_data; \ 28 format_string, sta->field); \ 89 char *end = buf + sizeof(buf) - 1; in sta_flags_read() 90 struct sta_info *sta = file->private_data; in sta_flags_read() 97 pos += scnprintf(pos, end - pos, "%s\n", in sta_flags_read() [all …]
|
D | util.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2005, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2015-2017 Intel Deutschland GmbH 9 * Copyright (C) 2018-2020 Intel Corporation 29 #include "driver-ops.h" 41 struct ieee80211_local *local; in wiphy_to_ieee80211_hw() local 43 local = wiphy_priv(wiphy); in wiphy_to_ieee80211_hw() [all …]
|
D | tdls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2015 - 2016 Intel Deutschland GmbH 17 #include "driver-ops.h" 27 struct ieee80211_local *local; in ieee80211_tdls_peer_del_work() local 31 local = sdata->local; in ieee80211_tdls_peer_del_work() 33 mutex_lock(&local->mtx); in ieee80211_tdls_peer_del_work() 34 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work() 35 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() 36 sta_info_destroy_addr(sdata, sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work() [all …]
|
D | agg-rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2002-2005, Instant802 Networks, Inc. 7 * Copyright 2005-2006, Devicescape Software, Inc. 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 10 * Copyright 2007-2010, Intel Corporation 11 * Copyright(c) 2015-2017 Intel Deutschland GmbH 12 * Copyright (C) 2018-2020 Intel Corporation 16 * DOC: RX A-MPDU aggregation 20 * block-ack sessions for RX aggregation. 29 * to de-aggregate frames and pass them up one by one to mac80211, [all …]
|
D | iface.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2002-2005, Instant802 Networks, Inc. 6 * Copyright 2005-2006, Devicescape Software, Inc. 9 * Copyright 2013-2014 Intel Mobile Communications GmbH 11 * Copyright (C) 2018-2020 Intel Corporation 25 #include "driver-ops.h" 33 * three-fold: 39 * can traverse the list in RCU-safe blocks. 53 chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); in __ieee80211_recalc_txpower() 59 power = ieee80211_chandef_max_power(&chanctx_conf->def); in __ieee80211_recalc_txpower() [all …]
|
D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2002-2005, Instant802 Networks, Inc. 4 * Copyright 2005-2006, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018 - 2019 Intel Corporation 29 #include "driver-ops.h" 36 void ieee80211_configure_filter(struct ieee80211_local *local) in ieee80211_configure_filter() argument 42 if (atomic_read(&local->iff_allmultis)) in ieee80211_configure_filter() 45 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning) || in ieee80211_configure_filter() [all …]
|
/Linux-v5.10/drivers/staging/media/zoran/ |
D | zr36016.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 MODULE_PARM_DESC(debug, "Debug level (0-4)"); 37 Local hardware I/O functions: 48 if (ptr->codec->master_data->readreg) in zr36016_read() 49 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36016_read() 51 pr_err("%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36016_read() 53 dprintk(4, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36016_read() 60 dprintk(4, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36016_write() 63 if (ptr->codec->master_data->writereg) in zr36016_write() 64 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write() [all …]
|
D | zr36050.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 37 MODULE_PARM_DESC(debug, "Debug level (0-4)"); 46 Local hardware I/O functions: 57 if (ptr->codec->master_data->readreg) in zr36050_read() 58 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read() 61 KERN_ERR "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36050_read() 63 dprintk(4, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36050_read() 70 dprintk(4, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36050_write() 73 if (ptr->codec->master_data->writereg) in zr36050_write() 74 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write() [all …]
|
D | zr36060.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 MODULE_PARM_DESC(debug, "Debug level (0-4)"); 49 * Local hardware I/O functions: 59 if (ptr->codec->master_data->readreg) in zr36060_read() 60 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read() 62 pr_err("%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36060_read() 72 if (ptr->codec->master_data->writereg) in zr36060_write() 73 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write() 75 pr_err("%s: invalid I/O setup, nothing written!\n", ptr->name); in zr36060_write() 79 * Local helper function: [all …]
|
/Linux-v5.10/drivers/dma/ |
D | dmaengine.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved. 7 * This code implements the DMA subsystem. It provides a HW-neutral interface 29 * See Documentation/driver-api/dmaengine for more details 35 #include <linux/dma-mapping.h> 63 /* --- debugfs implementation --- */ 71 dma_dev->dbg_dev_root = debugfs_create_dir(dev_name(dma_dev->dev), in dmaengine_debug_register() 73 if (IS_ERR(dma_dev->dbg_dev_root)) in dmaengine_debug_register() 74 dma_dev->dbg_dev_root = NULL; in dmaengine_debug_register() 79 debugfs_remove_recursive(dma_dev->dbg_dev_root); in dmaengine_debug_unregister() [all …]
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2009-2013 QLogic Corporation 92 /* 1st local, 2nd operational 3rd remote */ 163 /* 0 - local, 1 - operational, 2 - remote */ 243 if (test_bit(QLCNIC_DCB_STATE, &dcb->state)) in __qlcnic_init_dcbnl_ops() 244 dcb->adapter->netdev->dcbnl_ops = &qlcnic_dcbnl_ops; in __qlcnic_init_dcbnl_ops() 250 adapter->dcb->ops = &qlcnic_82xx_dcb_ops; in qlcnic_set_dcb_ops() 252 adapter->dcb->ops = &qlcnic_83xx_dcb_ops; in qlcnic_set_dcb_ops() 264 return -ENOMEM; in qlcnic_register_dcb() 266 adapter->dcb = dcb; in qlcnic_register_dcb() [all …]
|
/Linux-v5.10/drivers/scsi/cxlflash/ |
D | superpipe.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 /* Chunk size parms: note sislite minimum chunk size is 40 u64 max_lba; /* from read cap(16) */ 41 u32 blk_len; /* from read cap(16) */ 53 /* Local (per-adapter) lun_info structure */ 91 u32 rht_perms; /* User-defined permissions for RHT entries */ 93 u8 *rht_needs_ws; /* User-desired write-same function per RHTE */
|
/Linux-v5.10/drivers/scsi/fcoe/ |
D | fcoe_ctlr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved. 6 * Maintained at www.Open-FCoE.org 82 * fcoe_ctlr_set_state() - Set and do debug printing for the new FIP state. 88 if (state == fip->state) in fcoe_ctlr_set_state() 90 if (fip->lp) in fcoe_ctlr_set_state() 91 LIBFCOE_FIP_DBG(fip, "state %s -> %s\n", in fcoe_ctlr_set_state() 92 fcoe_ctlr_state(fip->state), fcoe_ctlr_state(state)); in fcoe_ctlr_set_state() 93 fip->state = state; in fcoe_ctlr_set_state() 97 * fcoe_ctlr_mtu_valid() - Check if a FCF's MTU is valid [all …]
|
/Linux-v5.10/drivers/usb/early/ |
D | ehci-dbgp.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #include <asm/pci-direct.h> 82 dbgp_printk(" Debug control: %08x", readl(&ehci_debug->control)); in dbgp_ehci_status() 83 dbgp_printk(" ehci cmd : %08x", readl(&ehci_regs->command)); in dbgp_ehci_status() 85 readl(&ehci_regs->configured_flag)); in dbgp_ehci_status() 86 dbgp_printk(" ehci status : %08x", readl(&ehci_regs->status)); in dbgp_ehci_status() 88 readl(&ehci_regs->port_status[dbgp_phys_port - 1])); in dbgp_ehci_status() 107 /* Local version of HC_LENGTH macro as ehci struct is not available here */ 167 ret = readl_poll_timeout_atomic(&ehci_debug->control, ctrl, in dbgp_wait_until_complete() 170 return -DBGP_TIMEOUT; in dbgp_wait_until_complete() [all …]
|
/Linux-v5.10/drivers/media/platform/xilinx/ |
D | xilinx-dma.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013-2015 Ideas on Board 6 * Copyright (C) 2013-2015 Xilinx, Inc. 19 #include <media/v4l2-dev.h> 20 #include <media/v4l2-fh.h> 21 #include <media/v4l2-ioctl.h> 22 #include <media/videobuf2-v4l2.h> 23 #include <media/videobuf2-dma-contig.h> 25 #include "xilinx-dma.h" 26 #include "xilinx-vip.h" [all …]
|
/Linux-v5.10/drivers/infiniband/sw/rdmavt/ |
D | qp.c | 2 * Copyright(c) 2016 - 2020 Intel Corporation. 24 * - Redistributions of source code must retain the above copyright 26 * - Redistributions in binary form must reproduce the above copyright 30 * - Neither the name of Intel Corporation nor the names of its 108 * completions as per IB 1.2 C10-96. 126 /* platform specific: return the last level cache (llc) size, in KiB */ 147 struct rvt_wss *wss = rdi->wss; in rvt_wss_exit() 153 kfree(wss->entries); in rvt_wss_exit() 154 wss->entries = NULL; in rvt_wss_exit() 155 kfree(rdi->wss); in rvt_wss_exit() [all …]
|
/Linux-v5.10/drivers/pci/controller/dwc/ |
D | pcie-designware-ep.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include "pcie-designware.h" 12 #include <linux/pci-epc.h> 13 #include <linux/pci-epf.h> 19 struct pci_epc *epc = ep->epc; in dw_pcie_ep_linkup() 27 struct pci_epc *epc = ep->epc; in dw_pcie_ep_init_notify() 38 list_for_each_entry(ep_func, &ep->func_list, list) { in dw_pcie_ep_get_func_from_ep() 39 if (ep_func->func_no == func_no) in dw_pcie_ep_get_func_from_ep() 50 if (ep->ops->func_conf_select) in dw_pcie_ep_func_select() 51 func_offset = ep->ops->func_conf_select(ep, func_no); in dw_pcie_ep_func_select() [all …]
|
/Linux-v5.10/drivers/media/platform/exynos4-is/ |
D | fimc-capture.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-ioctl.h> 23 #include <media/v4l2-mem2mem.h> 24 #include <media/v4l2-rect.h> 25 #include <media/videobuf2-v4l2.h> 26 #include <media/videobuf2-dma-contig.h> 29 #include "fimc-core.h" 30 #include "fimc-reg.h" [all …]
|
/Linux-v5.10/drivers/staging/media/ipu3/ |
D | ipu3-v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <media/v4l2-event.h> 8 #include <media/v4l2-ioctl.h> 11 #include "ipu3-dmamap.h" 24 struct imgu_media_pipe *imgu_pipe = &imgu->imgu_pipe[imgu_sd->pipe]; in imgu_subdev_open() 32 imgu_pipe->nodes[IMGU_NODE_IN].vdev_fmt.fmt.pix_mp.width; in imgu_subdev_open() 34 imgu_pipe->nodes[IMGU_NODE_IN].vdev_fmt.fmt.pix_mp.height; in imgu_subdev_open() 39 v4l2_subdev_get_try_format(sd, fh->pad, i); in imgu_subdev_open() 41 try_fmt->width = try_crop.width; in imgu_subdev_open() 42 try_fmt->height = try_crop.height; in imgu_subdev_open() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/ |
D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
/Linux-v5.10/drivers/staging/media/tegra-video/ |
D | vi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include <media/v4l2-event.h> 22 #include <media/v4l2-fh.h> 23 #include <media/v4l2-fwnode.h> 24 #include <media/v4l2-ioctl.h> 25 #include <media/videobuf2-dma-contig.h> 68 for (i = offset; i < vi->soc->nformats; ++i) { in tegra_get_format_idx_by_code() 69 if (vi->soc->video_formats[i].code == code) in tegra_get_format_idx_by_code() 73 return -1; in tegra_get_format_idx_by_code() 79 if (index >= vi->soc->nformats) in tegra_get_format_fourcc_by_idx() [all …]
|
/Linux-v5.10/drivers/input/mouse/ |
D | cyapa_gen5.c | 6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc. 21 #include <linux/crc-itu-t.h> 33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \ 141 * Bit 7 - 3: reserved 142 * Bit 2 - 0: touch type; 146 * 3 - 15 : reserved. 154 * Bit 6 - 5: indicates an event associated with this touch instance 159 * Bit 4 - 0: An arbitrary ID tag associated with a finger 164 /* Bit 7 - 0 of X-axis coordinate of the touch in pixel. */ 167 /* Bit 15 - 8 of X-axis coordinate of the touch in pixel. */ [all …]
|
/Linux-v5.10/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause 4 /* Copyright (c) 2008-2019, IBM Corporation */ 47 size_t size = vma->vm_end - vma->vm_start; in siw_mmap() local 50 int rv = -EINVAL; in siw_mmap() 55 if (vma->vm_start & (PAGE_SIZE - 1)) { in siw_mmap() 57 return -EINVAL; in siw_mmap() 59 rdma_entry = rdma_user_mmap_entry_get(&uctx->base_ucontext, vma); in siw_mmap() 61 siw_dbg(&uctx->sdev->base_dev, "mmap lookup failed: %lu, %#zx\n", in siw_mmap() 62 vma->vm_pgoff, size); in siw_mmap() 63 return -EINVAL; in siw_mmap() [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | uniphier-pro4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 #include <dt-bindings/gpio/uniphier-gpio.h> 11 compatible = "socionext,uniphier-pro4"; 12 #address-cells = <1>; 13 #size-cells = <1>; 16 #address-cells = <1>; 17 #size-cells = <0>; 21 compatible = "arm,cortex-a9"; 23 enable-method = "psci"; [all …]
|
/Linux-v5.10/drivers/media/platform/ti-vpe/ |
D | cal-video.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TI Camera Access Layer (CAL) - Video Device 5 * Copyright (c) 2015-2020 Texas Instruments Inc. 17 #include <media/media-device.h> 18 #include <media/v4l2-common.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-event.h> 22 #include <media/v4l2-fh.h> 23 #include <media/v4l2-ioctl.h> [all …]
|