/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/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/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/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 | cpcmd.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * S390 version 20 #include <asm/diag.h> 30 " diag %[rx],%[ry],0x8\n" in diag8_noresponse() 47 " diag %[rx],%[ry],0x8\n" in diag8_response() 62 * - __cpcmd is unlocked and therefore not SMP-safe 100 return -ENOMEM; in cpcmd()
|
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> 42 [DIAG_STAT_X204] = { .code = 0x204, .name = "Logical-CPU Utilization" }, 44 [DIAG_STAT_X224] = { .code = 0x224, .name = "EBCDIC-Name Table" }, 46 [DIAG_STAT_X258] = { .code = 0x258, .name = "Page-Reference Services" }, 51 [DIAG_STAT_X304] = { .code = 0x304, .name = "Partition-Resource Service" }, 52 [DIAG_STAT_X308] = { .code = 0x308, .name = "List-Directed IPL" }, 53 [DIAG_STAT_X318] = { .code = 0x318, .name = "CP Name and Version Codes" }, [all …]
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_ioc.c | 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. 31 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->ioc_timer, \ 33 #define bfa_ioc_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->ioc_timer) 36 bfa_timer_begin((__ioc)->timer_mod, &(__ioc)->hb_timer, \ 38 #define bfa_hb_timer_stop(__ioc) bfa_timer_stop(&(__ioc)->hb_timer) 55 ((__ioc)->ioc_hwif->ioc_firmware_lock(__ioc)) 57 ((__ioc)->ioc_hwif->ioc_firmware_unlock(__ioc)) [all …]
|
H A D | bfa_ioc.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. 21 (sizeof(struct bfa_trc_mod_s) - \ 111 dm_ptr->mem_len = seg_sz; in bfa_mem_dma_setup() 113 list_add_tail(&dm_ptr->qe, &meminfo->dma_info.qe); in bfa_mem_dma_setup() 120 kva_ptr->mem_len = seg_sz; in bfa_mem_kva_setup() 122 list_add_tail(&kva_ptr->qe, &meminfo->kva_info.qe); in bfa_mem_kva_setup() 126 #define bfa_mem_dma_sptr(_mod, _i) (&(_mod)->dma_seg[(_i)]) [all …]
|
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/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/kernel/debug/kdb/ |
H A D | kdb_main.c | 8 * Copyright (C) 1999-2004 Silicon Graphics, Inc. All Rights Reserved. 71 int kdb_initial_cpu = -1; /* cpu number that owns kdb */ 135 * mechanisms in the kernel, so we use a very limited allocate-only 167 * the user on first-time debugger entry. 198 /* De-compose KDB_ENABLE_ALL if required */ in kdb_check_for_lockdown() 231 * kdbgetenv - This function will return the character string value of 262 * kdballocenv - This function is used to allocate bytes for 283 if ((KDB_ENVBUFSIZE - envbufsize) >= bytes) { in kdballocenv() 291 * kdbgetulenv - This function will return the value of an unsigned 292 * long-valued environment variable. [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 33 .version = _LINUX_CAPABILITY_VERSION_3, in require_ucontrol_admin() 39 TEST_REQUIRE((data->effective & CAP_TO_MASK(CAP_SYS_ADMIN)) > 0); in require_ucontrol_admin() 56 " diag 0,0,0x44\n" 86 self->kvm_fd = open_kvm_dev_path_or_exit(); in FIXTURE_SETUP() 87 self->vm_fd = ioctl(self->kvm_fd, KVM_CREATE_VM, KVM_VM_S390_UCONTROL); in FIXTURE_SETUP() 88 ASSERT_GE(self->vm_fd, 0); in FIXTURE_SETUP() 90 kvm_device_attr_get(self->vm_fd, KVM_S390_VM_CPU_MODEL, in FIXTURE_SETUP() 94 self->vcpu_fd = ioctl(self->vm_fd, KVM_CREATE_VCPU, 0); in FIXTURE_SETUP() 95 ASSERT_GE(self->vcpu_fd, 0); 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/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/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 …]
|