/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-v4l2.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 Single-planar format structure 13 .. flat-table:: struct v4l2_pix_format 14 :header-rows: 0 15 :stub-columns: 0 18 * - __u32 19 - ``width`` 20 - Image width in pixels. 21 * - __u32 22 - ``height`` [all …]
|
H A D | vidioc-subdev-enum-mbus-code.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_SUBDEV_ENUM_MBUS_CODE - Enumerate media bus formats 34 This call is used by the application to access the enumeration 42 Therefore, to enumerate media bus formats available at a given sub-device pad, 48 A successful call will return with the ``code`` field filled in 58 other pads of the sub-device, as well as on the current active links. 66 .. flat-table:: struct v4l2_subdev_mbus_code_enum 67 :header-rows: 0 68 :stub-columns: 0 71 * - __u32 [all …]
|
H A D | userp.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 11 ``V4L2_CAP_STREAMING`` flag in the ``capabilities`` field of struct 19 methods. Buffers (planes) are allocated by the application itself, and 20 can reside for example in virtual or shared memory. Only pointers to 21 data are exchanged, these pointers and meta-information are passed in 22 struct :c:type:`v4l2_buffer` (or in struct 23 :c:type:`v4l2_plane` in the multi-planar API case). The 33 .. code-block:: c 41 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) { 55 area of memory. This happens transparently to the application in the [all …]
|
H A D | vidioc-enum-frameintervals.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals 46 - **Discrete:** The function returns success if the given index value 47 (zero-based) is valid. The application should increase the index by 53 - **Step-wise:** The function returns success if the given index value 59 - **Continuous:** This is a special case of the step-wise type above. 66 When the application calls the function with index zero, it must check 74 The order in which the frame intervals are returned has no 75 special meaning. In particular does it not say anything about potential 79 without any interaction from the application itself. This means that the [all …]
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | base_gamepad.py | 1 # SPDX-License-Identifier: GPL-2.0 59 def __init__(self, rdesc, application="Game Pad", name=None, input_info=None): argument 61 super().__init__(name, application, input_info=input_info, rdesc=rdesc) 70 for r in self.parsed_rdesc.input_reports.values(): 71 if r.application_name == self.application: 72 self.fields.extend([f.usage_name for f in r]) 88 application="Game Pad", argument 98 (expressed in 1/8 of circle, 0 being North, 2 East) 103 :param application: the application used to report the values 106 for i, b in buttons.items(): [all …]
|
H A D | base_device.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 13 # This program is distributed in the hope that it will be useful, 56 def int_value(self) -> int: 60 def int_value(self, v: int) -> None: 64 def str_value(self) -> str: 68 def str_value(self, v: str) -> None: 78 def brightness(self) -> int: 82 def brightness(self, value: int) -> None: 95 def capacity(self) -> int: [all …]
|
/linux/drivers/usb/host/ |
H A D | octeon-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * License. See the file "COPYING" in the main directory of this archive 11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights 14 * Redistribution and use in source and binary forms, with or without 21 * * Redistributions in binary form must reproduce the above 23 * disclaimer in the documentation and/or other materials provided 33 * regulations, and may be subject to export or import regulations in other 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 107 * core. In general, software need not know about this interface except to [all …]
|
/linux/drivers/iio/accel/ |
H A D | mma9551_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 /* Error-Status codes returned in mailbox read command */ 33 /* GPIO Application */ 37 /* Sleep/Wake application */ 43 /* AFE application */ 48 /* Reset/Suspend/Clear application */ 50 #define MMA9551_RSC_OFFSET(mask) (3 - (ffs(mask) - 1) / 8) 51 #define MMA9551_RSC_VAL(mask) (mask >> (((ffs(mask) - 1) / 8) * 8)) 55 * - control registers: MB0-3 56 * - data registers: MB4-31 [all …]
|
/linux/net/netlabel/ |
H A D | netlabel_unlabeled.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 * Author: Paul Moore <paul@paul-moore.com> 13 * (c) Copyright Hewlett-Packard Development Company, L.P., 2006 25 * This message is sent from an application to add a new static label for 44 * This message is sent from an application to remove an existing static 62 * This message can be sent either from an application or by the kernel in 63 * response to an application generated STATICLIST message. When sent by an 64 * application there is no payload and the NLM_F_DUMP flag should be set. 83 * This message is sent from an application to set the default static 101 * This message is sent from an application to remove the existing default [all …]
|
H A D | netlabel_mgmt.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 * Author: Paul Moore <paul@paul-moore.com> 13 * (c) Copyright Hewlett-Packard Development Company, L.P., 2006 26 * Sent by an application to add a domain mapping to the NetLabel system. 53 * Sent by an application to remove a domain mapping from the NetLabel 61 * This message can be sent either from an application or by the kernel in 62 * response to an application generated LISTALL message. When sent by an 63 * application there is no payload and the NLM_F_DUMP flag should be set. 90 * Sent by an application to set the default domain mapping for the NetLabel 107 * Sent by an application to remove the default domain mapping from the [all …]
|
/linux/Documentation/arch/arm/ |
H A D | marvell.rst | 6 supported in mainline by the Linux kernel. As the Marvell families of 8 for a particular SoC is available in the Linux kernel. This document 9 tries to help in understanding where those SoCs are supported, and to 13 ------------ 16 - 88F5082 17 - 88F5181 a.k.a Orion-1 18 - 88F5181L a.k.a Orion-VoIP 19 - 88F5182 a.k.a Orion-NAS 21 …- Datasheet: https://web.archive.org/web/20210124231420/http://csclub.uwaterloo.ca/~board/ts7800/M… 22 …- Programmer's User Guide: https://web.archive.org/web/20210124231536/http://csclub.uwaterloo.ca/~… [all …]
|
/linux/Documentation/networking/ |
H A D | kcm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 interface over TCP for generic application protocols. With KCM an application 9 can efficiently send and receive application protocol messages over TCP using 12 KCM implements an NxM multiplexor in the kernel as diagrammed below:: 14 +------------+ +------------+ +------------+ +------------+ 16 +------------+ +------------+ +------------+ +------------+ 18 +-----------+ | | +----------+ 20 +----------------------------------+ 22 +----------------------------------+ 24 +---------+ | | | ------------+ [all …]
|
H A D | cdc_mbim.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 cdc_mbim - Driver for CDC MBIM Mobile Broadband modems 20 "NCM/MBIM function" as defined in section 3.2 of [1]) is affected 24 ----------- 26 :Valid Range: N/Y (0-1) 45 not participate in the management of the function. This implies that a 46 userspace MBIM management application always is required to enable a 51 - mbimcli (included with the libmbim [3] library), and 52 - ModemManager [4] 55 management application: [all …]
|
/linux/net/bluetooth/cmtp/ |
H A D | capi.c | 3 Copyright (C) 2002-2003 Marcel Holtmann <marcel@holtmann.org> 12 IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY 14 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 16 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 77 BT_DBG("session %p application %p appl %u", session, app, appl); in cmtp_application_add() 82 app->state = BT_OPEN; in cmtp_application_add() 83 app->appl = appl; in cmtp_application_add() 85 list_add_tail(&app->list, &session->applications); in cmtp_application_add() 92 BT_DBG("session %p application %p", session, app); in cmtp_application_del() 95 list_del(&app->list); in cmtp_application_del() [all …]
|
/linux/Documentation/misc-devices/ |
H A D | ibmvmc.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 21 https://openpowerfoundation.org/wp-content/uploads/2016/05/LoPAPR_DRAFT_v11_24March2016_cmt1.pdf 27 Console (HMC) - based system management. 31 packaged as an external tower or rack-mounted personal computer. In a 33 processor-based systems. 35 Management Application 36 ---------------------- 38 In the management partition, a management application exists which enables 41 State Transfer Application (REST API's). 43 The management application runs on a Linux logical partition on a [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-w1_therm | 6 Values shall be space separated and in the device range 7 (typical -55 degC to 125 degC), if not values will be trimmed 9 stored in a 8bit register in the device. Lowest value is 11 master level, refer to Documentation/w1/w1-generic.rst for 13 Users: any user space application which wants to communicate with 23 embedded in device EEPROM. Be aware that devices support 27 * 'restore': restore EEPROM data in device RAM 29 Users: any user space application which wants to communicate with 41 * '-xx': xx is kernel error when reading power status 43 Users: any user space application which wants to communicate with [all …]
|
/linux/Documentation/admin-guide/ |
H A D | sysfs-rules.rst | 1 Rules on how to access information in sysfs 4 The kernel-exported sysfs exports internal kernel implementation details 10 To minimize the risk of breaking users of sysfs, which are in most cases 11 low-level userspace applications, with a new kernel release, the users 12 of sysfs must follow some rules to use an as-abstract-as-possible way to 21 - Do not use libsysfs 23 offer any abstraction, it exposes all the kernel driver-core 24 implementation details in its own API. Therefore it is not better than 26 Also, it is not actively maintained, in the sense of reflecting the 29 violates many of the rules in this document. [all …]
|
/linux/Documentation/block/ |
H A D | data-integrity.rst | 12 application tried to write is most likely lost. 15 application meant it to. Recent additions to both the SCSI family 19 metadata (or protection information in SCSI terminology) includes a 21 ensures the individual sectors are written in the right order. And 27 technologies are working in their own isolated domains or at best 28 between adjacent nodes in the I/O path. The interesting thing about 30 is well defined and every node in the I/O path can verify the 47 in 520 byte sectors on disk. Data + IMD are interleaved when 54 scatter-gather lists. 60 Also, the 16-bit CRC checksum mandated by both the SCSI and SATA specs [all …]
|
/linux/drivers/hid/ |
H A D | hid-multitouch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2012 Stephane Chatty <chatty@enac.fr> 6 * Copyright (c) 2010-2013 Benjamin Tissoires <benjamin.tissoires@gmail.com> 7 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France 8 * Copyright (c) 2012-2013 Red Hat, Inc 10 * This code is partly based on hid-egalax.c: 16 * This code is partly based on hid-3m-pct.c: 18 * Copyright (c) 2009-2010 Stephane Chatty <chatty@enac.fr> 27 * This driver is regularly tested thanks to the test suite in hid-tools[1]. 31 * [1] https://gitlab.freedesktop.org/libevdev/hid-tools [all …]
|
/linux/Documentation/networking/device_drivers/wwan/ |
H A D | iosm.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 .. Copyright (C) 2020-21 Intel Corporation 13 MBIM protocol [1]. Any front end application ( eg: Modem Manager) could easily 20 not play any role in managing the functionality. It is the job of a userspace 21 application to detect port enumeration and enable MBIM functionality. 23 Examples of few such userspace application are: 24 - mbimcli (included with the libmbim [2] library), and 25 - Modem Manager [3] 29 - open the MBIM control channel 30 - configure network connection settings [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | cxlflash.rst | 12 purpose co-processors which can read or write an application's 14 an adapter running in CAPI mode does not require the data buffers to 27 user space application direct access to Flash storage. 29 The CXL Flash Adapter Driver is a kernel module that sits in the 35 as described in Documentation/arch/powerpc/cxl.rst. 40 - Any flash device (LUN) can be configured to be accessed as a 43 - Any flash device (LUN) can be configured to be accessed from 47 or physical LUN access) or access to a kernel/AFU-mediated 59 directly in each user I/O, but at the minimum is involved in the 60 initial setup before the user application is allowed to send requests [all …]
|
H A D | vas-api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. _VAS-API: 12 allows both userspace and kernel communicate to co-processor 14 unit comprises of one or more hardware engines or co-processor types 17 which supports ZLIB and GZIP compression algorithms in the hardware. 21 Requests to the GZIP engine must be formatted as a co-processor Request 37 Application access to the GZIP engine is provided through 38 /dev/crypto/nx-gzip device node implemented by the VAS/NX device driver. 39 An application must open the /dev/crypto/nx-gzip device to obtain a file 42 engine for this process. Once a connection is established, the application [all …]
|
/linux/drivers/crypto/caam/ |
H A D | qi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright 2013-2016 Freescale Semiconductor, Inc. 6 * Copyright 2016-2017, 2020 NXP 19 /* Length of a single buffer in the QI driver memory cache */ 25 * This is the request structure the driver application should fill while 31 * caam_qi_cbk - application's callback function invoked by the driver when the 34 * @status: completion status of request (0 - success, non-zero - error code) 45 * caam_drv_ctx - CAAM/QI backend driver context 55 * @req_fq: to-CAAM request frame queue 56 * @rsp_fq: from-CAAM response frame queue [all …]
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | net_prio.rst | 9 Nominally, an application would set the priority of its traffic via the 12 1) The application may not have been coded to set this value 13 2) The priority of application traffic is often a site-specific administrative 14 decision rather than an application defined one. 20 # mount -t cgroup -onet_prio none /sys/fs/cgroup/net_prio 23 becomes visible at '/sys/fs/cgroup/net_prio'. This group includes all tasks in 24 the system. '/sys/fs/cgroup/net_prio/tasks' lists the tasks in this cgroup. 29 This file is read-only, and is simply informative. It contains a unique 35 from processes in this group and egressing the system on various interfaces. 36 It contains a list of tuples in the form <ifname priority>. Contents of this [all …]
|
/linux/Documentation/crypto/ |
H A D | async-tx-api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 4.2 "My application needs exclusive control of hardware channels" 32 bulk memory transfers/transforms with support for inter-transactional 43 xor-parity-calculations of the md-raid5 driver using the offload engines 44 present in the Intel(R) Xscale series of I/O processors. It also built 45 on the 'dmaengine' layer developed for offloading memory copies in the 52 in software otherwise. 54 operations to be submitted, like xor->copy->xor in the raid5 case. The 64 ----------------------------- 72 ------------------------ [all …]
|