| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | minimal.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2016-2019 Mellanox Technologies. All rights reserved */ 9 #include <linux/module.h> 13 #include "core.h" 36 struct mlxsw_core *core; member 40 u8 max_modules_per_slot; /* Maximum number of modules per-slot. */ 50 u8 module; member 59 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(spad), spad_pl); in mlxsw_m_base_mac_get() 62 mlxsw_reg_spad_base_mac_memcpy_from(spad_pl, mlxsw_m->base_mac); in mlxsw_m_base_mac_get() 69 struct mlxsw_m *mlxsw_m = mlxsw_m_port->mlxsw_m; in mlxsw_m_port_open() [all …]
|
| H A D | core_env.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 10 #include "core.h" 31 struct mlxsw_core *core; member 33 u8 max_module_count; /* Maximum number of modules per-slot. */ 35 u8 max_eeprom_len; /* Maximum module EEPROM transaction length. */ 43 return mlxsw_env->line_cards[slot_index]->active; in __mlxsw_env_linecard_is_active() 51 mutex_lock(&mlxsw_env->line_cards_lock); in mlxsw_env_linecard_is_active() 53 mutex_unlock(&mlxsw_env->line_cards_lock); in mlxsw_env_linecard_is_active() 60 u8 slot_index, u8 module) in mlxsw_env_module_info_get() argument 64 return &mlxsw_env->line_cards[slot_index]->module_info[module]; in mlxsw_env_module_info_get() [all …]
|
| H A D | core_hwmon.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */ 12 #include "core.h" 60 struct mlxsw_core *core; member 71 struct mlxsw_hwmon_dev *mlxsw_hwmon_dev = mlxsw_hwmon_attr->mlxsw_hwmon_dev; in mlxsw_hwmon_temp_show() 72 struct mlxsw_hwmon *mlxsw_hwmon = mlxsw_hwmon_dev->hwmon; in mlxsw_hwmon_temp_show() 77 index = mlxsw_hwmon_get_attr_index(mlxsw_hwmon_attr->type_index, in mlxsw_hwmon_temp_show() 78 mlxsw_hwmon_dev->module_sensor_max); in mlxsw_hwmon_temp_show() 79 mlxsw_reg_mtmp_pack(mtmp_pl, mlxsw_hwmon_dev->slot_index, index, false, in mlxsw_hwmon_temp_show() 81 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_show() [all …]
|
| /linux/arch/arm/mach-versatile/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 52 bool "Include support for Integrator/IM-PD1" 60 The IM-PD1 is an add-on logic module for the Integrator which 62 The IM-PD1 can be found on the Integrator/PP2 platform. 65 bool "Integrator/CM720T core module" 71 bool "Integrator/CM920T core module" 77 bool "Integrator/CM922T-XA10 core module" 83 bool "Integrator/CM926EJ-S core module" 89 bool "Integrator/CM10200E rev.0 core module" 95 bool "Integrator/CM10200E core module" [all …]
|
| /linux/sound/hda/common/ |
| H A D | bind.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio codec driver binding 10 #include <linux/module.h> 13 #include <sound/core.h> 23 struct hda_codec *codec = container_of(dev, struct hda_codec, core); in hda_codec_match() 25 container_of(drv, struct hda_codec_driver, core); in hda_codec_match() 28 u32 id = codec->probe_id ? codec->probe_id : codec->core.vendor_id; in hda_codec_match() 29 u32 rev_id = codec->core.revision_id; in hda_codec_match() 31 for (list = driver->id; list->vendor_id; list++) { in hda_codec_match() 32 if (list->vendor_id == id && in hda_codec_match() [all …]
|
| /linux/rust/kernel/ |
| H A D | lib.rs | 1 // SPDX-License-Identifier: GPL-2.0 9 //! modules written in Rust) depends on [`core`] and this crate. 16 // Please see https://github.com/Rust-for-Linux/linux/issues/2 for details on 59 // Allow proc-macros to refer to `::kernel` inside the `kernel` crate (this crate). 153 /// The top level entrypoint to implementing a kernel module. 156 pub trait Module: Sized + Sync + Send { interface 157 /// Called at module initialization time. 159 /// Use this method to perform whatever setup or registration your module 163 fn init(module: &'static ThisModule) -> error::Result<Self>; in init() 166 /// A module that is pinned and initialised in-place. [all …]
|
| /linux/Documentation/target/ |
| H A D | tcm_mod_builder.rst | 2 The TCM v4 fabric module script generator 7 This document is intended to be a mini-HOWTO for using the tcm_mod_builder.py 8 script to generate a brand new functional TCM v4 fabric .ko module of your very own, 13 mkdir -p /sys/kernel/config/target/$TCM_NEW_MOD 18 ->make_tpg(), ->drop_tpg(), ->make_wwn(), ->drop_wwn(). These are created 20 2) Generate basic infrastructure for loading/unloading LKMs and TCM/ConfigFS fabric module 22 3) Based on user defined T10 Proto_Ident for the new fabric module being built, 24 SPC-3 persistent reservation are automatically generated in $TCM_NEW_MOD/$TCM_NEW_MOD_fabric.c 29 tcm_mod_builder.py depends upon the mandatory '-p $PROTO_IDENT' and '-m 32 …target:/mnt/sdb/lio-core-2.6.git/Documentation/target# python tcm_mod_builder.py -p iSCSI -m tcm_n… [all …]
|
| /linux/Documentation/devicetree/bindings/arm/omap/ |
| H A D | ctrl.txt | 1 OMAP Control Module bindings 3 Control Module contains miscellaneous features under it based on SoC type. 5 described in [1]. Typically some clock nodes are also under control module. 7 control module driver itself. 11 [1] Documentation/devicetree/bindings/pinctrl/pinctrl-single.yaml 15 - compatible: Must be one of: 16 "ti,am3-scm" 17 "ti,am4-scm" 18 "ti,dm814-scrm" 19 "ti,dm816-scrm" [all …]
|
| H A D | prcm.txt | 5 each describing one module and the clock hierarchy under it. see [1] for 11 - compatible: Must be one of: 12 "ti,am3-prcm" 13 "ti,am4-prcm" 14 "ti,omap2-prcm" 15 "ti,omap3-prm" 16 "ti,omap3-cm" 17 "ti,omap4-cm1" 18 "ti,omap4-prm" 19 "ti,omap4-cm2" [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 menu "DesignWare-based PCIe controllers" 38 core plus Annapurna Labs proprietary hardware wrappers. This is 39 required only for DT-based platforms. ACPI platforms with the 50 DesignWare IP and therefore the driver re-uses the DesignWare 51 core functions to implement the driver. 61 and therefore the driver re-uses the DesignWare core functions to 68 bool "Axis ARTPEC-6 PCIe controller (host mode)" 74 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in 75 host mode. This uses the DesignWare core. [all …]
|
| /linux/drivers/staging/most/Documentation/ |
| H A D | driver_usage.txt | 5 access a MOST network: The Automotive Information Backbone and the de-facto 6 standard for high-bandwidth automotive multimedia networking. 9 for the efficient and low-cost transport of control, real-time and packet 26 The MOST driver uses module stacking to divide the associated modules into 27 three layers. From bottom up these layers are: the adapter layer, the core 28 layer and the application layer. The core layer implements the MOST 29 subsystem and consists basically of the module core.c and its API. It 36 arbitrarily combined with the core to meet the connectivity of the desired 39 A module of the adapter layer is basically a device driver for a different 40 subsystem. It is registered with the core to connect the MOST subsystem to [all …]
|
| /linux/fs/ |
| H A D | Kconfig.binfmt | 1 # SPDX-License-Identifier: GPL-2.0-only 18 however) and makes building run-time libraries very easy. Many new 78 bool "Write ELF core dumps with partial segments" 82 ELF core dump files describe each memory mapping of the crashed 87 the first page of the file in a core dump makes it possible to 90 GDB before 6.7 are confused by ELF core dump files in this format. 92 The core dump behavior can be controlled per process using 93 the /proc/PID/coredump_filter pseudo-file; this setting is 106 You can build this support as a module; however, until that module 108 module from an initramfs, the portion of the initramfs before loading [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap4-l4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 compatible = "ti,omap4-l4-cfg", "simple-pm-bus"; 4 power-domains = <&prm_core>; 6 clock-names = "fck"; 10 reg-names = "ap", "la", "ia0"; 11 #address-cells = <1>; 12 #size-cells = <1>; 22 compatible = "simple-pm-bus"; 23 #address-cells = <1>; 24 #size-cells = <1>; [all …]
|
| H A D | omap5-l4.dtsi | 2 compatible = "ti,omap5-l4-cfg", "simple-pm-bus"; 3 power-domains = <&prm_core>; 5 clock-names = "fck"; 9 reg-names = "ap", "la", "ia0"; 10 #address-cells = <1>; 11 #size-cells = <1>; 21 compatible = "simple-pm-bus"; 22 #address-cells = <1>; 23 #size-cells = <1>; 55 target-module@2000 { /* 0x4a002000, ap 3 44.0 */ [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | orangefs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 OrangeFS is an LGPL userspace scale-out parallel storage system. It is ideal 51 On Fedora, install orangefs and orangefs-server:: 53 dnf -y install orangefs orangefs-server 64 pvfs2-client-core. 68 pvfs2-server -f /etc/orangefs/orangefs.conf 72 systemctl start orangefs-server 76 pvfs2-ping -m /pvfsmnt 78 Start the client. The module must be compiled in or loaded before this 81 systemctl start orangefs-client [all …]
|
| /linux/drivers/usb/cdns3/ |
| H A D | Kconfig | 8 dual-role controller. 9 It supports: dual-role switch, Host-only, and Peripheral-only. 17 tristate "Cadence USB3 Dual-Role Controller" 20 Say Y here if your system has a Cadence USB3 dual-role controller. 21 It supports: dual-role switch, Host-only, and Peripheral-only. 24 as module, the module will be called cdns3.ko. 34 Cadence USBSS-DEV driver. 51 tristate "Cadence USB3 support on PCIe-based platforms" 55 If you're using the USBSS Core IP with a PCIe, please say 58 If you choose to build this driver as module it will [all …]
|
| /linux/Documentation/scsi/ |
| H A D | scsi.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 https://www.tldp.org/HOWTO/SCSI-2.4-HOWTO . The LDP has single 18 The scsi-core (also known as the "mid level") contains the core of SCSI 20 The SCSI core support can be a module (scsi_mod.o), or it can be built into 21 the kernel. If the core is a module, it must be the first SCSI module 28 once the SCSI core is present in the kernel (either compiled in or loaded 29 as a module). The disk driver (sd_mod.o), CD-ROM driver (sr_mod.o), 44 devices. Its module name is osst.o .
|
| /linux/Documentation/driver-api/media/drivers/ |
| H A D | pvrusb2.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 ---------- 13 Its history started with the reverse-engineering effort by Björn 29 1. Low level wire-protocol implementation with the device. 38 tear-down, arbitration, and interaction with high level 47 conceivable API can be laid on top of the core driver. (Yes, the 61 -------- 70 -------------------------------------- 72 (Note: The term "module" used below generally refers to loosely 74 relation to the Linux kernel's concept of a loadable module.) [all …]
|
| /linux/include/linux/ |
| H A D | pci_hotplug.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * PCI HotPlug Core Functions 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 18 * struct hotplug_slot_ops -the callbacks that the hotplug pci core can use 33 * The table of function pointers that is passed to the hotplug pci core by a 34 * hotplug pci driver. These functions are called by the hotplug pci core when 51 * struct hotplug_slot - used to register a physical slot with the hotplug pci core 54 * @owner: The module owner of this structure 55 * @mod_name: The module name (KBUILD_MODNAME) of this structure 60 /* Variables below this are for use only by the hotplug pci core. */ [all …]
|
| /linux/drivers/i2c/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 I2C (pronounce: I-squared-C) is a slow serial bus protocol used in 25 This I2C support can also be built as a module. If so, the module 26 will be called i2c-core. 46 Say Y here to use i2c-* device files, usually found in the /dev 47 directory on your system. They make it possible to have user-space 49 contained in the file <file:Documentation/i2c/dev-interface.rst>. 51 This support is also available as a module. If so, the module 52 will be called i2c-dev. 57 Say Y here if you want the I2C core to support the ability to [all …]
|
| /linux/drivers/tty/hvc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 8 It will automatically be selected if one of the back-end console drivers 51 This driver provides a Hypervisor console (HVC) back-end to access 91 bool "Use DCC only on CPU core 0" 96 than one CPU core. Each core has its own DCC device registers, so when a 97 CPU core reads or writes from/to DCC, it only accesses its own DCC device. 98 Since kernel code can run on any CPU core, every time the kernel wants to 102 shows the DCC output only from that core's DCC. The result is that 110 bool "RISC-V SBI console support" 114 This enables support for console output via RISC-V SBI calls, which [all …]
|
| /linux/drivers/net/wwan/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 tristate "WWAN Driver Core" 11 Say Y here if you want to use the WWAN driver core. This driver 14 To compile this driver as a module, choose M here: the module will be 24 Enables debugfs infrastructure for the WWAN core and device drivers. 36 To compile this driver as a module, choose M here: the module will be 40 tristate "MHI WWAN control driver for QCOM-based PCIe modems" 43 MHI WWAN CTRL allows QCOM-based PCIe modems to expose different modem 49 To compile this driver as a module, choose M here: the module will be 53 tristate "MHI WWAN MBIM network driver for QCOM-based PCIe modems" [all …]
|
| /linux/drivers/iio/accel/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer" 15 Say Y here to build support for Analog Devices adis16201 dual-axis 18 To compile this driver as a module, say M here: the module will 22 tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer" 27 Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer 30 To compile this driver as a module, say M here: the module will be 37 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver" 43 ADXL313 3-axis digital accelerometer. 45 To compile this driver as a module, choose M here: the module [all …]
|
| /linux/drivers/char/tpm/st33zp24/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 STMicroelectronics ST33ZP24 core driver. It implements the core 9 To compile this driver as a module, choose m here. The module will be called 17 This module adds support for the STMicroelectronics TPM security chip 19 To compile this driver as a module, choose M here; the module will be 27 This module adds support for the STMicroelectronics TPM security chip 29 To compile this driver as a module, choose M here; the module will be
|
| /linux/drivers/platform/surface/aggregator/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0+ 2 # Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com> 5 tristate "Microsoft Surface System Aggregator Module Subsystem and Drivers" 10 The Surface System Aggregator Module (Surface SAM or SSAM) is an 11 embedded controller (EC) found on 5th- and later-generation Microsoft 17 - EC access from ACPI via Surface ACPI Notify (5th- and 6th-generation) 18 - battery status information (all devices) 19 - thermal sensor access (all devices) 20 - performance mode / cooling mode control (all devices) 21 - clipboard detachment system control (Surface Book 2 and 3) [all …]
|