Home
last modified time | relevance | path

Searched +full:local +full:- +full:cap +full:- +full:size (Results 1 – 25 of 193) sorted by relevance

12345678

/Linux-v6.1/net/mac80211/
Ddebugfs_sta.c1 // 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 - 2021 Intel Corporation
17 #include "driver-ops.h"
26 struct sta_info *sta = file->private_data; \
28 format_string, sta->field); \
90 char *end = buf + sizeof(buf) - 1; in sta_flags_read()
91 struct sta_info *sta = file->private_data; in sta_flags_read()
98 pos += scnprintf(pos, end - pos, "%s\n", in sta_flags_read()
[all …]
Dmlme.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2003-2008, Jouni Malinen <j@w1.fi>
7 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
9 * Copyright 2013-2014 Intel Mobile Communications GmbH
10 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH
11 * Copyright (C) 2018 - 2022 Intel Corporation
29 #include "driver-ops.h"
98 * has happened -- the work that runs from this timer will
106 if (!timer_pending(&sdata->u.mgd.timer) || in run_again()
107 time_before(timeout, sdata->u.mgd.timer.expires)) in run_again()
[all …]
Dutil.c1 // 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-2022 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 …]
Dtdls.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2015 - 2016 Intel Deutschland GmbH
9 * Copyright (C) 2019, 2021-2022 Intel Corporation
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()
[all …]
Dagg-rx.c1 // 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-2022 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 …]
/Linux-v6.1/drivers/media/pci/zoran/
Dzr36016.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 * Local hardware I/O functions: read/write via codec layer
36 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_read()
39 if (ptr->codec->master_data->readreg) in zr36016_read()
40 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36016_read()
42 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36016_read()
44 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36016_read()
51 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36016_write()
53 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36016_write()
56 if (ptr->codec->master_data->writereg) in zr36016_write()
[all …]
Dzr36050.c1 // SPDX-License-Identifier: GPL-2.0-or-later
35 * Local hardware I/O functions:
43 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_read()
47 if (ptr->codec->master_data->readreg) in zr36050_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36050_read()
52 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36050_read()
59 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_write()
61 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36050_write()
64 if (ptr->codec->master_data->writereg) in zr36050_write()
[all …]
Dzr36060.c1 // SPDX-License-Identifier: GPL-2.0-or-later
36 * Local hardware I/O functions:
44 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_read()
47 if (ptr->codec->master_data->readreg) in zr36060_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read()
50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36060_read()
57 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_write()
62 if (ptr->codec->master_data->writereg) in zr36060_write()
63 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
65 zrdev_err(zr, "%s: invalid I/O setup, nothing written!\n", ptr->name); in zr36060_write()
[all …]
/Linux-v6.1/drivers/dma/
Ddmaengine.c1 // 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-v6.1/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c1 // 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-v6.1/drivers/scsi/cxlflash/
Dsuperpipe.h1 /* 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-v6.1/drivers/scsi/fcoe/
Dfcoe_ctlr.c1 // 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-v6.1/tools/perf/util/
Denv.c1 // SPDX-License-Identifier: GPL-2.0
18 #include "bpf-event.h"
19 #include "bpf-utils.h"
25 __u32 prog_id = info_node->info_linear->info.id; in perf_env__insert_bpf_prog_info()
30 down_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
31 p = &env->bpf_progs.infos.rb_node; in perf_env__insert_bpf_prog_info()
36 if (prog_id < node->info_linear->info.id) { in perf_env__insert_bpf_prog_info()
37 p = &(*p)->rb_left; in perf_env__insert_bpf_prog_info()
38 } else if (prog_id > node->info_linear->info.id) { in perf_env__insert_bpf_prog_info()
39 p = &(*p)->rb_right; in perf_env__insert_bpf_prog_info()
[all …]
/Linux-v6.1/drivers/usb/early/
Dehci-dbgp.c1 // 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-v6.1/drivers/media/platform/xilinx/
Dxilinx-dma.c1 // 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-v6.1/drivers/infiniband/sw/rdmavt/
Dqp.c1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause
3 * Copyright(c) 2016 - 2020 Intel Corporation.
66 * completions as per IB 1.2 C10-96.
84 /* platform specific: return the last level cache (llc) size, in KiB */
105 struct rvt_wss *wss = rdi->wss; in rvt_wss_exit()
111 kfree(wss->entries); in rvt_wss_exit()
112 wss->entries = NULL; in rvt_wss_exit()
113 kfree(rdi->wss); in rvt_wss_exit()
114 rdi->wss = NULL; in rvt_wss_exit()
118 * rvt_wss_init - Init wss data structures
[all …]
/Linux-v6.1/drivers/pci/controller/dwc/
Dpcie-designware-ep.c1 // SPDX-License-Identifier: GPL-2.0
12 #include "pcie-designware.h"
13 #include <linux/pci-epc.h>
14 #include <linux/pci-epf.h>
20 struct pci_epc *epc = ep->epc; in dw_pcie_ep_linkup()
28 struct pci_epc *epc = ep->epc; in dw_pcie_ep_init_notify()
39 list_for_each_entry(ep_func, &ep->func_list, list) { in dw_pcie_ep_get_func_from_ep()
40 if (ep_func->func_no == func_no) in dw_pcie_ep_get_func_from_ep()
51 if (ep->ops->func_conf_select) in dw_pcie_ep_func_select()
52 func_offset = ep->ops->func_conf_select(ep, func_no); in dw_pcie_ep_func_select()
[all …]
/Linux-v6.1/drivers/media/platform/samsung/exynos4-is/
Dfimc-capture.c1 // 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-v6.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2014-2018 The Linux Foundation. All rights reserved.
11 #include <linux/dma-buf.h>
30 (pl) ? (pl)->base.base.id : -1, ##__VA_ARGS__)
33 (pl) ? (pl)->base.base.id : -1, ##__VA_ARGS__)
35 #define DECIMATED_DIMENSION(dim, deci) (((dim) + ((1 << (deci)) - 1)) >> (deci))
78 * enum dpu_plane_qos - Different qos configurations for each pipe
92 * struct dpu_plane - local dpu plane structure
122 struct msm_drm_private *priv = plane->dev->dev_private; in _dpu_plane_get_kms()
124 return to_dpu_kms(priv->kms); in _dpu_plane_get_kms()
[all …]
/Linux-v6.1/drivers/staging/media/tegra-video/
Dvi.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <media/v4l2-dv-timings.h>
22 #include <media/v4l2-event.h>
23 #include <media/v4l2-fh.h>
24 #include <media/v4l2-fwnode.h>
25 #include <media/v4l2-ioctl.h>
26 #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()
[all …]
/Linux-v6.1/drivers/staging/media/ipu3/
Dipu3-v4l2.c1 // 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->state, 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-v6.1/Documentation/devicetree/bindings/input/
Diqs269a.yaml1 # 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-v6.1/drivers/input/mouse/
Dcyapa_gen5.c6 * 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-v6.1/fs/ksmbd/
Dtransport_rdma.c1 // SPDX-License-Identifier: GPL-2.0-or-later
51 * as defined in [MS-SMBD] 3.1.1.1
58 /* The local peer's maximum number of credits to grant to the peer */
61 /* The remote peer's credit request of local peer */
64 /* The maximum single message size can be sent to remote peer */
67 /* The maximum fragmented upper-layer payload receive size supported */
70 /* The maximum single-message size which can be received */
160 #define KSMBD_TRANS(t) ((struct ksmbd_transport *)&((t)->transport))
218 static inline int get_buf_page_count(void *buf, int size) in get_buf_page_count() argument
220 return DIV_ROUND_UP((uintptr_t)buf + size, PAGE_SIZE) - in get_buf_page_count()
[all …]
/Linux-v6.1/drivers/infiniband/sw/siw/
Dsiw_verbs.c1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause
4 /* Copyright (c) 2008-2019, IBM Corporation */
48 size_t size = vma->vm_end - vma->vm_start; in siw_mmap() local
51 int rv = -EINVAL; in siw_mmap()
56 if (vma->vm_start & (PAGE_SIZE - 1)) { in siw_mmap()
58 return -EINVAL; in siw_mmap()
60 rdma_entry = rdma_user_mmap_entry_get(&uctx->base_ucontext, vma); in siw_mmap()
62 siw_dbg(&uctx->sdev->base_dev, "mmap lookup failed: %lu, %#zx\n", in siw_mmap()
63 vma->vm_pgoff, size); in siw_mmap()
64 return -EINVAL; in siw_mmap()
[all …]

12345678