/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
H A D | fsl,qe-tsa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-tsa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PowerQUICC QE Time-slot assigner (TSA) controller 10 - Herve Codina <herve.codina@bootlin.com> 13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC. 14 Its purpose is to route some TDM time-slots to other internal serial 20 - enum: 21 - fsl,mpc8321-tsa [all …]
|
H A D | fsl,cpm1-tsa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: PowerQUICC CPM Time-slot assigner (TSA) controller 10 - Herve Codina <herve.codina@bootlin.com> 13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC. 14 Its purpose is to route some TDM time-slots to other internal serial 20 - enum: 21 - fsl,mpc885-tsa [all …]
|
H A D | fsl,ucc-hdlc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,ucc-hdlc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: High-Level Data Link Control(HDLC) 12 - Frank Li <Frank.Li@nxp.com> 16 const: fsl,ucc-hdlc 24 cell-index: 27 rx-clock-name: 30 - pattern: "^brg([0-9]|1[0-6])$" [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-dv-timings.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_DV_TIMINGS - VIDIOC_S_DV_TIMINGS - VIDIOC_SUBDEV_G_DV_TIMINGS - VIDIOC_SUBDEV_S_DV_TIMINGS… 56 registered in read-only mode is not allowed. An error is returned and the errno 57 variable is set to ``-EPERM``. 59 The ``linux/v4l2-dv-timings.h`` header can be used to get the timings of 63 ``V4L2_IN_CAP_DV_TIMINGS`` flag), then ``ENODATA`` error code is returned. 68 On success 0 is returned, on error -1 and the ``errno`` variable is set 70 :ref:`Generic Error Codes <gen-errors>` chapter. 83 ``VIDIOC_SUBDEV_S_DV_TIMINGS`` has been called on a read-only subdevice. 91 .. flat-table:: struct v4l2_bt_timings [all …]
|
H A D | vidioc-reqbufs.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_REQBUFS - Initiate Memory Mapping, User Pointer I/O or DMA buffer I/O 78 .. flat-table:: struct v4l2_requestbuffers 79 :header-rows: 0 80 :stub-columns: 0 83 * - __u32 84 - ``count`` 85 - The number of buffers requested or granted. 86 * - __u32 87 - ``type`` [all …]
|
/linux/tools/memory-model/ |
H A D | linux-kernel.bell | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * "Frightening small children and disconcerting grown-ups: Concurrency 14 "Linux-kernel memory consistency model" 19 'noreturn (* R of non-return RMW *) 28 'rcu-lock (*rcu_read_lock*) || 29 'rcu-unlock (*rcu_read_unlock*) || 30 'sync-rcu (*synchronize_rcu*) || 31 'before-atomic (*smp_mb__before_atomic*) || 32 'after-atomic (*smp_mb__after_atomic*) || 33 'after-spinlock (*smp_mb__after_spinlock*) || [all …]
|
/linux/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_sleep.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 mpc52xx_deep_sleep: /* args r3-r6: SRAM, SDRAM regs, CDM regs, INTR regs */ 16 sync; isync; 18 li r10, 0 /* flag that irq handler sets */ 21 lwz r8, 0x14(r6) /* intr->main_mask */ 25 sync 29 stw r8, 0x40(r6) /* intr->main_emulate */ 30 sync 40 sync; isync; 42 sync; isync; [all …]
|
/linux/fs/jfs/ |
H A D | jfs_logmgr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 4 * Portions Copyright (C) Christoph Hellwig, 2001-2002 24 * transactions which wrote COMMIT records in the same in-memory 38 * careful-write (ping-pong) of last logpage to recover from crash 40 * detection of split (out-of-order) write of physical sectors 45 * lsn - 64-bit monotonically increasing integer vs 46 * 32-bit lspn and page eor. 80 #define LOG_LOCK_INIT(log) mutex_init(&(log)->loglock) 81 #define LOG_LOCK(log) mutex_lock(&((log)->loglock)) [all …]
|
H A D | jfs_logmgr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) International Business Machines Corp., 2000-2004 4 * Portions Copyright (C) Christoph Hellwig, 2001-2002 36 * blocks 2 - (N-1) are used to contain log records. 38 * when a volume group is varied-on-line, logRedo() must have 61 __le32 flag; /* 4: option */ member 62 __le32 state; /* 4: state - see below */ 65 uuid_t uuid; /* 16: 128-bit journal uuid */ 72 /* log flag: commit option (see jfs_filsys.h) */ 113 __le16 eor; /* 2: end-of-log offset of lasrt record write */ [all …]
|
/linux/drivers/net/hamradio/ |
H A D | z8530.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 #define FLAG 0x7e macro 57 #define SYNC_L_INH 0x2 /* Sync Character Load Inhibit */ 72 #define SYNC_ENAB 0 /* Sync Modes Enable */ 77 #define MONSYNC 0 /* 8 Bit Sync character */ 78 #define BISYNC 0x10 /* 16 bit sync character */ 79 #define SDLC 0x20 /* SDLC Mode (01111110 Sync Flag) */ 80 #define EXTSYNC 0x30 /* External Sync Mode */ 91 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 100 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ [all …]
|
/linux/drivers/acpi/ |
H A D | acpi_dbg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 (CIRC_CNT((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 30 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 32 (CIRC_SPACE((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 34 (CIRC_SPACE_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE)) 72 static inline bool __acpi_aml_access_ok(unsigned long flag) in __acpi_aml_access_ok() argument 85 if ((flag & ACPI_AML_KERN) && in __acpi_aml_access_ok() 91 static inline bool __acpi_aml_readable(struct circ_buf *circ, unsigned long flag) in __acpi_aml_readable() argument 97 if (!(acpi_aml_io.flags & flag) && circ_count(circ)) in __acpi_aml_readable() 102 static inline bool __acpi_aml_writable(struct circ_buf *circ, unsigned long flag) in __acpi_aml_writable() argument [all …]
|
/linux/drivers/tty/serial/ |
H A D | sunzilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 28 #define FLAG 0x7e macro 82 #define SYNC_L_INH 0x2 /* Sync Character Load Inhibit */ 98 #define SYNC_ENAB 0 /* Sync Modes Enable */ 103 #define MONSYNC 0 /* 8 Bit Sync character */ 104 #define BISYNC 0x10 /* 16 bit sync character */ 105 #define SDLC 0x20 /* SDLC Mode (01111110 Sync Flag) */ 106 #define EXTSYNC 0x30 /* External Sync Mode */ 118 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ [all …]
|
H A D | ip22zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 36 #define FLAG 0x7e macro 90 #define SYNC_L_INH 0x2 /* Sync Character Load Inhibit */ 106 #define SYNC_ENAB 0 /* Sync Modes Enable */ 111 #define MONSYNC 0 /* 8 Bit Sync character */ 112 #define BISYNC 0x10 /* 16 bit sync character */ 113 #define SDLC 0x20 /* SDLC Mode (01111110 Sync Flag) */ 114 #define EXTSYNC 0x30 /* External Sync Mode */ 126 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ [all …]
|
H A D | pmac_zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * of "escc" node (ie. ch-a or ch-b) 64 if (uap->flags & PMACZILOG_FLAG_IS_CHANNEL_A) in pmz_get_port_A() 66 return uap->mate; in pmz_get_port_A() 78 writeb(reg, port->control_reg); in read_zsreg() 79 return readb(port->control_reg); in read_zsreg() 85 writeb(reg, port->control_reg); in write_zsreg() 86 writeb(value, port->control_reg); in write_zsreg() 91 return readb(port->data_reg); in read_zsdata() 96 writeb(data, port->data_reg); in write_zsdata() [all …]
|
H A D | zs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 * Per-SCC state for locking and the interrupt handler. 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 109 #define SYNC_L_INH 0x2 /* Sync Character Load Inhibit */ 124 #define SYNC_ENAB 0 /* Sync Modes Enable */ 130 #define MONSYNC 0 /* 8 Bit Sync character */ 131 #define BISYNC 0x10 /* 16 bit sync character */ 132 #define SDLC 0x20 /* SDLC Mode (01111110 Sync Flag) */ 133 #define EXTSYNC 0x30 /* External Sync Mode */ 144 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ [all …]
|
/linux/include/uapi/linux/ |
H A D | ip_vs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23 #define IP_VS_SVC_F_ONEPACKET 0x0004 /* one-packet scheduling */ 24 #define IP_VS_SVC_F_SCHED1 0x0008 /* scheduler flag 1 */ 25 #define IP_VS_SVC_F_SCHED2 0x0010 /* scheduler flag 2 */ 26 #define IP_VS_SVC_F_SCHED3 0x0020 /* scheduler flag 3 */ 38 * IPVS sync daemon states 88 #define IP_VS_CONN_F_SYNC 0x0020 /* entry created by sync */ 281 /* sync daemon state (master/backup) */ 321 IPVS_CMD_NEW_DAEMON, /* start sync daemon */ 322 IPVS_CMD_DEL_DAEMON, /* stop sync daemon */ [all …]
|
H A D | fcntl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 78 * v4.13-rc1~212^2~51. 93 #define AT_FDCWD -100 /* Special value for dirfd used to 100 /* Reserved for per-syscall flags 0xff. */ 103 /* Reserved for per-syscall flags 0x200 */ 111 * These flags are currently statx(2)-specific, but they could be made generic 112 * in the future and so they should not be used for other per-syscall flags. 115 #define AT_STATX_SYNC_AS_STAT 0x0000 /* - Do whatever stat() does */ 116 #define AT_STATX_FORCE_SYNC 0x2000 /* - Force the attributes to be sync'd with the server */ 117 #define AT_STATX_DONT_SYNC 0x4000 /* - Don't sync attributes with the server */ [all …]
|
/linux/drivers/scsi/ |
H A D | 53c700.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Driver for 53c700 and 53c700-66 chips from NCR and Symbios 17 /* Turn on for general debugging---too verbose for normal use */ 41 #define NCR_700_LUN_MASK (NCR_700_MAX_LUNS - 1) 81 * for the annoying SCSI-2 requirement for LUN information in 89 /* The SYNC negotiation sequence looks like: 100 * 16 negotiated SYNC flag 101 * 17 begin SYNC negotiation flag 109 struct NCR_700_Device_Parameters *hostdata = SDp->hostdata; in NCR_700_get_sense_cmnd() 111 return hostdata->cmnd; in NCR_700_get_sense_cmnd() [all …]
|
/linux/fs/ |
H A D | sync.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * High-level sync()-related operations 19 #include <linux/backing-dev.h> 38 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem() 41 * No point in syncing out anything if the filesystem is read-only. in sync_filesystem() 55 if (sb->s_op->sync_fs) { in sync_filesystem() 56 ret = sb->s_op->sync_fs(sb, 0); in sync_filesystem() 60 ret = sync_blockdev_nowait(sb->s_bdev); in sync_filesystem() 65 if (sb->s_op->sync_fs) { in sync_filesystem() 66 ret = sb->s_op->sync_fs(sb, 1); in sync_filesystem() [all …]
|
/linux/kernel/irq/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0 18 if (irqd_is_wakeup_armed(&desc->irq_data)) { in irq_pm_check_wakeup() 19 irqd_clear(&desc->irq_data, IRQD_WAKEUP_ARMED); in irq_pm_check_wakeup() 20 desc->istate |= IRQS_SUSPENDED | IRQS_PENDING; in irq_pm_check_wakeup() 21 desc->depth++; in irq_pm_check_wakeup() 30 * Called from __setup_irq() with desc->lock held after @action has 35 desc->nr_actions++; in irq_pm_install_action() 37 if (action->flags & IRQF_FORCE_RESUME) in irq_pm_install_action() 38 desc->force_resume_depth++; in irq_pm_install_action() 40 WARN_ON_ONCE(desc->force_resume_depth && in irq_pm_install_action() [all …]
|
/linux/include/video/ |
H A D | display_timing.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 /* data enable flag */ 30 /* drive sync on pos. edge */ 32 /* drive sync on neg. edge */ 56 * |<- sync ->|<- back ->|<----- active ----->|<- front ->|<- sync.. 69 struct timing_entry hsync_len; /* hor. sync len */ 74 struct timing_entry vsync_len; /* ver. sync len */ 97 if (disp->num_timings > index) in display_timings_get() 98 return disp->timings[index]; in display_timings_get()
|
/linux/fs/iomap/ |
H A D | direct-io.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2016-2021 Christoph Hellwig. 12 #include <linux/backing-dev.h> 65 if (dio->dops && dio->dops->bio_set) in iomap_dio_alloc_bio() 66 return bio_alloc_bioset(iter->iomap.bdev, nr_vecs, opf, in iomap_dio_alloc_bio() 67 GFP_KERNEL, dio->dops->bio_set); in iomap_dio_alloc_bio() 68 return bio_alloc(iter->iomap.bdev, nr_vecs, opf, GFP_KERNEL); in iomap_dio_alloc_bio() 74 struct kiocb *iocb = dio->iocb; in iomap_dio_submit_bio() 76 atomic_inc(&dio->ref); in iomap_dio_submit_bio() 78 /* Sync dio can't be polled reliably */ in iomap_dio_submit_bio() [all …]
|
/linux/fs/btrfs/ |
H A D | tree-log.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 * value will do, as it will cause the log to be marked for a full sync. 30 #define BTRFS_LOG_FORCE_COMMIT (-(MAX_ERRNO + 1)) 49 * the log tree (full sync flag set or copy everything flag set) to 64 WRITE_ONCE(trans->fs_info->last_trans_log_full_commit, trans->transid); in btrfs_set_log_full_commit() 69 return READ_ONCE(trans->fs_info->last_trans_log_full_commit) == in btrfs_need_log_full_commit() 70 trans->transid; in btrfs_need_log_full_commit()
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | fcntl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 78 * v4.13-rc1~212^2~51. 93 #define AT_FDCWD -100 /* Special value for dirfd used to 100 /* Reserved for per-syscall flags 0xff. */ 103 /* Reserved for per-syscall flags 0x200 */ 111 * These flags are currently statx(2)-specific, but they could be made generic 112 * in the future and so they should not be used for other per-syscall flags. 115 #define AT_STATX_SYNC_AS_STAT 0x0000 /* - Do whatever stat() does */ 116 #define AT_STATX_FORCE_SYNC 0x2000 /* - Force the attributes to be sync'd with the server */ 117 #define AT_STATX_DONT_SYNC 0x4000 /* - Don't sync attributes with the server */ [all …]
|
/linux/Documentation/devicetree/bindings/pwm/ |
H A D | microchip,corepwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Conor Dooley <conor.dooley@microchip.com> 16 https://www.microsemi.com/existing-parts/parts/152118 19 - $ref: pwm.yaml# 24 - const: microchip,corepwm-rtl-v4 32 "#pwm-cells": 35 The only flag supported by the controller is PWM_POLARITY_INVERTED. 37 microchip,sync-update-mask: [all …]
|