Home
last modified time | relevance | path

Searched +full:ls +full:- +full:bits (Results 1 – 25 of 246) sorted by relevance

12345678910

/openbmc/linux/arch/m68k/fpsp040/
H A Dsgetem.S13 | range of the result is [1.0 - 2.0).
16 | Input: Double-extended number X in the ETEMP space in
17 | the floating-point save stack.
74 | with an exponent of +/- $3fff.
83 bclrl #14,%d0 |make it the new exp +-3fff
89 | For denormalized numbers, shift the mantissa until the j-bit = 1,
95 movel LOCAL_LO(%a0),%d1 |load ls mant in d1
96 bsr shft |shift mantissa bits till msbit is set
98 movel %d1,LOCAL_LO(%a0) |put ls mant back on stack
104 | Shifts the mantissa bits until msbit is set.
[all …]
H A Dround.S21 | round --- round result according to precision/mode
33 | d0{31:29} contains the g,r,s bits (extended)
36 | a0 is preserved and the g-r-s bits in d0 are cleared.
37 | The result is not typed - the tag field is invalid. The
41 | inexact (i.e. if any of the g-r-s bits were set).
51 | ;the appropriate g-r-s bits.
53 bne rnd_cont |lower bits to zero for size
117 asll #1,%d0 |shift g-bit to c-bit
124 | ext_grs --- extract guard, round and sticky bits
129 | The ext_grs extract the guard/round/sticky bits according to the
[all …]
H A Dbinstr.S5 | Description: Converts a 64-bit binary integer to bcd.
7 | Input: 64-bit binary integer in d2:d3, desired length (LEN) in
12 | Output: LEN bcd digits representing the 64-bit integer.
15 | The 64-bit binary is assumed to have a decimal point before
17 | shift and a mul by 8 shift. The bits shifted out of the
23 | to force the first byte formed to have a 0 in the upper 4 bits.
28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field
35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5
38 | A6. Test d7. If zero, the digit formed is the ms digit. If non-
39 | zero, it is the ls digit. Put the digit in its place in the
[all …]
H A Dx_store.S4 | store --- store operand to memory or register
52 | if fp0-fp3 is being modified, we must put a copy
54 | handlers restore fp0-fp3 from there.
58 fmovemx %fp0-%fp0,USER_FP0(%a6)
63 fmovemx %fp1-%fp1,USER_FP1(%a6)
68 fmovemx %fp2-%fp2,USER_FP2(%a6)
73 fmovemx %fp3-%fp3,USER_FP3(%a6)
100 | dest_dbl --- write double precision value to user space
103 | a0 -> destination address
104 | a1 -> source in extended precision
[all …]
H A Dx_operr.S4 | fpsp_operr --- FPSP handler for operand error exception
6 | See 68040 User's Manual pp. 9-44f
12 | the upper 32 bits of the mantissa are sent to the integer unit). If
18 | negative integer (-2^7 for b, -2^15 for w, -2^31 for l).
21 | overflow -> OPERR, the exponent in wbte (and fpte) is:
22 | byte 56 - (62 - exp)
23 | word 48 - (62 - exp)
24 | long 32 - (62 - exp)
26 | where exp = (true exp) - 1
65 link %a6,#-LOCAL_SIZE
[all …]
/openbmc/linux/include/crypto/
H A Dgf128mul.h1 /* gf128mul.h - GF(2^128) multiplication functions
16 ---------------------------------------------------------------------------
43 ---------------------------------------------------------------------------
59 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf
61 * The elements of GF(2^128) := GF(2)[X]/(X^128-X^7-X^2-X^1-1) can
72 * Every bit is a coefficient of some power of X. We can store the bits
73 * in every byte in little-endian order and the bytes themselves also in
74 * little endian order. I will call this lle (little-little-endian).
80 * Another convention says: store the bits in bigendian order and the
81 * bytes also. This is bbe (big-big-endian). Now the buffer above
[all …]
/openbmc/linux/fs/gfs2/
H A Dlock_dlm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright 2004-2011 Red Hat, Inc.
26 * gfs2_update_stats - Update time based stats
52 s64 delta = sample - s->stats[index]; in gfs2_update_stats()
53 s->stats[index] += (delta >> 3); in gfs2_update_stats()
55 s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; in gfs2_update_stats()
59 * gfs2_update_reply_times - Update locking statistics
62 * This assumes that gl->gl_dstamp has been set earlier.
72 * TRY_1CB flags are set are classified as non-blocking. All
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-pca955x.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2007-2008 Extreme Engineering Solutions, Inc.
5 * Author: Nate Case <ncase@xes-inc.com>
11 * Device Description 7-bit slave address
12 * ------ ----------- -------------------
13 * PCA9550 2-bit driver 0x60 .. 0x61
14 * PCA9551 8-bit driver 0x60 .. 0x67
15 * PCA9552 16-bit driver 0x60 .. 0x67
16 * PCA9553/01 4-bit driver 0x62
17 * PCA9553/02 4-bit driver 0x63
[all …]
/openbmc/linux/fs/dlm/
H A Ddir.c1 // SPDX-License-Identifier: GPL-2.0-only
5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
6 ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
25 * We use the upper 16 bits of the hash value to select the directory node.
26 * Low bits are used for distribution of rsb's among hash buckets on each node.
28 * To give the exact range wanted (0 to num_nodes-1), we apply a modulus of
33 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid() argument
37 if (ls->ls_num_nodes == 1) in dlm_hash2nodeid()
40 node = (hash >> 16) % ls->ls_total_weight; in dlm_hash2nodeid()
41 return ls->ls_node_array[node]; in dlm_hash2nodeid()
[all …]
/openbmc/linux/arch/x86/math-emu/
H A Dwm_sqrt.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 /*---------------------------------------------------------------------------+
10 | Australia. E-mail billm@suburbia.net |
15 +---------------------------------------------------------------------------*/
17 /*---------------------------------------------------------------------------+
22 | be in the range [1.0 .. 4.0), to 64 bits accuracy. |
27 +---------------------------------------------------------------------------*/
35 #define FPU_accum_3 -4(%ebp) /* ms word */
36 #define FPU_accum_2 -8(%ebp)
37 #define FPU_accum_1 -12(%ebp)
[all …]
H A Dreg_round.S1 /* SPDX-License-Identifier: GPL-2.0 */
3 /*---------------------------------------------------------------------------+
10 | Australia. E-mail billm@suburbia.net |
20 | Return value is the tag of the answer, or-ed with FPU_Exception if |
21 | one was raised, or -1 on internal error. |
26 +---------------------------------------------------------------------------*/
28 /*---------------------------------------------------------------------------+
47 | must be non-zero. |
48 | If the significand extension is non-zero then the significand is |
50 | greater than zero and less than one ls bit of the significand. |
[all …]
/openbmc/linux/include/linux/
H A Dnvme-fc-driver.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include <linux/blk-mq.h>
14 * ********************** FC-NVME LS API ********************
16 * Data structures used by both FC-NVME hosts and FC-NVME
17 * targets to perform FC-NVME LS requests or transmit
24 * struct nvmefc_ls_req - Request structure passed from the transport
25 * to the LLDD to perform a NVME-FC LS request and obtain
27 * Used by nvme-fc transport (host) to send LS's such as
30 * Used by the nvmet-fc transport (controller) to send
31 * LS's such as Disconnect Association.
[all …]
H A Dnvme-fc.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 * This file contains definitions relative to FC-NVME-2 r1.08
8 * (T11-2019-00210-v004).
19 /* FC-NVME Cmd IU Flags */
80 /* for now - no additional payload */
114 /* FC-NVME Link Services - LS cmd values (w0 bits 31:24) */
125 /* FC-NVME Link Service Descriptors */
146 return cpu_to_be32(sz - (2 * sizeof(u32))); in fcnvme_lsdesc_len()
162 /* FC-NVME LS RJT reason_code values */
165 /* no reason - not to be sent */
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/actions/
H A Dskbmod.json19 "verifyCmd": "$TC actions ls action skbmod",
20 "matchPattern": "action order [0-9]*: skbmod pipe set dmac 11:22:33:44:55:66\\s+index 5",
44 "matchPattern": "action order [0-9]*: skbmod pipe set smac 77:88:99:aa:bb:cc\\s+index 7",
67 "verifyCmd": "$TC actions ls action skbmod",
68 "matchPattern": "action order [0-9]*: skbmod pipe set smac 00:44:55:44:55",
91 "verifyCmd": "$TC actions ls action skbmod",
92 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0xFEFE",
115 "verifyCmd": "$TC actions ls action skbmod",
116 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0xFEFEF",
140 "matchPattern": "action order [0-9]*: skbmod pipe swap mac",
[all …]
/openbmc/linux/arch/arm64/kernel/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1995-2001 Russell King
105 * smp_build_mpidr_hash - Pre-compute shifts required at each affinity
112 u32 i, affinity, fs[4], bits[4], ls; in smp_build_mpidr_hash() local
115 * Pre-scan the list of MPIDRS and filter out bits that do in smp_build_mpidr_hash()
120 pr_debug("mask of set bits %#llx\n", mask); in smp_build_mpidr_hash()
123 * check how many bits are required to represent them. in smp_build_mpidr_hash()
128 * Find the MSB bit and LSB bits position in smp_build_mpidr_hash()
129 * to determine how many bits are required in smp_build_mpidr_hash()
132 ls = fls(affinity); in smp_build_mpidr_hash()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dlm4857.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright 2011 Lars-Peter Clausen <lars@metafoo.de>
34 /* the shifts required to set these bits */
66 SND_SOC_DAPM_OUTPUT("LS"),
71 static const DECLARE_TLV_DB_SCALE(stereo_tlv, -4050, 150, 0);
72 static const DECLARE_TLV_DB_SCALE(mono_tlv, -3450, 150, 0);
91 { "LS", "Loudspeaker", "Mode" },
92 { "LS", "Loudspeaker + Headphone", "Mode" },
126 return devm_snd_soc_register_component(&i2c->dev, in lm4857_i2c_probe()
146 MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_core.c1 // SPDX-License-Identifier: GPL-2.0-only
53 /* Reading this register shall clear all the LPI status bits */ in sxgbe_get_lpi_status()
158 /* clear the speed bits */ in sxgbe_core_set_speed()
225 const int ls, const int tw) in sxgbe_set_eee_timer() argument
227 int value = ((tw & 0xffff)) | ((ls & 0x7ff) << 16); in sxgbe_set_eee_timer()
230 * LS: minimum time (ms) for which the link in sxgbe_set_eee_timer()
/openbmc/linux/drivers/usb/host/
H A Docteon-hcd.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights
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
126 * @nptxfemplvl: Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl)
128 * Indicates when the Non-Periodic TxFIFO Empty Interrupt bit in
131 * * 1'b0: GINTSTS.NPTxFEmp interrupt indicates that the Non-
133 * * 1'b1: GINTSTS.NPTxFEmp interrupt indicates that the Non-
172 * This value is in terms of 32-bit words.
200 * * 3'b000: 4 bits
[all …]
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/
H A Dpinmux.c1 // SPDX-License-Identifier: GPL-2.0+
13 * This defines the order of the pin mux control bits in the registers. For
151 MUXCTL_NONE = -1,
253 PUCTL_NONE = -1
269 /* A normal pin group where the mux name and pull-up name match */
273 /* A pin group where the pull-up name doesn't have a 1-1 mapping */
389 PINP(LSC1, DISPA, DISPB, SPI3, HDMI, LS),
390 PINP(LSCK, DISPA, DISPB, SPI3, HDMI, LS),
391 PINP(LDC, DISPA, DISPB, RSVD3, RSVD4, LS),
392 PINP(LCSN, DISPA, DISPB, SPI3, RSVD4, LS),
[all …]
/openbmc/linux/arch/x86/events/amd/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
23 /* PMC Enable and Overflow bits for PerfCntrGlobal* registers */
51 [ C(RESULT_ACCESS) ] = -1,
52 [ C(RESULT_MISS) ] = -1,
93 [ C(RESULT_ACCESS) ] = -1,
94 [ C(RESULT_MISS) ] = -1,
97 [ C(RESULT_ACCESS) ] = -1,
98 [ C(RESULT_MISS) ] = -1,
107 [ C(RESULT_ACCESS) ] = -1,
108 [ C(RESULT_MISS) ] = -1,
[all …]
/openbmc/linux/include/sound/sof/ipc4/
H A Dheader.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
24 * struct sof_ipc4_msg - Placeholder of an IPC4 message
46 * struct sof_ipc4_tuple - Generic type/ID and parameter tuple
58 * IPC4 messages have two 32 bit identifier made up as follows :-
60 * header - msg type, msg id, msg direction ...
61 * extension - extra params such as msg data size in mailbox
69 * bit 0-23: message type specific
70 * bit 24-28: type: enum sof_ipc4_global_msg if target is SOF_IPC4_FW_GEN_MSG
72 * bit 29: response - sof_ipc4_msg_dir
73 * bit 30: target - enum sof_ipc4_msg_target
[all …]
/openbmc/u-boot/board/freescale/common/
H A Dfsl_validate.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include <u-boot/rsa-mod-exp.h>
34 /* This array contains DER value for SHA-256 */
43 /* New Barker Code for LS ESBC Header */
66 if (img->hdr.ie_flag & IE_FLAG_MASK) in check_ie()
82 u32 csf_hdr_addr = in_be32(&gur->scratchrw[0]); in get_csf_base_addr()
99 return -1; in get_csf_base_addr()
113 u32 csf_hdr_addr = in_be32(&gur->scratchrw[0]); in get_csf_base_addr()
117 return -1; in get_csf_base_addr()
129 /* For LS-CH3, the address of IE Table is in get_ie_info_addr()
[all …]
/openbmc/linux/fs/cramfs/
H A DREADME2 --------------------------
9 All data is currently in host-endian format; neither mkcramfs nor the
22 Filename. Not generally null-terminated, but it is
23 null-padded to a multiple of 4 bytes.
25 The order of inode traversal is described as "width-first" (not to be
26 confused with breadth-first); i.e. like depth-first but listing all of
28 same order as `ls -AUR' (but without the /^\..*:$/ directory header
29 lines); put another way, the same order as `find -type d -exec
30 ls -AU1 {} \;'.
34 exist, speeds up user-space directory sorts, etc.
[all …]
/openbmc/u-boot/drivers/pci/
H A Dpcie_layerscape_fixup.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright 2014-2015 Freescale Semiconductor, Inc.
27 if (pcie->next_lut_index < PCIE_LUT_ENTRY_COUNT) in ls_pcie_next_lut_index()
28 return pcie->next_lut_index++; in ls_pcie_next_lut_index()
30 return -ENOSPC; /* LUT is full */ in ls_pcie_next_lut_index()
33 /* returns the next available streamid for pcie, -errno if failed */
39 return -EINVAL; in ls_pcie_next_streamid()
47 if (pcie->big_endian) in lut_writel()
48 out_be32(pcie->lut + offset, value); in lut_writel()
50 out_le32(pcie->lut + offset, value); in lut_writel()
[all …]
/openbmc/linux/arch/nios2/include/asm/
H A Dptrace.h23 unsigned long r8; /* r8-r15 Caller-saved GP registers */
32 unsigned long r2; /* Retval LS 32bits */
33 unsigned long r3; /* Retval MS 32bits */
34 unsigned long r4; /* r4-r7 Register arguments */
53 unsigned long r16; /* r16-r23 Callee-saved GP registers */
66 #define user_mode(regs) (((regs)->estatus & ESTATUS_EU))
68 #define instruction_pointer(regs) ((regs)->ra)
70 #define user_stack_pointer(regs) ((regs)->sp)
75 - 1)
77 #define force_successful_syscall_return() (current_pt_regs()->orig_r2 = -1)

12345678910