Home
last modified time | relevance | path

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

12345678910>>...42

/linux/drivers/edac/
H A Dedac_device_sysfs.c14 #include <linux/module.h>
35 return sprintf(data, "%u\n", ctl_info->log_ue); in edac_device_ctl_log_ue_show()
42 /* if parameter is zero, turn off flag, if non-zero turn on flag */ in edac_device_ctl_log_ue_store()
43 ctl_info->log_ue = (simple_strtoul(data, NULL, 0) != 0); in edac_device_ctl_log_ue_store()
52 return sprintf(data, "%u\n", ctl_info->log_ce); in edac_device_ctl_log_ce_show()
59 /* if parameter is zero, turn off flag, if non-zero turn on flag */ in edac_device_ctl_log_ce_store()
60 ctl_info->log_ce = (simple_strtoul(data, NULL, 0) != 0); in edac_device_ctl_log_ce_store()
69 return sprintf(data, "%u\n", ctl_info->panic_on_ue); in edac_device_ctl_panic_on_ue_show()
76 /* if parameter is zero, turn off flag, if non-zero turn on flag */ in edac_device_ctl_panic_on_ue_store()
77 ctl_info->panic_on_ue = (simple_strtoul(data, NULL, 0) != 0); in edac_device_ctl_panic_on_ue_store()
[all …]
H A Dedac_device.h10 * http://www.anime.net/~goemon/linux-ecc/
15 * Refactored for multi-source files:
18 * Please look at Documentation/driver-api/edac.rst for more info about
59 * /L1-cache/ce_count
61 * /L2-cache/ce_count
64 * /L1-cache/ce_count
66 * /L2-cache/ce_count
97 * each block in each instance of the containing control structure can
108 struct edac_device_instance *instance; /* Up Pointer */ member
122 /* device instance control structure */
[all …]
/linux/arch/arm/mach-omap2/
H A Dcm33xx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2012 Texas Instruments Incorporated - https://www.ti.com/
20 #include "cm-regbits-34xx.h"
21 #include "cm-regbits-33xx.h"
30 * 0x0 func: Module is fully functional, including OCP
31 * 0x1 trans: Module is performing transition: wakeup, or sleep, or sleep
33 * 0x2 idle: Module is in Idle mode (only OCP part). It is functional if
35 * 0x3 disabled: Module is disabled and cannot be accessed
45 /* Read a register in a CM instance */
57 /* Read-modify-write a register in CM */
[all …]
H A Dprminst44xx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * OMAP4 PRM instance functions
18 #include "prcm-common.h"
23 #include "prm-regbits-44xx.h"
34 * omap_prm_base_init - Populates the prm partitions
37 * array used for read/write of prm module registers.
57 /* Read a register in a PRM instance */
66 /* Write into a register in a PRM instance */
75 /* Read-modify-write a register in PRM. Caller must lock */
90 * omap4_prminst_is_hardreset_asserted - read the HW reset line state of
[all …]
/linux/net/qrtr/
H A Dns.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
8 #include <linux/module.h>
33 [QRTR_TYPE_NEW_SERVER] = "new-server",
34 [QRTR_TYPE_DEL_SERVER] = "del-server",
35 [QRTR_TYPE_DEL_CLIENT] = "del-client",
36 [QRTR_TYPE_RESUME_TX] = "resume-tx",
39 [QRTR_TYPE_NEW_LOOKUP] = "new-lookup",
40 [QRTR_TYPE_DEL_LOOKUP] = "del-lookup",
45 unsigned int instance; member
51 unsigned int instance; member
[all …]
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_debug.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
15 * msm_dp_debug_get() - configure and get the DisplayPlot debug module data
17 * @dev: device instance of the caller
18 * @panel: instance of panel module
19 * @link: instance of link module
23 * return: pointer to allocated debug module data
25 * This function sets up the debug module and provides a way
43 return -EINVAL; in msm_dp_debug_init()
/linux/include/media/
H A Dmedia-dev-allocator.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * media-dev-allocator.h - Media Controller Device Allocator API
11 * This file adds a global ref-counted Media Controller Device Instance API.
14 * device instance.
24 * media_device_usb_allocate() - Allocate and return struct &media device
28 * @owner: struct module pointer %THIS_MODULE for the driver.
29 * %THIS_MODULE is null for a built-in driver.
40 struct module *owner);
42 * media_device_delete() - Release media device. Calls kref_put().
46 * @owner: struct module pointer %THIS_MODULE for the driver.
[all …]
/linux/kernel/trace/
H A Dkprobe_event_gen_test.c1 // SPDX-License-Identifier: GPL-2.0
3 * Test module for in-kernel kprobe event creation and generation.
8 #include <linux/module.h>
12 * This module is a simple test of basic functionality for in-kernel
20 * To test, select CONFIG_KPROBE_EVENT_GEN_TEST and build the module.
29 * To remove the events, remove the module:
94 return -ENOMEM; in test_gen_kprobe_cmd()
124 * the instance and event from disappearing from underneath in test_gen_kprobe_cmd()
126 * we're using the top-level instance which never goes away). in test_gen_kprobe_cmd()
136 ret = trace_array_set_clr_event(gen_kprobe_test->tr, in test_gen_kprobe_cmd()
[all …]
/linux/Documentation/driver-api/surface_aggregator/clients/
H A Dcdev.rst1 .. SPDX-License-Identifier: GPL-2.0+
8 User-Space EC Interface (cdev)
11 The ``surface_aggregator_cdev`` module provides a misc-device for the SSAM
12 controller to allow for a (more or less) direct connection from user-space to
15 module is not loaded automatically, but instead must be loaded manually.
18 device-file. All functionality of this interface is provided via IOCTLs.
23 at https://github.com/linux-surface/surface-aggregator-module/tree/master/scripts/ssam.
31 Events can be received by reading from the device-file. The are represented by
37 interface, associated with a specific target category and device-file-instance.
39 instance, from which it can then be read.
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dacpi.c1 // SPDX-License-Identifier: ISC
22 if (!ACPI_FAILURE(acpi_dev_get_property(adev, "module-instance", in brcmf_acpi_probe()
24 brcmf_dbg(INFO, "ACPI module-instance=%s\n", o->string.pointer); in brcmf_acpi_probe()
25 settings->board_type = devm_kasprintf(dev, GFP_KERNEL, in brcmf_acpi_probe()
27 o->string.pointer); in brcmf_acpi_probe()
29 brcmf_dbg(INFO, "No ACPI module-instance\n"); in brcmf_acpi_probe()
33 status = acpi_evaluate_object(adev->handle, "RWCV", NULL, &buf); in brcmf_acpi_probe()
35 if (!ACPI_FAILURE(status) && o && o->type == ACPI_TYPE_BUFFER && in brcmf_acpi_probe()
36 o->buffer.length >= 2) { in brcmf_acpi_probe()
40 memcpy(antenna_sku, o->buffer.pointer, 2); in brcmf_acpi_probe()
[all …]
H A Dpno.h1 // SPDX-License-Identifier: ISC
17 * brcmf_pno_start_sched_scan - initiate scheduled scan on device.
26 * brcmf_pno_stop_sched_scan - terminate scheduled scan on device.
34 * brcmf_pno_wiphy_params - fill scheduled scan parameters in wiphy instance.
36 * @wiphy: wiphy instance to be used.
37 * @gscan: indicates whether the device has support for g-scan feature.
42 * brcmf_pno_attach - allocate and attach module information.
49 * brcmf_pno_detach - detach and free module information.
56 * brcmf_pno_find_reqid_by_bucket - find request id for given bucket index.
58 * @pi: pno instance used.
[all …]
/linux/drivers/scsi/
H A Da2091.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/module.h>
34 struct Scsi_Host *instance = data; in a2091_intr() local
35 struct a2091_hostdata *hdata = shost_priv(instance); in a2091_intr()
36 unsigned int status = hdata->regs->ISTR; in a2091_intr()
42 spin_lock_irqsave(instance->host_lock, flags); in a2091_intr()
43 wd33c93_intr(instance); in a2091_intr()
44 spin_unlock_irqrestore(instance->host_lock, flags); in a2091_intr()
51 unsigned long len = scsi_pointer->this_residual; in dma_setup()
52 struct Scsi_Host *instance = cmd->device->host; in dma_setup() local
[all …]
H A Da3000.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/dma-mapping.h>
11 #include <linux/module.h>
36 struct Scsi_Host *instance = data; in a3000_intr() local
37 struct a3000_hostdata *hdata = shost_priv(instance); in a3000_intr()
38 unsigned int status = hdata->regs->ISTR; in a3000_intr()
44 spin_lock_irqsave(instance->host_lock, flags); in a3000_intr()
45 wd33c93_intr(instance); in a3000_intr()
46 spin_unlock_irqrestore(instance->host_lock, flags); in a3000_intr()
49 pr_warn("Non-serviced A3000 SCSI-interrupt? ISTR = %02x\n", status); in a3000_intr()
[all …]
/linux/samples/ftrace/
H A Dsample-trace-array.c1 // SPDX-License-Identifier: GPL-2.0-only
2 #include <linux/module.h>
18 #include "sample-trace-array.h"
29 trace_array_set_clr_event(tr, "sample-subsystem", "sample_event", in trace_work_fn()
36 * timer is only for the purposes of the sample module to demonstrate access of
52 * Printing count value using trace_array_printk() - trace_printk() in simple_thread_func()
53 * equivalent for the instance buffers. in simple_thread_func()
72 trace_array_set_clr_event(tr, "sample-subsystem", "sample_event", true); in simple_thread()
75 * Adding timer - mytimer. This timer will disable tracing after in simple_thread()
90 * the trace array - "tr". We are done using the trace array, hence in simple_thread()
[all …]
/linux/drivers/media/pci/ivtv/
H A Divtv-alsa-main.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include "ivtv-driver.h"
12 #include "ivtv-version.h"
13 #include "ivtv-alsa.h"
14 #include "ivtv-alsa-pcm.h"
48 return to_ivtv(v4l2_dev)->alsa; in to_snd_ivtv_card()
56 if (itvsc->v4l2_dev != NULL) in snd_ivtv_card_free()
57 to_ivtv(itvsc->v4l2_dev)->alsa = NULL; in snd_ivtv_card_free()
59 /* FIXME - take any other stopping actions needed */ in snd_ivtv_card_free()
68 snd_ivtv_card_free(sc->private_data); in snd_ivtv_card_private_free()
[all …]
/linux/drivers/platform/x86/
H A Dintel_scu_ipc.c1 // SPDX-License-Identifier: GPL-2.0
5 * (C) Copyright 2008-2010,2015 Intel Corporation
10 * SCU has two IPC mechanism IPC-1 and IPC-2. IPC-1 is used between IA32 and
11 * SCU where IPC-2 is used between P-Unit and SCU. This driver delas with
12 * IPC-1 Driver provides an API for power control unit registers (e.g. MSIC)
24 #include <linux/module.h>
35 #define IPC_CMD_PCNTRL_M 2 /* Register read-modify-write */
41 * To read or write information to the SCU, driver writes to IPC-1 memory
48 * the IPC-1 register block, causing an interrupt to the SCU
60 struct module *owner;
[all …]
/linux/Documentation/admin-guide/media/
H A Dvivid.rst1 .. SPDX-License-Identifier: GPL-2.0
13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI
14 capture device. Each output can be an S-Video output device or an HDMI output
23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O.
24 - A large list of test patterns and variations thereof
25 - Working brightness, contrast, saturation and hue controls
26 - Support for the alpha color component
27 - Full colorspace support, including limited/full RGB range
28 - All possible control types are present
29 - Support for various pixel aspect ratios and video aspect ratios
[all …]
/linux/drivers/mcb/
H A Dmcb-internal.h1 /* SPDX-License-Identifier: GPL-2.0 */
51 * struct chameleon_gdd - Chameleon General Device Descriptor
58 * @bar: BAR offset that must be added to module offset
59 * @inst: the instance number of the device, 0 is first instance
62 * @offset: beginning of the address window of desired module
63 * @size: size of the module's address window
86 * struct chameleon_bdd - Chameleon Bridge Device Descriptor
93 * @bar: BAR offset that must be added to module offset
94 * @inst: the instance number of the device, 0 is first instance
/linux/drivers/media/platform/renesas/
H A Drcar-fcp.c1 // SPDX-License-Identifier: GPL-2.0+
3 * rcar-fcp.c -- R-Car Frame Compression Processor Driver
11 #include <linux/dma-mapping.h>
15 #include <linux/module.h>
22 #include <media/rcar-fcp.h>
40 iowrite32(val, fcp->base + reg); in rcar_fcp_write()
43 /* -----------------------------------------------------------------------------
48 * rcar_fcp_get - Find and acquire a reference to an FCP instance
49 * @np: Device node of the FCP instance
51 * Search the list of registered FCP instances for the instance corresponding to
[all …]
/linux/fs/overlayfs/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
7 An overlay filesystem combines two filesystems - an 'upper' filesystem
22 "redirect_dir=off" module option or on a filesystem instance basis
53 "index=off" module option or on a filesystem instance basis with the
74 globally with the "nfs_export=off" module option or on a filesystem
75 instance basis with the "nfs_export=off" mount option.
88 Most users should say N here and enable this feature on a case-by-
120 module option or on a filesystem instance basis with the
/linux/include/linux/
H A Dmost.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * most.h - API for component and adapter drivers
5 * Copyright (C) 2013-2015, Microchip Technology Germany II GmbH & Co. KG
14 struct module;
60 * struct most_channel_capability - Channel capability
62 * The value is bitwise OR-combination of the values from the
66 * The value is bitwise OR-combination of the values from the
86 * -available_directions
87 * -available_datatypes
88 * -number_of_packet_buffers
[all …]
/linux/sound/soc/intel/avs/
H A Dmessages.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2021-2022 Intel Corporation
125 * avs_ipc_init_instance - Initialize module instance
128 * @module_id: Module-type id
129 * @instance_id: Unique module instance id
131 * @core_id: DSP core to allocate module on
133 * @param: Module-type specific configuration
140 * can be composed of module instances located on different DSP cores.
161 return avs_dsp_send_msg(adev, &request, NULL, "init instance"); in avs_ipc_init_instance()
165 * avs_ipc_delete_instance - Delete module instance
[all …]
/linux/drivers/media/pci/cx18/
H A Dcx18-alsa-main.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/module.h>
18 #include <media/v4l2-device.h>
23 #include "cx18-driver.h"
24 #include "cx18-version.h"
25 #include "cx18-alsa.h"
26 #include "cx18-alsa-pcm.h"
33 printk(KERN_INFO "%s: " fmt, "cx18-alsa", ## arg); \
51 return to_cx18(v4l2_dev)->alsa; in to_snd_cx18_card()
59 if (cxsc->v4l2_dev != NULL) in snd_cx18_card_free()
[all …]
/linux/include/uapi/sound/
H A Dsnd_ar_tokens.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
32 /* container graph position Stream-Device */
60 * %AR_TKN_U32_SUB_GRAPH_INSTANCE_ID: Sub Graph Instance Id
75 * %AR_TKN_U32_CONTAINER_INSTANCE_ID: Container Instance ID
97 * %AR_TKN_U32_MODULE_ID: Module ID
99 * %AR_TKN_U32_MODULE_INSTANCE_ID: Module Instance ID.
101 * %AR_TKN_U32_MODULE_MAX_IP_PORTS: Module maximum input ports
103 * %AR_TKN_U32_MODULE_MAX_OP_PORTS: Module maximum output ports.
109 * %AR_TKN_U32_MODULE_SRC_OP_PORT_ID: Source module output port ID
111 * %AR_TKN_U32_MODULE_DST_IN_PORT_ID: Destination module input port ID
[all …]
/linux/drivers/media/platform/ti/cal/
H A Dcal-camerarx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TI Camera Access Layer (CAL) - CAMERARX
5 * Copyright (c) 2015-2020 Texas Instruments Inc.
15 #include <linux/module.h>
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-fwnode.h>
23 #include <media/v4l2-subdev.h>
28 /* ------------------------------------------------------------------
30 * ------------------------------------------------------------------
35 return ioread32(phy->base + offset); in camerarx_read()
[all …]

12345678910>>...42