/linux/arch/sparc/include/uapi/asm/ |
H A D | asi.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 37 /* SPARCstation-5: only 6 bits are decoded. */ 69 /* Block-copy operations are available only on certain V8 cpus. */ 79 /* Block-fill operations are available on certain V8 cpus */ 83 * the available ASI's for physical ram pass-through, but I don't have 89 #define ASI_M_VMEUS 0x2A /* VME user 16-bit access */ 90 #define ASI_M_VMEPS 0x2B /* VME priv 16-bit access */ 91 #define ASI_M_VMEUT 0x2C /* VME user 32-bit access */ 92 #define ASI_M_VMEPT 0x2D /* VME priv 32-bit access */ 137 #define ASI_PL 0x88 /* Primary, implicit, l-endian */ [all …]
|
/linux/arch/s390/hypfs/ |
H A D | hypfs_diag0c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Diag 0C implementation 12 #include <asm/diag.h> 27 * Allocate buffer and store diag 0c data 41 /* Note: Diag 0c needs 8 byte alignment and real storage */ in diag0c_store() 49 diag0c_data->entry[i].cpu = cpu; in diag0c_store() 50 cpu_vec[cpu] = &diag0c_data->entry[i++]; in diag0c_store() 63 return ERR_PTR(-ENOMEM); in diag0c_store() 67 * Hypfs DBFS callback: Free diag 0c data 75 * Hypfs DBFS callback: Create diag 0c data [all …]
|
H A D | hypfs_diag.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hypervisor filesystem for Linux on s390. Diag 204 and 224 19 #include <asm/diag.h> 27 static enum diag204_format diag204_info_type; /* used diag 204 data format */ 44 * For the old diag subcode 4 with simple data format we have to use real 68 return ERR_PTR(-EOPNOTSUPP); in diag204_get_buffer() 74 return ERR_PTR(-ENOMEM); in diag204_get_buffer() 82 * - subcode 4 + simple data format (only one page) 83 * - subcode 4-6 + extended data format 84 * - subcode 4-7 + extended data format [all …]
|
H A D | hypfs_vm.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <asm/diag.h> 40 rc = -1; in diag2fc() 44 " diag %0,%1,0x2fc\n" in diag2fc() 49 if ((rc != 0 ) && (rc != -2)) in diag2fc() 52 return -residual_cnt; in diag2fc() 56 * Allocate buffer for "query" and store diag 2fc at "offset" 66 return ERR_PTR(-EACCES); in diag2fc_store() 69 return ERR_PTR(-ENOMEM); in diag2fc_store() 86 u16 version; /* Version of header */ member [all …]
|
/linux/arch/s390/include/asm/ |
H A D | appldata.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <asm/diag.h> 23 u16 diag; member 38 u16 version_nr; /* version */ 52 return -EOPNOTSUPP; in appldata_asm() 53 parm_list->diag = 0xdc; in appldata_asm() 54 parm_list->function = fn; in appldata_asm() 55 parm_list->parlist_length = sizeof(*parm_list); in appldata_asm() 56 parm_list->buffer_length = length; in appldata_asm() 57 parm_list->product_id_addr = virt_to_phys(id); in appldata_asm() [all …]
|
H A D | diag.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <asm/asm-extable.h> 64 end_addr = pfn_to_phys(start_pfn + num_pfn - 1); in diag10_range() 68 "0: diag %0,%1,0x10\n" in diag10_range() 108 /* bit is set in flags, when physical cpu info is included in diag 204 data */ 110 #define DIAG204_LPAR_NAME_LEN 8 /* lpar name len in diag 204 data */ 113 /* diag 204 subcodes */ 125 /* The two available diag 204 data formats */ 284 u32 version; member 319 u32 version; member [all …]
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_diag.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * zfcp_diag_adapter_setup() - Setup storage for adapter diagnostics. 26 * Creates the data-structures to store the diagnostics for an adapter. This 27 * overwrites whatever was stored before at &zfcp_adapter->diagnostics! 30 * * 0 - Everyting is OK 31 * * -ENOMEM - Could not allocate all/parts of the data-structures; 32 * &zfcp_adapter->diagnostics remains unchanged 36 struct zfcp_diag_adapter *diag; in zfcp_diag_adapter_setup() local 39 diag = kzalloc(sizeof(*diag), GFP_KERNEL); in zfcp_diag_adapter_setup() 40 if (diag == NULL) in zfcp_diag_adapter_setup() [all …]
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_ctl.h | 6 * Copyright (C) 2012-2014 LSI Corporation 7 * Copyright (C) 2013-2014 Avago Technologies 8 * (mailto: MPT-FusionLinux.pdl@avagotech.com) 12 * as published by the Free Software Foundation; either version 2 13 * of the License, or (at your option) any later version. 23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 42 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 88 /* diag buffer support */ 113 * struct mpt3_ioctl_header - main header structure 114 * @ioc_number - IOC unit number [all …]
|
/linux/arch/s390/kernel/ |
H A D | text_amode31.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <asm/asm-extable.h> 15 * Simplified version of expoline thunk. The normal thunks can not be used here, 18 * affects a few functions that are not performance-relevant. 34 lhi %r5,-EIO 36 diag %r1,%r2,0x14 52 lhi %r2,-1 54 diag %r1,%r0,0x210 71 diag %r2,%r4,0x8c 82 lghi %r5,-EOPNOTSUPP [all …]
|
H A D | diag.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <asm/asm-extable.h> 16 #include <asm/diag.h> 17 #include <asm/trace/diag.h> 43 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" }, 45 [DIAG_STAT_X224] = { .code = 0x224, .name = "EBCDIC-Name Table" }, 47 [DIAG_STAT_X258] = { .code = 0x258, .name = "Page-Reference Services" }, 52 [DIAG_STAT_X304] = { .code = 0x304, .name = "Partition-Resource Service" }, 53 [DIAG_STAT_X308] = { .code = 0x308, .name = "List-Directed IPL" }, 54 [DIAG_STAT_X318] = { .code = 0x318, .name = "CP Name and Version Codes" }, [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/3com/ |
H A D | vortex.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 Don is no longer the prime maintainer of this version of the driver. 20 - Andrew Morton 21 - Netdev mailing list <netdev@vger.kernel.org> 22 - Linux kernel mailing list <linux-kernel@vger.kernel.org> 28 Since kernel 2.3.99-pre6, this driver incorporates the support for the 29 3c575-series Cardbus cards which used to be handled by 3c575_cb.c. 33 - 3c590 Vortex 10Mbps 34 - 3c592 EISA 10Mbps Demon/Vortex 35 - 3c597 EISA Fast Demon/Vortex [all …]
|
/linux/net/tipc/ |
H A D | diag.c | 2 * net/tipc/diag.c: TIPC socket diag 20 * GNU General Public License ("GPL") version 2 as published by the Free 53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh); in __tipc_add_sock_diag() 60 return -EMSGSIZE; in __tipc_add_sock_diag() 62 err = tipc_sk_fill_sock_diag(skb, cb, tsk, req->tidiag_states, in __tipc_add_sock_diag() 80 struct net *net = sock_net(skb->sk); in tipc_sock_diag_handler_dump() 83 return -EINVAL; in tipc_sock_diag_handler_dump() 85 if (h->nlmsg_flags & NLM_F_DUMP) { in tipc_sock_diag_handler_dump() 91 netlink_dump_start(net->diag_nlsk, skb, h, &c); in tipc_sock_diag_handler_dump() 94 return -EOPNOTSUPP; in tipc_sock_diag_handler_dump()
|
/linux/include/uapi/scsi/ |
H A D | scsi_bsg_mpi3mr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later WITH Linux-syscall-note */ 5 * Copyright (C) 2017-2022 Broadcom Inc. 6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com) 87 * struct mpi3_driver_info_layout - Information about driver 93 * @driver_version: Driver version 109 * struct mpi3mr_bsg_in_adpinfo - Adapter information request 123 * @app_intfc_ver: version of the application interface definition 127 * @driver_info: Driver Information (Version/Name) 150 * struct mpi3mr_bsg_adp_reset - Adapter reset request 164 * struct mpi3mr_change_count - Topology change count [all …]
|
/linux/drivers/pcmcia/ |
H A D | ti113x.h | 5 * Version 1.1 (the "License"); you may not use this file except in 19 * terms of the GNU General Public License version 2 (the "GPL"), in which 21 * above. If you wish to allow the use of your version of this file 23 * your version of this file under the MPL, indicate your decision by 26 * provisions above, a recipient may use your version of this file 34 /* Register definitions for TI 113X PCI-to-CardBus bridges */ 166 #define ti_sysctl(socket) ((socket)->private[0]) 167 #define ti_cardctl(socket) ((socket)->private[1]) 168 #define ti_devctl(socket) ((socket)->private[2]) 169 #define ti_diag(socket) ((socket)->private[3]) [all …]
|
/linux/tools/testing/selftests/kvm/s390x/ |
H A D | ucontrol_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 .version = _LINUX_CAPABILITY_VERSION_3, in require_ucontrol_admin() 43 TEST_REQUIRE((data->effective & CAP_TO_MASK(CAP_SYS_ADMIN)) > 0); 60 " diag 0,0,0x44\n" 77 " diag 0,0,0x44\n" 93 " diag 0,0,0x44\n" in FIXTURE_SETUP() 99 " diag in FIXTURE_SETUP() [all...] |
/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | onie,tlv-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 infrastructure shall provide a non-volatile memory with a table whose the 17 number, hardware version, mac addresses, etc). The underlying device type 26 const: onie,tlv-layout 28 product-name: 32 part-number: [all …]
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 #include <asm/pci-bridge.h> 24 #include <asm/ppc-pci.h> 25 #include <asm/pnv-pci.h> 47 return -ENXIO; in pnv_pci_get_slot_id() 56 if (!of_device_is_compatible(node, "ibm,ioda2-phb") && in pnv_pci_get_slot_id() 57 !of_device_is_compatible(node, "ibm,ioda3-phb") && in pnv_pci_get_slot_id() 58 !of_device_is_compatible(node, "ibm,ioda2-npu2-opencapi-phb")) { in pnv_pci_get_slot_id() 63 ret = of_property_read_u64(node, "ibm,opal-phbid", &phbid); in pnv_pci_get_slot_id() 66 return -ENXIO; in pnv_pci_get_slot_id() [all …]
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_fw_hdr.h | 1 /* Broadcom NetXtreme-C/E network driver. 3 * Copyright (c) 2014-2016 Broadcom Corporation 17 DEVICE_5702_3_4_FAMILY, /* 0 - Denali, Vinson, K2 */ 18 DEVICE_5705_FAMILY, /* 1 - Bachelor */ 19 DEVICE_SHASTA_FAMILY, /* 2 - 5751 */ 20 DEVICE_5706_FAMILY, /* 3 - Teton */ 21 DEVICE_5714_FAMILY, /* 4 - Hamilton */ 22 DEVICE_STANFORD_FAMILY, /* 5 - 5755 */ 23 DEVICE_STANFORD_ME_FAMILY, /* 6 - 5756 */ 24 DEVICE_SOLEDAD_FAMILY, /* 7 - 5761[E] */ [all …]
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 34 BFA_MFG_TYPE_LIGHTNING_P0 = 902, /* Lightning mezz card - old */ 102 * All numerical fields are in big-endian format. 105 u8 version; /* vpd data version */ member 125 BFA_STATUS_ETIMER = 5, /* Timer expired - Retry, if persists, 129 BFA_STATUS_SFP_UNSUPP = 10, /* Unsupported SFP - Replace SFP */ 131 BFA_STATUS_DATACORRUPTED = 12, /* Diag returned data corrupted */ [all …]
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_diag.c | 3 * Copyright (c) 2006 - 2012 QLogic Corporation. All rights reserved. 8 * General Public License (GPL) Version 2, available from the file 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 60 * Each client that opens the diag device must read then write 85 client_pool = dc->next; in get_client() 91 dc->next = NULL; in get_client() 92 dc->dd = dd; in get_client() 93 dc->pid = current->pid; in get_client() 94 dc->state = OPENED; in get_client() [all …]
|
/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_app.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2017-2023 Broadcom Inc. 6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com) 11 #include <linux/bsg-lib.h> 20 * Return: 0 on success, non-zero on failure. 24 struct diag_buffer_desc *diag_buffer = &mrioc->diag_buffers[0]; in mpi3mr_alloc_trace_buffer() 26 diag_buffer->addr = dma_alloc_coherent(&mrioc->pdev->dev, in mpi3mr_alloc_trace_buffer() 27 trace_size, &diag_buffer->dma_addr, GFP_KERNEL); in mpi3mr_alloc_trace_buffer() 28 if (diag_buffer->addr) { in mpi3mr_alloc_trace_buffer() 29 dprint_init(mrioc, "trace diag buffer is allocated successfully\n"); in mpi3mr_alloc_trace_buffer() [all …]
|
H A D | mpi3mr_fw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2017-2023 Broadcom Inc. 6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com) 11 #include <linux/io-64-nonatomic-lo-hi.h> 23 MODULE_PARM_DESC(poll_queues, "Number of queues for io_uring poll mode. (Range 1 - 126)"); 46 pi = op_req_q->pi; in mpi3mr_check_req_qfull() 47 ci = READ_ONCE(op_req_q->ci); in mpi3mr_check_req_qfull() 48 max_entries = op_req_q->num_requests; in mpi3mr_check_req_qfull() 50 if ((ci == (pi + 1)) || ((!ci) && (pi == (max_entries - 1)))) in mpi3mr_check_req_qfull() 60 max_vectors = mrioc->intr_info_count; in mpi3mr_sync_irqs() [all …]
|
/linux/scripts/gcc-plugins/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 SEED=$$(cat $(filter-out FORCE,$^) </dev/null); \ 18 # No extra code is needed for single-file plugins. 19 # For multi-file plugins, use *-objs syntax to list the objects. 23 # foo-objs := foo.o foo2.o 25 always-y += $(GCC_PLUGIN) 27 GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin) 29 plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \ 30 -include $(srctree)/include/linux/compiler-version.h \ 31 -DPLUGIN_VERSION=$(call stringify,$(KERNELVERSION)) \ [all …]
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 7 * General Public License (GPL) Version 2, available from the file 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 61 #include <rdma/mlx4-abi.h> 64 #define DRV_VERSION "4.0-0" 95 int dmfs = dev->caps.steering_mode == MLX4_STEERING_MODE_DEVICE_MANAGED; in check_flow_steering_support() 104 (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_DMFS_IPOIB)) && in check_flow_steering_support() 106 (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_FS_EN)); in check_flow_steering_support() 134 if (dev->dev.parent != ibdev->ib_dev.dev.parent || in mlx4_ib_get_netdev() 135 dev->dev_port + 1 != port_num) in mlx4_ib_get_netdev() [all …]
|
/linux/drivers/bluetooth/ |
H A D | btusb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2005-2008 Marcel Holtmann <marcel@holtmann.org> 30 #define VERSION "0.8" macro 79 /* Apple-specific (Broadcom) devices */ 116 /* ALPS Modules with non-standard id */ 120 /* Ericsson with non-standard id */ 123 /* Canyon CN-BTU1 with HID interfaces */ 137 /* Foxconn - Hon Hai */ 141 /* Lite-On Technology - Broadcom based */ 149 /* ASUSTek Computer - Broadcom based */ [all …]
|