/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_thermal.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2016-2018 Mellanox Technologies. All rights reserved 14 #include "core.h" 43 { /* In range - 0-40% PWM */ 50 /* In range - 40-100% PWM */ 64 { /* In range - 0-40% PWM */ 71 /* In range - 40-100% PWM */ 114 int module; /* Module or gearbox number */ member 128 struct mlxsw_core *core; member 156 if (thermal->cdevs[i].cdev == cdev) in mlxsw_get_cooling_device_idx() [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/pci/hda/ |
H A D | hda_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/drivers/clk/renesas/ |
H A D | renesas-cpg-mssr.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Renesas Clock Pulse Generator / Module Standby and Software Reset 12 * Definitions of CPG Core Clocks 15 * - Clock outputs exported to DT 16 * - External input clocks 17 * - Internal CPG clocks 26 unsigned int parent; /* Core Clocks only */ 61 * Definitions of Module Clocks 67 unsigned int parent; /* Add MOD_CLK_BASE for Module Clocks */ 70 /* Convert from sparse base-100 to packed index space */ [all …]
|
/linux/drivers/mfd/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 tristate "AMD CS5535 and CS5536 southbridge core functions" 20 This is the core driver for CS5535/CS5536 MFD functions. This is 32 the core APIs _only_, you have to select individual components like 57 tristate "Active-semi ACT8945A" 62 Support for the ACT8945A PMIC from Active-semi. This device 63 features three step-down DC/DC converters and four low-dropout 79 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 81 To compile this driver as a module, choose M here: the module will be 82 called sun4i-gpadc. [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/arch/arm/kernel/ |
H A D | module-plts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-2017 Linaro Ltd. <ard.biesheuvel@linaro.org> 9 #include <linux/module.h> 18 (PLT_ENT_STRIDE - 4)) 21 (PLT_ENT_STRIDE - 8)) 35 if (!ARRAY_SIZE(fixed_plts) || pltsec->plt_count) in prealloc_fixed() 37 pltsec->plt_count = ARRAY_SIZE(fixed_plts); in prealloc_fixed() 39 for (i = 0; i < ARRAY_SIZE(plt->ldr); ++i) in prealloc_fixed() 40 plt->ldr[i] = PLT_ENT_LDR; in prealloc_fixed() 42 BUILD_BUG_ON(sizeof(fixed_plts) > sizeof(plt->lit)); in prealloc_fixed() [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/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/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/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/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/Documentation/devicetree/bindings/clock/ |
H A D | renesas,rzg2l-cpg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/renesas,rzg2l-cpg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas RZ/{G2L,V2L,V2M} Clock Pulse Generator / Module Standby Mode 10 - Geert Uytterhoeven <geert+renesas@glider.be> 13 On Renesas RZ/{G2L,V2L}-alike SoC's, the CPG (Clock Pulse Generator) and Module 18 - The CPG block generates various core clocks, 19 - The Module Standby Mode block provides two functions: 20 1. Module Standby, providing a Clock Domain to control the clock supply [all …]
|
/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/arch/mips/lantiq/falcon/ |
H A D | sysctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 85 do {} while (--err && ((sysctl_r32(clk->module, reg) in sysctl_wait() 86 & clk->bits) != test)); in sysctl_wait() 88 pr_err("module de/activation failed %d %08X %08X %08X\n", in sysctl_wait() 89 clk->module, clk->bits, test, in sysctl_wait() 90 sysctl_r32(clk->module, reg) & clk->bits); in sysctl_wait() 95 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); in sysctl_activate() 96 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); in sysctl_activate() 97 sysctl_wait(clk, clk->bits, SYSCTL_ACTS); in sysctl_activate() 103 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKCLR); in sysctl_deactivate() [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 55 * @owner: The module owner of this structure 56 * @mod_name: The module name (KBUILD_MODNAME) of this structure 61 /* Variables below this are for use only by the hotplug pci core. */ [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/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 …]
|