/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_power.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 12 * sruct dp_power - DisplayPort's power related data 26 * dp_power_init() - enable power supplies for display controller 28 * @power: instance of power module 37 * dp_power_deinit() - turn off regulators and gpios. 39 * @power: instance of power module 47 * dp_power_clk_status() - display controller clocks status 49 * @power: instance of power module 59 * dp_power_clk_enable() - enable display controller clocks [all …]
|
H A D | dp_audio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 13 #include <sound/hdmi-codec.h> 28 * Creates and instance of dp audio. 30 * @pdev: caller's platform device instance. 31 * @panel: an instance of dp_panel module. 32 * @catalog: an instance of dp_catalog module. 35 * an instance of newly created dp_module. 46 * @dev: DP device instance. 47 * @dp_audio: an instance of dp_audio module. [all …]
|
H A D | dp_debug.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 31 * dp_debug_get() - configure and get the DisplayPlot debug module data 33 * @dev: device instance of the caller 34 * @panel: instance of panel module 35 * @link: instance of link module 38 * return: pointer to allocated debug module data 40 * This function sets up the debug module and provides a way 51 * Cleans up dp_debug instance 53 * @dp_debug: instance of dp_debug [all …]
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | cti.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 41 * struct cti - cross trigger interface struct 56 * cti_init - initialize the cti instance 57 * @cti: cti instance 69 cti->base = base; in cti_init() 70 cti->irq = irq; in cti_init() 71 cti->trig_out_for_irq = trig_out; in cti_init() 75 * cti_map_trigger - use the @chan to map @trig_in to @trig_out 76 * @cti: cti instance 87 void __iomem *base = cti->base; in cti_map_trigger() [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | cm33xx.c | 1 // 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" 27 * 0x0 func: Module is fully functional, including OCP 28 * 0x1 trans: Module is performing transition: wakeup, or sleep, or sleep 30 * 0x2 idle: Module is in Idle mode (only OCP part). It is functional if 32 * 0x3 disabled: Module is disabled and cannot be accessed 42 /* Read a register in a CM instance */ 54 /* Read-modify-write a register in CM */ [all …]
|
H A D | cminst44xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OMAP4 CM instance functions 6 * Copyright (C) 2008-2011 Texas Instruments, Inc. 11 * or CM2 hardware modules. For example, the EMU_CM CM instance is in 12 * the PRM hardware module. What a mess... 26 #include "cm-regbits-34xx.h" 30 #include "prcm-common.h" 42 * 0x0 func: Module is fully functional, including OCP 43 * 0x1 trans: Module is performing transition: wakeup, or sleep, or sleep 45 * 0x2 idle: Module is in Idle mode (only OCP part). It is functional if [all …]
|
H A D | prminst44xx.c | 1 // 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 …]
|
/openbmc/linux/drivers/edac/ |
H A D | edac_device_sysfs.c | 14 #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 …]
|
/openbmc/linux/net/qrtr/ |
H A D | ns.c | 1 // 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 …]
|
/openbmc/linux/include/media/ |
H A D | media-dev-allocator.h | 1 /* 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 …]
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | messages.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation. All rights reserved. 163 * avs_ipc_init_instance - Initialize module instance 166 * @module_id: Module-type id 167 * @instance_id: Unique module instance id 169 * @core_id: DSP core to allocate module on 171 * @param: Module-type specific configuration 178 * can be composed of module instances located on different DSP cores. 202 avs_ipc_err(adev, &request, "init instance", ret); in avs_ipc_init_instance() 208 * avs_ipc_delete_instance - Delete module instance [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | kprobe_event_gen_test.c | 1 // 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 …]
|
/openbmc/linux/drivers/scsi/ |
H A D | mac_scsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/module.h> 38 #define NCR5380_read(reg) in_8(hostdata->io + ((reg) << 4)) 39 #define NCR5380_write(reg, value) out_8(hostdata->io + ((reg) << 4), value) 54 static int setup_can_queue = -1; 56 static int setup_cmd_per_lun = -1; 58 static int setup_sg_tablesize = -1; 62 static int setup_hostid = -1; 64 static int setup_toshiba_delay = -1; 67 #ifndef MODULE [all …]
|
H A D | a2091.c | 1 // 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 D | a3000.c | 1 // 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 …]
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | acpi.c | 1 // 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 D | pno.h | 1 // 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 …]
|
/openbmc/linux/samples/ftrace/ |
H A D | sample-trace-array.c | 1 // 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 …]
|
/openbmc/linux/Documentation/driver-api/surface_aggregator/clients/ |
H A D | cdev.rst | 1 .. 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 …]
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-main.c | 1 // 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 …]
|
/openbmc/linux/drivers/mcb/ |
H A D | mcb-internal.h | 1 /* 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
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A D | rcar-fcp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * rcar-fcp.c -- R-Car Frame Compression Processor Driver 11 #include <linux/dma-mapping.h> 13 #include <linux/module.h> 20 #include <media/rcar-fcp.h> 30 /* ----------------------------------------------------------------------------- 35 * rcar_fcp_get - Find and acquire a reference to an FCP instance 36 * @np: Device node of the FCP instance 38 * Search the list of registered FCP instances for the instance corresponding to 41 * Return a pointer to the FCP instance, or an ERR_PTR if the instance can't be [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | intel_scu_ipc.c | 1 // 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) 23 #include <linux/module.h> 34 #define IPC_CMD_PCNTRL_M 2 /* Register read-modify-write */ 40 * To read or write information to the SCU, driver writes to IPC-1 memory 47 * the IPC-1 register block, causing an interrupt to the SCU 60 struct module *owner; [all …]
|
/openbmc/linux/fs/overlayfs/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 An overlay filesystem combines two filesystems - an 'upper' filesystem 21 "redirect_dir=off" module option or on a filesystem instance basis 52 "index=off" module option or on a filesystem instance basis with the 73 globally with the "nfs_export=off" module option or on a filesystem 74 instance basis with the "nfs_export=off" mount option. 87 Most users should say N here and enable this feature on a case-by- 119 module option or on a filesystem instance basis with the
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | vivid.rst | 1 .. 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 …]
|