/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/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/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/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/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_) 137 rwsem_acquire(&owner->btrfs_state_change_map[i], 0, 0, _THIS_IP_); \ 138 rwsem_release(&owner->btrfs_state_change_map[i], _THIS_IP_); \ 142 rwsem_acquire_read(&owner->btrfs_state_change_map[i], 0, 0, _THIS_IP_) [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/lib/zstd/compress/ |
H A D | zstd_cwksp.h | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 14 /*-************************************* 20 /*-************************************* 39 /*-************************************* 51 * expect a well-formed caller to free this. 67 * - These different internal datastructures have different setup requirements: 69 * - The static objects need to be cleared once and can then be trivially 72 * - Various buffers don't need to be initialized at all--they are always 73 * written into before they're read. [all …]
|
/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 26 #include <asm/hyperv-tlfs.h> 33 * If false, we're using the old mechanism for stimer0 interrupts 35 * mechanism is used when running on older versions of Hyper-V 36 * that don't support Direct Mode. While Hyper-V provides 43 * However, for legacy versions of Hyper-V when Direct Mode 50 static int stimer0_irq = -1; 63 ce->event_handler(ce); in hv_stimer0_isr() [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> 16 chipsets are able to deal with these errors; these include PCI-E chipsets, 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 [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/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/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/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/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/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/drivers/infiniband/hw/qib/ |
H A D | qib_init.c | 3 * Copyright (c) 2006 - 2012 QLogic Corporation. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 77 "0 -> PSM allocation close to HCA, 1 -> PSM allocation local to process"); 93 MODULE_PARM_DESC(cc_table_size, "Congestion control table entries 0 (CCA disabled - default), min =… 105 dd->cfgctxts = dd->first_user_ctxt + num_online_cpus(); in qib_set_ctxtcnt() 106 if (dd->cfgctxts > dd->ctxtcnt) in qib_set_ctxtcnt() 107 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt() 108 } else if (qib_cfgctxts < dd->num_pports) in qib_set_ctxtcnt() 109 dd->cfgctxts = dd->ctxtcnt; in qib_set_ctxtcnt() [all …]
|
/linux/include/linux/mmc/ |
H A D | host.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 12 #include <linux/fault-inject.h> 18 #include <linux/dma-direction.h> 19 #include <linux/blk-crypto-profile.h> 142 * ios->clock might be 0. For some controllers, setting 0Hz 152 * 1 for a read-only card 153 * -ENOSYS when not supported (equal to NULL callback) 162 * -ENOSYS when not supported (equal to NULL callback) 188 /* Optional callback to prepare for SD high-speed tuning */ 191 /* Optional callback to execute SD high-speed tuning */ [all …]
|
/linux/drivers/soc/mediatek/ |
H A D | mtk-regulator-coupler.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 * This function is limited to the GPU<->SRAM voltages relationships. 37 int max_spread = rdev->constraints->max_spread[0]; in mediatek_regulator_balance_voltage() 38 int vsram_min_uV = mrc->vsram_rdev->constraints->min_uV; in mediatek_regulator_balance_voltage() 39 int vsram_max_uV = mrc->vsram_rdev->constraints->max_uV; in mediatek_regulator_balance_voltage() 51 * implies that the target device has yet to perform initialization in mediatek_regulator_balance_voltage() 54 if (rdev == mrc->vsram_rdev) { in mediatek_regulator_balance_voltage() 55 if (rdev->use_count == 0) in mediatek_regulator_balance_voltage() 58 return -EPERM; in mediatek_regulator_balance_voltage() 77 * If we're asked to set a voltage less than VSRAM min_uV, set in mediatek_regulator_balance_voltage() [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/mm/kfence/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/kcsan-checks.h> 77 *((unsigned long *)kp->arg) = num; in param_set_sample_interval() 80 return disabled_by_warn ? -EINVAL : kfence_enable_late(); in param_set_sample_interval() 119 * Per-object metadata, with one-to-one mapping of object metadata to 128 * kfence_metadata visible after initialization is successful. This prevents 150 * Assuming a range of 15%-85% unique allocations in the pool at any point in 151 * time, the below parameters provide a probablity of 0.02-0.33 for false 154 * P(alloc_traces) = (1 - e^(-HNUM * (alloc_traces / SIZE)) ^ HNUM 160 #define ALLOC_COVERED_MASK (ALLOC_COVERED_SIZE - 1) [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 …]
|