Home
last modified time | relevance | path

Searched +full:use +full:- +full:case (Results 1 – 25 of 1126) sorted by relevance

12345678910>>...46

/openbmc/linux/drivers/scsi/
H A Dsd.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * Time out in seconds for disks and Magneto-opticals (which are slower).
37 * Number of sectors at the end of the device to avoid multi-sector
38 * accesses to in the case of last_sector_bug
56 SD_LBP_UNMAP, /* Use UNMAP command */
57 SD_LBP_WS16, /* Use WRITE SAME(16) with UNMAP bit */
58 SD_LBP_WS10, /* Use WRITE SAME(10) with UNMAP bit */
59 SD_LBP_ZERO, /* Use WRITE SAME(10) with zero payload */
64 SD_ZERO_WRITE = 0, /* Use WRITE(10/16) command */
65 SD_ZERO_WS, /* Use WRITE SAME(10/16) command */
[all …]
/openbmc/qemu/docs/system/
H A Dsecurity.rst5 --------
11 ---------------------
13 QEMU supports many different use cases, some of which have stricter security
18 Virtualization Use Case
21 The virtualization use case covers cloud and virtual private server (VPS)
23 use cases rely on hardware virtualization extensions to execute guest code
24 safely on the physical CPU at close-to-native speed.
29 - Guest
30 - User-facing interfaces (e.g. VNC, SPICE, WebSocket)
31 - Network protocols (e.g. NBD, live migration)
[all …]
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-control.c1 // SPDX-License-Identifier: GPL-2.0
8 #include "mt8186-afe-common.h"
78 case 8000: in mt8186_general_rate_transform()
80 case 11025: in mt8186_general_rate_transform()
82 case 12000: in mt8186_general_rate_transform()
84 case 16000: in mt8186_general_rate_transform()
86 case 22050: in mt8186_general_rate_transform()
88 case 24000: in mt8186_general_rate_transform()
90 case 32000: in mt8186_general_rate_transform()
92 case 44100: in mt8186_general_rate_transform()
[all …]
/openbmc/linux/security/keys/
H A Dpermission.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 * key_task_permission - Check a key can be used
15 * @cred: The credentials to use.
18 * Check to see whether permission is granted to use a key in the desired way,
23 * Returns 0 if successful, -EACCES if access is denied based on the
36 return -EACCES; in key_task_permission()
37 case KEY_NEED_UNLINK: in key_task_permission()
38 case KEY_SYSADMIN_OVERRIDE: in key_task_permission()
39 case KEY_AUTHTOKEN_OVERRIDE: in key_task_permission()
40 case KEY_DEFER_PERM_CHECK: in key_task_permission()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_vpg.c7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
32 vpg3->base.ctx->logger
35 (vpg3->regs->reg)
39 vpg3->vpg_shift->field_name, vpg3->vpg_mask->field_name
43 vpg3->base.ctx
56 * use 50 for now. in vpg3_update_generic_info_packet()
63 /* poll dig_update_lock is not locked -> asic internal signal in vpg3_update_generic_info_packet()
75 /* HW does is not reading GSP memory not reading too long -> in vpg3_update_generic_info_packet()
81 /* choose which generic packet to use */ in vpg3_update_generic_info_packet()
[all …]
/openbmc/openbmc/poky/meta/recipes-graphics/xorg-xserver/xserver-xorg/
H A D0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch3 Date: Fri, 16 Mar 2018 17:23:11 -0700
4 Subject: [PATCH] xf86pciBus.c: use Intel ddx only for pre-gen4 hardware
6 Use intel ddx only on pre-gen4 hw, newer ones will fall back to modesetting
12 Others fall through to the -modesetting default.
14 Upstream-Status: Pending [Debian/Fedora patch
15 https://src.fedoraproject.org/rpms/xorg-x11-server/c/ee515e44b07e37689abf48cf2fffb41578f3bc1d]
17 Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
18 ---
19 hw/xfree86/common/xf86pciBus.c | 18 +++++++++++++++++-
20 1 file changed, 17 insertions(+), 1 deletion(-)
[all …]
/openbmc/qemu/
H A Dqemu-io.c5 * Copyright (c) 2003-2005 Silicon Graphics, Inc.
8 * See the COPYING file in the top-level directory.
18 #include "qemu/help-texts.h"
21 #include "qemu-io.h"
22 #include "qemu/error-report.h"
23 #include "qemu/main-loop.h"
26 #include "qemu/config-file.h"
33 #include "sysemu/block-backend.h"
37 #include "qemu-version.h"
44 /* qemu-io commands passed using -c */
[all …]
/openbmc/linux/drivers/net/wireless/ath/
H A Ddebug.c4 * Permission to use, copy, modify, and/or distribute this software for any
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 case NL80211_IFTYPE_UNSPECIFIED: in ath_opmode_to_string()
25 case NL80211_IFTYPE_ADHOC: in ath_opmode_to_string()
27 case NL80211_IFTYPE_STATION: in ath_opmode_to_string()
29 case NL80211_IFTYPE_AP: in ath_opmode_to_string()
31 case NL80211_IFTYPE_AP_VLAN: in ath_opmode_to_string()
32 return "AP-VLAN"; in ath_opmode_to_string()
33 case NL80211_IFTYPE_WDS: in ath_opmode_to_string()
[all …]
/openbmc/openbmc-test-automation/
H A DCONTRIBUTING.md4 work-in-progress, feel free to propose changes.
8 - Reference
9 …ithub.com/openbmc/docs/blob/master/CONTRIBUTING.md#submitting-changes-via-gerrit-server-to-openbmc)
10 - Reference
11 …](https://github.com/openbmc/docs/blob/master/CONTRIBUTING.md#submitting-changes-via-gerrit-server)
15 - Reference
16 …t Messages](https://github.com/openbmc/docs/blob/master/CONTRIBUTING.md#formatting-commit-messages)
20 - [Redfish Coding Guidelines](docs/redfish_coding_guidelines.md)
24 - For this project, we will write Robot keyword definitions in either Robot or
30- [Quit Writing Ugly Robot Code](https://esalagea.wordpress.com/2014/11/24/robot-framework-quit-wr…
[all …]
/openbmc/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-control.c1 // SPDX-License-Identifier: GPL-2.0
9 #include "mt8192-afe-common.h"
48 case 8000: in mt8192_general_rate_transform()
50 case 11025: in mt8192_general_rate_transform()
52 case 12000: in mt8192_general_rate_transform()
54 case 16000: in mt8192_general_rate_transform()
56 case 22050: in mt8192_general_rate_transform()
58 case 24000: in mt8192_general_rate_transform()
60 case 32000: in mt8192_general_rate_transform()
62 case 44100: in mt8192_general_rate_transform()
[all …]
/openbmc/linux/mm/kmsan/
H A Dkmsan_test.c1 // SPDX-License-Identifier: GPL-2.0
4 * For each test case checks the presence (or absence) of generated reports.
8 * Copyright (C) 2021-2022, Google LLC.
53 * The provided @buf is not NUL-terminated; copy no more than in probe_console()
54 * @len bytes and let strscpy() add the missing NUL-terminator. in probe_console()
89 /* Doubled-checked locking. */ in report_matches()
90 if (!report_available() || !r->symbol) in report_matches()
91 return (!report_available() && !r->symbol); in report_matches()
97 end = &expected_header[sizeof(expected_header) - 1]; in report_matches()
99 cur += scnprintf(cur, end - cur, "BUG: KMSAN: %s", r->error_type); in report_matches()
[all …]
/openbmc/linux/scripts/kconfig/
H A Dmconf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
5 * Introduced single menu mode (show all sub-menus in one large tree).
6 * 2002-11-06 Petr Baudis <pasky@ucw.cz>
27 "--------\n"
29 "Features can either be built-in, modularized, or ignored. Parameters\n"
36 " - - are selected by other feature,\n"
43 "through the available options (i.e. Y->N->M->Y).\n"
48 "----------\n"
49 "o Use the Up/Down arrow keys (cursor keys) to highlight the item you\n"
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/decorator/
H A Dpackage.py4 # SPDX-License-Identifier: MIT
20 If test depends on pkg1 or pkg2 you need to use:
23 If test depends on pkg1 and pkg2 you need to use:
27 If test depends on pkg1 but pkg2 must not be present use:
41 mlprefix = self.case.td.get("MLPREFIX")
51 if not self.case.tc.image_packages.isdisjoint(unneed_pkgs):
58 if self.case.tc.image_packages.isdisjoint(need_pkgs):
63 self.case.skipTest(msg)
70 the test case fails.
78 If test depends on pkg1 or pkg2 you need to use:
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_gpio.c2 * Copyright 2012-15 Advanced Micro Devices, Inc.
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
35 gpio->regs->field_name ## _shift, gpio->regs->field_name ## _mask
38 gpio->base.ctx
40 (gpio->regs->reg)
45 REG_GET(MASK_reg, MASK, &gpio->store.mask); in store_registers()
46 REG_GET(A_reg, A, &gpio->store.a); in store_registers()
47 REG_GET(EN_reg, EN, &gpio->store.en); in store_registers()
48 /* TODO store GPIO_MUX_CONTROL if we ever use it */ in store_registers()
[all …]
/openbmc/qemu/scsi/
H A Dutils.c33 case 0: in scsi_cdb_xfer()
35 case 1: in scsi_cdb_xfer()
36 case 2: in scsi_cdb_xfer()
38 case 4: in scsi_cdb_xfer()
40 case 5: in scsi_cdb_xfer()
43 return -1; in scsi_cdb_xfer()
49 uint8_t *buf = cmd->buf; in scsi_cmd_lba()
53 case 0: in scsi_cmd_lba()
56 case 1: in scsi_cmd_lba()
57 case 2: in scsi_cmd_lba()
[all …]
/openbmc/u-boot/scripts/kconfig/
H A Dmconf.c2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
5 * Introduced single menu mode (show all sub-menus in one large tree).
6 * 2002-11-06 Petr Baudis <pasky@ucw.cz>
27 "--------\n"
29 "Features can either be built-in, modularized, or ignored. Parameters\n"
36 " - - are selected by other feature,\n"
43 "through the available options (i.e. Y->N->M->Y).\n"
48 "----------\n"
49 "o Use the Up/Down arrow keys (cursor keys) to highlight the item you\n"
51 " Submenus are designated by \"--->\", empty ones by \"----\".\n"
[all …]
/openbmc/linux/net/mac80211/
H A Dwme.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2013-2014 Intel Mobile Communications GmbH
36 switch (skb->priority) { in wme_downgrade_ac()
37 case 6: in wme_downgrade_ac()
38 case 7: in wme_downgrade_ac()
39 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac()
41 case 4: in wme_downgrade_ac()
42 case 5: in wme_downgrade_ac()
43 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac()
45 case 0: in wme_downgrade_ac()
[all …]
/openbmc/linux/net/rose/
H A Drose_in.c1 // SPDX-License-Identifier: GPL-2.0-or-later
42 case ROSE_CALL_ACCEPTED: in rose_state1_machine()
45 rose->condition = 0x00; in rose_state1_machine()
46 rose->vs = 0; in rose_state1_machine()
47 rose->va = 0; in rose_state1_machine()
48 rose->vr = 0; in rose_state1_machine()
49 rose->vl = 0; in rose_state1_machine()
50 rose->state = ROSE_STATE_3; in rose_state1_machine()
51 sk->sk_state = TCP_ESTABLISHED; in rose_state1_machine()
53 sk->sk_state_change(sk); in rose_state1_machine()
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_export.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2004-2005 Silicon Graphics, Inc.
28 case FILEID_INO32_GEN: in xfs_fileid_length()
30 case FILEID_INO32_GEN_PARENT: in xfs_fileid_length()
32 case FILEID_INO32_GEN | XFS_FILEID_TYPE_64FLAG: in xfs_fileid_length()
34 case FILEID_INO32_GEN_PARENT | XFS_FILEID_TYPE_64FLAG: in xfs_fileid_length()
47 struct xfs_mount *mp = XFS_M(inode->i_sb); in xfs_fs_encode_fh()
61 * to use larger file handles that can represent them. in xfs_fs_encode_fh()
74 * seven combinations work. The real answer is "don't use v2". in xfs_fs_encode_fh()
84 case FILEID_INO32_GEN_PARENT: in xfs_fs_encode_fh()
[all …]
/openbmc/phosphor-logging/lib/
H A Dlg2_logger.cpp3 #include <systemd/sd-journal.h>
6 #include <phosphor-logging/lg2.hpp>
25 // For binary, use bitset<>::to_string. in value_to_string()
26 // Treat values without a field-length format flag as 64 bit. in value_to_string()
27 case bin.value: in value_to_string()
31 case field8.value: in value_to_string()
35 case field16.value: in value_to_string()
39 case field32.value: in value_to_string()
43 case field64.value: in value_to_string()
51 // For hex, use the appropriate sprintf. in value_to_string()
[all …]
/openbmc/linux/net/bluetooth/
H A Dlib.c2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
16 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
18 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS
40 d[i] = s[5 - i]; in baswap()
48 case 0: in bt_to_errno()
51 case 0x01: in bt_to_errno()
54 case 0x02: in bt_to_errno()
57 case 0x03: in bt_to_errno()
[all …]
/openbmc/linux/scripts/
H A Dparse-maintainers.pl1 #!/usr/bin/perl -w
2 # SPDX-License-Identifier: GPL-2.0
4 use strict;
5 use Getopt::Long qw(:config no_auto_abbrev);
21 die "$P: invalid argument - use --help if necessary\n";
33 --input => MAINTAINERS file to read (default: MAINTAINERS)
34 --output => sorted MAINTAINERS file to write (default: MAINTAINERS.new)
35 --section => new sorted MAINTAINERS file to write to (default: SECTION.new)
36 --order => Use the preferred section content output ordering (default: 0)
51 K: Keyword - patch content regex
[all …]
/openbmc/qemu/hw/ipmi/
H A Dipmi.c9 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
27 #include "hw/qdev-properties.h"
44 case IPMI_RESET_CHASSIS: in ipmi_do_hw_op()
51 case IPMI_POWEROFF_CHASSIS: in ipmi_do_hw_op()
58 case IPMI_SEND_NMI: in ipmi_do_hw_op()
62 /* We don't care what CPU we use. */ in ipmi_do_hw_op()
66 case IPMI_SHUTDOWN_VIA_ACPI_OVERTEMP: in ipmi_do_hw_op()
73 case IPMI_POWERCYCLE_CHASSIS: in ipmi_do_hw_op()
74 case IPMI_PULSE_DIAG_IRQ: in ipmi_do_hw_op()
[all …]
/openbmc/linux/Documentation/driver-api/phy/
H A Dphy.rst8 and how-to-use.
15 such as serialization, de-serialization, encoding, decoding and is responsible
17 controllers have PHY functionality embedded into it and others use an external
18 PHY. Other peripherals that use PHY include Wireless LAN, Ethernet,
22 all over the Linux kernel to drivers/phy to increase code re-use and for
25 This framework will be of use only to devices that use external PHY (PHY
32 For the simple case where the PHY provider implements only a single instance of
36 dt boot case.
49 arguments. For the dt boot case, all PHY providers should use one of the above
54 nodes within extra levels for context and extensibility, in which case the low
[all …]
/openbmc/linux/drivers/crypto/nx/
H A Dnx-common-powernv.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include "nx-842.h"
18 #include <asm/opal-api.h>
25 MODULE_ALIAS_CRYPTO("842-nx");
56 * where the process is executing. Use with VAS function.
76 * setup_indirect_dde - Setup an indirect DDE
85 dde->flags = 0; in setup_indirect_dde()
86 dde->count = dde_count; in setup_indirect_dde()
87 dde->index = 0; in setup_indirect_dde()
88 dde->length = cpu_to_be32(byte_count); in setup_indirect_dde()
[all …]

12345678910>>...46