| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | ftgmac100.txt | 4 - compatible: "faraday,ftgmac100" 10 - "aspeed,ast2400-mac" 11 - "aspeed,ast2500-mac" 12 - "aspeed,ast2600-mac" 14 - reg: Address and length of the register set for the device 15 - interrupts: Should contain ethernet controller interrupt 18 - phy-mode: See ethernet.txt file in the same directory. If the property is 21 - use-ncsi: Use the NC-SI stack instead of an MDIO PHY. Currently assumes 22 rmii (100bT) but kept as a separate property in case NC-SI grows support 24 - no-hw-checksum: Used to disable HW checksum support. Here for backward [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | faraday,ftgmac100.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: ethernet-controller.yaml# 13 - Po-Yu Chuang <ratbert@faraday-tech.com> 18 - const: faraday,ftgmac100 19 - items: 20 - enum: 21 - aspeed,ast2400-mac 22 - aspeed,ast2500-mac [all …]
|
| /kernel/linux/linux-6.6/fs/unicode/ |
| D | utf8-norm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 int i = um->tables->utf8agetab_size - 1; in utf8version_is_supported() 13 while (i >= 0 && um->tables->utf8agetab[i] != 0) { in utf8version_is_supported() 14 if (version == um->tables->utf8agetab[i]) in utf8version_is_supported() 16 i--; in utf8version_is_supported() 22 * UTF-8 valid ranges. 24 * The UTF-8 encoding spreads the bits of a 32bit word over several 35 * There is an additional requirement on UTF-8, in that only the 47 * Actual unicode characters are limited to the range 0x0 - 0x10FFFF, 51 * 0 - 0x7F: 0 - 0x7F [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/fs/nilfs2/ |
| D | sufile.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * sufile.c - NILFS segment usage file. 5 * Copyright (C) 2006-2008 Nippon Telegraph and Telephone Corporation. 22 * struct nilfs_sufile_info - on-memory private data of sufile 23 * @mi: on-memory private data of metadata file 43 return NILFS_MDT(sufile)->mi_entries_per_block; in nilfs_sufile_segment_usages_per_block() 49 __u64 t = segnum + NILFS_MDT(sufile)->mi_first_entry_offset; in nilfs_sufile_get_blkoff() 58 __u64 t = segnum + NILFS_MDT(sufile)->mi_first_entry_offset; in nilfs_sufile_get_offset() 68 nilfs_sufile_segment_usages_per_block(sufile) - in nilfs_sufile_segment_usages_in_block() 70 max - curr + 1); in nilfs_sufile_segment_usages_in_block() [all …]
|
| /kernel/linux/linux-6.6/fs/nilfs2/ |
| D | sufile.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2006-2008 Nippon Telegraph and Telephone Corporation. 22 * struct nilfs_sufile_info - on-memory private data of sufile 23 * @mi: on-memory private data of metadata file 43 return NILFS_MDT(sufile)->mi_entries_per_block; in nilfs_sufile_segment_usages_per_block() 49 __u64 t = segnum + NILFS_MDT(sufile)->mi_first_entry_offset; in nilfs_sufile_get_blkoff() 58 __u64 t = segnum + NILFS_MDT(sufile)->mi_first_entry_offset; in nilfs_sufile_get_offset() 68 nilfs_sufile_segment_usages_per_block(sufile) - in nilfs_sufile_segment_usages_in_block() 70 max - curr + 1); in nilfs_sufile_segment_usages_in_block() 79 NILFS_MDT(sufile)->mi_entry_size; in nilfs_sufile_block_get_segment_usage() [all …]
|
| /kernel/linux/linux-5.10/fs/unicode/ |
| D | utf8-norm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 int i = ARRAY_SIZE(utf8agetab) - 1; in utf8version_is_supported() 26 i--; in utf8version_is_supported() 39 * UTF-8 valid ranges. 41 * The UTF-8 encoding spreads the bits of a 32bit word over several 52 * There is an additional requirement on UTF-8, in that only the 64 * Actual unicode characters are limited to the range 0x0 - 0x10FFFF, 68 * 0 - 0x7F: 0 - 0x7F 69 * 0x80 - 0x7FF: 0xC2 0x80 - 0xDF 0xBF 70 * 0x800 - 0xFFFF: 0xE0 0xA0 0x80 - 0xEF 0xBF 0xBF [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| 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 …]
|
| /kernel/linux/linux-5.10/net/ncsi/ |
| 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 …]
|
| /kernel/linux/linux-6.6/net/ncsi/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/block/drbd/ |
| D | drbd_nl.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>. 100 int err = -EMSGSIZE; in drbd_msg_put_info() 123 int err = -EMSGSIZE; in drbd_msg_sprintf_info() 140 txt->nla_len = nla_attr_size(len+1); in drbd_msg_sprintf_info() 141 nlmsg_trim(skb, (char*)txt + NLA_ALIGN(txt->nla_len)); in drbd_msg_sprintf_info() 148 * and per-family private info->pointers. 163 const u8 cmd = info->genlhdr->cmd; in drbd_adm_prepare() [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/block/drbd/ |
| D | drbd_worker.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 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 …]
|
| D | drbd_nl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 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>. 100 int err = -EMSGSIZE; in drbd_msg_put_info() 123 int err = -EMSGSIZE; in drbd_msg_sprintf_info() 140 txt->nla_len = nla_attr_size(len+1); in drbd_msg_sprintf_info() 141 nlmsg_trim(skb, (char*)txt + NLA_ALIGN(txt->nla_len)); in drbd_msg_sprintf_info() 148 * and per-family private info->pointers. 162 struct drbd_genlmsghdr *d_in = info->userhdr; in drbd_adm_prepare() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
| D | regd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2018-2019 Realtek Corporation 178 COUNTRY_CHPLAN_ENT("NC", RTW_CHPLAN_WORLD_ETSI1, RTW_REGD_ETSI), 214 COUNTRY_CHPLAN_ENT("SI", RTW_CHPLAN_WORLD_ETSI1, RTW_REGD_ETSI), 272 if (!wiphy->bands[band]) in rtw_regd_apply_beaconing_flags() 275 sband = wiphy->bands[band]; in rtw_regd_apply_beaconing_flags() 276 for (i = 0; i < sband->n_channels; i++) { in rtw_regd_apply_beaconing_flags() 277 ch = &sband->channels[i]; in rtw_regd_apply_beaconing_flags() 280 MHZ_TO_KHZ(ch->center_freq)); in rtw_regd_apply_beaconing_flags() 284 ch->flags &= ~IEEE80211_CHAN_DISABLED; in rtw_regd_apply_beaconing_flags() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/scsi/csiostor/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/scsi/csiostor/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
| D | regd.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 64 COUNTRY_REGD("SI", RTW89_ETSI, RTW89_ETSI, RTW89_ETSI), 215 COUNTRY_REGD("NC", RTW89_ETSI, RTW89_ETSI, RTW89_NA), 282 ##_argv, __r->alpha2[0], __r->alpha2[1], \ 283 __r->txpwr_regd[RTW89_BAND_2G], \ 284 __r->txpwr_regd[RTW89_BAND_5G], \ 285 __r->txpwr_regd[RTW89_BAND_6G]); \ 291 const struct rtw89_chip_info *chip = rtwdev->chip; in rtw89_regd_setup_unii4() 292 bool regd_allow_unii_4 = chip->support_unii4; in rtw89_regd_setup_unii4() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/faraday/ |
| 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> 12 #include <linux/dma-mapping.h> 116 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() 120 iowrite32(maccr, priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 122 priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 126 maccr = ioread32(priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 134 return -EIO; in ftgmac100_reset_mac() 141 switch (priv->cur_speed) { in ftgmac100_reset_and_config_mac() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/faraday/ |
| 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> 12 #include <linux/dma-mapping.h> 116 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() 120 iowrite32(maccr, priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 122 priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 126 maccr = ioread32(priv->base + FTGMAC100_OFFSET_MACCR); in ftgmac100_reset_mac() 134 return -EIO; in ftgmac100_reset_mac() 141 switch (priv->cur_speed) { in ftgmac100_reset_and_config_mac() [all …]
|
| /kernel/linux/linux-5.10/include/uapi/drm/ |
| D | amdgpu_drm.h | 1 /* amdgpu_drm.h -- Public header for the amdgpu driver -*- linux-c -*- 82 * GPU's virtual address space via gart. Gart memory linearizes non-contiguous 89 * %AMDGPU_GEM_DOMAIN_GDS Global on-chip data storage used to share data 128 * for the second page onward should be set to NC. It should never 228 #define AMDGPU_CTX_PRIORITY_UNSET -2048 229 #define AMDGPU_CTX_PRIORITY_VERY_LOW -1023 230 #define AMDGPU_CTX_PRIORITY_LOW -512 326 /* SI-CI-VI: */ 410 /** BO status: 0 - BO is idle, 1 - BO is busy */ 436 /** CS status: 0 - CS completed, 1 - CS still busy */ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/drm/ |
| D | amdgpu_drm.h | 1 /* amdgpu_drm.h -- Public header for the amdgpu driver -*- linux-c -*- 82 * GPU's virtual address space via gart. Gart memory linearizes non-contiguous 89 * %AMDGPU_GEM_DOMAIN_GDS Global on-chip data storage used to share data 131 * for the second page onward should be set to NC. It should never 257 #define AMDGPU_CTX_PRIORITY_UNSET -2048 258 #define AMDGPU_CTX_PRIORITY_VERY_LOW -1023 259 #define AMDGPU_CTX_PRIORITY_LOW -512 368 /* SI-CI-VI: */ 452 /** BO status: 0 - BO is idle, 1 - BO is busy */ 478 /** CS status: 0 - CS completed, 1 - CS still busy */ [all …]
|