Home
last modified time | relevance | path

Searched +full:core +full:- +full:module (Results 1 – 25 of 1083) sorted by relevance

12345678910>>...44

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dminimal.c1 // 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 Dcore_env.c1 // 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 Dcore_thermal.c1 // 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 Dcore_hwmon.c1 // 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 DKconfig1 # 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 Dbind.c1 // 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/Documentation/target/
H A Dtcm_mod_builder.rst2 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 Dctrl.txt1 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 Dprcm.txt5 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/rust/kernel/
H A Dlib.rs1 // 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
66 // Allow proc-macros to refer to `::kernel` inside the `kernel` crate (this crate).
175 /// The top level entrypoint to implementing a kernel module.
178 pub trait Module: Sized + Sync + Send { interface
179 /// Called at module initialization time.
181 /// Use this method to perform whatever setup or registration your module
185 fn init(module: &'static ThisModule) -> error::Result<Self>; in init()
188 /// A module that is pinned and initialised in-place.
[all …]
/linux/drivers/staging/most/Documentation/
H A Ddriver_usage.txt5 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 DKconfig.binfmt1 # 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/filesystems/
H A Dorangefs.rst1 .. 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 DKconfig8 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 Dscsi.rst1 .. 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/arch/mips/lantiq/falcon/
H A Dsysctrl.c1 // SPDX-License-Identifier: GPL-2.0-only
81 do {} while (--err && ((sysctl_r32(clk->module, reg) in sysctl_wait()
82 & clk->bits) != test)); in sysctl_wait()
84 pr_err("module de/activation failed %d %08X %08X %08X\n", in sysctl_wait()
85 clk->module, clk->bits, test, in sysctl_wait()
86 sysctl_r32(clk->module, reg) & clk->bits); in sysctl_wait()
91 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKEN); in sysctl_activate()
92 sysctl_w32(clk->module, clk->bits, SYSCTL_ACT); in sysctl_activate()
93 sysctl_wait(clk, clk->bits, SYSCTL_ACTS); in sysctl_activate()
99 sysctl_w32(clk->module, clk->bits, SYSCTL_CLKCLR); in sysctl_deactivate()
[all …]
/linux/Documentation/driver-api/media/drivers/
H A Dpvrusb2.rst1 .. 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 Dpci_hotplug.h1 /* 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/tty/hvc/
H A DKconfig1 # 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 DKconfig1 # 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/clk/renesas/
H A Drenesas-cpg-mssr.c1 // SPDX-License-Identifier: GPL-2.0
3 * Renesas Clock Pulse Generator / Module Standby and Software Reset
7 * Based on clk-mstp.c, clk-rcar-gen2.c, and clk-rcar-gen3.c
14 #include <linux/clk-provider.h>
22 #include <linux/module.h>
28 #include <linux/reset-controller.h>
32 #include <dt-bindings/clock/renesas-cpg-mssr.h>
34 #include "renesas-cpg-mssr.h"
35 #include "clk-div6.h"
46 * Module Standby and Software Reset register offsets.
[all …]
/linux/rust/macros/
H A Dmodule.rs1 // SPDX-License-Identifier: GPL-2.0
36 module: &'a str, in new()
43 fn new(module: &'a str) -> Self { in emit_base()
45 module, in emit_base()
54 // Built-in modules prefix their modinfo strings by `module.`. in emit_base()
56 "{module} in emit_base()
26 module: &'a str, global() field
327 pub(crate) fn module(ts: TokenStream) -> TokenStream { module() function
[all...]
/linux/drivers/platform/surface/aggregator/
H A DKconfig1 # 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 …]
/linux/drivers/clk/versatile/
H A Dclk-versatile.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/clk-provider.h>
13 #include "clk-icst.h"
20 /* Base offset for the core module */
60 const char *clk_name = np->name; in cm_osc_setup()
64 /* Remap the core module base if not done yet */ in cm_osc_setup()
69 pr_err("no parent on core module clock\n"); in cm_osc_setup()
75 pr_err("could not remap core module base\n"); in cm_osc_setup()
91 "arm,integrator-cm-auxosc", of_integrator_cm_osc_setup);
98 "arm,versatile-cm-auxosc", of_versatile_cm_osc_setup);
/linux/drivers/char/tpm/st33zp24/
H A DKconfig1 # 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

12345678910>>...44