Home
last modified time | relevance | path

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

12345678

/linux/net/mac80211/
H A 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 - 2023 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 …]
H A 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 - 2024 Intel Corporation
29 #include "driver-ops.h"
103 * has happened -- the work that runs from this timer will
109 lockdep_assert_wiphy(sdata->local->hw.wiphy); in run_again()
111 if (!timer_pending(&sdata->u.mgd.timer) || in run_again()
[all …]
H A 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-2024 Intel Corporation
30 #include "driver-ops.h"
42 struct ieee80211_local *local; in wiphy_to_ieee80211_hw() local
44 local = wiphy_priv(wiphy); in wiphy_to_ieee80211_hw()
[all …]
H A 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-2024 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 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_tdls_peer_del_work()
35 if (!is_zero_ether_addr(sdata->u.mgd.tdls_peer)) { in ieee80211_tdls_peer_del_work()
36 tdls_dbg(sdata, "TDLS del peer %pM\n", sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
[all …]
H A Dmain.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>
6 * Copyright 2013-2014 Intel Mobile Communications GmbH
8 * Copyright (C) 2018-2023 Intel Corporation
30 #include "driver-ops.h"
37 void ieee80211_configure_filter(struct ieee80211_local *local) in ieee80211_configure_filter() argument
43 if (atomic_read(&local->iff_allmultis)) in ieee80211_configure_filter()
46 if (local->monitors || test_bit(SCAN_SW_SCANNING, &local->scanning) || in ieee80211_configure_filter()
[all …]
H A 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-2023 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/drivers/media/pci/zoran/
H A 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 …]
H A 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 …]
H A 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/drivers/dma/
H A 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/drivers/net/ethernet/qlogic/qlcnic/
H A 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/drivers/scsi/fcoe/
H A 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/drivers/scsi/cxlflash/
H A 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/drivers/usb/early/
H A 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/tools/perf/util/
H A Denv.c1 // SPDX-License-Identifier: GPL-2.0
21 #include "bpf-event.h"
22 #include "bpf-utils.h"
28 down_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
30 up_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
35 __u32 prog_id = info_node->info_linear->info.id; in __perf_env__insert_bpf_prog_info()
40 p = &env->bpf_progs.infos.rb_node; in __perf_env__insert_bpf_prog_info()
45 if (prog_id < node->info_linear->info.id) { in __perf_env__insert_bpf_prog_info()
46 p = &(*p)->rb_left; in __perf_env__insert_bpf_prog_info()
47 } else if (prog_id > node->info_linear->info.id) { in __perf_env__insert_bpf_prog_info()
[all …]
/linux/drivers/infiniband/sw/rdmavt/
H A 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/drivers/media/platform/xilinx/
H A 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/drivers/staging/media/tegra-video/
H A 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>
36 * struct tegra_vi_graph_entity - Entity in the video graph
72 for (i = offset; i < vi->soc->nformats; ++i) { in tegra_get_format_idx_by_code()
73 if (vi->soc->video_formats[i].code == code) in tegra_get_format_idx_by_code()
[all …]
/linux/drivers/media/platform/samsung/exynos4-is/
H A 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/drivers/input/mouse/
H A 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/drivers/staging/media/ipu3/
H A 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_state_get_format(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/fs/smb/server/
H A 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/include/linux/
H A Drandomize_kstack.h1 /* SPDX-License-Identifier: GPL-2.0-only */
8 #include <linux/percpu-defs.h>
16 * it provides an arch-agnostic way to grow the stack with correct
18 * 10 bits, stack-clash style attacks are unlikely. For more details see
35 * Use, at most, 6 bits of entropy (on 64-bit; 8 on 32-bit). This cap is
37 * the bottom 4 bits (on 64-bit systems, 2 for 32-bit), since stack
38 * alignment will always be at least word size. This makes the compiler
39 * code gen better when it is applying the actual per-arch alignment to
50 * add_random_kstack_offset - Increase stack utilization by previously
56 * tools/testing/selftests/lkdtm/stack-entropy.sh
[all …]
/linux/Documentation/devicetree/bindings/input/
H A 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 - $ref: input.yaml#
16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
17 additional Hall-effect and inductive sensing capabilities.
24 - azoteq,iqs269a
25 - azoteq,iqs269a-00
26 - azoteq,iqs269a-d0
[all …]
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-ep.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "pcie-designware.h"
15 #include <linux/pci-epc.h>
16 #include <linux/pci-epf.h>
19 * dw_pcie_ep_get_func_from_ep - Get the struct dw_pcie_ep_func corresponding to
31 list_for_each_entry(ep_func, &ep->func_list, list) { in dw_pcie_ep_get_func_from_ep()
32 if (ep_func->func_no == func_no) in dw_pcie_ep_get_func_from_ep()
42 struct dw_pcie_ep *ep = &pci->ep; in __dw_pcie_ep_reset_bar()
57 * dw_pcie_ep_reset_bar - Reset endpoint BAR
65 funcs = pci->ep.epc->max_functions; in dw_pcie_ep_reset_bar()
[all …]

12345678