/linux/Documentation/devicetree/bindings/net/ |
H A D | faraday,ftgmac100.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Po-Yu Chuang <ratbert@faraday-tech.com> 15 - const: faraday,ftgmac100 16 - items: 17 - enum: 18 - aspeed,ast2400-mac 19 - aspeed,ast2500-mac 20 - aspeed,ast2600-mac [all …]
|
/linux/include/uapi/linux/ |
H A D | ncsi.h | 2 * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018. 14 * enum ncsi_nl_commands - supported NCSI commands 19 * specific package and its channels - otherwise a dump request returns 26 * @NCSI_CMD_SEND_CMD: send NC-SI command to network card. 47 NCSI_CMD_MAX = __NCSI_CMD_AFTER_LAST - 1 51 * enum ncsi_nl_attrs - General NCSI netlink attributes 59 * @NCSI_ATTR_MULTI_FLAG: flag to signal that multi-mode should be enabled with 61 * @NCSI_ATTR_PACKAGE_MASK: 32-bit mask of allowed packages. 62 * @NCSI_ATTR_CHANNEL_MASK: 32-bit mask of allowed channels. 77 NCSI_ATTR_MAX = __NCSI_ATTR_AFTER_LAST - 1 [all …]
|
/linux/fs/unicode/ |
H A D | mkutf8data.c | 16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 30 /* Default names of the in- and output files. */ 65 /* ------------------------------------------------------------------ */ 80 #define UNICODE_MAJ_MAX ((unsigned short)-1) 81 #define UNICODE_MIN_MAX ((unsigned char)-1) 82 #define UNICODE_REV_MAX ((unsigned char)-1) 106 /* ------------------------------------------------------------------ */ 111 * A compact binary tree, used to decode UTF-8 characters. 116 * NEXTBYTE - flag - advance to next byte if set 117 * BITNUM - 3 bit field - the bit number to tested [all …]
|
/linux/net/ncsi/ |
H A D | ncsi-cmd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include "ncsi-pkt.h" 44 h->mc_id = 0; in ncsi_cmd_build_header() 45 h->revision = NCSI_PKT_REVISION; in ncsi_cmd_build_header() 46 h->reserved = 0; in ncsi_cmd_build_header() 47 h->id = nca->id; in ncsi_cmd_build_header() 48 h->type = nca->type; in ncsi_cmd_build_header() 49 h->channel = NCSI_TO_CHANNEL(nca->package, in ncsi_cmd_build_header() 50 nca->channel); in ncsi_cmd_build_header() 51 h->length = htons(nca->payload); in ncsi_cmd_build_header() [all …]
|
/linux/drivers/block/drbd/ |
H A D | drbd_worker.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 54 device = bio->bi_private; in drbd_md_endio() 55 device->md_io.error = blk_status_to_errno(bio->bi_status); in drbd_md_endio() 58 if (device->ldev) in drbd_md_endio() 65 * drbd_md_put_buffer() may allow us to finally try and re-attach. in drbd_md_endio() 71 * ASSERT(atomic_read(&device->md_io_in_use) == 1) there. in drbd_md_endio() 74 device->md_io.done = 1; in drbd_md_endio() [all …]
|
/linux/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * (C) Copyright 2009-2011 Faraday Technology 6 * Po-Yu Chuang <ratbert@faraday-tech.com> 13 #include <linux/dma-mapping.h> 55 /* For NC-SI to register a fixed-link phy device */ 129 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() 133 iowrite32(maccr, priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 135 priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 139 maccr = ioread32(priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 147 return -EIO; in ftgmac100_reset_mac() [all …]
|
/linux/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 64 {"T580-Dbg 10G", "Chelsio T580-Dbg 10G [FCoE]"}, 65 {"T520-CR 10G", "Chelsio T520-CR 10G [FCoE]"}, 66 {"T522-CR 10G/1G", "Chelsio T522-CR 10G/1G [FCoE]"}, 67 {"T540-CR 10G", "Chelsio T540-CR 10G [FCoE]"}, 68 {"T520-BCH 10G", "Chelsio T520-BCH 10G [FCoE]"}, 69 {"T540-BCH 10G", "Chelsio T540-BCH 10G [FCoE]"}, 70 {"T540-CH 10G", "Chelsio T540-CH 10G [FCoE]"}, [all …]
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | regd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 19 const struct rtw_regd *__r = &__d->regd; \ 23 __r->regulatory->alpha2[0], \ 24 __r->regulatory->alpha2[1], \ 25 __r->regulatory->txpwr_regd_2g, \ 26 __r->regulatory->txpwr_regd_5g, \ 27 __r->dfs_region); \ 192 COUNTRY_REGD_ENT("NC", RTW_REGD_ETSI, RTW_REGD_ETSI), 229 COUNTRY_REGD_ENT("SI", RTW_REGD_ETSI, RTW_REGD_ETSI), [all …]
|
/linux/drivers/staging/gpib/lpvo_usb_gpib/ |
H A D | lpvo_usb_gpib.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * of Florence, Italy) to support in linux-gpib the open usb-gpib adapter * 6 * implemented at the University of Ljubljana (lpvo.fe.uni-lj.si/gpib) * 44 * in the following table with proper <Vendor-id>, <Product-id>. 48 * and /usr/local/etc/udev/rules.d/99-lpvo_usb_gpib.rules. 78 dev_dbg(board->gpib_dev, format, ## __VA_ARGS__); } \ 85 /* standard and extended command sets of the usb-gpib adapter */ 151 #define GPIB_DEV (((struct usb_gpib_priv *)board->private_data)->dev) 155 DIA_LOG(2, "# - buffer_length %d\n", board->buffer_length); in show_status() 156 DIA_LOG(2, "# - status %lx\n", board->status); in show_status() [all …]
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | regd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 73 COUNTRY_REGD("SI", RTW89_ETSI, RTW89_ETSI, RTW89_ETSI, 0x2), 224 COUNTRY_REGD("NC", RTW89_ETSI, RTW89_ETSI, RTW89_NA, 0x0), 298 "SI", 310 struct rtw89_regulatory_info *regulatory = &rtwdev->regulatory; in rtw89_regd_find_reg_by_name() 311 const struct rtw89_regd_ctrl *regd_ctrl = ®ulatory->ctrl; in rtw89_regd_find_reg_by_name() 314 for (i = 0; i < regd_ctrl->nr; i++) { in rtw89_regd_find_reg_by_name() 315 if (!memcmp(regd_ctrl->map[i].alpha2, alpha2, 2)) in rtw89_regd_find_reg_by_name() 316 return ®d_ctrl->map[i]; in rtw89_regd_find_reg_by_name() [all …]
|
/linux/drivers/eisa/ |
H A D | eisa.ids | 6 # Marc Zyngier <maz@wild-wind.fr.eu.org> 10 ABP0510 "Advansys ABP-510 ISA SCSI Host Adapter" 11 ABP0540 "Advansys ABP-540/542 ISA SCSI Host Adapter" 12 ABP7401 "AdvanSys ABP-740/742 EISA Single Channel SCSI Host Adapter" 13 ABP7501 "AdvanSys ABP-750/752 EISA Dual Channel SCSI Host Adapter" 14 ACC1200 "ACCTON EtherCombo-32 Ethernet Adapter" 15 ACC120A "ACCTON EtherCombo-32 Ethernet Adapter" 25 ACE7010 "ACME Multi-Function Board" 39 ACR1711 "AcerFrame 1000 486/33 SYSTEM-2" 41 ACR3211 "AcerFrame 3000MP 486 SYSTEM-1" [all …]
|
/linux/include/uapi/drm/ |
H A D | amdgpu_drm.h | 1 /* amdgpu_drm.h -- Public header for the amdgpu driver -*- linux-c -*- 90 * GPU's virtual address space via gart. Gart memory linearizes non-contiguous 97 * %AMDGPU_GEM_DOMAIN_GDS Global on-chip data storage used to share data 143 * for the second page onward should be set to NC [all...] |
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_hw.c | 4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 43 * t4_wait_op_done_val - wait until an operation is completed 46 * @mask: a single-bit field within @reg that indicates completion 55 * operation completes and -EAGAIN otherwise. 68 if (--attempts == 0) in t4_wait_op_done_val() 69 return -EAGAIN; in t4_wait_op_done_val() 83 * t4_set_reg_field - set a register field to a value 102 * t4_read_indirect - read indirectly addressed registers [all …]
|
H A D | cxgb4_debugfs.c | 4 * Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 57 pos -= tb->skip_first; in seq_tab_get_idx() 58 return pos >= tb->rows ? NULL : &tb->data[pos * tb->width]; in seq_tab_get_idx() 63 struct seq_tab *tb = seq->private; in seq_tab_start() 65 if (tb->skip_first && *pos == 0) in seq_tab_start() 73 v = seq_tab_get_idx(seq->private, *pos + 1); in seq_tab_next() 84 const struct seq_tab *tb = seq->private; in seq_tab_show() 86 return tb->show(seq, v, ((char *)v - tb->data) / tb->width); in seq_tab_show() [all …]
|
/linux/include/linux/ |
H A D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 50 * enum ethtool_phys_id_state - indicator state for physical identification 66 ETH_RSS_HASH_TOP_BIT, /* Configurable RSS hash function - Toeplitz */ 67 ETH_RSS_HASH_XOR_BIT, /* Configurable RSS hash function - Xor */ 68 ETH_RSS_HASH_CRC32_BIT, /* Configurable RSS hash function - Crc32 */ 78 * struct kernel_ethtool_ringparam - RX/TX ring configuration 103 * enum ethtool_supported_ring_param - indicator caps for setting ring params 110 * @ETHTOOL_RING_USE_HDS_THRS: capture for setting header-data-split-thresh 151 * In a simpler world it should be equal to netdev->carrier_down_count 153 * actually take the physical link down, not to mention NC-SI which, [all …]
|
/linux/fs/nfsd/ |
H A D | nfs4state.c | 107 * A waitqueue for all in-progress 4.0 CLOSE operations that are waiting for 141 rc = -ENOMEM; in nfsd4_create_laundry_wq() 152 return ses->se_dead; in is_session_dead() 157 if (atomic_read(&ses->se_ref) > ref_held_by_me) in mark_session_dead_locked() 159 ses->se_dead = true; in mark_session_dead_locked() 165 return clp->cl_time == 0; in is_client_expired() 171 if (clp->cl_state != NFSD4_ACTIVE) in nfsd4_dec_courtesy_client_count() 172 atomic_add_unless(&nn->nfsd_courtesy_clients, -1, 0); in nfsd4_dec_courtesy_client_count() 177 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked() 179 lockdep_assert_held(&nn->client_lock); in get_client_locked() [all …]
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_hsi.h | 3 * Copyright (c) 2007-2013 Broadcom Corporation 125 /* Up to 16 bytes of NULL-terminated string */ 145 (if multiple found, priority order is: NC-SI, UMP, IPMI) */ 150 /* Use SPIO4 as an arbiter between: 0-NC_SI, 1-IPMI 151 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */ 153 /* Use SPIO4 as an arbiter between: 0-UMP, 1-IPMI 154 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */ 156 /* Use SPIO4 as an arbiter between: 0-NC-SI, 1-UMP 157 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */ 409 /* Default values: 2P-64, 4P-32 */ [all …]
|
/linux/scripts/ |
H A D | checkpatch.pl | 2 # SPDX-License-Identifier: GPL-2.0 7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com> 8 # (c) 2010-2018 Joe Perches <joe@perches.com> 69 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst"; 72 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE 74 my $git_command ='export LANGUAGE=en_US.UTF-8; git'; 88 -q, --quiet quiet 89 -v, --verbose verbose mode 90 --no-tree run without a kernel tree 91 --no-signoff do not check for 'Signed-off-by' line [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|