/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | socfpga_arria10.dtsi | 17 #include <dt-bindings/interrupt-controller/arm-gic.h> 18 #include <dt-bindings/reset/altr,rst-mgr-a10.h> 21 #address-cells = <1>; 22 #size-cells = <1>; 25 tick-timer = &timer2; 26 u-boot,dm-pre-reloc; 30 #address-cells = <1>; 31 #size-cells = <0>; 32 enable-method = "altr,socfpga-a10-smp"; 35 compatible = "arm,cortex-a9"; [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 descriptiom 111 * nfc_se - A structure for NFC accessible secure elements. 128 * nfc_evt_transaction - A struct for NFC secure element event transaction. 207 * nfc_free_device - free nfc device 213 put_device(&dev->dev); in nfc_free_device() 221 * nfc_set_parent_dev - set the parent device [all …]
|
/openbmc/linux/drivers/leds/simple/ |
H A D | simatic-ipc-leds-gpio-f7188x.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/platform_data/x86/simatic-ipc-base.h> 18 #include "simatic-ipc-leds-gpio.h" 21 .dev_id = "leds-gpio", 23 GPIO_LOOKUP_IDX("gpio-f7188x-2", 0, NULL, 0, GPIO_ACTIVE_LOW), 24 GPIO_LOOKUP_IDX("gpio-f7188x-2", 1, NULL, 1, GPIO_ACTIVE_LOW), 25 GPIO_LOOKUP_IDX("gpio-f7188x-2", 2, NULL, 2, GPIO_ACTIVE_LOW), 26 GPIO_LOOKUP_IDX("gpio-f7188x-2", 3, NULL, 3, GPIO_ACTIVE_LOW), 27 GPIO_LOOKUP_IDX("gpio-f7188x-2", 4, NULL, 4, GPIO_ACTIVE_LOW), 28 GPIO_LOOKUP_IDX("gpio-f7188x-2", 5, NULL, 5, GPIO_ACTIVE_LOW), [all …]
|
H A D | simatic-ipc-leds-gpio-apollolake.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/platform_data/x86/simatic-ipc-base.h> 18 #include "simatic-ipc-leds-gpio.h" 21 .dev_id = "leds-gpio", 23 GPIO_LOOKUP_IDX("apollolake-pinctrl.0", 52, NULL, 0, GPIO_ACTIVE_LOW), 24 GPIO_LOOKUP_IDX("apollolake-pinctrl.0", 53, NULL, 1, GPIO_ACTIVE_LOW), 25 GPIO_LOOKUP_IDX("apollolake-pinctrl.0", 57, NULL, 2, GPIO_ACTIVE_LOW), 26 GPIO_LOOKUP_IDX("apollolake-pinctrl.0", 58, NULL, 3, GPIO_ACTIVE_LOW), 27 GPIO_LOOKUP_IDX("apollolake-pinctrl.0", 60, NULL, 4, GPIO_ACTIVE_LOW), 28 GPIO_LOOKUP_IDX("apollolake-pinctrl.0", 51, NULL, 5, GPIO_ACTIVE_LOW), [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/doc/device-tree-bindings/net/ |
H A D | stmmac.txt | 4 - compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac" 5 For backwards compatibility: "st,spear600-gmac" is also supported. 6 - reg: Address and length of the register set for the device 7 - interrupt-parent: Should be the phandle for the interrupt controller 9 - interrupts: Should contain the STMMAC interrupts 10 - interrupt-names: Should contain the interrupt names "macirq" 13 - phy-mode: See ethernet.txt file in the same directory. 14 - snps,reset-gpio gpio number for phy reset. 15 - snps,reset-active-low boolean flag to indicate if phy reset is active low. 16 - snps,reset-delays-us is triplet of delays [all …]
|
/openbmc/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"
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/fs/netfs/ |
H A D | buffered_read.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Network filesystem high-level buffered read support. 20 pgoff_t start_page = rreq->start / PAGE_SIZE; in netfs_rreq_unlock_folios() 21 pgoff_t last_page = ((rreq->start + rreq->len) / PAGE_SIZE) - 1; in netfs_rreq_unlock_folios() 25 XA_STATE(xas, &rreq->mapping->i_pages, start_page); in netfs_rreq_unlock_folios() 27 if (test_bit(NETFS_RREQ_FAILED, &rreq->flags)) { in netfs_rreq_unlock_folios() 28 __clear_bit(NETFS_RREQ_COPY_TO_CACHE, &rreq->flags); in netfs_rreq_unlock_folios() 29 list_for_each_entry(subreq, &rreq->subrequests, rreq_link) { in netfs_rreq_unlock_folios() 30 __clear_bit(NETFS_SREQ_COPY_TO_CACHE, &subreq->flags); in netfs_rreq_unlock_folios() 40 subreq = list_first_entry(&rreq->subrequests, in netfs_rreq_unlock_folios() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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-2021, 2023 Intel Corporation 72 * enum ieee80211_channel_flags - channel flags 150 * struct ieee80211_channel - channel definition 157 * @hw_value: hardware-specific value for the channel 193 * enum ieee80211_rate_flags - rate flags 203 * when used with 802.11a (on the 5 GHz band); filled by the [all …]
|
/openbmc/linux/include/crypto/ |
H A D | skcipher.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (c) 2007-2015 Herbert Xu <herbert@gondor.apana.org.au> 21 * struct skcipher_request - Symmetric key cipher request 53 * struct crypto_istat_cipher - statistics for cipher algorithm 69 * struct skcipher_alg - symmetric key cipher definition 72 * This must be set to one of the pre-defined values as this is 77 * This must be set to one of the pre-defined values as this is 98 * re-programmed into the hardware in this function. This function 124 * All fields except @ivsize are mandatory and must be filled. 149 * This performs a type-check against the "tfm" argument to make sure [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | gdc_v2_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #define HRT_GDC_N 1024 /* Top-level design constant, equal to the number of ent… 24 #define HRT_GDC_BLI_FRAC_BITS 4 /* Number of fractional bits for the bi-linear interpola… 28 #define HRT_GDC_BCI_COEF_ONE (1 << (HRT_GDC_BCI_COEF_BITS - 2)) /* We represent signed… 29 /* The supported range is [-256, .., +256] */ 30 /* in 14-bit signed notation, */ 32 /* -s is inserted to solve this issue, and */ 34 #define HRT_GDC_BCI_COEF_MASK ((1 << HRT_GDC_BCI_COEF_BITS) - 1) 42 // |-----|---|--------|------------------------| 46 // 1 - Configure reg [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | mtk_qspi.c | 1 // SPDX-License-Identifier: GPL-2.0 59 u32 txlen; /* dout buffer length - op code length */ 87 writeb(cmd, &priv->regs->cmd); in mtk_qspi_execute_cmd() 89 return readb_poll_timeout(&priv->regs->cmd, tmp, !(val & tmp), in mtk_qspi_execute_cmd() 95 int len = 1 + priv->txlen + priv->rxlen; in mtk_qspi_tx_rx() 99 return -ERR_INVAL; in mtk_qspi_tx_rx() 101 writeb(len * 8, &priv->regs->cnt); in mtk_qspi_tx_rx() 104 idx = MTK_QSPI_MAX_RX_TX_SHIFT - 1; in mtk_qspi_tx_rx() 107 writeb(priv->op, &priv->regs->prgdata[idx]); in mtk_qspi_tx_rx() 108 idx--; in mtk_qspi_tx_rx() [all …]
|
/openbmc/qemu/linux-headers/linux/ |
H A D | iommufd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES. 23 * - ENOTTY: The IOCTL number itself is not supported at all 24 * - E2BIG: The IOCTL number is supported, but the provided structure has 25 * non-zero in a part the kernel does not understand. 26 * - EOPNOTSUPP: The IOCTL number is supported, and the structure is 29 * - EINVAL: Everything about the IOCTL was understood, but a field is not 31 * - ENOENT: An ID or IOVA provided does not exist. 32 * - ENOMEM: Out of memory. 33 * - EOVERFLOW: Mathematics overflowed. [all …]
|