/linux/arch/m68k/fpsp040/ |
H A D | sgetem.S | 13 | 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 D | round.S | 21 | 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 D | binstr.S | 5 | 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 D | x_store.S | 4 | 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 D | x_operr.S | 4 | 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 …]
|
/linux/drivers/leds/ |
H A D | leds-pca955x.c | 1 // 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 …]
|
/linux/fs/dlm/ |
H A D | dir.c | 1 // 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 …]
|
/linux/include/linux/ |
H A D | nvme-fc-driver.h | 1 /* 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 D | nvme-fc.h | 1 /* 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 …]
|
/linux/arch/x86/math-emu/ |
H A D | wm_sqrt.S | 1 /* 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 D | reg_round.S | 1 /* 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 …]
|
H A D | div_Xsig.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /*---------------------------------------------------------------------------+ 10 | Australia. E-mail billm@jacobi.maths.monash.edu.au | 13 +---------------------------------------------------------------------------*/ 15 /*---------------------------------------------------------------------------+ 19 | The result may not be accurate to 96 bits. It is intended for use where | 20 | a result better than 64 bits is required. The result should usually be | 21 | good to at least 94 bits. | 25 | .aaaaaaaaaaaaaa / .bbbbbbbbbbbbb -> .dddddddddddd | 29 +---------------------------------------------------------------------------*/ [all …]
|
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/ |
H A D | skbmod.json | 22 "verifyCmd": "$TC actions ls action skbmod", 23 "matchPattern": "action order [0-9]*: skbmod pipe set dmac 11:22:33:44:55:66\\s+index 5", 50 "matchPattern": "action order [0-9]*: skbmod pipe set smac 77:88:99:aa:bb:cc\\s+index 7", 76 "verifyCmd": "$TC actions ls action skbmod", 77 "matchPattern": "action order [0-9]*: skbmod pipe set smac 00:44:55:44:55", 103 "verifyCmd": "$TC actions ls action skbmod", 104 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0xFEFE", 130 "verifyCmd": "$TC actions ls action skbmod", 131 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0xFEFEF", 158 "matchPattern": "action order [0-9]*: skbmod pipe swap mac", [all …]
|
/linux/sound/soc/codecs/ |
H A D | lm4857.c | 1 // 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>");
|
/linux/drivers/usb/host/ |
H A D | octeon-hcd.h | 1 /* 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 …]
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_core.c | 1 // 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()
|
/linux/include/sound/sof/ipc4/ |
H A D | header.h | 1 /* 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 …]
|
/linux/arch/powerpc/xmon/ |
H A D | spu-insns.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 -=-=-= FORMAT =-=-=- 14 +----+-------+-------+-------+-------+ +------------+-------+-------+-------+ 16 +----+-------+-------+-------+-------+ +------------+-------+-------+-------+ 20 +-----------+--------+-------+-------+ +---------+----------+-------+-------+ 22 +-----------+--------+-------+-------+ +---------+----------+-------+-------+ 26 +----------+-----------------+-------+ +--------+-------------------+-------+ 28 +----------+-----------------+-------+ +--------+-------------------+-------+ 32 +------------+-------+-------+-------+ +-------+--+-----------------+-------+ 34 +------------+-------+-------+-------+ +-------+--+-----------------+-------+ [all …]
|
/linux/fs/cramfs/ |
H A D | README | 2 -------------------------- 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 …]
|
/linux/lib/ |
H A D | bitmap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 * bitmaps provide an array of bits, implemented using an 18 * array of unsigned longs. The number of valid bits in a 22 * The possible unused bits in the last, partially used word 28 * carefully filter out these unused bits from impacting their 32 * endian architectures. See the big-endian headers 33 * include/asm-ppc64/bitops.h and include/asm-s390/bitops.h 38 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() argument 40 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() 45 if (bits % BITS_PER_LONG) in __bitmap_equal() [all …]
|
/linux/Documentation/admin-guide/ |
H A D | perf-security.rst | 7 -------- 50 ------------------------------- 66 independently enabled and disabled on per-thread basis for processes and 103 --------------------------------- 105 Mechanisms of capabilities, privileged capability-dumb files [6]_, 118 # ls -alhF 119 -rwxr-xr-x 2 root root 11M Oct 19 15:12 perf 121 # ls -alhF 122 -rwxr-xr-x 2 root perf_users 11M Oct 19 15:12 perf 123 # chmod o-rwx perf [all …]
|
/linux/Documentation/trace/ |
H A D | ftrace.rst | 2 ftrace - Function Tracer 13 - Written for: 2.6.28-rc2 14 - Updated for: 3.10 15 - Updated for: 4.13 - Copyright 2017 VMware Inc. Steven Rostedt 16 - Converted to rst format - Changbin Du <changbin.du@intel.com> 19 ------------ 24 performance issues that take place outside of user-space. 41 ---------------------- 43 See Documentation/trace/ftrace-design.rst for details for arch porters and such. 47 --------------- [all …]
|
/linux/arch/nios2/include/asm/ |
H A D | ptrace.h | 23 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)
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_nvme.c | 4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 9 * Portions Copyright (C) 2004-2005 Christoph Hellwig * 17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 28 #include <linux/crc-t10dif.h> 54 /* NVME initiator-based functions */ 66 * lpfc_nvme_create_queue - 67 * @pnvme_lport: Transport localport that LS is to be issued from 70 * @handle: An opaque driver handle used in follow-up calls. 74 * A hardware queue maps (qidx) to a specific driver MSI-X vector/EQ/CQ/WQ. [all …]
|
/linux/arch/arm/nwfpe/ |
H A D | fpa11_cpdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 (c) Rebel.com, 1998-1999 22 fpa11->fType[Fn] = typeSingle; in loadSingle() 23 get_user(fpa11->fpreg[Fn].fSingle, pMem); in loadSingle() 30 p = (unsigned int *) &fpa11->fpreg[Fn].fDouble; in loadDouble() 31 fpa11->fType[Fn] = typeDouble; in loadDouble() 46 p = (unsigned int *) &fpa11->fpreg[Fn].fExtended; in loadExtended() 47 fpa11->fType[Fn] = typeExtended; in loadExtended() 50 get_user(p[1], &pMem[1]); /* ms bits */ in loadExtended() 51 get_user(p[2], &pMem[2]); /* ls bits */ in loadExtended() [all …]
|