/linux/Documentation/devicetree/bindings/fsi/ |
H A D | fsi.txt | 4 The FSI bus is probe-able, so the OS is able to enumerate FSI slaves, and 6 nodes to probed engines. This allows for fsi engines to expose non-probeable 8 that is an I2C master - the I2C bus can be described by the device tree under 13 the fsi-master-* binding specifications. 18 fsi-master { 19 /* top-level of FSI bus topology, bound to an FSI master driver and 22 fsi-slave@<link,id> { 26 fsi-slave-engine@<addr> { 32 fsi-slave-engine@<addr> { 39 Note that since the bus is probe-able, some (or all) of the topology may [all …]
|
H A D | fsi-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/fsi/fsi-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eddie James <eajames@linux.ibm.com> 18 "#address-cells": 21 "#size-cells": 24 '#interrupt-cells': 27 bus-frequency: 31 interrupt-controller: true [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | regd.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 26 *scan on all world regulatory domains 29 REG_RULE(2412-10, 2462+10, 40, 0, 20, 0) 32 *We enable active scan on these a case 36 REG_RULE(2467-10, 2472+10, 40, 0, 20,\ 40 REG_RULE(2484-10, 2484+10, 40, 0, 20, \ 44 /* 5G chan 36 - chan 64*/ 46 REG_RULE(5150-10, 5350+10, 80, 0, 30, 0) 47 /* 5G chan 100 - chan 165*/ [all …]
|
/linux/drivers/scsi/ |
H A D | scsi_scan.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * made to it depending on device specific flags, compilation options, and 15 * For every id of every channel on the given host: 17 * Scan LUN 0; if the target responds to LUN 0 (even if there is no 23 * If target is SCSI-3 or up, issue a REPORT LUN, and scan 25 * sequentially scan LUNs up until some maximum is reached, 31 #include <linux/init.h> 71 * SCSI_SCAN_NO_RESPONSE: no valid response received from the target, this 74 * SCSI_SCAN_TARGET_PRESENT: target responded, but no device is available 75 * on the given LUN. [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | ibm-power9-dual.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #address-cells = <1>; 8 #size-cells = <1>; 9 chip-id = <0>; 17 compatible = "ibm,fsi-i2c-master"; 19 #address-cells = <1>; 20 #size-cells = <0>; 22 cfam0_i2c0: i2c-bus@0 { 26 cfam0_i2c1: i2c-bus@1 { 30 cfam0_i2c2: i2c-bus@2 { [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | rtasd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Communication to userspace based on kernel/printk.c 15 #include <linux/init.h> 40 static int surveillance_timeout = -1; 99 * There will be a unique identifier on the begin and end lines. 104 * -------------------------------------------------------- 105 * 0-7 (8) : rtas_error_log 106 * 8-47 (40) : extended info 107 * 48-51 (4) : vendor id 108 * 52-1023 (vendor specific) : location code and debug data [all …]
|
/linux/drivers/s390/crypto/ |
H A D | ap_bus.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 #include <linux/init.h> 51 int ap_domain_index = -1; /* Adjunct Processor Domain Index */ 59 MODULE_PARM_DESC(poll_thread, "Turn on/off poll thread, default is 0 (off)."); 71 MODULE_PARM_DESC(useirq, "Use interrupt if available, default is 1 (on)."); 78 /* Hashtable of all queue devices on the AP bus */ 89 /* # of bindings complete since init */ 110 static struct task_struct *ap_scan_bus_task; /* thread holding the scan mutex */ 158 * ap_airq_ptr() - Get the address of the adapter interrupt indicator 160 * Returns the address of the local-summary-indicator of the adapter [all …]
|
/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | console-badness.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Scan standard input for error messages, dumping any found to standard 7 # Usage: console-badness.sh 13 grep -E 'Badness|WARNING:|Warn|BUG|===========|BUG: KCSAN:|Call Trace:|Oops:|detected stalls on CPU… 14 grep -v 'ODEBUG: ' | 15 grep -v 'This means that this is a DEBUG kernel and it is' | 16 grep -v 'Warning: unable to open an initial console' | 17 grep -v 'Warning: Failed to add ttynull console. No stdin, stdout, and stderr.*the init process!' | 18 grep -v 'NOHZ tick-stop error: Non-RCU local softirq work is pending, handler'
|
/linux/drivers/firewire/ |
H A D | init_ohci1394_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * init_ohci1394_dma.c - Initializes physical DMA on all OHCI 1394 controllers 5 * Copyright (C) 2006-2007 Bernhard Kaindl <bk@suse.de> 7 * Derived from drivers/ieee1394/ohci1394.c and arch/x86/kernel/early-quirks.c 9 * - scan the PCI very early on boot for all OHCI 1394-compliant controllers 10 * - reset and initialize them and make them join the IEEE1394 bus and 11 * - enable physical DMA on them to allow remote debugging 18 * be sure that the stack enables it and (re-)attach after the bus reset 28 #include <asm/pci-direct.h> /* for direct PCI config space access */ 42 writel(data, ohci->registers + offset); in reg_write() [all …]
|
/linux/include/scsi/ |
H A D | scsi_host.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/blk-mq.h> 31 * enum scsi_timeout_action - How to handle a command that timed out. 49 * Additional per-command data allocated for the driver. 61 * commit_rqs. The done() function must be called on the command 62 * when the driver has finished with it. (you may call done on the 77 * For compatibility, any other non-zero return is treated the 82 * I/O pressure in the system if there are no other outstanding 123 * When unknown ioctl is passed return -ENOIOCTLCMD. 136 * define one of these if you don't want to - there is a default [all …]
|
/linux/net/bluetooth/ |
H A D | hci_sync.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * BlueZ - Bluetooth protocol stack for Linux 28 if (hdev->req_status != HCI_REQ_PEND) in hci_cmd_sync_complete() 31 hdev->req_result = result; in hci_cmd_sync_complete() 32 hdev->req_status = HCI_REQ_DONE; in hci_cmd_sync_complete() 35 kfree_skb(hdev->req_skb); in hci_cmd_sync_complete() 36 hdev->req_skb = NULL; in hci_cmd_sync_complete() 45 hdev->req_rsp = skb_get(skb); in hci_cmd_sync_complete() 48 wake_up_interruptible(&hdev->req_wait_q); in hci_cmd_sync_complete() 63 hdr->opcode = cpu_to_le16(opcode); in hci_cmd_sync_alloc() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_gs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2014 QLogic Corporation 24 * qla2x00_prep_ms_iocb() - Prepare common MS/CT IOCB fields for SNS CT query. 33 struct qla_hw_data *ha = vha->hw; in qla2x00_prep_ms_iocb() 36 ms_pkt = (ms_iocb_entry_t *)arg->iocb; in qla2x00_prep_ms_iocb() 39 ms_pkt->entry_type = MS_IOCB_TYPE; in qla2x00_prep_ms_iocb() 40 ms_pkt->entry_count = 1; in qla2x00_prep_ms_iocb() 41 SET_TARGET_ID(ha, ms_pkt->loop_id, SIMPLE_NAME_SERVER); in qla2x00_prep_ms_iocb() 42 ms_pkt->control_flags = cpu_to_le16(CF_READ | CF_HEAD_TAG); in qla2x00_prep_ms_iocb() 43 ms_pkt->timeout = cpu_to_le16(ha->r_a_tov / 10 * 2); in qla2x00_prep_ms_iocb() [all …]
|
/linux/drivers/bcma/ |
H A D | main.c | 37 return sprintf(buf, "0x%03X\n", core->id.manuf); in manuf_show() 44 return sprintf(buf, "0x%03X\n", core->id.id); in id_show() 51 return sprintf(buf, "0x%02X\n", core->id.rev); in rev_show() 58 return sprintf(buf, "0x%X\n", core->id.class); in class_show() 82 if (bus->chipinfo.id == BCMA_CHIP_ID_BCM4706) in bcma_cc_core_id() 92 list_for_each_entry(core, &bus->cores, list) { in bcma_find_core_unit() 93 if (core->id.id == coreid && core->core_unit == unit) in bcma_find_core_unit() 114 bcma_warn(core->bus, "Timeout waiting for register 0x%04X!\n", reg); in bcma_wait_value() 122 if (core->io_addr) in bcma_release_core_dev() 123 iounmap(core->io_addr); in bcma_release_core_dev() [all …]
|
/linux/fs/xfs/scrub/ |
H A D | reap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2022-2023 Oracle. All Rights Reserved. 61 * blocks on disk. The rmap data can tell us if there are multiple owners, so 67 * strategy is to hope the other metadata objects crosslinked on this block 71 * If there are no rmap records at all, we also free the block. If the btree 74 * had to have been an rmap entry for the block to have ended up on @bitmap, 111 /* Put a block back on the AGFL. */ 120 /* Make sure there's space on the freelist. */ in xreap_put_freelist() 130 error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.pag, agbno, 1, in xreap_put_freelist() 135 /* Put the block on the AGFL. */ in xreap_put_freelist() [all …]
|
/linux/mm/ |
H A D | kmemleak.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * For more information on the algorithm and kmemleak usage, please see 9 * Documentation/dev-tools/kmemleak.rst. 11 * Notes on locking 12 * ---------------- 16 * - kmemleak_lock (raw_spinlock_t): protects the object_list as well as 21 * red black trees used to look-up metadata based on a pointer to the 26 * - kmemleak_object.lock (raw_spinlock_t): protects a kmemleak_object. 33 * - scan_mutex (mutex): ensures that only one thread may scan the memory for 37 * scan_mutex is held. At the end of a scan, the gray_list is always empty. [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-mac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 11 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 19 #include <linux/init.h> 22 #include <linux/dma-mapping.h> 71 if (!test_bit(S_EXIT_PENDING, &il->status)) in il4965_check_abort_status() 72 queue_work(il->workqueue, &il->tx_flush); in il4965_check_abort_status() 89 spin_lock_irqsave(&rxq->lock, flags); in il4965_rx_queue_reset() 90 INIT_LIST_HEAD(&rxq->rx_free); in il4965_rx_queue_reset() 91 INIT_LIST_HEAD(&rxq->rx_used); in il4965_rx_queue_reset() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | devices.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* devices.c: Initial scan of the prom device tree for important 5 * This is based on the sparc64 version, but sun4m doesn't always use 14 #include <linux/init.h> 30 return "cpu-id"; in cpu_mid_prop() 51 return -ENODEV; in check_cpu_node() 62 int err = check_cpu_node(dp->phandle, &cur_inst, in __cpu_find_by() 71 return -ENODEV; in __cpu_find_by() 80 return -ENODEV; in cpu_instance_compare() 98 return -ENODEV; in cpu_mid_compare() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 45 * variable is already 4-byte aligned by virtue of being a u32 68 * There is no signed version of __le32, so for a temporary solution come 527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit 533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \ [all …]
|
/linux/Documentation/driver-api/ |
H A D | mtdnand.rst | 10 The generic NAND driver supports almost all NAND and AG-AND based chips 31 -------------------------- 37 - [MTD Interface] 43 - [NAND Interface] 48 - [GENERIC] 53 - [DEFAULT] 61 NULL on entry to nand_scan() then the pointer is set to the default 65 ------------------------------- 71 - [INTERN] 77 - [REPLACEABLE] [all …]
|
/linux/drivers/pci/pcie/ |
H A D | pme.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2007 - 2009 Intel Corp 6 * Copyright (C) 2007 - 2009 Shaohua Li <shaohua.li@intel.com> 17 #include <linux/init.h> 28 * that using MSI for PCIe PME signaling doesn't play well with PCIe PME-based 29 * wake-up from system sleep states. 50 * pcie_pme_interrupt_enable - Enable/disable PCIe PME interrupt generation. 65 * pcie_pme_walk_bus - Scan a PCI bus for devices asserting PME#. 66 * @bus: PCI bus to scan. 68 * Scan given PCI bus and all buses under it for devices asserting PME#. [all …]
|
/linux/drivers/pnp/pnpbios/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pnpbios -- PnP BIOS driver 5 * This driver provides access to Plug-'n'-Play services provided by 25 * Adam Belay - <ambx1@neo.rr.com> - March 16, 2003 30 * integrated core and proc init system 36 #include <linux/init.h> 93 return -ENOMEM; in pnp_dock_event() 96 return -ENOMEM; in pnp_dock_event() 112 /* hint that policy agent should enter no-stdout debug mode */ in pnp_dock_event() 115 /* extensible set of named bus-specific parameters, in pnp_dock_event() [all …]
|
/linux/include/uapi/linux/ |
H A D | wireless.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 7 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> 8 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved. 16 * Initial APIs (1996 -> onward) : 17 * ----------------------------- 21 * The entry /proc/net/wireless give statistics and information on the 44 * New driver API (2002 -> onward) : 45 * ------------------------------- 53 * Wireless Events (2002 -> onward) : 54 * -------------------------------- [all …]
|
/linux/drivers/media/usb/stk1160/ |
H A D | stk1160-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * <elezegarcia--a.t--gmail.com> 8 * Based on Easycap driver by R.M. Thomas 10 * <rmthomas--a.t--sciolus.org> 18 #include <linux/init.h> 29 #include "stk1160-reg.h" 58 int pipe = usb_rcvctrlpipe(dev->udev, 0); in stk1160_read_reg() 65 return -ENOMEM; in stk1160_read_reg() 66 ret = usb_control_msg(dev->udev, pipe, 0x00, in stk1160_read_reg() 70 stk1160_err("read failed on reg 0x%x (%d)\n", in stk1160_read_reg() [all …]
|
/linux/drivers/media/rc/ |
H A D | rc-main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // rc-main.c - Remote Controller core module 4 // Copyright (C) 2009-2010 by Mauro Carvalho Chehab 8 #include <media/rc-core.h> 18 #include "rc-core-priv.h" 20 /* Sizes are in bytes, 256 bytes allows for 32 entries on x64 */ 31 [RC_PROTO_RC5] = { .name = "rc-5", 33 [RC_PROTO_RC5X_20] = { .name = "rc-5x-20", 35 [RC_PROTO_RC5_SZ] = { .name = "rc-5-sz", 39 [RC_PROTO_SONY12] = { .name = "sony-12", [all …]
|
/linux/drivers/rapidio/ |
H A D | rio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Copyright 2009 - 2013 Integrated Device Technology, Inc. 17 #include <linux/init.h> 30 * struct rio_pwrite - RIO portwrite event 33 * @context: Handler specific context to pass on event 65 * rio_local_get_device_id - Get the base/extended device id for a port 69 * implementing the master port. Returns the 8/16-bit device 78 return (RIO_GET_DID(port->sys_size, result)); in rio_local_get_device_id() 83 * rio_query_mport - Query mport device attributes 93 if (!port->ops->query_mport) in rio_query_mport() [all …]
|