| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
| D | zr36016.c | 1 // 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 …]
|
| D | zr36050.c | 1 // 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 …]
|
| D | zr36060.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/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 - 2022 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 …]
|
| D | mlme.c | 1 // 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 - 2023 Intel Corporation 29 #include "driver-ops.h" 100 struct ieee80211_eht_operation_info *info = (void *)eht_oper->optional; in ieee80211_extract_dis_subch_bmap() 107 if (!(eht_oper->params & IEEE80211_EHT_OPER_INFO_PRESENT) || in ieee80211_extract_dis_subch_bmap() 108 !(eht_oper->params & in ieee80211_extract_dis_subch_bmap() [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-2023 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 9 * Copyright (C) 2019, 2021-2023 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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 */
|
| /kernel/linux/linux-5.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 */
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | env.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #include "bpf-event.h" 20 #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() 37 __u32 prog_id = info_node->info_linear->info.id; in __perf_env__insert_bpf_prog_info() 42 p = &env->bpf_progs.infos.rb_node; in __perf_env__insert_bpf_prog_info() 47 if (prog_id < node->info_linear->info.id) { in __perf_env__insert_bpf_prog_info() 48 p = &(*p)->rb_left; in __perf_env__insert_bpf_prog_info() 49 } else if (prog_id > node->info_linear->info.id) { in __perf_env__insert_bpf_prog_info() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
| D | mptcp_connect.c | 1 // SPDX-License-Identifier: GPL-2.0 111 fprintf(stderr, "Usage: mptcp_connect [-6] [-c cmsg] [-f offset] [-i file] [-I num] [-j] [-l] " in die_usage() 112 "[-m mode] [-M mark] [-o option] [-p port] [-P mode] [-r num] [-R num] " in die_usage() 113 "[-s MPTCP|TCP] [-S num] [-t num] [-T num] [-w sec] connect_address\n"); in die_usage() 114 fprintf(stderr, "\t-6 use ipv6\n"); in die_usage() 115 fprintf(stderr, "\t-c cmsg -- test cmsg type <cmsg>\n"); in die_usage() 116 fprintf(stderr, "\t-f offset -- stop the I/O after receiving and sending the specified amount " in die_usage() 119 "all the local data as been sent, thus toleration errors on write and EPIPE signals\n"); in die_usage() 120 fprintf(stderr, "\t-i file -- read the data to send from the given file instead of stdin"); in die_usage() 121 fprintf(stderr, "\t-I num -- repeat the transfer 'num' times. In listen mode accepts num " in die_usage() [all …]
|