| /Linux-v6.1/fs/ |
| D | fs_pin.c | 1 // SPDX-License-Identifier: GPL-2.0 10 void pin_remove(struct fs_pin *pin) in pin_remove() argument 13 hlist_del_init(&pin->m_list); in pin_remove() 14 hlist_del_init(&pin->s_list); in pin_remove() 16 spin_lock_irq(&pin->wait.lock); in pin_remove() 17 pin->done = 1; in pin_remove() 18 wake_up_locked(&pin->wait); in pin_remove() 19 spin_unlock_irq(&pin->wait.lock); in pin_remove() 22 void pin_insert(struct fs_pin *pin, struct vfsmount *m) in pin_insert() argument 25 hlist_add_head(&pin->s_list, &m->mnt_sb->s_pins); in pin_insert() [all …]
|
| /Linux-v6.1/drivers/media/cec/core/ |
| D | cec-pin-priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * cec-pin-priv.h - internal cec-pin header 13 #include <media/cec-pin.h> 15 #define call_pin_op(pin, op, arg...) \ argument 16 ((pin && pin->ops->op && !pin->adap->devnode.unregistered) ? \ 17 pin->ops->op(pin->adap, ## arg) : 0) 19 #define call_void_pin_op(pin, op, arg...) \ argument 21 if (pin && pin->ops->op && \ 22 !pin->adap->devnode.unregistered) \ 23 pin->ops->op(pin->adap, ## arg); \ [all …]
|
| D | cec-pin.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <media/cec-pin.h> 11 #include "cec-pin-priv.h" 61 /* Data bits are 0-7, EOM is bit 8 and ACK is bit 9 */ 73 { "Tx Wait", CEC_TIM_SAMPLE }, 74 { "Tx Wait for High", CEC_TIM_IDLE_SAMPLE }, 76 { "Tx Start Bit High", CEC_TIM_START_BIT_TOTAL - CEC_TIM_START_BIT_LOW }, 77 { "Tx Start Bit High Short", CEC_TIM_START_BIT_TOTAL_SHORT - CEC_TIM_START_BIT_LOW }, 78 { "Tx Start Bit High Long", CEC_TIM_START_BIT_TOTAL_LONG - CEC_TIM_START_BIT_LOW }, 82 { "Tx Data 0 High", CEC_TIM_DATA_BIT_TOTAL - CEC_TIM_DATA_BIT_0_LOW }, [all …]
|
| D | cec-api.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cec-api.c - HDMI Consumer Electronics Control framework - API 21 #include <media/cec-pin.h> 22 #include "cec-priv.h" 23 #include "cec-pin-priv.h" 27 struct cec_fh *fh = filp->private_data; in cec_devnode_data() 29 return &fh->adap->devnode; in cec_devnode_data() 37 struct cec_fh *fh = filp->private_data; in cec_poll() 38 struct cec_adapter *adap = fh->adap; in cec_poll() 41 poll_wait(filp, &fh->wait, poll); in cec_poll() [all …]
|
| /Linux-v6.1/arch/arm/boot/dts/ |
| D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2s.h> 27 stdout-path = "serial3:115200n8"; 30 gpio-keys { 31 compatible = "gpio-keys"; 32 pinctrl-names = "default"; [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/pinctrl/ |
| D | lantiq,pinctrl-xway.txt | 4 - compatible: "lantiq,pinctrl-xway", (DEPRECATED: Use "lantiq,pinctrl-danube") 5 "lantiq,pinctrl-xr9", (DEPRECATED: Use "lantiq,xrx100-pinctrl" or 6 "lantiq,xrx200-pinctrl") 7 "lantiq,pinctrl-ase", (DEPRECATED: Use "lantiq,ase-pinctrl") 8 "lantiq,<chip>-pinctrl", where <chip> is: 14 - reg: Should contain the physical address and length of the gpio/pinmux 17 Please refer to pinctrl-bindings.txt in this directory for details of the 19 phrase "pin configuration node". 21 Lantiq's pin configuration nodes act as a container for an arbitrary number of 23 pin, a group, or a list of pins or groups. This configuration can include the [all …]
|
| /Linux-v6.1/drivers/md/bcache/ |
| D | journal.c | 1 // SPDX-License-Identifier: GPL-2.0 20 * entries (same as garbage collection would), then we replay them - reinserting 30 struct closure *cl = bio->bi_private; in journal_read_endio() 38 struct journal_device *ja = &ca->journal; in journal_read_bucket() 39 struct bio *bio = &ja->bio; in journal_read_bucket() 42 struct jset *j, *data = ca->set->journal.w[0].data; in journal_read_bucket() 46 sector_t bucket = bucket_to_sector(ca->set, ca->sb.d[bucket_index]); in journal_read_bucket() 52 while (offset < ca->sb.bucket_size) { in journal_read_bucket() 53 reread: left = ca->sb.bucket_size - offset; in journal_read_bucket() 56 bio_reset(bio, ca->bdev, REQ_OP_READ); in journal_read_bucket() [all …]
|
| D | journal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * The journal is treated as a circular buffer of buckets - a journal entry 16 * superblock - all the things that are frequently updated. This is for future 22 * Currently, we don't journal BTREE_REPLACE operations - this will hopefully be 23 * fixed eventually. This isn't a bug - BTREE_REPLACE is used for insertions 32 * journal entry still open - i.e. that has keys that haven't been flushed to 38 * zero, we pop it off - thus, the size of the fifo tells us the number of open 48 * might contain keys for many journal entries - we handle this by making sure 56 * last_seq - the oldest journal entry we still need. We write last_seq in each 61 * newest journal entry it contains - if we don't need that journal entry we [all …]
|
| D | alloc.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * btree pointers - they must match for the pointer to be considered valid. 19 * When we invalidate a bucket, we have to write its new gen to disk and wait 20 * for that write to complete before we use it - otherwise after a crash we 29 * free_inc isn't the only freelist - if it was, we'd often to sleep while 30 * priorities and gens were being written before we could allocate. c->free is a 37 * have nothing pointing into them - these we can reuse without waiting for 40 * them (because they were overwritten). That's the unused list - buckets on the 43 * It's also important to ensure that gens don't wrap around - with respect to 45 * difficult to do in practice, but we explicitly guard against it anyways - if [all …]
|
| /Linux-v6.1/drivers/gpu/drm/i915/display/ |
| D | intel_gmbus.c | 3 * Copyright © 2006-2008,2010 Intel Corporation 27 * Chris Wilson <chris@chris-wilson.co.uk> 31 #include <linux/i2c-algo-bit.h> 57 /* Map gmbus pin pairs to names and registers. */ 133 unsigned int pin) in get_gmbus_pin() argument 167 if (pin >= size || !pins[pin].name) in get_gmbus_pin() 170 return &pins[pin]; in get_gmbus_pin() 173 bool intel_gmbus_is_valid_pin(struct drm_i915_private *i915, unsigned int pin) in intel_gmbus_is_valid_pin() argument 175 return get_gmbus_pin(i915, pin); in intel_gmbus_is_valid_pin() 237 struct drm_i915_private *i915 = bus->i915; in get_reserved() [all …]
|
| /Linux-v6.1/drivers/mtd/nand/raw/ |
| D | nand_legacy.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * 2002-2006 Thomas Gleixner (tglx@linutronix.de) 23 * nand_read_byte - [DEFAULT] read one byte from the chip 30 return readb(chip->legacy.IO_ADDR_R); in nand_read_byte() 34 * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip 42 return (uint8_t) cpu_to_le16(readw(chip->legacy.IO_ADDR_R)); in nand_read_byte16() 46 * nand_select_chip - [DEFAULT] control CE line 48 * @chipnr: chipnumber to select, -1 for deselect 55 case -1: in nand_select_chip() 56 chip->legacy.cmd_ctrl(chip, NAND_CMD_NONE, in nand_select_chip() [all …]
|
| /Linux-v6.1/fs/xfs/ |
| D | xfs_dquot_item.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2003 Silicon Graphics, Inc. 54 qlf->qlf_type = XFS_LI_DQUOT; in xfs_qm_dquot_logitem_format() 55 qlf->qlf_size = 2; in xfs_qm_dquot_logitem_format() 56 qlf->qlf_id = qlip->qli_dquot->q_id; in xfs_qm_dquot_logitem_format() 57 qlf->qlf_blkno = qlip->qli_dquot->q_blkno; in xfs_qm_dquot_logitem_format() 58 qlf->qlf_len = 1; in xfs_qm_dquot_logitem_format() 59 qlf->qlf_boffset = qlip->qli_dquot->q_bufoffset; in xfs_qm_dquot_logitem_format() 62 xfs_dquot_to_disk(&ddq, qlip->qli_dquot); in xfs_qm_dquot_logitem_format() 69 * Increment the pin count of the given dquot. [all …]
|
| /Linux-v6.1/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_bo.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright © 2011-2018 VMware, Inc., Palo Alto, CA., USA 21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 36 * vmw_buffer_object - Convert a struct ttm_buffer_object to a struct 50 * bo_is_vmw - check if the buffer object is a &vmw_buffer_object 61 return bo->destroy == &vmw_bo_bo_free || in bo_is_vmw() 62 bo->destroy == &vmw_gem_destroy; in bo_is_vmw() 66 * vmw_bo_pin_in_placement - Validate a buffer to placement. 70 * @placement: The placement to pin it. 71 * @interruptible: Use interruptible wait. [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/memory-controllers/ |
| D | ti,gpmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments GPMC Memory Controller device-tree bindings 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 16 - Asynchronous SRAM-like memories and ASICs 17 - Asynchronous, synchronous, and page mode burst NOR flash 18 - NAND flash [all …]
|
| D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 24 gpmc,sync-clk-ps: 28 # Chip-select signal timings corresponding to GPMC_CONFIG2: 29 gpmc,cs-on-ns: 33 gpmc,cs-rd-off-ns: [all …]
|
| /Linux-v6.1/include/uapi/linux/ |
| D | serial.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 32 unsigned short closing_wait; /* time to wait before closing */ 41 * For the close wait times, 0 means wait forever for serial port to 42 * flush its output. 65535 means don't wait at all. 63 #define PORT_RSA 13 /* RSA-DV II/S card */ 82 * Multiport serial configuration structure --- external structure 99 * Serial input interrupt line counters -- external structure 121 RTS pin when 124 RTS pin after sent*/ 130 /* RS-485 addressing mode */
|
| /Linux-v6.1/drivers/fpga/ |
| D | xilinx-spi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/fpga/fpga-mgr.h> 32 struct xilinx_spi_conf *conf = mgr->priv; in get_done_gpio() 35 ret = gpiod_get_value(conf->done); in get_done_gpio() 38 dev_err(&mgr->dev, "Error reading DONE (%d)\n", ret); in get_done_gpio() 52 * wait_for_init_b - wait for the INIT_B pin to have a given state, or wait 53 * a given delay if the pin is unavailable 56 * @value: Value INIT_B to wait for (1 = asserted = low) 57 * @alt_udelay: Delay to wait if the INIT_B GPIO is not available 59 * Returns 0 when the INIT_B GPIO reached the given state or -ETIMEDOUT if [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/sound/ |
| D | cirrus,cs42l42.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 13 The CS42L42 is a low-power audio codec designed for portable applications. 14 It provides a high-dynamic range, stereo DAC for audio playback and a mono 15 high-dynamic-range ADC for audio capture. There is an integrated headset 21 - cirrus,cs42l42 22 - cirrus,cs42l83 29 VP-supply: [all …]
|
| /Linux-v6.1/include/sound/ |
| D | soc-jack.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * soc-jack.h 12 * struct snd_soc_jack_pin - Describes a pin to update based on jack detection 14 * @pin: name of the pin to update 16 * @invert: if non-zero then pin is enabled when status is not reported 21 const char *pin; member 27 * struct snd_soc_jack_zone - Describes voltage zones of jack detection 32 * @debounce_time: debounce_time for jack, codec driver should wait for this 45 * struct snd_soc_jack_gpio - Describes a gpio pin for jack detection
|
| /Linux-v6.1/drivers/input/touchscreen/ |
| D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs. 87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen."); 94 * order to minimise this, a signal may be applied to the MASK pin to delay or 98 * 1 = High on pin stops conversions 99 * 2 = Edge triggered, edge on pin delays conversion by delay param (above) 100 * 3 = Edge triggered, edge on pin starts conversion after delay param 160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init() 167 dev_dbg(wm->dev, "setting 5-wire touchscreen mode.\n"); in wm9712_phy_init() 170 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init() [all …]
|
| /Linux-v6.1/arch/sh/boards/ |
| D | board-magicpanelr2.c | 1 // SPDX-License-Identifier: GPL-2.0 34 /* Wait until reset finished. Timeout is 100ms. */ 64 /* CS2: LAN (0x08000000 - 0x0bffffff) */ in setup_chip_select() 67 /* (SW:1.5 WR:3 HW:1.5), ext. wait */ in setup_chip_select() 70 /* CS4: CAN1 (0xb0000000 - 0xb3ffffff) */ in setup_chip_select() 73 /* (SW:1.5 WR:3 HW:1.5), ext. wait */ in setup_chip_select() 76 /* CS5a: CAN2 (0xb4000000 - 0xb5ffffff) */ in setup_chip_select() 79 /* (SW:1.5 WR:3 HW:1.5), ext. wait */ in setup_chip_select() 82 /* CS5b: CAN3 (0xb6000000 - 0xb7ffffff) */ in setup_chip_select() 85 /* (SW:1.5 WR:3 HW:1.5), ext. wait */ in setup_chip_select() [all …]
|
| /Linux-v6.1/drivers/pinctrl/ |
| D | pinctrl-xway.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/pinctrl/pinmux-xway.c 4 * based on linux/drivers/pinctrl/pinmux-pxa910.c 21 #include "pinctrl-lantiq.h" 31 /* we have 2 mux bits that can be set for each pin */ 66 .pin = a, \ 110 /* --------- DEPRECATED: xr9 related code --------- */ 111 /* ---------- use xrx100/xrx200 instead ---------- */ 115 /* pin f0 f1 f2 f3 */ 248 GRP_MUX("ebu wait", EBU, pins_ebu_wait), [all …]
|
| /Linux-v6.1/include/linux/ |
| D | wm97xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 62 #define WM97XX_SLT(i) ((i - 5) & 0x7) /* panel slot (5-11) */ 71 #define WM9712_45W 0x1000 /* set for 5-wire touchscreen */ 73 #define WM9712_WAIT 0x0200 /* wait until adc is read before next sample */ 75 #define WM9712_MASK_HI 0x0040 /* hi on mask pin (47) stops conversions */ 76 #define WM9712_MASK_EDGE 0x0080 /* rising/falling edge on pin delays sample */ 90 #define WM9705_WAIT 0x0100 /* wait until adc is read before next sample */ 94 #define WM9705_MASK_EDGE 0x0020 /* rising/falling edge on pin delays sample */ 110 #define WM9713_WAIT 0x0200 /* coordinate wait */ 146 /*---------------- Return codes from sample reading functions ---------------*/ [all …]
|
| /Linux-v6.1/Documentation/filesystems/ |
| D | xfs-delayed-logging-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 details logged are made up of the changes to in-core structures rather than 34 on-disk structures. Other objects - typically buffers - have their physical 64 place. This means that permanent transactions can be used for one-shot 65 modifications, but one-shot reservations cannot be used for permanent 68 In the code, a one-shot transaction pattern looks somewhat like this:: 97 While this might look similar to a one-shot transaction, there is an important 123 the on-disk journal. 142 in the journal and wait for that to complete. 165 transaction, we have to reserve enough space to record a full leaf-to-root split [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/input/touchscreen/ |
| D | tsc2007.txt | 4 - compatible: must be "ti,tsc2007". 5 - reg: I2C address of the chip. 6 - ti,x-plate-ohms: X-plate resistance in ohms. 9 - gpios: the interrupt gpio the chip is connected to (trough the penirq pin). 10 The penirq pin goes to low when the panel is touched. 12 - interrupts: (gpio) interrupt to which the chip is connected 14 - ti,max-rt: maximum pressure. 15 - ti,fuzzx: specifies the absolute input fuzz x value. 16 If set, it will permit noise in the data up to +- the value given to the fuzz 18 - ti,fuzzy: specifies the absolute input fuzz y value. [all …]
|