/linux/Documentation/devicetree/bindings/display/ |
H A D | simple-framebuffer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/simple-framebuffer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hans de Goede <hdegoede@redhat.com> 13 A simple frame-buffer describes a frame-buffer setup by firmware or 19 sub-nodes of the chosen node (*). Simplefb nodes must be named 41 interaction, then the chosen node stdout-path property should point 46 It is advised that devicetree files contain pre-filled, disabled 52 If pre-filled framebuffer nodes are used, the firmware may need [all …]
|
/linux/Documentation/networking/ |
H A D | tls-handshake.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 In-Kernel TLS Handshake 11 over TCP. TLS provides end-to-end data integrity and confidentiality in 21 implementations so that in-kernel TLS consumers do not need to be 46 A kernel TLS consumer initiates a client-side TLS handshake on an open 50 .. code-block:: c 68 instantiated a struct file in sock->file. 75 The consumer can provide a NUL-terminated hostname in the @ta_peername 85 keys, and pre-shared keys are provided to the handshake agent in keys 91 To request an x.509-authenticated TLS session, the consumer fills in [all …]
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_nic.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 28 /* Maximum number of 8-byte words can be sent in a NIC control message. 64 #define MAX_UDD_SIZE(nctrl) (sizeof((nctrl)->udd)) 71 * OSI layer passes this as-is to the driver. 114 return ((u32)atomic_read(&oct->instr_queue[q_no]->instr_pending) in octnet_iq_is_full() 115 >= (oct->instr_queue[q_no]->max_count - 2)); in octnet_iq_is_full() 130 ih2 = (struct octeon_instr_ih2 *)&cmd->cmd2.ih2; in octnet_prepare_pci_cmd_o2() 135 ih2->fsz = LIO_PCICMD_O2; in octnet_prepare_pci_cmd_o2() 137 ih2->tagtype = ORDERED_TAG; in octnet_prepare_pci_cmd_o2() [all …]
|
/linux/Documentation/filesystems/ |
H A D | orangefs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 OrangeFS is an LGPL userspace scale-out parallel storage system. It is ideal 51 On Fedora, install orangefs and orangefs-server:: 53 dnf -y install orangefs orangefs-server 64 pvfs2-client-core. 68 pvfs2-server -f /etc/orangefs/orangefs.conf 72 systemctl start orangefs-server 76 pvfs2-ping -m /pvfsmnt 81 systemctl start orangefs-client 85 mount -t pvfs2 tcp://localhost:3334/orangefs /pvfsmnt [all …]
|
/linux/include/net/nfc/ |
H A D | nfc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 31 * data_exchange_cb_t - Definition of nfc_data_exchange callback 39 * of the operating field, err is -EIO. 77 #define NFC_TARGET_IDX_ANY -1 83 * struct nfc_target - NFC target description 115 * nfc_se - A structure for NFC accessible secure elements. 132 * nfc_evt_transaction - A struct for NFC secure element event transaction. 211 * nfc_free_device - free nfc device 217 put_device(&dev->dev); in nfc_free_device() 225 * nfc_set_parent_dev - set the parent device [all …]
|
/linux/Documentation/input/ |
H A D | gameport-programming.rst | 34 Please also consider enabling the gameport on the card in the ->open() 35 callback if the io is mapped to ISA space - this way it'll occupy the io 37 ->close() callback. You also can select the io address in the ->open() 70 the driver doesn't have to measure them the old way - an ADC is built into 86 return -(mode != GAMEPORT_MODE_COOKED); 97 See analog.c and input.c for handling of fuzz - the fuzz value determines 105 examples 1+2 or 1+3. Gameports can support internal calibration - see below, 107 more than one gameport instance simultaneously, use the ->private member of 147 I/O address for use with raw mode. You have to either set this, or ->read() 191 pre-filled by cooked data by the caller, max[0..3] should be pre-filled with [all …]
|
/linux/include/uapi/linux/ |
H A D | fsmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 25 * number of entries filled out during each call. If fmh_count is 35 * contents of fsmap_head.fmh_recs[fsmap_head.fmh_count - 1] should be 44 * fmr_device can be either a 32-bit cookie representing a device, or 45 * a 32-bit dev_t if the FMH_OF_DEV_T flag is set. fmr_physical, 64 __u32 fmh_entries; /* # of entries filled in (output). */ 84 head->fmh_keys[0] = head->fmh_recs[head->fmh_entries - 1]; in fsmap_advance() 87 /* fmh_iflags values - set by FS_IOC_GETFSMAP caller in the header. */ 91 /* fmh_oflags values - returned in the header segment only. */ 94 /* fmr_flags values - returned for each non-header segment */ [all …]
|
H A D | if_xdp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * if_xdp: XDP socket user-space interface 17 #define XDP_COPY (1 << 1) /* Force copy-mode */ 18 #define XDP_ZEROCOPY (1 << 2) /* Force zero-copy mode */ 30 * multi-buffer XDP frames into multiple Rx descriptors. Without this set 44 /* Request to reserve tx_metadata_len bytes of per-chunk metadata. 118 ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1) 132 * transmission at a pre-determined time called launch time. The value of 139 * filled by the driver when the transmit completion arrives. 148 /* Offset from desc->addr where checksumming should start. */
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | frontend-stat-properties.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _frontend-stat-properties: 27 The number of filled elements are stored at ``dtv_property.stat.len``. 32 - ``svalue`` or ``uvalue``, where ``svalue`` is for signed values of 36 - ``scale`` - Scale for the value. It can be: 38 - ``FE_SCALE_NOT_AVAILABLE`` - The parameter is supported by the 42 - ``FE_SCALE_DECIBEL`` - parameter is a signed value, measured in 45 - ``FE_SCALE_RELATIVE`` - parameter is a unsigned value, where 0 48 - ``FE_SCALE_COUNTER`` - parameter is a unsigned value that counts 53 .. _DTV-STAT-SIGNAL-STRENGTH: [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | mpc8536ds_36b.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MPC8536DS Device Tree Source (36-bit address map) 5 * Copyright 2008-2009, 2011 Freescale Semiconductor, Inc. 8 /include/ "mpc8536si-pre.dtsi" 16 #address-cells = <1>; 17 #size-cells = <0>; 22 next-level-cache = <&L2>; 28 reg = <0 0 0 0>; // Filled by U-Boot 47 clock-frequency = <66666666>; 48 interrupt-map-mask = <0xf800 0x0 0x0 0x7>; [all …]
|
H A D | mpc8536ds.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /include/ "mpc8536si-pre.dtsi" 16 #address-cells = <1>; 17 #size-cells = <0>; 22 next-level-cache = <&L2>; 28 reg = <0 0 0 0>; // Filled by U-Boot 47 clock-frequency = <66666666>; 48 interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 49 interrupt-map = < 104 /include/ "mpc8536si-post.dtsi"
|
H A D | mpc8544ds.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /include/ "mpc8544si-pre.dtsi" 16 reg = <0 0 0 0>; // Filled by U-Boot 33 clock-frequency = <66666666>; 34 interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 35 interrupt-map = < 99 * for interrupt-map & interrupt-map-mask 102 /include/ "mpc8544si-post.dtsi"
|
/linux/drivers/md/persistent-data/ |
H A D | dm-array.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include "dm-btree.h" 12 /*----------------------------------------------------------------*/ 15 * The dm-array is a persistent version of an array. It packs the data 30 * 'n - 1' will be the last valid index. 41 * pre existing root in your metadata that you wish to use, or you may 79 * info - the structure being filled in. 80 * tm - the transaction manager that should supervise this structure. 81 * vt - describes the leaf values. 90 * info - describes the array [all …]
|
/linux/drivers/video/fbdev/core/ |
H A D | fbcvt.c | 2 * linux/drivers/video/fbcvt.c - VESA(TM) Coordinated Video Timings 75 u32 num = 1000000000/cvt->f_refresh; in fb_cvt_hperiod() 78 if (cvt->flags & FB_CVT_FLAG_REDUCED_BLANK) { in fb_cvt_hperiod() 79 num -= FB_CVT_RB_MIN_VBLANK * 1000; in fb_cvt_hperiod() 80 den = 2 * (cvt->yres/cvt->interlace + 2 * cvt->v_margin); in fb_cvt_hperiod() 82 num -= FB_CVT_MIN_VSYNC_BP * 1000; in fb_cvt_hperiod() 83 den = 2 * (cvt->yres/cvt->interlace + cvt->v_margin * 2 in fb_cvt_hperiod() 84 + FB_CVT_MIN_VPORCH + cvt->interlace/2); in fb_cvt_hperiod() 93 u32 c_prime = (FB_CVT_GTF_C - FB_CVT_GTF_J) * in fb_cvt_ideal_duty_cycle() 96 u32 h_period_est = cvt->hperiod; in fb_cvt_ideal_duty_cycle() [all …]
|
/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-pagefault.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * In order to avoid pre-faulting the signal stack memory and to force the 14 * the same mechanism used to avoid pre-faulting the signal stack memory. 44 * Data that will be copied into the faulting pages (instead of zero-filled 48 * paged-in it will contain the expected content. 78 uf_mem_offset = (uf_mem_offset + pagesize - 1) & ~(pagesize - 1); in get_uf_mem() 96 if (poll(&pollfd, 1, -1) == -1) { in fault_handler_thread() 107 if (nread == -1) { in fault_handler_thread() 122 uffdio_copy.dst = msg.arg.pagefault.address & ~(pagesize-1); in fault_handler_thread() 124 offset = (char *) uffdio_copy.dst - uf_mem; in fault_handler_thread() [all …]
|
/linux/include/net/ |
H A D | cfg80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright 2015-2017 Intel Deutschland GmbH 10 * Copyright (C) 2018-2025 Intel Corporation 72 * enum ieee80211_channel_flags - channel flags 167 * struct ieee80211_channel - channe 1197 u32 filled; global() member 2013 u32 filled; global() member 2039 u32 filled; global() member 2099 u64 filled; global() member 2233 u64 filled; global() member 2445 u32 filled; global() member 4063 u32 filled; global() member [all...] |
/linux/Documentation/security/ |
H A D | siphash.rst | 2 SipHash - a short input PRF 7 SipHash is a cryptographically secure PRF -- a keyed hash function -- that 9 cryptographers Daniel J. Bernstein and Jean-Philippe Aumasson. It is intended 13 SipHash takes a secret key filled with randomly generated numbers and either 49 will constant fold at compile-time and automatically choose one of the 61 get_random_bytes(&table->key, sizeof(table->key)); 66 …return &table->hashtable[siphash(input, sizeof(*input), &table->key) & (HASH_SIZE(table->hashtable… 74 SipHash has a very high security margin, with its 128-bit key. So long as the 79 Linux implements the "2-4" variant of SipHash. 81 Struct-passing Pitfalls [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | if_xdp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * if_xdp: XDP socket user-space interface 17 #define XDP_COPY (1 << 1) /* Force copy-mode */ 18 #define XDP_ZEROCOPY (1 << 2) /* Force zero-copy mode */ 30 * multi-buffer XDP frames into multiple Rx descriptors. Without this set 44 /* Request to reserve tx_metadata_len bytes of per-chunk metadata. 118 ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1) 132 * transmission at a pre-determined time called launch time. The value of 139 * filled by the driver when the transmit completion arrives. 148 /* Offset from desc->addr where checksumming should start. */
|
/linux/fs/cachefiles/ |
H A D | io.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* kiocb-using read/write 31 unsigned int inval_counter; /* Copy of cookie->inval_counter */ 37 if (refcount_dec_and_test(&ki->ki_refcnt)) { in cachefiles_put_kiocb() 38 cachefiles_put_object(ki->object, cachefiles_obj_put_ioreq); in cachefiles_put_kiocb() 39 fput(ki->iocb.ki_filp); in cachefiles_put_kiocb() 50 struct inode *inode = file_inode(ki->iocb.ki_filp); in cachefiles_read_complete() 55 trace_cachefiles_io_error(ki->object, inode, ret, in cachefiles_read_complete() 58 if (ki->term_func) { in cachefiles_read_complete() 60 if (ki->object->cookie->inval_counter == ki->inval_counter) in cachefiles_read_complete() [all …]
|
/linux/Documentation/driver-api/ |
H A D | xillybus.rst | 10 - Introduction 11 -- Background 12 -- Xillybus Overview 14 - Usage 15 -- User interface 16 -- Synchronization 17 -- Seekable pipes 19 - Internals 20 -- Source code organization 21 -- Pipe attributes [all …]
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_vf.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 3 * Copyright (c) 2015-2017 QLogic Corporation 45 /* general tlv header (used for both vf->pf request and pf->vf response) */ 51 /* header of first vf->pf tlv carries the offset used to calculate response 60 /* header of pf->vf tlvs, carries the status of handling the request */ 88 #define VFPF_ACQUIRE_CAP_PRE_FP_HSI BIT(0) /* VF pre-FP hsi version */ 90 /* A requirement for supporting multi-Tx queues on a single queue-zone, 166 * mechanism [version-based] and allow a VF that can't be supported to pass 194 * non-matching versions to shed light in VF about failure. 227 /* Extended queue information - additional index for reference inside qzone. [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_modeset_helper.c | 37 * This helper library contains various one-off functions which don't really fit 42 * drm_helper_move_panel_connectors_to_head() - move panels to the front in the 59 spin_lock_irq(&dev->mode_config.connector_list_lock); in drm_helper_move_panel_connectors_to_head() 61 &dev->mode_config.connector_list, head) { in drm_helper_move_panel_connectors_to_head() 62 if (connector->connector_type == DRM_MODE_CONNECTOR_LVDS || in drm_helper_move_panel_connectors_to_head() 63 connector->connector_type == DRM_MODE_CONNECTOR_eDP || in drm_helper_move_panel_connectors_to_head() 64 connector->connector_type == DRM_MODE_CONNECTOR_DSI) in drm_helper_move_panel_connectors_to_head() 65 list_move_tail(&connector->head, &panel_list); in drm_helper_move_panel_connectors_to_head() 68 list_splice(&panel_list, &dev->mode_config.connector_list); in drm_helper_move_panel_connectors_to_head() 69 spin_unlock_irq(&dev->mode_config.connector_list_lock); in drm_helper_move_panel_connectors_to_head() [all …]
|
/linux/Documentation/admin-guide/blockdev/ |
H A D | zram.rst | 2 zram: Compressed RAM-based block devices 8 The zram module creates RAM-based block devices named /dev/zram<id> 20 There are several ways to configure and manage zram device(-s): 23 b) using zramctl utility, provided by util-linux (util-linux@vger.kernel.org). 28 In order to get a better idea about zramctl please consult util-linux 29 documentation, zramctl man-page or `zramctl --help`. Please be informed 30 that zram maintainers do not develop/maintain util-linux or zramctl, should 31 you have any questions please contact util-linux@vger.kernel.org 45 -EBUSY an attempt to modify an attribute that cannot be changed once 47 -ENOMEM zram was not able to allocate enough memory to fulfil your [all …]
|
/linux/drivers/vfio/pci/virtio/ |
H A D | migrate.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 (((struct virtio_admin_cmd_dev_parts_metadata_result *)0)->parts_size.size)) - 1) 42 if (offset < buf->last_offset || !buf->last_offset_sg) { in virtiovf_get_migration_page() 43 buf->last_offset = 0; in virtiovf_get_migration_page() 44 buf->last_offset_sg = buf->table.sgt.sgl; in virtiovf_get_migration_page() 45 buf->sg_last_entry = 0; in virtiovf_get_migration_page() 48 cur_offset = buf->last_offset; in virtiovf_get_migration_page() 50 for_each_sg(buf->last_offset_sg, sg, in virtiovf_get_migration_page() 51 buf->table.sgt.orig_nents - buf->sg_last_entry, i) { in virtiovf_get_migration_page() 52 if (offset < sg->length + cur_offset) { in virtiovf_get_migration_page() [all …]
|
/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-prg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2017 Lucas Stach, Pengutronix 11 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 17 #include <video/imx-ipu-v3.h> 19 #include "ipu-prv.h" 87 struct device_node *prg_node = of_parse_phandle(dev->of_node, in ipu_prg_lookup_by_phandle() 93 if (prg_node == prg->dev->of_node) { in ipu_prg_lookup_by_phandle() 95 device_link_add(dev, prg->dev, in ipu_prg_lookup_by_phandle() 97 prg->id = ipu_id; in ipu_prg_lookup_by_phandle() 117 if (ipu->prg_priv) in ipu_prg_present() [all …]
|