| /linux/Documentation/devicetree/bindings/iio/light/ |
| H A D | upisemi,us5182.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Cameron <jic23@kernel.org> 19 upisemi,glass-coef: 22 glass attenuation factor - compensation factor of resolution 1000 26 upisemi,dark-ths: 27 $ref: /schemas/types.yaml#/definitions/uint16-array 31 16-bit thresholds (adc counts) corresponding to every scale. 33 upisemi,upper-dark-gain: [all …]
|
| /linux/Documentation/devicetree/bindings/hwmon/ |
| H A D | ti,ina3221.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jean Delvare <jdelvare@suse.com> 11 - Guenter Roeck <linux@roeck-us.net> 20 ti,single-shot: 22 This chip has two power modes: single-shot (chip takes one measurement 25 hardware monitor type device, but the single-shot mode is more power- 26 friendly and useful for battery-powered device which cares power 29 If this property is present, the single-shot mode will be used, instead [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-timechart.txt | 1 perf-timechart(1) 5 ---- 6 perf-timechart - Tool to visualize total system behavior during a workload 9 -------- 14 ----------- 19 and CPU events (task switches, running times, CPU power states, etc), 20 but it's possible to record IO (disk, network) activity using -I argument. 34 ----------------- 35 -o:: 36 --output=:: [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A D | faq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 26 significant power requirements (and hence get very hot), they 28 is closed). The ``dvb-core`` module parameter ``dvb_shutdown_timeout`` 37 tools and are grouped together with the ``v4l-utils`` git repository: 39 https://git.linuxtv.org/v4l-utils.git/ 48 for example the ``dvbv5-scan`` tool. You can find more information 51 https://www.linuxtv.org/wiki/index.php/Dvbv5-scan 70 https://git.linuxtv.org/dtv-scan-tables.git 88 list with a tool like ``dvbv5-scan``. 90 Almost all modern Digital TV cards don't have built-in hardware [all …]
|
| /linux/include/video/ |
| H A D | sticore.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 43 #define sti_onscreen_x(sti) (sti->glob_cfg->onscreen_x) 44 #define sti_onscreen_y(sti) (sti->glob_cfg->onscreen_y) 47 #define sti_font_x(sti) (PTR_STI(sti->font)->width) 48 #define sti_font_y(sti) (PTR_STI(sti->font)->height) 77 u8 friendly_boot; /* in friendly boot mode */ 78 s16 power; /* power calculation (in Watts) */ member 105 u32 nontext : 1; /* turn on non-text display planes? */ 107 u32 cmap_blk : 1; /* non-text planes cmap black? */ 111 u32 no_chg_ntx : 1; /* don't change non-text settings */ [all …]
|
| /linux/kernel/time/ |
| H A D | sleep_timeout.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include "tick-internal.h" 27 wake_up_process(timeout->task); in process_timeout() 31 * schedule_timeout - sleep until timeout 38 * %TASK_RUNNING - the scheduler is called, but the task does not sleep 42 * %TASK_UNINTERRUPTIBLE - at least @timeout jiffies are guaranteed to 46 * %TASK_INTERRUPTIBLE - the routine may return early if a signal is 59 * to be non-negative. 105 timeout = expire - jiffies; in schedule_timeout() 118 * schedule_timeout_interruptible - sleep until timeout (interruptible) [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-usb | 10 This allows to avoid side-effects with drivers 28 drivers, non-authorized one are not. By default, wired 33 Contact: linux-usb@vger.kernel.org 67 What: /sys/bus/usb-serial/drivers/.../new_id 69 Contact: linux-usb@vger.kernel.org 72 extra bus folder "usb-serial" in sysfs; apart from that 93 What: /sys/bus/usb/devices/.../power/usb2_hardware_lpm 97 If CONFIG_PM is set and a USB 2.0 lpm-capable device is plugged 102 power/usb2_hardware_lpm. The file holds a string value (enable 107 What: /sys/bus/usb/devices/.../power/usb3_hardware_lpm_u1 [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| H A D | cyan_skillfish_ppt.c | 39 * They are more MGPU friendly. 89 struct smu_table_context *smu_table = &smu->smu_table; in cyan_skillfish_tables_init() 90 struct smu_table *tables = smu_table->tables; in cyan_skillfish_tables_init() 97 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in cyan_skillfish_tables_init() 98 if (!smu_table->metrics_table) in cyan_skillfish_tables_init() 101 smu_table->gpu_metrics_table_size = sizeof(struct gpu_metrics_v2_2); in cyan_skillfish_tables_init() 102 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in cyan_skillfish_tables_init() 103 if (!smu_table->gpu_metrics_table) in cyan_skillfish_tables_init() 106 smu_table->metrics_time = 0; in cyan_skillfish_tables_init() 111 smu_table->gpu_metrics_table_size = 0; in cyan_skillfish_tables_init() [all …]
|
| H A D | vangogh_ppt.c | 42 * They are more MGPU friendly. 226 struct smu_table_context *smu_table = &smu->smu_table; in vangogh_tables_init() 227 struct smu_table *tables = smu_table->tables; in vangogh_tables_init() 240 …smu_table->metrics_table = kzalloc(max(sizeof(SmuMetrics_t), sizeof(SmuMetrics_legacy_t)), GFP_KER… in vangogh_tables_init() 241 if (!smu_table->metrics_table) in vangogh_tables_init() 243 smu_table->metrics_time = 0; in vangogh_tables_init() 245 smu_table->gpu_metrics_table_size = sizeof(struct gpu_metrics_v2_2); in vangogh_tables_init() 246 …smu_table->gpu_metrics_table_size = max(smu_table->gpu_metrics_table_size, sizeof(struct gpu_metri… in vangogh_tables_init() 247 …smu_table->gpu_metrics_table_size = max(smu_table->gpu_metrics_table_size, sizeof(struct gpu_metri… in vangogh_tables_init() 248 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in vangogh_tables_init() [all …]
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | ksm.rst | 8 KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y, 19 content which can be replaced by a single write-protected page (which 47 may suddenly require more memory than is available - possibly failing 48 with EAGAIN, but more probably arousing the Out-Of-Memory killer. 60 will exceed ``vm.max_map_count`` (see Documentation/admin-guide/sysctl/vm.rst). 69 of processing power: some installations will disable KSM for that reason. 84 been set to scan-time. 151 traversals are always schedule friendly themselves. 164 enabled, pages that have previously not been de-duplicated get 166 de-duplication has already been tried and failed. By default this [all …]
|
| /linux/Documentation/driver-api/usb/ |
| H A D | gadget.rst | 11 This document presents a Linux-USB "Gadget" kernel mode API, for use 17 - Supports USB 2.0, for high speed devices which can stream data at 20 - Handles devices with dozens of endpoints just as well as ones with 21 just two fixed-function ones. Gadget drivers can be written so 24 - Flexible enough to expose more complex USB device capabilities such 28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the 29 Linux-USB host side. 31 - Sharing data structures and API models with the Linux-USB host side 32 API. This helps the OTG support, and looks forward to more-symmetric 36 - Minimalist, so it's easier to support new device controller hardware. [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
| H A D | smu_v13_0_4_ppt.c | 39 * They are more MGPU friendly. 152 struct smu_table_context *smu_table = &smu->smu_table; in smu_v13_0_4_init_smc_tables() 153 struct smu_table *tables = smu_table->tables; in smu_v13_0_4_init_smc_tables() 162 smu_table->clocks_table = kzalloc(sizeof(DpmClocks_t), GFP_KERNEL); in smu_v13_0_4_init_smc_tables() 163 if (!smu_table->clocks_table) in smu_v13_0_4_init_smc_tables() 166 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in smu_v13_0_4_init_smc_tables() 167 if (!smu_table->metrics_table) in smu_v13_0_4_init_smc_tables() 169 smu_table->metrics_time = 0; in smu_v13_0_4_init_smc_tables() 171 smu_table->watermarks_table = kzalloc(sizeof(Watermarks_t), GFP_KERNEL); in smu_v13_0_4_init_smc_tables() 172 if (!smu_table->watermarks_table) in smu_v13_0_4_init_smc_tables() [all …]
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | wlcore.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 26 /* wl12xx/wl18xx maximum transmission power (in dBm) */ 257 /* Time-offset between host and chipset clocks */ 313 /* Pointer that holds DMA-friendly block for the mailbox */ 376 * AP-mode - links indexed by HLID. The global and broadcast links 387 /* AP-mode - a bitmap of links currently in PS mode according to FW */ 390 /* AP-mode - a bitmap of links currently in PS mode in mac80211 */ 402 /* AP-mode - number of currently connected stations */ 405 /* Flag determining whether AP should broadcast OFDM-only rates */ 419 /* name of the firmwares to load - for PLT, single role, multi-role */ [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-sensor-custom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hid-sensor-custom.c 19 #include <linux/hid-sensor-hub.h> 69 {.name = "unit-expo", .mode = S_IRUGO}, 81 {0x200201, "event-sensor-state"}, 82 {0x200202, "event-sensor-event"}, 83 {0x200301, "property-friendly-name"}, 84 {0x200302, "property-persistent-unique-id"}, 85 {0x200303, "property-sensor-status"}, 86 {0x200304, "property-min-report-interval"}, [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 most commonly used to refer to the USB-HID specification, but other 27 removed from the HID bus by the transport-layer drivers, such as 50 devices, like monitor controls and Uninterruptible Power Supplies. 58 to work on raw hid events when they want to, and avoid using transport-specific 64 tristate "User-space I/O driver support for HID subsystem" 67 Say Y here if you want to provide HID I/O Drivers from user-space. 68 This allows to write I/O drivers in user-space and feed the data from 71 user-space device. 73 This driver cannot be used to parse HID-reports in user-space and write [all …]
|
| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| H A D | bioscfg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common methods for use with hp-bioscfg driver 43 return -EINVAL; in hp_get_integer_from_buffer() 47 *buffer_size -= sizeof(int); in hp_get_integer_from_buffer() 62 return -EINVAL; in hp_get_string_from_buffer() 72 return -EINVAL; in hp_get_string_from_buffer() 87 conv_dst_size = dst_size - 1; in hp_get_string_from_buffer() 90 * convert from UTF-16 unicode to ASCII in hp_get_string_from_buffer() 119 *buffer_size -= size * sizeof(u16); in hp_get_string_from_buffer() 131 ret = hp_get_string_from_buffer(buffer_ptr, buffer_size, common_data->path, in hp_get_common_data_from_buffer() [all …]
|
| /linux/sound/soc/intel/atom/ |
| H A D | sst-atom-controls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sst-atom-controls.c - Intel MID Platform driver DPCM ALSA controls for Mrfld 5 * Copyright (C) 2013-14 Intel Corp 20 #include "sst-mfld-platform.h" 21 #include "sst-atom-controls.h" 28 struct snd_sst_bytes_v2 *byte_data = drv->byte_stream; in sst_fill_byte_control() 30 byte_data->type = SST_CMD_BYTES_SET; in sst_fill_byte_control() 31 byte_data->ipc_msg = ipc_msg; in sst_fill_byte_control() 32 byte_data->block = block; in sst_fill_byte_control() 33 byte_data->task_id = task_id; in sst_fill_byte_control() [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-timechart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * builtin-timechart.c - make an svg timechart of system activity 29 #include <subcmd/parse-options.h> 30 #include "util/parse-events.h" 41 #include <event-parse.h> 48 #define PWR_EVENT_EXIT -1 204 struct per_pid *cursor = tchart->all_data; in find_create_pid() 207 if (cursor->pid == pid) in find_create_pid() 209 cursor = cursor->next; in find_create_pid() 213 cursor->pid = pid; in find_create_pid() [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 7 #define E1000_CTRL 0x00000 /* Device Control - RW */ 8 #define E1000_STATUS 0x00008 /* Device Status - RO */ 9 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */ 10 #define E1000_EERD 0x00014 /* EEPROM Read - RW */ 11 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */ 12 #define E1000_MDIC 0x00020 /* MDI Control - RW */ 13 #define E1000_MDICNFG 0x00E04 /* MDI Config - RW */ 14 #define E1000_SCTL 0x00024 /* SerDes Control - RW */ [all …]
|
| /linux/drivers/tty/ |
| H A D | ehv_bytechan.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2009-2011 Freescale Semiconductor, Inc. 11 * 1) An early-console (udbg) driver. This provides early console output 19 * 3) A tty driver, which is used to handle user-space input and output. The 40 /* The size of the transmit circular buffer. This must be a power of two. */ 43 /* Per-byte channel private data */ 81 * 1. The tty layer makes two back-to-back calls to ehv_bc_tty_write() 88 if (!bc->tx_irq_enabled) { in enable_tx_interrupt() 89 enable_irq(bc->tx_irq); in enable_tx_interrupt() 90 bc->tx_irq_enabled = 1; in enable_tx_interrupt() [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_zone_alloc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2023-2025 Christoph Hellwig. 4 * Copyright (c) 2024-2025, Western Digital Corporation or its affiliates. 35 xfs_rtgroup_rele(oz->oz_rtg); in xfs_open_zone_free_rcu() 43 if (atomic_dec_and_test(&oz->oz_ref)) in xfs_open_zone_put() 44 call_rcu(&oz->oz_rcu, xfs_open_zone_free_rcu); in xfs_open_zone_put() 53 mp->m_groups[XG_TYPE_RTG].blocks; in xfs_zone_bucket() 62 __set_bit(rgno, zi->zi_used_bucket_bitmap[to_bucket]); in xfs_zone_add_to_bucket() 63 zi->zi_used_bucket_entries[to_bucket]++; in xfs_zone_add_to_bucket() 72 __clear_bit(rgno, zi->zi_used_bucket_bitmap[from_bucket]); in xfs_zone_remove_from_bucket() [all …]
|
| /linux/arch/x86/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "64-bit kernel" if "$(ARCH)" = "x86" 7 Say yes to build a 64-bit kernel - formerly known as x86_64 8 Say no to build a 32-bit kernel - formerly known as i386 13 # Options that are inherently 32-bit kernel only: 26 # Options that are inherently 64-bit kernel only: 56 # ported to 32-bit as well. ) 158 # Word-size accesses may read uninitialized data past the trailing \0 342 default "elf32-i386" if X86_32 343 default "elf64-x86-64" if X86_64 [all …]
|
| /linux/drivers/video/ |
| H A D | sticore.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/video/console/sticore.c - 7 * Copyright (C) 2001-2023 Helge Deller <deller@gmx.de> 8 * Copyright (C) 2001-2002 Thomas Bogendoerfer <tsbogend@alpha.franken.de> 11 * - call STI in virtual mode rather than in real mode 12 * - screen blanking with state_mgmt() in text mode STI ? 13 * - try to make it work on m68k hp workstations ;) 29 #include <asm/parisc-device.h> 48 if (IS_ENABLED(CONFIG_64BIT) && sti->do_call64) { in store_sti_val() 49 /* used for 64-bit STI ROM */ in store_sti_val() [all …]
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/ |
| H A D | amdgpu_smu.c | 54 * They are more MGPU friendly. 89 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_sys_get_pp_feature_mask() 90 return -EOPNOTSUPP; in smu_sys_get_pp_feature_mask() 100 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_sys_set_pp_feature_mask() 101 return -EOPNOTSUPP; in smu_sys_set_pp_feature_mask() 108 if (!smu->ppt_funcs->set_gfx_off_residency) in smu_set_residency_gfxoff() 109 return -EINVAL; in smu_set_residency_gfxoff() 116 if (!smu->ppt_funcs->get_gfx_off_residency) in smu_get_residency_gfxoff() 117 return -EINVAL; in smu_get_residency_gfxoff() 124 if (!smu->ppt_funcs->get_gfx_off_entrycount) in smu_get_entrycount_gfxoff() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_common.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018-2023, Intel Corporation. */ 90 * ice_dump_phy_type - helper function to dump phy_type 117 * ice_set_mac_type - Sets MAC type 125 if (hw->vendor_id != PCI_VENDOR_ID_INTEL) in ice_set_mac_type() 126 return -ENODEV; in ice_set_mac_type() 128 switch (hw->device_id) { in ice_set_mac_type() 135 hw->mac_type = ICE_MAC_E810; in ice_set_mac_type() 156 hw->mac_type = ICE_MAC_GENERIC; in ice_set_mac_type() 162 hw->mac_type = ICE_MAC_GENERIC_3K_E825; in ice_set_mac_type() [all …]
|