/linux-6.14.4/drivers/gpu/drm/ |
D | drm_exec.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 5 #include <linux/dma-resv.h> 10 * This component mainly abstracts the retry loop necessary for locking 15 * unlocks all previously locked GEM objects and locks the contended one first 18 * After an object is locked fences slots can optionally be reserved on the 42 * dma_resv_add_fence(obj->resv, fence, DMA_RESV_USAGE_READ); 50 /* Dummy value used to initially enter the retry loop */ 60 dma_resv_unlock(obj->resv); in drm_exec_unlock_all() 64 drm_gem_object_put(exec->prelocked); in drm_exec_unlock_all() 65 exec->prelocked = NULL; in drm_exec_unlock_all() [all …]
|
/linux-6.14.4/Documentation/userspace-api/media/v4l/ |
D | userp.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 21 data are exchanged, these pointers and meta-information are passed in 23 :c:type:`v4l2_plane` in the multi-planar API case). The 33 .. code-block:: c 41 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) { 57 swapped out to disk they are brought back and finally locked in physical 67 Firstly, the buffers remain locked for longer, wasting physical memory. 73 buffers, to start capturing and enter the read loop. Here the 74 application waits until a filled buffer can be dequeued, and re-enqueues 77 started. In the write loop, when the application runs out of free [all …]
|
/linux-6.14.4/Documentation/locking/ |
D | hwspinlock.rst | 12 For example, OMAP4 has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP, 17 A generic hwspinlock framework allows platform-independent drivers to use 22 This is necessary, for example, for Inter-processor communications: 23 on OMAP4, cpu-intensive multimedia tasks are offloaded by the host to the 26 To achieve fast message-based communications, a minimal kernel support 35 A common hwspinlock interface makes it possible to have generic, platform- 67 Retrieve the global lock id for an OF phandle-based specific lock. 72 The function returns a lock id number on success, -EPROBE_DEFER if 82 Free a previously-assigned hwspinlock; returns 0 on success, or an 83 appropriate error code on failure (e.g. -EINVAL if the hwspinlock [all …]
|
/linux-6.14.4/arch/arm/mach-omap2/ |
D | sram242x.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/arch/arm/mach-omap2/sram242x.S 9 * Richard Woodruff <r-[email protected]> 31 stmfd sp!, {r0 - r12, lr} @ save registers on stack 39 str r3, [r2] @ go to L1-freq operation 59 ldr r10, [r11] @ get locked value 62 mov r9, #0x0 @ shift back to L0-voltage 67 str r3, [r2] @ go to L0-freq operation 82 ldmfd sp!, {r0 - r12, pc} @ restore regs and return 86 mov r4, #0x800 @ delay DLL relock, min 0x400 L3 clocks [all …]
|
D | sram243x.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/arch/arm/mach-omap2/sram243x.S 9 * Richard Woodruff <r-[email protected]> 31 stmfd sp!, {r0 - r12, lr} @ save registers on stack 39 str r3, [r2] @ go to L1-freq operation 59 ldr r10, [r11] @ get locked value 62 mov r9, #0x0 @ shift back to L0-voltage 67 str r3, [r2] @ go to L0-freq operation 82 ldmfd sp!, {r0 - r12, pc} @ restore regs and return 86 mov r4, #0x800 @ delay DLL relock, min 0x400 L3 clocks [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/mmc/ |
D | hisilicon,hi3798cv200-dw-mshc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mmc/hisilicon,hi3798cv200-dw-mshc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Yang Xiwen <[email protected]> 15 - hisilicon,hi3798cv200-dw-mshc 16 - hisilicon,hi3798mv200-dw-mshc 26 - description: bus interface unit clock 27 - description: card interface unit clock 28 - description: card input sample phase clock [all …]
|
/linux-6.14.4/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy_28nm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 14 * DSI PLL 28nm - clock diagram (eg: DSI0): 19 * +------+ | +----+ | |\ dsi0byte_mux 20 * dsi0vco_clk --o--| DIV1 |--o--| /2 |--o--| \ | 21 * | +------+ +----+ | m| | +----+ 22 * | | u|--o--| /4 |-- dsi0pllbyte 23 * | | x| +----+ 24 * o--------------------------| / 26 * | +------+ [all …]
|
/linux-6.14.4/drivers/iio/dac/ |
D | ad9739a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2015-2024 Analog Devices Inc. 10 #include <linux/delay.h> 65 #define AD9739A_FSC_RANGE (AD9739A_FSC_MAX - AD9739A_FSC_MIN + 1) 69 #define AD9739A_DAC_CLK_RANGE (AD9739A_MAX_DAC_CLK - AD9739A_MIN_DAC_CLK + 1) 86 ret = regmap_read(st->regmap, AD9739A_REG_DEC_CNT, &mode); in ad9739a_oper_mode_get() 93 return -EIO; in ad9739a_oper_mode_get() 101 return AD9739A_MIXED_MODE - 1; in ad9739a_oper_mode_get() 113 if (mode == AD9739A_MIXED_MODE - 1) in ad9739a_oper_mode_set() 116 return regmap_update_bits(st->regmap, AD9739A_REG_DEC_CNT, in ad9739a_oper_mode_set() [all …]
|
/linux-6.14.4/drivers/video/fbdev/matrox/ |
D | matroxfb_Ti3026.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * (c) 1998-2002 Petr Vandrovec <[email protected]> 33 * "Gerd Knorr" <[email protected]-berlin.de> 57 * "Ulf Jaenicke-Roessler" <[email protected]-dresden.de> 73 * (c) 1998 Gerd Knorr <[email protected]-berlin.de> 151 #define TVP3026_XMUXCTRL_MEMORY_8BIT 0x01 /* - */ 152 #define TVP3026_XMUXCTRL_MEMORY_16BIT 0x02 /* - */ 205 #define TVP3026_XPLLADDR_X(LOOP,MCLK,PIX) (((LOOP)<<4) | ((MCLK)<<2) | (PIX)) argument 234 #define TVP3026_XMEMPLLCTRL_DIV(X) (((X)-1)>>1) /* 2,4,6,8,10,12,14,16, division applied to LOO… 240 #define TVP3026_XMEMPLLCTRL_RCLK_DOTDIVN 0x40 /* dot clock divided by loop pclk N prescaler */ [all …]
|
/linux-6.14.4/drivers/platform/x86/intel/ |
D | vsec_tpmi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * Intel Out-of-Band (OOB) device, which is handled by the Intel VSEC 42 * "intel_vsec.tpmi-" prefix which is followed by a specific name of the 43 * given PM feature (for example, "intel_vsec.tpmi-rapl.0"). 52 #include <linux/delay.h> 64 * struct intel_tpmi_pfs_entry - TPMI PM Feature Structure (PFS) entry 68 * @entry_size: Interface instance entry size in 32-bit words. 71 * @attribute: Feature attribute: 0=BIOS. 1=OS. 2-3=Reserved. 87 * struct intel_tpmi_pm_feature - TPMI PM Feature information for a TPMI ID 103 * struct intel_tpmi_info - TPMI information for all IDs in an instance [all …]
|
/linux-6.14.4/block/ |
D | blk-cgroup.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #include <linux/blk-cgroup.h> 20 #include <linux/blk-mq.h> 28 /* percpu_counter batch for blkg_[rw]stats, per-cpu drift doesn't matter */ 63 /* all non-root blkcg_gq's are guaranteed to have access to parent */ 130 * information per blkcg - q pair. 139 /* the blkg and policy id this per-policy data belongs to */ 146 * Policies that need to keep per-blkcg data which is independent from any 150 * cpd_init() is invoked to let each policy handle per-blkcg data. 153 /* the blkcg and policy id this per-policy data belongs to */ [all …]
|
/linux-6.14.4/include/sound/ |
D | emu10k1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <sound/pcm-indirect.h> 25 /* ------------------- DEFINES -------------------- */ 33 /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ 41 // This is used to define hardware bit-fields (sub-registers) by combining 44 // The non-concatenating (_NC) variant should be used directly only for 45 // sub-registers that do not follow the <register>_<field> naming pattern. 55 // Macros for manipulating values of bit-fields declared using the above macros. 59 // single sub-register at a time. 62 #define REG_MASK0(r) ((1U << REG_SIZE(r)) - 1U) [all …]
|
/linux-6.14.4/drivers/video/fbdev/core/ |
D | fb_defio.c | 17 #include <linux/delay.h> 28 struct fb_deferred_io *fbdefio = info->fbdefio; in fb_deferred_io_get_page() 29 const void *screen_buffer = info->screen_buffer; in fb_deferred_io_get_page() 32 if (fbdefio->get_page) in fb_deferred_io_get_page() 33 return fbdefio->get_page(info, offs); in fb_deferred_io_get_page() 37 else if (info->fix.smem_start) in fb_deferred_io_get_page() 38 page = pfn_to_page((info->fix.smem_start + offs) >> PAGE_SHIFT); in fb_deferred_io_get_page() 53 if (fb_WARN_ON_ONCE(info, pgoff >= info->npagerefs)) in fb_deferred_io_pageref_lookup() 57 pageref = &info->pagerefs[pgoff]; in fb_deferred_io_pageref_lookup() 59 if (pageref->page) in fb_deferred_io_pageref_lookup() [all …]
|
/linux-6.14.4/fs/xfs/ |
D | xfs_buf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2006 Silicon Graphics, Inc. 7 #include <linux/backing-dev.h> 55 return bp->b_rhash_key == XFS_BUF_DADDR_NULL; in xfs_buf_is_uncached() 67 * to be both for b_addr and bp->b_page_count > 1. in xfs_buf_is_vmapped() 69 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped() 76 return (bp->b_page_count * PAGE_SIZE); in xfs_buf_vmap_len() 85 * This prevents build-up of stale buffers on the LRU. 93 bp->b_flags |= XBF_STALE; in xfs_buf_stale() 100 bp->b_flags &= ~_XBF_DELWRI_Q; in xfs_buf_stale() [all …]
|
/linux-6.14.4/drivers/mmc/host/ |
D | sdricoh_cs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sdricoh_cs.c - driver for Ricoh Secure Digital Card Readers that can be 6 * Copyright (C) 2006 - 2008 Sascha Sommer <[email protected]> 13 #include <linux/delay.h> 91 unsigned int value = readl(host->iobase + reg); in sdricoh_readl() 92 dev_vdbg(host->dev, "rl %x 0x%x\n", reg, value); in sdricoh_readl() 99 writel(value, host->iobase + reg); in sdricoh_writel() 100 dev_vdbg(host->dev, "wl %x 0x%x\n", reg, value); in sdricoh_writel() 107 writew(value, host->iobase + reg); in sdricoh_writew() 108 dev_vdbg(host->dev, "ww %x 0x%x\n", reg, value); in sdricoh_writew() [all …]
|
/linux-6.14.4/drivers/gpu/drm/loongson/ |
D | lsdc_pixpll.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <linux/delay.h> 29 unsigned locked : 1; /* 39 PLL locked indicator */ member 106 iounmap(this->mmio); in lsdc_pixel_pll_free() 108 kfree(this->priv); in lsdc_pixel_pll_free() 122 this->mmio = ioremap(this->reg_base, this->reg_size); in lsdc_pixel_pll_setup() 123 if (!this->mmio) in lsdc_pixel_pll_setup() 124 return -ENOMEM; in lsdc_pixel_pll_setup() 128 iounmap(this->mmio); in lsdc_pixel_pll_setup() 129 return -ENOMEM; in lsdc_pixel_pll_setup() [all …]
|
/linux-6.14.4/drivers/regulator/ |
D | vctrl-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/delay.h> 50 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_ctrl_voltage() 51 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_ctrl_voltage() 53 return ctrl->min_uV + in vctrl_calc_ctrl_voltage() 54 DIV_ROUND_CLOSEST_ULL((s64)(out_uV - out->min_uV) * in vctrl_calc_ctrl_voltage() 55 (ctrl->max_uV - ctrl->min_uV), in vctrl_calc_ctrl_voltage() 56 out->max_uV - out->min_uV); in vctrl_calc_ctrl_voltage() 61 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_output_voltage() 62 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_output_voltage() [all …]
|
/linux-6.14.4/mm/ |
D | compaction.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Copyright IBM Corp. 2007-2010 Mel Gorman <[email protected]> 17 #include <linux/backing-dev.h> 20 #include <linux/page-isolation.h> 46 * order == -1 is expected when compacting proactively via 53 return order == -1; in is_via_compact_memory() 71 * Page order with-respect-to which proactive compaction 80 #define COMPACTION_HPAGE_ORDER (PMD_SHIFT - PAGE_SHIFT) 102 list_del(&page->lru); in release_free_list() 136 page->mapping = (void *)((unsigned long)mops | PAGE_MAPPING_MOVABLE); in __SetPageMovable() [all …]
|
/linux-6.14.4/drivers/scsi/libfc/ |
D | fc_disc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2007 - 2008 Intel Corporation. All rights reserved. 5 * Maintained at www.Open-FCoE.org 11 * This block discovers all FC-4 remote ports, including FCP initiators. It 12 * also handles RSCN events and re-discovery if necessary. 18 * The disc mutex is can be locked when acquiring rport locks, but may not 38 #define FC_DISC_RETRY_DELAY 500UL /* (msecs) delay */ 48 * fc_disc_stop_rports() - Delete all the remote ports associated with the lport 55 lockdep_assert_held(&disc->disc_mutex); in fc_disc_stop_rports() 57 list_for_each_entry(rdata, &disc->rports, peers) { in fc_disc_stop_rports() [all …]
|
/linux-6.14.4/drivers/media/pci/tw5864/ |
D | tw5864-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * TW5864 driver - registers description 8 /* According to TW5864_datasheet_0.6d.pdf, tw5864b1-ds.pdf */ 10 /* Register Description - Direct Map Space */ 11 /* 0x0000 ~ 0x1ffc - H264 Register Map */ 25 /* Enable bit for Loop Filter module */ 76 * 0->3 4 VLC data buffer in DDR (1M each) 77 * 0->7 8 VLC data buffer in DDR (512k each) 138 * If DSP_MB_WAIT == 0, MB delay is DSP_MB_DELAY * 16 139 * If DSP_MB_DELAY == 1, MB delay is DSP_MB_DELAY * 128 [all …]
|
/linux-6.14.4/Documentation/arch/x86/ |
D | resctrl.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 :Authors: - Fenghua Yu <[email protected]> 10 - Tony Luck <[email protected]> 11 - Vikas Shivappa <[email protected]> 38 # mount -t resctrl resctrl [-o cdp[,cdpl2][,mba_MBps][,debug]] /sys/fs/resctrl 57 pseudo-locking is a unique way of using cache control to "pin" or 59 "Cache Pseudo-Locking". 96 own settings for cache use which can over-ride 128 Corresponding region is pseudo-locked. No 131 Indicates if non-contiguous 1s value in CBM is supported. [all …]
|
/linux-6.14.4/drivers/scsi/aic7xxx/ |
D | aic79xx.reg | 4 * Copyright (c) 1994-2001, 2004 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 62 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 69 if ((ahd->bugs & AHD_SET_MODE_BUG) != 0) { \ 76 if ((ahd->bugs & AHD_INTCOLLISION_BUG) != 0) { \ 187 * A command with a non-zero 534 * PCI PLL Delay. 839 * PCI-X Control 2564 * SCSI I/O Cell Power-down Control [all …]
|
/linux-6.14.4/drivers/usb/core/ |
D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 71 /* Protect struct usb_device->state and ->children members 72 * Note: Both are also protected by ->dev.sem, except that ->state can 80 /* synchronize hub-port add/remove and peering operations */ 90 * 10 seconds to send reply for the initial 64-byte descriptor request. 92 /* define initial 64-byte descriptor request timeout in milliseconds */ 96 "initial 64-byte descriptor request timeout in milliseconds " 97 "(default 5000 - 5.0 seconds)"); 141 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 143 if (hub_is_superspeed(hub->hdev)) in portspeed() [all …]
|
/linux-6.14.4/drivers/mtd/nand/raw/ |
D | lpc32xx_mlc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * - Read: Auto Decode 12 * - Write: Auto Encode 13 * - Tested Page Sizes: 2048, 4096 24 #include <linux/delay.h> 32 #include <linux/dma-mapping.h> 134 if (section >= nand_chip->ecc.steps) in lpc32xx_ooblayout_ecc() 135 return -ERANGE; in lpc32xx_ooblayout_ecc() 137 oobregion->offset = ((section + 1) * 16) - nand_chip->ecc.bytes; in lpc32xx_ooblayout_ecc() 138 oobregion->length = nand_chip->ecc.bytes; in lpc32xx_ooblayout_ecc() [all …]
|
/linux-6.14.4/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include <linux/delay.h> 118 * CFI Primary Vendor-Specific Extended Query table 1.5 122 struct cfi_pri_amdstd *extp = cfi->cmdset_priv; in cfi_use_status_reg() 125 return extp && extp->MinorVersion >= '5' && in cfi_use_status_reg() 126 (extp->SoftwareFeatures & poll_mask) == CFI_POLL_STATUS_REG; in cfi_use_status_reg() 132 struct cfi_private *cfi = map->fldrv_priv; in cfi_check_err_status() 138 cfi_send_gen_cmd(0x70, cfi->addr_unlock1, chip->start, map, cfi, in cfi_check_err_status() 139 cfi->device_type, NULL); in cfi_check_err_status() 151 map->name, chipstatus); in cfi_check_err_status() [all …]
|