/linux/include/media/i2c/ |
H A D | tvp7002.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* Texas Instruments Triple 8-/10-BIT 165-/110-MSPS Video and Graphics 6 * Author: Santiago Nunez-Corrales <santiago.nunez@ridgerun.com> 19 * struct tvp7002_config - Platform dependent data 21 * 0 - Data clocked out on rising edge of DATACLK signal 22 * 1 - Data clocked out on falling edge of DATACLK signal 24 * 0 - Active low HSYNC output, 1 - Active high HSYNC output 26 * 0 - Active low VSYNC output, 1 - Active high VSYNC output 27 *@fid_polarity: Active-high Field ID polarity. 28 * 0 - The field ID output is set to logic 1 for an odd field [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 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 92 :header-rows: 0 [all …]
|
/linux/drivers/media/platform/via/ |
H A D | via-camera.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #define VCR_IC_EAV 0x0001 /* End of active video status */ 8 #define VCR_IC_FBOTFLD 0x0004 /* "flipping" Bottom field is active */ 9 #define VCR_IC_ACTBUF 0x0018 /* Active video buffer */ 10 #define VCR_IC_VSYNC 0x0020 /* 0 = VB, 1 = active video */ 11 #define VCR_IC_BOTFLD 0x0040 /* Bottom field is active */ 13 #define VCR_IC_INTEN 0x0100 /* End of active video int. enable */ 20 #define VCR_TSC_METHOD 0x00000c /* DMA method (non-functional) */ 36 #define VCR_CI_HDMODE 0x00000040 /* CCIR656-16 hdr decode mode; 1=16b */ 37 #define VCR_CI_BSWAP 0x00000080 /* Swap bytes (16-bit) */ [all …]
|
/linux/include/linux/sched/ |
H A D | cputime.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 *utime = t->utime; in task_cputime() 20 *stime = t->stime; in task_cputime() 26 return t->gtime; in task_gtime() 35 *utimescaled = t->utimescaled; in task_cputime_scaled() 36 *stimescaled = t->stimescaled; in task_cputime_scaled() 59 * The following are functions that support scheduler-internal time accounting. 65 * get_running_cputimer - return &tsk->signal->cputimer if cputimers are active 73 struct thread_group_cputimer *cputimer = &tsk->signal->cputimer; in get_running_cputimer() 76 * Check whether posix CPU timers are active. If not the thread in get_running_cputimer() [all …]
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-driver.h | 3 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 32 * ----- 33 * MPG600/MPG160 support by T.Adachi <tadachi@tadachi-net.com> 37 * using information provided by Jiun-Kuei Jung @ AVerMedia. 49 #include <linux/i2c-algo-bit.h> 60 #include <media/v4l2-common.h> 61 #include <media/v4l2-ioctl.h> [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | renesas,ceu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - linux-renesas-soc@vger.kernel.org 15 Mobile, R-Mobile and RZ SoCs. The interface supports a single parallel input 21 - renesas,r7s72100-ceu 22 - renesas,r8a7740-ceu 33 power-domains: 37 $ref: /schemas/graph.yaml#/$defs/port-base [all …]
|
H A D | renesas,vin.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Renesas R-Car Video Input (VIN) 11 - Niklas Söderlund <niklas.soderlund@ragnatech.se> 14 The R-Car Video Input (VIN) device provides video input capabilities for the 15 Renesas R-Car family of devices. 20 on Gen3 and RZ/G2 platforms to a CSI-2 receiver. 25 - items: 26 - enum: [all …]
|
/linux/Documentation/power/ |
H A D | runtime_pm.rst | 5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 18 put their PM-related work items. It is strongly recommended that pm_wq be 20 them to be synchronized with system-wide power transitions (suspend to RAM, 53 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks 57 1. PM domain of the device, if the device's PM domain object, dev->pm_domain, 60 2. Device type of the device, if both dev->type and dev->type->pm are present. 62 3. Device class of the device, if both dev->class and dev->class->pm are 65 4. Bus type of the device, if both dev->bus and dev->bus->pm are present. 69 dev->driver->pm directly (if present). 73 and bus type. Moreover, the high-priority one will always take precedence over [all …]
|
/linux/block/ |
H A D | bfq-wf2q.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Hierarchical Budget Worst-case Fair Weighted Fair Queueing 4 * (B-WF2Q+): hierarchical scheduling algorithm by which the BFQ I/O 9 #include "bfq-iosched.h" 12 * bfq_gt - compare two timestamps. 20 return (s64)(a - b) > 0; in bfq_gt() 25 struct rb_node *node = tree->rb_node; in bfq_root_active_entity() 34 return bfqq ? bfqq->ioprio_class - 1 : in bfq_class_idx() 35 BFQ_DEFAULT_GRP_CLASS - 1; in bfq_class_idx() 40 return bfqd->busy_queues[0] + bfqd->busy_queues[1] + in bfq_tot_busy_queues() [all …]
|
H A D | bfq-iosched.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #include "blk-cgroup-rwstat.h" 29 * Soft real-time applications are extremely more latency sensitive 30 * than interactive ones. Over-raise the weight of the former to 38 * per-actuator data. The current value is hopefully a good upper 46 * struct bfq_service_tree - per ioprio_class service tree. 48 * Each service tree represents a B-WF2Q+ scheduler on its own. Each 54 /* tree for active entities (i.e., those backlogged) */ 55 struct rb_root active; member 66 /* scheduler weight sum; active and idle entities contribute to it */ [all …]
|
/linux/Documentation/admin-guide/mm/ |
H A D | pagemap.rst | 12 physical frame each virtual page is mapped to. It contains one 64-bit 16 * Bits 0-54 page frame number (PFN) if present 17 * Bits 0-4 swap type if swapped 18 * Bits 5-54 swap offset if swapped 19 * Bit 55 pte is soft-dirty (see 20 Documentation/admin-guide/mm/soft-dirty.rst) 22 * Bit 57 pte is uffd-wp write-protected (since 5.13) (see 23 Documentation/admin-guide/mm/userfaultfd.rst) 25 * Bits 59-60 zero 26 * Bit 61 page is file-page or shared-anon (since 3.5) [all …]
|
/linux/tools/testing/selftests/coredump/ |
H A D | README.rst | 5 ------------------ 11 user-space program by writing the pipe symbol (`|`) followed by the command to be executed to 15 crashed process's stack pointers can be read from `procfs`: it is the `kstkesp` field in 19 ----------- 20 While a thread is active, the stack pointer is unsafe to read and therefore the `kstkesp` field 21 reads zero. But when the thread is dead (e.g. during a coredump), this field should have valid 24 However, this was broken in the past and `kstkesp` was zero even during coredump: 41 --------------------- 50 non-zero.
|
/linux/Documentation/driver-api/tty/ |
H A D | tty_ldisc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 fallback if establishing any other discipline for a tty fails. If even N_TTY 13 characters -- it throws them away. 21 returns an error then it won’t get called. Do not re-use ldisc numbers as they 23 demons to eat your computer. You must not re-register over the top of the line 24 discipline even with the same data or your computer again will be eaten by 27 Heed this warning: the reference count field of the registered copies of the 30 the number of active users of the ldisc at this instant. In effect it counts 34 .. kernel-doc:: drivers/tty/tty_ldisc.c 40 .. kernel-doc:: drivers/tty/tty_ldisc.c [all …]
|
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_config.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 44 * Even a skb with fragments consume only one Tx queue descriptor entry. 51 #define OCTEP_VF_MAX_MTU (10000 - (ETH_HLEN + ETH_FCS_LEN)) 56 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) 57 #define CFG_GET_IQ_NUM_DESC(cfg) ((cfg)->iq.num_descs) 58 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) 60 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) 61 #define CFG_GET_IQ_INTR_THRESHOLD(cfg) ((cfg)->iq.intr_threshold) 63 #define CFG_GET_OQ_NUM_DESC(cfg) ((cfg)->oq.num_descs) 64 #define CFG_GET_OQ_BUF_SIZE(cfg) ((cfg)->oq.buf_size) [all …]
|
/linux/Documentation/filesystems/nfs/ |
H A D | rpc-cache.rst | 21 - mapping from IP address to client name 22 - mapping from client name and filesystem to export options 23 - mapping from UID to list of GIDs, to work around NFS's limitation 25 - mappings between local UID/GID and remote UID/GID for sites that 27 - mapping from network identify to public key for crypto authentication. 31 - general cache lookup with correct locking 32 - supporting 'NEGATIVE' as well as positive entries 33 - allowing an EXPIRED time on cache items, and removing 34 items after they expire, and are no longer in-use. 35 - making requests to user-space to fill in cache entries [all …]
|
/linux/include/uapi/linux/ |
H A D | sync_file.h | 1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */ 6 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * struct sync_merge_data - SYNC_IOC_MERGE: merge two fences 24 * @pad: padding for 64-bit alignment, should always be zero 39 * struct sync_fence_info - detailed fence information 42 * @status: status of the fence 0:active 1:signaled <0:error 55 * struct sync_file_info - SYNC_IOC_FILE_INFO: get detailed information on a sync_file 57 * @status: status of fence. 1: signaled 0:active <0:error 60 * @pad: padding for 64-bit alignment, should always be zero 64 * Takes a struct sync_file_info. If num_fences is 0, the field is updated [all …]
|
H A D | gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 3 * <linux/gpio.h> - userspace ABI for the GPIO character devices 21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs. 26 * struct gpiochip_info - Information about a certain GPIO chip 41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits 42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of 54 * enum gpio_v2_line_flag - &struct gpio_v2_line_attribute.flags values 56 * @GPIO_V2_LINE_FLAG_ACTIVE_LOW: line active state is physical low 59 * @GPIO_V2_LINE_FLAG_EDGE_RISING: line detects rising (inactive to active) 61 * @GPIO_V2_LINE_FLAG_EDGE_FALLING: line detects falling (active to [all …]
|
H A D | dm-ioctl.h | 1 /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */ 3 * Copyright (C) 2001 - 2003 Sistina Software (UK) Limited. 4 * Copyright (C) 2004 - 2009 Red Hat, Inc. All rights reserved. 24 * 'active' table which is the one currently used by io passing 26 * that is being prepared as a replacement for the 'active' one. 39 * Create a new device, neither the 'active' or 'inactive' table 42 * since it will be out-of-bounds. 58 * slot, it will be moved to the active slot, then the old table 59 * from the active slot will be _destroyed_. Finally the device 63 * Retrieves the status for the table in the 'active' slot. [all …]
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic7xxx.reg | 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 5 * Copyright (c) 2000-2001 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 37 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 49 * All page numbers refer to the Adaptec AIC-7770 Data Book available from 50 * Adaptec's Technical Documents Department 1-800-934-2766 65 * SCSI Sequence Control (p. 3-11). 71 field TEMODE 0x80 72 field ENSELO 0x40 73 field ENSELI 0x20 [all …]
|
/linux/drivers/usb/serial/ |
H A D | ftdi_sio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Driver definitions for the FTDI USB Single Port Serial Converter - 9 * The example I have is known as the USC-1000 which is available from 10 * http://www.dse.co.nz - cat no XH4214 It looks similar to this: 12 * USC-1000s which don't look like my device though so beware! 21 * Bill Ryder - bryder@sgi.com formerly of Silicon Graphics, Inc.- wrote the 107 * wValue: BaudDivisor value - see below 112 * - BaseClock is either 12000000 or 48000000 depending on the device. 114 * - BaudDivisor is a fixed point number encoded in a funny way. 115 * (--WRONG WAY OF THINKING--) [all …]
|
/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_config.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 45 * Even a skb with fragments consume only one Tx queue descriptor entry. 60 #define CFG_GET_IQ_CFG(cfg) ((cfg)->iq) 61 #define CFG_GET_IQ_NUM_DESC(cfg) ((cfg)->iq.num_descs) 62 #define CFG_GET_IQ_INSTR_TYPE(cfg) ((cfg)->iq.instr_type) 64 #define CFG_GET_IQ_DB_MIN(cfg) ((cfg)->iq.db_min) 65 #define CFG_GET_IQ_INTR_THRESHOLD(cfg) ((cfg)->iq.intr_threshold) 67 #define CFG_GET_OQ_NUM_DESC(cfg) ((cfg)->oq.num_descs) 68 #define CFG_GET_OQ_BUF_SIZE(cfg) ((cfg)->oq.buf_size) 69 #define CFG_GET_OQ_REFILL_THRESHOLD(cfg) ((cfg)->oq.refill_threshold) [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | transactional_memory.rst | 49 transactional or non-transactional accesses within the system. In this 50 example, the transaction completes as though it were normal straight-line code 53 performed. Even though the normal ld/std instructions are used (note no 69 - Conflicts with cache lines used by other processors 70 - Signals 71 - Context switches 72 - See the ISA for full documentation of everything that will abort transactions. 78 Syscalls made from within an active transaction will not be performed and the 90 Care must be taken when relying on syscalls to abort during active transactions 108 delivered. For future compatibility the MSR.TS field should be checked to [all …]
|
/linux/drivers/media/pci/bt8xx/ |
H A D | bttvp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 bttv - Bt848 frame grabber driver 6 bttv's *private* header file -- nobody other than bttv itself 9 (c) 2000-2002 Gerd Knorr <kraxel@bytesex.org> 19 #include <linux/i2c-algo-bit.h> 26 #include <media/v4l2-common.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-fh.h> 29 #include <media/videobuf2-dma-sg.h> 31 #include <media/rc-core.h> [all …]
|
/linux/drivers/usb/host/ |
H A D | octeon-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights 104 * This register can be used to configure the core after power-on or a change in 105 * mode of operation. This register mainly contains AHB system-related 126 * @nptxfemplvl: Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl) 128 * Indicates when the Non-Periodic TxFIFO Empty Interrupt bit in 131 * * 1'b0: GINTSTS.NPTxFEmp interrupt indicates that the Non- 133 * * 1'b1: GINTSTS.NPTxFEmp interrupt indicates that the Non- 139 * This field has not effect and should be left as 0x0. 141 * Software should set this field to 0x1. [all …]
|
/linux/net/mac80211/ |
H A D | mesh_ps.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2012-2013, Marco Porsch <marco.porsch@s2005.tu-chemnitz.de> 4 * Copyright 2012-2013, cozybit Inc. 16 * mps_qos_null_get - create pre-addressed QoS Null frame for mesh powersave 23 struct ieee80211_sub_if_data *sdata = sta->sdata; in mps_qos_null_get() 24 struct ieee80211_local *local = sdata->local; in mps_qos_null_get() 30 skb = dev_alloc_skb(local->hw.extra_tx_headroom + size + 2); in mps_qos_null_get() 33 skb_reserve(skb, local->hw.extra_tx_headroom); in mps_qos_null_get() 37 ieee80211_fill_mesh_addresses(nullfunc, &fc, sta->sta.addr, in mps_qos_null_get() 38 sdata->vif.addr); in mps_qos_null_get() [all …]
|