Home
last modified time | relevance | path

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

12345678910>>...14

/kernel/linux/linux-5.10/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 - 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 …]
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-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 …]
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
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 …]
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
Dzr36016.c1 // 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 …]
Dzr36050.c1 // 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 …]
Dzr36060.c1 // 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 …]
/kernel/linux/linux-4.19/drivers/dma/
Ddmaengine.c2 * Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved.
19 * This code implements the DMA subsystem. It provides a HW-neutral interface
41 * See Documentation/driver-api/dmaengine for more details
47 #include <linux/dma-mapping.h>
72 /* --- sysfs implementation --- */
75 * dev_to_dma_chan - convert a device pointer to the its sysfs container object
76 * @dev - device node
85 return chan_dev->chan; in dev_to_dma_chan()
100 count += per_cpu_ptr(chan->local, i)->memcpy_count; in memcpy_count_show()
103 err = -ENODEV; in memcpy_count_show()
[all …]
/kernel/linux/linux-4.19/drivers/staging/media/zoran/
Dzr36016.c8 * ------------------------------------------------------------------------
20 * ------------------------------------------------------------------------
54 MODULE_PARM_DESC(debug, "Debug level (0-4)");
63 Local hardware I/O functions:
76 if (ptr->codec->master_data->readreg) in zr36016_read()
78 (ptr->codec->master_data-> in zr36016_read()
79 readreg(ptr->codec, reg)) & 0xFF; in zr36016_read()
83 ptr->name); in zr36016_read()
85 dprintk(4, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, in zr36016_read()
96 dprintk(4, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, in zr36016_write()
[all …]
Dzr36060.c8 * ------------------------------------------------------------------------
20 * ------------------------------------------------------------------------
56 MODULE_PARM_DESC(debug, "Debug level (0-4)");
65 Local hardware I/O functions:
78 if (ptr->codec->master_data->readreg) in zr36060_read()
79 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36060_read()
84 ptr->name); in zr36060_read()
86 //dprintk(4, "%s: reading from 0x%04x: %02x\n",ptr->name,reg,value); in zr36060_read()
96 //dprintk(4, "%s: writing 0x%02x to 0x%04x\n",ptr->name,value,reg); in zr36060_write()
100 if (ptr->codec->master_data->writereg) in zr36060_write()
[all …]
Dzr36050.c8 * ------------------------------------------------------------------------
20 * ------------------------------------------------------------------------
52 MODULE_PARM_DESC(debug, "Debug level (0-4)");
61 Local hardware I/O functions:
74 if (ptr->codec->master_data->readreg) in zr36050_read()
75 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36050_read()
80 ptr->name); in zr36050_read()
82 dprintk(4, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, in zr36050_read()
93 dprintk(4, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, in zr36050_write()
97 if (ptr->codec->master_data->writereg) in zr36050_write()
[all …]
/kernel/linux/linux-4.19/net/mac80211/
Dvht.c5 * Copyright(c) 2015 - 2016 Intel Deutschland GmbH
25 if (sdata->u.mgd.vht_capa_mask.vht_cap_info & le_flag && in __check_vhtcap_disable()
26 !(sdata->u.mgd.vht_capa.vht_cap_info & le_flag)) in __check_vhtcap_disable()
27 vht_cap->cap &= ~flag; in __check_vhtcap_disable()
36 if (!vht_cap->vht_supported) in ieee80211_apply_vhtcap_overrides()
39 if (sdata->vif.type != NL80211_IFTYPE_STATION) in ieee80211_apply_vhtcap_overrides()
60 if (sdata->u.mgd.vht_capa_mask.vht_cap_info & in ieee80211_apply_vhtcap_overrides()
62 u32 cap, n; in ieee80211_apply_vhtcap_overrides() local
64 n = le32_to_cpu(sdata->u.mgd.vht_capa.vht_cap_info) & in ieee80211_apply_vhtcap_overrides()
67 cap = vht_cap->cap & IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK; in ieee80211_apply_vhtcap_overrides()
[all …]
Dtdls.c4 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
7 * 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()
37 eth_zero_addr(sdata->u.mgd.tdls_peer); in ieee80211_tdls_peer_del_work()
[all …]
Dagg-rx.c5 * Copyright 2002-2005, Instant802 Networks, Inc.
6 * Copyright 2005-2006, Devicescape Software, Inc.
7 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
9 * Copyright 2007-2010, Intel Corporation
10 * Copyright(c) 2015-2017 Intel Deutschland GmbH
19 * DOC: RX A-MPDU aggregation
23 * block-ack sessions for RX aggregation.
32 * to de-aggregate frames and pass them up one by one to mac80211,
46 #include "driver-ops.h"
54 for (i = 0; i < tid_rx->buf_size; i++) in ieee80211_free_tid_rx()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c3 * Copyright (c) 2009-2013 QLogic Corporation
93 /* 1st local, 2nd operational 3rd remote */
164 /* 0 - local, 1 - operational, 2 - remote */
244 if (test_bit(QLCNIC_DCB_STATE, &dcb->state)) in __qlcnic_init_dcbnl_ops()
245 dcb->adapter->netdev->dcbnl_ops = &qlcnic_dcbnl_ops; in __qlcnic_init_dcbnl_ops()
251 adapter->dcb->ops = &qlcnic_82xx_dcb_ops; in qlcnic_set_dcb_ops()
253 adapter->dcb->ops = &qlcnic_83xx_dcb_ops; in qlcnic_set_dcb_ops()
265 return -ENOMEM; in qlcnic_register_dcb()
267 adapter->dcb = dcb; in qlcnic_register_dcb()
268 dcb->adapter = adapter; in qlcnic_register_dcb()
[all …]
/kernel/linux/linux-5.10/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 */
/kernel/linux/linux-4.19/drivers/scsi/cxlflash/
Dsuperpipe.h26 /* Chunk size parms: note sislite minimum chunk size is
44 u64 max_lba; /* from read cap(16) */
45 u32 blk_len; /* from read cap(16) */
57 /* Local (per-adapter) lun_info structure */
95 u32 rht_perms; /* User-defined permissions for RHT entries */
97 u8 *rht_needs_ws; /* User-desired write-same function per RHTE */
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/infiniband/sw/rdmavt/
Dqp.c24 * - 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
105 * completions as per IB 1.2 C10-96.
132 spin_lock(&qpt->lock); in get_map_page()
133 if (map->page) in get_map_page()
136 map->page = (void *)page; in get_map_page()
137 spin_unlock(&qpt->lock); in get_map_page()
141 * init_qpn_table - initialize the QP number table for a device
150 if (!(rdi->dparms.qpn_res_end >= rdi->dparms.qpn_res_start)) in init_qpn_table()
[all …]
/kernel/linux/linux-4.19/drivers/media/platform/xilinx/
Dxilinx-dma.c4 * Copyright (C) 2013-2015 Ideas on Board
5 * Copyright (C) 2013-2015 Xilinx, Inc.
22 #include <media/v4l2-dev.h>
23 #include <media/v4l2-fh.h>
24 #include <media/v4l2-ioctl.h>
25 #include <media/videobuf2-v4l2.h>
26 #include <media/videobuf2-dma-contig.h>
28 #include "xilinx-dma.h"
29 #include "xilinx-vip.h"
30 #include "xilinx-vipp.h"
[all …]
/kernel/linux/linux-4.19/drivers/usb/early/
Dehci-dbgp.c1 // SPDX-License-Identifier: GPL-2.0
27 #include <asm/pci-direct.h>
81 dbgp_printk(" Debug control: %08x", readl(&ehci_debug->control)); in dbgp_ehci_status()
82 dbgp_printk(" ehci cmd : %08x", readl(&ehci_regs->command)); in dbgp_ehci_status()
84 readl(&ehci_regs->configured_flag)); in dbgp_ehci_status()
85 dbgp_printk(" ehci status : %08x", readl(&ehci_regs->status)); in dbgp_ehci_status()
87 readl(&ehci_regs->port_status[dbgp_phys_port - 1])); in dbgp_ehci_status()
106 /* Local version of HC_LENGTH macro as ehci struct is not available here */
167 ctrl = readl(&ehci_debug->control); in dbgp_wait_until_complete()
172 } while (--loop > 0); in dbgp_wait_until_complete()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-4.19/drivers/pci/controller/dwc/
Dpcie-designware-ep.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "pcie-designware.h"
12 #include <linux/pci-epc.h>
13 #include <linux/pci-epf.h>
17 struct pci_epc *epc = ep->epc; in dw_pcie_ep_linkup()
44 u8 cap) in __dw_pcie_ep_find_next_cap()
58 if (cap_id == cap) in __dw_pcie_ep_find_next_cap()
62 return __dw_pcie_ep_find_next_cap(pci, next_cap_ptr, cap); in __dw_pcie_ep_find_next_cap()
65 static u8 dw_pcie_ep_find_capability(struct dw_pcie *pci, u8 cap) in dw_pcie_ep_find_capability() argument
73 return __dw_pcie_ep_find_next_cap(pci, next_cap_ptr, cap); in dw_pcie_ep_find_capability()
[all …]
/kernel/linux/linux-4.19/drivers/scsi/fcoe/
Dfcoe_ctlr.c2 * Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
16 * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
18 * Maintained at www.Open-FCoE.org
94 * fcoe_ctlr_set_state() - Set and do debug printing for the new FIP state.
100 if (state == fip->state) in fcoe_ctlr_set_state()
102 if (fip->lp) in fcoe_ctlr_set_state()
103 LIBFCOE_FIP_DBG(fip, "state %s -> %s\n", in fcoe_ctlr_set_state()
104 fcoe_ctlr_state(fip->state), fcoe_ctlr_state(state)); in fcoe_ctlr_set_state()
105 fip->state = state; in fcoe_ctlr_set_state()
109 * fcoe_ctlr_mtu_valid() - Check if a FCF's MTU is valid
[all …]

12345678910>>...14