| /linux/Documentation/networking/devlink/ |
| H A D | devlink-reload.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ``devlink-reload`` provides mechanism to reinit driver entities, applying 8 ``devlink-params`` and ``devlink-resources`` new values. It also provides 17 .. list-table:: Possible reload actions 20 * - Name 21 - Description 22 * - ``driver-reinit`` 23 - Devlink driver entities re-initialization, including applying 27 * ``devlink-params`` in configuration mode ``driverinit`` 28 * ``devlink-resources`` [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_validation.h | 1 /* SPDX-License-Identifier: MIT */ 8 #include <linux/dma-resv.h> 19 * xe_validation_lockdep() - Assert that a drm_exec locking transaction can 45 * XE_VALIDATION_UNSUPPORTED is for dma-buf code only where 46 * the dma-buf layer doesn't support WW locking. 51 #define __XE_VAL_UNIMPLEMENTED -EINVAL 55 #define __XE_VAL_UNSUPPORTED -EOPNOTSUPP 58 #define __XE_VAL_OPT_OUT -ENOMEM 72 * struct xe_validation_device - The domain for exhaustive eviction 84 * struct xe_val_flags - Flags for xe_validation_ctx_init(). [all …]
|
| /linux/drivers/net/ipa/ |
| H A D | ipa_main.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 51 * currently supported. Despite that, some resources--including routing 52 * tables and filter tables--are defined in this driver because they must 58 * well-defined communication layer between the AP subsystem and the IPA 101 * ipa_setup() - Set up IPA hardware 104 * Perform initialization that requires issuing immediate commands on 106 * and initialization, this function will be called when an SMP2P 115 struct device *dev = ipa->dev; in ipa_setup() [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | prph.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 106 * processor is sleeping (e.g. for periodic power-saving shutdowns of radio). 119 * The uCode used for open-source drivers includes two programs: 121 * 1) Initialization -- performs hardware calibration and sets up some 125 * The initialization program must be used when initially setting up the 128 * 2) Runtime/Protocol -- performs all normal runtime operations. This 157 * The bootstrap uCode (already in instruction SRAM) loads initialization 158 * uCode. Initialization uCode performs data initialization, sends [all …]
|
| /linux/drivers/platform/surface/ |
| H A D | surface_aggregator_hub.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * (hot-)removal. 9 * Copyright (C) 2020-2022 Maximilian Luz <luzmaximilian@gmail.com> 21 /* -- SSAM generic subsystem hub driver framework. -------------------------- */ 24 SSAM_HUB_UNINITIALIZED, /* Only set during initialization. */ 73 status = hub->ops.get_state(hub, &state); in ssam_hub_update_workfn() 78 * There is a small possibility that hub devices were hot-removed and in ssam_hub_update_workfn() 79 * re-added before we were able to remove them here. In that case, both in ssam_hub_update_workfn() 82 * leave child devices without proper (re-)initialization and the in ssam_hub_update_workfn() 83 * hot-remove flag set. in ssam_hub_update_workfn() [all …]
|
| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_modem_ops.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2021-2022, Intel Corporation. 31 * enum hif_ex_stage - HIF exception handshake stages with the HW. 33 * @HIF_EX_INIT_DONE: Polling for initialization to be done. 35 * @HIF_EX_ALLQ_RESET: HW is back in safe mode for re-initialization and restart.
|
| /linux/drivers/clocksource/ |
| H A D | hyperv_timer.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * provided by the Hyper-V hypervisor to guest VMs, as described 6 * in the Hyper-V Top Level Functional Spec (TLFS). This driver 35 * If false, we're using the old mechanism for stimer0 interrupts 37 * mechanism is used when running on older versions of Hyper-V 38 * that don't support Direct Mode. While Hyper-V provides 45 * However, for legacy versions of Hyper-V when Direct Mode 52 static int stimer0_irq = -1; 65 ce->event_handler(ce); in hv_stimer0_isr() 71 * per-cpu interrupts, which also implies Direct Mode. [all …]
|
| /linux/fs/btrfs/ |
| H A D | locking.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 71 * has this problem as it appears we're locking the same block again 79 * the limit. As of this writing we're limited to 8, and we're 106 rwsem_acquire(&owner->lock##_map, 0, 0, _THIS_IP_); \ 107 rwsem_release(&owner->lock##_map, _THIS_IP_); \ 122 rwsem_acquire_read(&owner->lock##_map, 0, 0, _THIS_IP_) 129 rwsem_release(&owner->lock##_map, _THIS_IP_) 136 rwsem_acquire_read(&owner->vfs_inode.lock.dep_map, 0, 0, _THIS_IP_) 139 rwsem_release(&owner->vfs_inode.lock.dep_map, _THIS_IP_) 147 rwsem_acquire(&owner->btrfs_state_change_map[i], 0, 0, _THIS_IP_); \ [all …]
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_cwksp.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 15 /*-************************************* 23 /*-************************************* 42 /*-************************************* 55 * expect a well-formed caller to free this. 71 * - These different internal datastructures have different setup requirements: 73 * - The static objects need to be cleared once and can then be trivially 76 * - Various buffers don't need to be initialized at all--they are always [all …]
|
| /linux/Documentation/scheduler/ |
| H A D | completion.rst | 2 Completions - "wait for completion" barrier APIs 6 ------------- 10 race-free solution to this problem. Semantically they are somewhat like a 11 pthread_barrier() and have similar use-cases. 14 misuse of locks/semaphores and busy-loops. Any time you think of using 34 ------ 38 - the initialization of the 'struct completion' synchronization object 39 - the waiting part through a call to one of the variants of wait_for_completion(), 40 - the signaling side through a call to complete() or complete_all(). 43 Note that while initialization must happen first, the waiting and signaling [all …]
|
| /linux/Documentation/PCI/ |
| H A D | pci-error-recovery.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Authors: - Linas Vepstas <linasvepstas@gmail.com> 9 - Richard Lary <rlary@us.ibm.com> 10 - Mike Mason <mmlnx@us.ibm.com> 17 and the PCI-host bridges found on IBM Power4, Power5 and Power6-based 32 including multiple instances of a device driver on multi-function 34 waiting for some i/o-space register to change, when it never will. 39 is forced by the need to handle multi-function devices, that is, 42 of reset it desires, the choices being a simple re-enabling of I/O 47 After a reset and/or a re-enabling of I/O, all drivers are [all …]
|
| /linux/drivers/pcmcia/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 Say Y here if you want to attach PCMCIA- or PC-cards to your Linux 10 computer. These are credit-card size devices such as network cards, 21 tristate "16-bit PCMCIA support" 26 This option enables support for 16-bit PCMCIA cards. Most older 27 PC-cards are such 16-bit PCMCIA cards, so unless you know you're 28 only using 32-bit CardBus cards, say Y or M here. 30 To use 16-bit PCMCIA cards, you will need supporting software in 48 automatically using the in-kernel firmware loader and the hotplug 49 subsystem, instead of relying on cardmgr from pcmcia-cs to do so. [all …]
|
| /linux/sound/hda/common/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 bool "Build hwdep interface for HD-audio driver" 16 Say Y here to build a hwdep interface for HD-audio driver. 17 This interface can be used for out-of-band communication 23 Say Y here to enable the HD-audio codec re-configuration feature. 25 codec setup, add extra verbs, and re-configure the codec dynamically. 36 Say Y here to build a digital beep interface for HD-audio 45 Set 0 to disable the digital beep interface for HD-audio by default. 46 Set 1 to always enable the digital beep interface for HD-audio by 50 bool "Support initialization patch loading for HD-audio" [all …]
|
| /linux/include/sound/ |
| H A D | cs4271.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 * line is de-asserted. That also means that clocks cannot be changed 18 * a complete re-initialization of all registers. 20 * One (undocumented) workaround is to assert and de-assert the PDN bit
|
| /linux/drivers/firewire/ |
| H A D | init_ohci1394_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * init_ohci1394_dma.c - Initializes physical DMA on all OHCI 1394 controllers 5 * Copyright (C) 2006-2007 Bernhard Kaindl <bk@suse.de> 7 * Derived from drivers/ieee1394/ohci1394.c and arch/x86/kernel/early-quirks.c 9 * - scan the PCI very early on boot for all OHCI 1394-compliant controllers 10 * - reset and initialize them and make them join the IEEE1394 bus and 11 * - enable physical DMA on them to allow remote debugging 17 * To use physical DMA after the initialization of the firewire stack, 18 * be sure that the stack enables it and (re-)attach after the bus reset 19 * which may be caused by the firewire stack initialization. [all …]
|
| /linux/include/linux/ |
| H A D | rculist_nulls.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * RCU-protected list version 14 * hlist_nulls_del_init_rcu - deletes entry from hash list with re-initialization 28 * list-mutation primitive, such as hlist_nulls_add_head_rcu() or 30 * perfectly legal to run concurrently with the _rcu list-traversal 37 WRITE_ONCE(n->pprev, NULL); in hlist_nulls_del_init_rcu() 42 * hlist_nulls_first_rcu - returns the first element of the hash list. 46 (*((struct hlist_nulls_node __rcu __force **)&(head)->first)) 49 * hlist_nulls_next_rcu - returns the element of the list after @node. 53 (*((struct hlist_nulls_node __rcu __force **)&(node)->next)) [all …]
|
| H A D | rculist_bl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * RCU-protected bl list version. See include/linux/list_bl.h. 15 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first_rcu() 17 rcu_assign_pointer(h->first, in hlist_bl_set_first_rcu() 24 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu() 28 * hlist_bl_del_rcu - deletes entry from hash list without re-initialization 40 * with another list-mutation primitive, such as hlist_bl_add_head_rcu() 43 * the _rcu list-traversal primitives, such as 49 n->pprev = LIST_POISON2; in hlist_bl_del_rcu() 63 * with another list-mutation primitive, such as hlist_bl_add_head_rcu() [all …]
|
| /linux/drivers/atm/ |
| H A D | nicstarmac.copyright | 6 * 10/1/97 - commented out CFG_PHYIE bit - we don't care when the PHY 8 * 10/4/97 - began heavy inline documentation of the code. Corrected typos 10 * 10/5/97 - added code to handle PHY interrupts, disable PHY on 11 * loss of link, and correctly re-enable PHY when link is 12 * re-established. (put back CFG_PHYIE) 14 * Modified to work with the IDT7721 nicstar -- AAL5 (tested) only. 19 * PHY component is expected to be 155 Mbps S/UNI-Lite or IDT 77155; 20 * see init_nicstar() for PHY initialization to change this. This driver 21 * expects the Linux ATM stack to support scatter-gather lists 22 * (skb->atm.iovcnt != 0) for Rx skb's passed to vcc->push. [all …]
|
| /linux/Documentation/driver-api/surface_aggregator/ |
| H A D | internal.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 54 internal-api 63 Lower-level packet transport is implemented in the *packet transport layer 68 packet payloads to higher-level layers. 71 around command-type packet payloads, i.e. requests (sent from host to EC), 90 Refer to Documentation/driver-api/surface_aggregator/client.rst for 93 that chapter and the Documentation/driver-api/surface_aggregator/ssh.rst 104 ------- 153 ------------ 163 re-submitted to this queue due to timeouts or NAK packets sent by the EC. [all …]
|
| /linux/mm/kfence/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/kcsan-checks.h> 78 *((unsigned long *)kp->arg) = num; in param_set_sample_interval() 81 return disabled_by_warn ? -EINVAL : kfence_enable_late(); in param_set_sample_interval() 120 * Per-object metadata, with one-to-one mapping of object metadata to 129 * kfence_metadata visible after initialization is successful. This prevents 151 * Assuming a range of 15%-85% unique allocations in the pool at any point in 152 * time, the below parameters provide a probablity of 0.02-0.33 for false 155 * P(alloc_traces) = (1 - e^(-HNUM * (alloc_traces / SIZE)) ^ HNUM 161 #define ALLOC_COVERED_MASK (ALLOC_COVERED_SIZE - 1) [all …]
|
| /linux/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-hdw.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <media/v4l2-dev.h> 12 #include "pvrusb2-io.h" 13 #include "pvrusb2-ctrl.h" 17 pvr2_hdw_get_ctrl_by_id() - these are NOT visible in V4L */ 61 * DEAD - Device is in an unusable state and cannot be recovered. This 66 * COLD - Device is in an unusable state, needs microcontroller firmware. 68 * WARM - We can communicate with the device and the proper 69 * microcontroller firmware is running, but other device initialization is 72 * ERROR - A problem prevents capture operation (e.g. encoder firmware [all …]
|
| /linux/lib/ |
| H A D | ratelimit.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ratelimit.c - Do something with rate limit. 7 * 2008-05-01 rewrite the function and use a ratelimit_state data struct as 16 * __ratelimit - rate limiting 20 * This enforces a rate limit: not more than @rs->burst callbacks 21 * in every @rs->interval 33 int interval = READ_ONCE(rs->interval); in ___ratelimit() 34 int burst = READ_ONCE(rs->burst); in ___ratelimit() 39 * Zero interval says never limit, otherwise, non-positive burst in ___ratelimit() 45 if (!(READ_ONCE(rs->flags) & RATELIMIT_INITIALIZED) || (!interval && !burst) || in ___ratelimit() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_uc.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2016-2019 Intel Corporation 28 struct drm_i915_private *i915 = uc_to_gt(uc)->i915; in uc_expand_default_options() 30 if (i915->params.enable_guc != -1) in uc_expand_default_options() 33 /* Don't enable GuC/HuC on pre-Gen12 */ in uc_expand_default_options() 35 i915->params.enable_guc = 0; in uc_expand_default_options() 41 i915->params.enable_guc = 0; in uc_expand_default_options() 47 i915->params.enable_guc = ENABLE_GUC_LOAD_HUC; in uc_expand_default_options() 52 i915->params.enable_guc = ENABLE_GUC_LOAD_HUC | ENABLE_GUC_SUBMISSION; in uc_expand_default_options() 63 ret = i915_inject_probe_error(gt->i915, -ENXIO); in __intel_uc_reset_hw() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | init.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright(c) 2015 - 2020 Intel Corporation. 50 int num_user_contexts = -1; 53 …num_user_contexts, "Set max number of user contexts to use (default: -1 will use the real (non-HT)… 58 MODULE_PARM_DESC(krcvqs, "Array of the number of non-control kernel receive queues by VL"); 77 MODULE_PARM_DESC(hdrq_entsize, "Size of header queue entries: 2 - 8B, 16 - 64B, 32 - 128B (default)… 94 ret = hfi1_create_ctxtdata(ppd, dd->node, &rcd); in hfi1_create_kctxt() 105 rcd->flags = HFI1_CAP_KGET(MULTI_PKT_EGR) | in hfi1_create_kctxt() 111 if (rcd->ctxt == HFI1_CTRL_CTXT) in hfi1_create_kctxt() 112 rcd->flags |= HFI1_CAP_DMA_RTAIL; in hfi1_create_kctxt() [all …]
|
| /linux/Documentation/sound/cards/ |
| H A D | audiophile-usb.rst | 2 Guide to using M-Audio Audiophile USB with ALSA and Jack 9 This document is a guide to using the M-Audio Audiophile USB (tm) device with 15 * v1.4 - Thibault Le Meur (2007-07-11) 17 - Added Low Endianness nature of 16bits-modes 19 - Modifying document structure 21 * v1.5 - Thibault Le Meur (2007-07-12) 22 - Added AC3/DTS passthru info 35 - This port supports 2 pairs of line-level audio inputs (1/4" TS and RCA) 36 - When the 1/4" TS (jack) connectors are connected, the RCA connectors 57 * 16-bit/48kHz ==> 4 channels in + 4 channels out [all …]
|