Home
last modified time | relevance | path

Searched +full:trim +full:- +full:data +full:- +full:valid (Results 1 – 25 of 194) sorted by relevance

12345678

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Ddynptr_success.c1 // SPDX-License-Identifier: GPL-2.0
48 /* Write data into the dynptr */ in test_read_write()
51 /* Read the data that was written into the dynptr */ in test_read_write()
54 /* Ensure the data we read matches the data we wrote */ in test_read_write()
72 void *data; in test_dynptr_data() local
89 /* Try getting a data slice that is out of range */ in test_dynptr_data()
90 data = bpf_dynptr_data(&ptr, map_val_size + 1, 1); in test_dynptr_data()
91 if (data) { in test_dynptr_data()
97 data = bpf_dynptr_data(&ptr, 0, map_val_size + 1); in test_dynptr_data()
98 if (data) { in test_dynptr_data()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/
H A Dprojectconf.html5 {% block title %} BitBake variables - {{project.name}} - Toaster {% endblock %}
13 <span class="js-config-var-name js-config-var-managed-name">DISTRO</span>
14 …<span class="glyphicon glyphicon-question-sign get-help" title="The short name of the distribution…
16 <dd class="variable-list">
18 <span class="glyphicon glyphicon-edit" id="change-distro-icon"></span>
19 <form id="change-distro-form" class="form-inline" style="display:none;">
20 <div id="edit-distro-name-div" class="form-group">
21 <input type="text" class="form-control" id="new-distro" value="{{distro}}">
23 <button id="apply-change-distro" class="btn btn-default" type="button">Save</button>
24 <button id="cancel-change-distro" type="button" class="btn btn-link">Cancel</button>
[all …]
/openbmc/linux/drivers/hwmon/
H A Dbt1-pvt.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Baikal-T1 Process, Voltage, Temperature sensor driver
18 #include <linux/hwmon-sysfs.h>
34 #include "bt1-pvt.h"
44 PVT_SENSOR_INFO(1, "CPU Core Low-Vt", hwmon_in, LVT, LTHRES),
45 PVT_SENSOR_INFO(2, "CPU Core High-Vt", hwmon_in, HVT, HTHRES),
46 PVT_SENSOR_INFO(3, "CPU Core Standard-Vt", hwmon_in, SVT, STHRES),
51 * to PVT data and vice-versa are following:
52 * N = 1.8322e-8*(T^4) + 2.343e-5*(T^3) + 8.7018e-3*(T^2) + 3.9269*(T^1) +
54 * T = -1.6743e-11*(N^4) + 8.1542e-8*(N^3) + -1.8201e-4*(N^2) +
[all …]
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_protocol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 /* receiver (data socket) */
15 P_DATA_REQUEST = 0x08, /* Used to ask for a data block */
16 P_RS_DATA_REQUEST = 0x09, /* Used to ask for a data block for resync */
33 P_SUPERSEDED = 0x18, /* Used in proto C, two-primaries conflict detection */
42 P_OV_REQUEST = 0x1e, /* data socket */
45 P_CSUM_RS_REQUEST = 0x21, /* data socket */
47 P_SYNC_PARAM89 = 0x23, /* data socket, protocol version 89 replacement for P_SYNC_PARAM */
52 P_OUT_OF_SYNC = 0x28, /* Mark as out of sync (Outrunning), data socket */
54 P_CONN_ST_CHG_REQ = 0x2a, /* data sock: Connection wide state request */
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dboot_data.py4 This module has functions to support various data structures such as the boot_table, valid_boot_lis…
46 remove all of the "os_" start and end state requirements from the JSON data.
51 … Otherwise, it will default to "data/boot_table.json". If this value is a
62 "BOOT_TABLE_PATH", "data/boot_table_redfish.json"
66 "BOOT_TABLE_PATH", "data/boot_table_x86.json"
70 "BOOT_TABLE_PATH", "data/boot_table.json"
76 # Pre-process the file by removing blank lines and comment lines.
80 cmd_buf = "egrep -v '^[ ]*$|^[ ]*#' " + file_path + " > " + temp_file_path
107 Return a list of all of the valid boot types (e.g. ['REST Power On', 'REST Power Off', ...]).
116 def read_boot_lists(dir_path="data/boot_lists/"):
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/fbida/files/
H A Dsupport-jpeg-turbo.patch1 Upstream-Status: Pending
3 Add patch by Ondrej Sury to migrate to libjpeg-turbo (Closes: #763263)
5 Index: fbida-2.10/jpeg/62/jpegcomp.h
7 --- /dev/null
8 +++ fbida-2.10/jpeg/62/jpegcomp.h
9 @@ -0,0 +1,30 @@
40 Index: fbida-2.10/jpeg/62/transupp.c
42 --- fbida-2.10.orig/jpeg/62/transupp.c
43 +++ fbida-2.10/jpeg/62/transupp.c
44 @@ -1,8 +1,10 @@
[all …]
/openbmc/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qusb2.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/nvmem-consumer.h>
22 #include <dt-bindings/phy/phy-qcom-qusb2.h>
105 * if yes, then offset gives index in the reg-layout
123 /* set of registers with offsets different per-PHY */
294 /* true if PHY default clk scheme is single-ended */
373 "vdd", "vdda-pll", "vdda-phy-dpdm",
378 /* struct override_param - structure holding qusb2 v2 phy overriding param
387 /*struct override_params - structure holding qusb2 v2 phy overriding params
390 * @preemphasis: Amplitude Pre-Emphasis to be updated in TUNE1 register
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-pci-arasan.c1 // SPDX-License-Identifier: GPL-2.0
3 * sdhci-pci-arasan.c - Driver for Arasan PCI Controller with
15 #include "sdhci-pci.h"
88 /* Arasan private data */
105 return -EBUSY; in arasan_phy_addr_poll()
109 static int arasan_phy_write(struct sdhci_host *host, u8 data, u8 offset) in arasan_phy_write() argument
111 sdhci_writew(host, data, PHY_DAT_REG); in arasan_phy_write()
116 static int arasan_phy_read(struct sdhci_host *host, u8 offset, u8 *data) in arasan_phy_read() argument
124 /* Masking valid data bits */ in arasan_phy_read()
125 *data = sdhci_readw(host, PHY_DAT_REG) & DATA_MASK; in arasan_phy_read()
[all …]
H A Dsdhci-tegra.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/dma-mapping.h>
20 #include <linux/mmc/slot-gpio.h>
32 #include "sdhci-cqhci.h"
33 #include "sdhci-pltfm.h"
123 * SDMMC hardware data timeout.
192 const struct sdhci_tegra_soc_data *soc_data = tegra_host->soc_data; in tegra_sdhci_readw()
194 if (unlikely((soc_data->nvquirks & NVQUIRK_FORCE_SDHCI_SPEC_200) && in tegra_sdhci_readw()
200 return readw(host->ioaddr + reg); in tegra_sdhci_readw()
213 pltfm_host->xfer_mode_shadow = val; in tegra_sdhci_writew()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8851b.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2022-2023 Realtek Corporation
209 {255, 0, 0, 7}, /* 0 -> original */
210 {255, 2, 0, 7}, /* 1 -> for BT-connected ACI issue && BTG co-rx */
211 {255, 0, 0, 7}, /* 2 ->reserved for shared-antenna */
212 {255, 0, 0, 7}, /* 3- >reserved for shared-antenna */
213 {255, 0, 0, 7}, /* 4 ->reserved for shared-antenna */
214 {255, 1, 0, 7}, /* the below id is for non-shared-antenna free-run */
221 {255, 0, 0, 7}, /* 0 -> original */
222 {255, 2, 0, 7}, /* 1 -> reserved for shared-antenna */
[all …]
H A Drtw8852b.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2022 Realtek Corporation
18 RTW8852B_FW_BASENAME "-" __stringify(RTW8852B_FW_FORMAT_MAX) ".bin"
334 {255, 0, 0, 7}, /* 0 -> original */
335 {255, 2, 0, 7}, /* 1 -> for BT-connected ACI issue && BTG co-rx */
336 {255, 0, 0, 7}, /* 2 ->reserved for shared-antenna */
337 {255, 0, 0, 7}, /* 3- >reserved for shared-antenna */
338 {255, 0, 0, 7}, /* 4 ->reserved for shared-antenna */
339 {255, 1, 0, 7}, /* the below id is for non-shared-antenna free-run */
346 {255, 0, 0, 7}, /* 0 -> original */
[all …]
H A Drtw8852c.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2022 Realtek Corporation
356 ether_addr_copy(efuse->addr, map->e.mac_addr); in rtw8852c_e_efuse_parsing()
357 efuse->rfe_type = map->rfe_type; in rtw8852c_e_efuse_parsing()
358 efuse->xtal_cap = map->xtal_k; in rtw8852c_e_efuse_parsing()
364 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8852c_efuse_parsing_tssi()
365 struct rtw8852c_tssi_offset *ofst[] = {&map->path_a_tssi, &map->path_b_tssi}; in rtw8852c_efuse_parsing_tssi()
366 u8 *bw40_1s_tssi_6g_ofst[] = {map->bw40_1s_tssi_6g_a, map->bw40_1s_tssi_6g_b}; in rtw8852c_efuse_parsing_tssi()
369 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8852c_efuse_parsing_tssi()
370 tssi->thermal[RF_PATH_B] = map->path_b_therm; in rtw8852c_efuse_parsing_tssi()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Dbaikal,bt1-pvt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/hwmon/baikal,bt1-pvt.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Baikal-T1 PVT Sensor
11 - Serge Semin <fancer.lancer@gmail.com>
14 Baikal-T1 SoC provides an embedded process, voltage and temperature
17 which may cause the system instability and even damages. The IP-block
19 control wrapper, which provides a MMIO registers-based access to the
20 sensor core functionality (APB3-bus based) and exposes an additional
[all …]
/openbmc/linux/Documentation/admin-guide/device-mapper/
H A Ddm-crypt.rst2 dm-crypt
5 Device-Mapper's "crypt" target provides transparent encryption of block devices
21 cipher[:keycount]-chainmode-ivmode[:ivopts]
25 aes-cbc-essiv:sha256
26 aes-xts-plain64
27 serpent-xts-plain64
36 capi:cipher_api_spec-ivmode[:ivopts]
40 capi:cbc(aes)-essiv:sha256
41 capi:xts(aes)-plain64
45 capi:gcm(aes)-random
[all …]
H A Ddm-integrity.rst2 dm-integrity
5 The dm-integrity target emulates a block device that has additional
6 per-sector tags that can be used for storing integrity information.
9 writing the sector and the integrity tag must be atomic - i.e. in case of
12 To guarantee write atomicity, the dm-integrity target uses journal, it
13 writes sector data and integrity tags into a journal, commits the journal
14 and then copies the data and integrity tags to their respective location.
16 The dm-integrity target can be used with the dm-crypt target - in this
17 situation the dm-crypt target creates the integrity data and passes them
18 to the dm-integrity target via bio_integrity_payload attached to the bio.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dsdhci-am654.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
4 ---
5 $id: http://devicetree.org/schemas/mmc/sdhci-am654.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Ulf Hansson <ulf.hansson@linaro.org>
14 - $ref: sdhci-common.yaml#
19 - enum:
20 - ti,am62-sdhci
21 - ti,am64-sdhci-4bit
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_conntrack_ovs.c1 // SPDX-License-Identifier: GPL-2.0-only
27 helper = rcu_dereference(help->helper); in nf_ct_helper()
31 if (helper->tuple.src.l3num != NFPROTO_UNSPEC && in nf_ct_helper()
32 helper->tuple.src.l3num != proto) in nf_ct_helper()
38 proto = ip_hdr(skb)->protocol; in nf_ct_helper()
41 u8 nexthdr = ipv6_hdr(skb)->nexthdr; in nf_ct_helper()
56 WARN_ONCE(1, "helper invoked on non-IP family!"); in nf_ct_helper()
60 if (helper->tuple.dst.protonum != proto) in nf_ct_helper()
63 err = helper->help(skb, protoff, ct, ctinfo); in nf_ct_helper()
69 * addresses and/or port numbers in the text-based control connection. in nf_ct_helper()
[all …]
/openbmc/smbios-mdr/src/
H A Dmdrv2.cpp8 // http://www.apache.org/licenses/LICENSE-2.0
23 #include <phosphor-logging/elog-errors.hpp>
42 "Read data from flash error - Open MDRV2 table file failure"); in getDirectoryInformation()
54 uint8_t returnedEntries = smbiosDir.dirEntries - dirIndex; in getDirectoryInformation()
63 smbiosDir.dirEntries - dirIndex - returnedEntries); in getDirectoryInformation()
125 &smbiosDir.dir[0].common.id.dataInfo[16], offer.data()); in getDataOffer()
153 ret = FlagStatus::flagIsValid; // valid in smbiosValidFlag()
176 auto data = reinterpret_cast<const uint8_t*>(&value); appendReversed() local
205 readDataFromFlash(MDRSMBIOSHeader * mdrHdr,uint8_t * data) readDataFromFlash() argument
302 auto data = reinterpret_cast<const DataIdStruct*>(pData); sendDirectoryInformation() local
[all...]
/openbmc/linux/kernel/irq/
H A Dirqdomain.c1 // SPDX-License-Identifier: GPL-2.0
52 return fwid->name; in irqchip_fwnode_get_name()
61 * __irq_domain_alloc_fwnode - Allocate a fwnode_handle suitable for
66 * @pa: Optional user-provided physical address
90 n = kasprintf(GFP_KERNEL, "%s-%d", name, id); in __irq_domain_alloc_fwnode()
103 fwid->type = type; in __irq_domain_alloc_fwnode()
104 fwid->name = n; in __irq_domain_alloc_fwnode()
105 fwid->pa = pa; in __irq_domain_alloc_fwnode()
106 fwnode_init(&fwid->fwnode, &irqchip_fwnode_ops); in __irq_domain_alloc_fwnode()
107 return &fwid->fwnode; in __irq_domain_alloc_fwnode()
[all …]
/openbmc/qemu/hw/misc/
H A Daspeed_ibt.c4 * Copyright (c) 2016-2021 Cédric Le Goater, IBM Corporation.
7 * the COPYING file in the top-level directory.
16 #include "qemu/error-report.h"
18 #include "hw/qdev-properties.h"
19 #include "hw/qdev-properties-system.h"
83 * These routines are inspired by the 'ipmi-bmc-extern' model and by
87 static unsigned char ipmb_checksum(const unsigned char *data, int size, in ipmb_checksum() argument
92 for (; size > 0; size--, data++) { in ipmb_checksum()
93 csum += *data; in ipmb_checksum()
122 n += snprintf(tmp + n, size - n, "%02x:", msg[i]); in aspeed_ibt_dump_msg()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_aops.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
4 * Copyright (c) 2016-2018 Christoph Hellwig.
36 * Fast and loose check if this write could update the on-disk inode size.
40 return ioend->io_offset + ioend->io_size > in xfs_ioend_is_append()
41 XFS_I(ioend->io_inode)->i_disk_size; in xfs_ioend_is_append()
45 * Update on-disk file size now that data has been written to disk.
53 struct xfs_mount *mp = ip->i_mount; in xfs_setfilesize()
58 error = xfs_trans_alloc(mp, &M_RES(mp)->tr_fsyncts, 0, 0, 0, &tp); in xfs_setfilesize()
72 ip->i_disk_size = isize; in xfs_setfilesize()
[all …]
/openbmc/qemu/include/block/
H A Dblock-common.h27 #include "qapi/qapi-types-block-core.h"
31 * co_wrapper{*}: Function specifiers used by block-coroutine-wrapper.py
34 * generated by scripts/block-coroutine-wrapper.py
36 * Usage: read docs/devel/block-coroutine-wrapper.rst
39 * - co_wrapper functions can be called by only non-coroutine context, because
41 * - co_wrapper_mixed functions can be called by both coroutine and
42 * non-coroutine context.
43 * - co_wrapper_bdrv_rdlock are co_wrapper functions but automatically take and
45 * - co_wrapper_mixed_bdrv_rdlock are co_wrapper_mixed functions but
58 * no_co_wrapper: Function specifier used by block-coroutine-wrapper.py
[all …]
/openbmc/linux/fs/jfs/
H A Djfs_incore.h1 /* 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
25 * JFS-private inode information
29 uint mode2; /* jfs-specific mode */
109 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass)
110 #define IREAD_UNLOCK(ip) up_read(&JFS_IP(ip)->rdwrlock)
112 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
113 #define IWRITE_UNLOCK(ip) up_write(&JFS_IP(ip)->rdwrlock)
124 COMMIT_Stale, /* data extent is no longer valid */
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dimportlayer.js5 var layerDepBtn = $("#add-layer-dependency-btn");
6 var importAndAddBtn = $("#import-and-add-btn");
7 var layerNameInput = $("#import-layer-name");
8 var vcsURLInput = $("#layer-git-repo-url");
9 var gitRefInput = $("#layer-git-ref");
10 var layerDepInput = $("#layer-dependency");
11 var layerNameCtrl = $("#layer-name-ctrl");
12 var duplicatedLayerName = $("#duplicated-layer-name-hint");
13 var localDirPath = $("#local-dir-path");
18 var validLayerName = /^(\w|-)+$/;
[all …]
/openbmc/linux/include/linux/mmc/
H A Dmmc.h4 * Copyright 2002 Hewlett-Packard Company
10 * HEWLETT-PACKARD COMPANY MAKES NO WARRANTIES, EXPRESSED OR IMPLIED,
18 * Author: Yong-iL Joh <tolkien@mizi.com>
53 #define MMC_READ_SINGLE_BLOCK 17 /* adtc [31:0] data addr R1 */
54 #define MMC_READ_MULTIPLE_BLOCK 18 /* adtc [31:0] data addr R1 */
59 #define MMC_WRITE_DAT_UNTIL_STOP 20 /* adtc [31:0] data addr R1 */
62 #define MMC_SET_BLOCK_COUNT 23 /* adtc [31:0] data addr R1 */
63 #define MMC_WRITE_BLOCK 24 /* adtc [31:0] data addr R1 */
69 #define MMC_SET_WRITE_PROT 28 /* ac [31:0] data addr R1b */
70 #define MMC_CLR_WRITE_PROT 29 /* ac [31:0] data addr R1b */
[all …]

12345678