/openbmc/linux/Documentation/devicetree/bindings/iio/frequency/ |
H A D | adi,admv1013.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Antoniu Miclaus <antoniu.miclaus@analog.com> 21 - adi,admv1013 26 spi-max-frequency: 34 clock-names: 36 - const: lo_in 38 vcm-supply: 42 vcc-drv-supply: [all …]
|
H A D | adi,admv1014.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Antoniu Miclaus <antoniu.miclaus@analog.com> 21 - adi,admv1014 26 spi-max-frequency: 32 clock-names: 34 - const: lo_in 38 vcm-supply: 40 Common-mode voltage regulator. [all …]
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | decbin.S | 5 | register A6 to extended-precision value in FP0. 9 | Output: Exact floating-point representation of the packed bcd value. 11 | Saves and Modifies: D2-D5 20 | Expected is a normal bcd (i.e. non-exceptional; all inf, zero, 25 | Set the sign according to SE. Subtract 16 to compensate 33 | assumed following the least-significant digit. 37 | bcd string. If SE is positive, count the leading zeros; 43 | SM = 0 a non-zero digit in the integer position 44 | SM = 1 a non-zero digit in Mant0, lsd of the fraction 47 | representation (ex. 0.1E2, 1E1, 10E0, 100E-1), is converted [all …]
|
H A D | bindec.S | 12 | value in memory; d0 contains the k-factor sign-extended 13 | to 32-bits. The input may be either normalized, 18 | Saves and Modifies: D2-D7,A2,FP2 23 | The k-factor is saved for use in d7. Clear the 45 | k-factor can dictate either the total number of digits, 67 | A9. Scale X -> Y. 74 | compensated for by 'or-ing' in the INEX2 flag to 87 | or less than LEN -1 digits, adjust ILOG and repeat from 114 | d2: upper 32-bits of mantissa for binstr 115 | d3: scratch;lower 32-bits of mantissa for binstr [all …]
|
H A D | get_op.S | 7 | type exception handler ('unsupp' - vector 55) and the unimplemented 8 | instruction exception handler ('unimp' - vector 11). 'get_op' 10 | opclass handler routine. See 68881/2 User's Manual table 4-11 17 | - For unnormalized numbers (opclass 0, 2, or 3) the 20 | - For a packed number (opclass 2) the number is unpacked and the 23 | - For denormalized numbers (opclass 0 or 2) the number(s) is not 30 | - If there is a move out with a packed number (opclass 3) the 41 | the '040. The '040 then re-executes the fadd.x fpm,fpn with 45 | Next consider if in the process of normalizing the un- 231 leal FPTEMP(%a6),%a0 |point a0 to dop - used in mk_norm [all …]
|
/openbmc/linux/kernel/sched/ |
H A D | debug.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 nsec = -nsec; in nsec_high() 30 return -nsec; in nsec_high() 40 nsec = -nsec; in nsec_low() 101 int neg = 0; in sched_feat_set() local 104 neg = 1; in sched_feat_set() 112 if (neg) { in sched_feat_set() 136 return -EFAULT; in sched_feat_write() 181 return -EFAULT; in sched_scaling_write() 185 return -EINVAL; in sched_scaling_write() [all …]
|
/openbmc/linux/drivers/iio/afe/ |
H A D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Author: Peter Rosin <peda@axentia.se> 29 u32 neg; in rescale_process_scale() local 33 *val *= rescale->numerator; in rescale_process_scale() 34 if (rescale->denominator == 1) in rescale_process_scale() 36 *val2 = rescale->denominator; in rescale_process_scale() 44 if (!check_mul_overflow(*val, rescale->numerator, &_val) && in rescale_process_scale() 45 !check_mul_overflow(*val2, rescale->denominator, &_val2)) { in rescale_process_scale() 53 tmp = div_s64(tmp, rescale->denominator); in rescale_process_scale() 54 tmp *= rescale->numerator; in rescale_process_scale() [all …]
|
/openbmc/linux/drivers/iio/frequency/ |
H A D | admv1013.c | 1 // SPDX-License-Identifier: GPL-2.0-only 112 st->data[0] = ADMV1013_READ | FIELD_PREP(ADMV1013_REG_ADDR_READ_MSK, reg); in __admv1013_spi_read() 113 st->data[1] = 0x0; in __admv1013_spi_read() 114 st->data[2] = 0x0; in __admv1013_spi_read() 116 t.rx_buf = &st->data[0]; in __admv1013_spi_read() 117 t.tx_buf = &st->data[0]; in __admv1013_spi_read() 120 ret = spi_sync_transfer(st->spi, &t, 1); in __admv1013_spi_read() 124 *val = FIELD_GET(ADMV1013_REG_DATA_MSK, get_unaligned_be24(&st->data[0])); in __admv1013_spi_read() 134 mutex_lock(&st->lock); in admv1013_spi_read() 136 mutex_unlock(&st->lock); in admv1013_spi_read() [all …]
|
H A D | admv1014.c | 1 // SPDX-License-Identifier: GPL-2.0-only 117 static const char * const quad_se_mode_names[] = { "se-pos", "se-neg", "diff" }; 142 st->data[0] = ADMV1014_READ | FIELD_PREP(ADMV1014_REG_ADDR_READ_MSK, reg); in __admv1014_spi_read() 143 st->data[1] = 0; in __admv1014_spi_read() 144 st->data[2] = 0; in __admv1014_spi_read() 146 t.rx_buf = &st->data[0]; in __admv1014_spi_read() 147 t.tx_buf = &st->data[0]; in __admv1014_spi_read() 148 t.len = sizeof(st->data); in __admv1014_spi_read() 150 ret = spi_sync_transfer(st->spi, &t, 1); in __admv1014_spi_read() 154 *val = FIELD_GET(ADMV1014_REG_DATA_MSK, get_unaligned_be24(&st->data[0])); in __admv1014_spi_read() [all …]
|
/openbmc/linux/arch/m68k/mac/ |
H A D | via.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * via them as are assorted bits and bobs - eg RTC, ADB. 14 * for info. A full-text web search on 6522 AND VIA will probably also 53 * _consistently_ lazy? - 1999-05-21 (jmt) 61 * Quadra-like ASICs. (RBV and OSS machines don't have this limitation.) 65 * (at least) the Quadra 700. A NuBus card's /NMRQ signal is an open-collector 66 * circuit (see Designing Cards and Drivers for Macintosh II and Macintosh SE, 67 * p. 10-11 etc) but VIA outputs are not (see datasheet). 80 * and therefore no interrupt, even after being re-enabled. 93 * limitation, "Designing Cards and Drivers", p. 9-8, says that a slot [all …]
|
/openbmc/qemu/target/hppa/ |
H A D | insns.decode | 116 break 000000 ----- ----- --- 00000000 ----- 118 mtsp 000000 ----- r:5 ... 11000001 00000 sp=%assemble_sr3 119 mtctl 000000 t:5 r:5 --- 11000010 00000 120 mtsarcm 000000 01011 r:5 --- 11000110 00000 123 mfia 000000 ----- 00000 --- 10100101 t:5 124 mfsp 000000 ----- 00000 ... 00100101 t:5 sp=%assemble_sr3 125 mfctl 000000 r:5 00000- e:1 -01000101 t:5 127 sync 000000 ----- ----- 000 00100000 00000 # sync, syncdma 129 ldsid 000000 b:5 ----- sp:2 0 10000101 t:5 134 rfi 000000 ----- ----- --- 01100000 00000 [all …]
|
H A D | translate.c | 22 #include "qemu/host-utils.h" 23 #include "exec/exec-all.h" 24 #include "exec/page-protection.h" 25 #include "tcg/tcg-op.h" 26 #include "tcg/tcg-op-gvec.h" 27 #include "exec/helper-proto.h" 28 #include "exec/helper-gen.h" 33 #include "exec/helper-info.c.inc" 98 #define UNALIGN(C) (C)->unalign 102 #define MMU_DISABLED(C) MMU_IDX_MMU_DISABLED((C)->mmu_idx) [all …]
|
/openbmc/linux/arch/m68k/ifpsp060/src/ |
H A D | pfpsp.S | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 97 mov.l %d0,-(%sp) 98 mov.l (_060FPSP_TABLE-0x80+_off_done,%pc),%d0 99 pea.l (_060FPSP_TABLE-0x80,%pc,%d0) 105 mov.l %d0,-(%sp) 106 mov.l (_060FPSP_TABLE-0x80+_off_ovfl,%pc),%d0 107 pea.l (_060FPSP_TABLE-0x80,%pc,%d0) 113 mov.l %d0,-(%sp) 114 mov.l (_060FPSP_TABLE-0x80+_off_unfl,%pc),%d0 [all …]
|
H A D | fpsp.S | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 98 mov.l %d0,-(%sp) 99 mov.l (_060FPSP_TABLE-0x80+_off_done,%pc),%d0 100 pea.l (_060FPSP_TABLE-0x80,%pc,%d0) 106 mov.l %d0,-(%sp) 107 mov.l (_060FPSP_TABLE-0x80+_off_ovfl,%pc),%d0 108 pea.l (_060FPSP_TABLE-0x80,%pc,%d0) 114 mov.l %d0,-(%sp) 115 mov.l (_060FPSP_TABLE-0x80+_off_unfl,%pc),%d0 [all …]
|
/openbmc/linux/Documentation/scsi/ |
H A D | sym53c8xx_2.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 SYM-2 driver 11 95170 DEUIL LA BARRE - FRANCE 15 2004-10-09 67 This driver supports the whole SYM53C8XX family of PCI-SCSI controllers. 68 It also support the subset of LSI53C10XX PCI-SCSI controllers that are based 72 with the FreeBSD SYM-2 driver. The 'glue' that allows this driver to work 81 - Wolfgang Stanglmeier <wolf@cologne.de> 82 - Stefan Esser <se@mi.Uni-Koeln.de> 84 1996: port of the ncr driver to Linux-1.2.13 and rename it ncr53c8xx. [all …]
|
H A D | ncr53c8xx.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 95170 DEUIL LA BARRE - FRANCE 64 10.4 PCI configuration fix-up boot option 81 16.1 Synchronous timings for 53C875 and 53C860 Ultra-SCSI controllers 82 16.2 Synchronous timings for fast SCSI-2 53C8XX controllers 97 - Gerard Roudier <groudier@free.fr> 101 - Wolfgang Stanglmeier <wolf@cologne.de> 102 - Stefan Esser <se@mi.Uni-Koeln.de> 106 - ncr53c8xx generic driver that supports all the SYM53C8XX family including 109 - sym53c8xx enhanced driver (a.k.a. 896 drivers) that drops support of oldest [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | translate_vx.c.inc | 2 * QEMU TCG support -- s390x vector instruction translation functions 10 * See the COPYING file in the top-level directory. 19 * are handled via gvec ool (out-of-line) handlers. 38 * As gvec ool-helpers can currently not return values (besides via 41 * set it in "env->cc_op" and mark it as static via set_cc_static()". 55 /* Floating-Point Format */ 62 return !(enr & ~(NUM_VEC_ELEMENTS(es) - 1)); 174 tcg_gen_andi_i64(tmp, enr, NUM_VEC_ELEMENTS(es) - 1); 179 tcg_gen_xori_i64(tmp, tmp, 8 - NUM_VEC_ELEMENT_BYTES(es)); 320 const uint8_t es = s->insn->data; [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-a64.c | 21 #include "exec/exec-all.h" 23 #include "translate-a64.h" 75 #include "decode-sme-fa64.c.inc" 76 #include "decode-a64.c.inc" 78 /* Table based decoder typedefs - used when the relevant bits for decode 124 ARMMMUIdx useridx = s->mmu_idx; in get_a64_user_mem_index() 126 if (unpriv && s->unpriv) { in get_a64_user_mem_index() 128 * We have pre-computed the condition for AccType_UNPRIV. in get_a64_user_mem_index() 156 /* BTYPE is a 2-bit field, and 0 should be done with reset_btype. */ in set_btype() 159 s->btype = -1; in set_btype() [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.c | 1 /* Copyright 2008-2013 Broadcom Corporation 8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL"). 43 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1) 205 (_phy)->def_md_devad, \ 211 (_phy)->def_md_devad, \ 239 * bnx2x_check_lfa - This function checks if link reinitialization is required, 251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() 254 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa() 257 /* NOTE: must be first condition checked - in bnx2x_check_lfa() 262 REG_WR(bp, params->lfa_base + in bnx2x_check_lfa() [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | cpu.h | 4 * Copyright (c) 2003-2007 Jocelyn Mayer 24 #include "qemu/cpu-float.h" 25 #include "exec/cpu-defs.h" 26 #include "cpu-qom.h" 41 #define PPC_BIT_NR(bit) (63 - (bit)) 43 #define PPC_BIT32_NR(bit) (31 - (bit)) 46 #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) 47 #define PPC_BITMASK32(bs, be) ((PPC_BIT32(bs) - PPC_BIT32(be)) | \ 49 #define PPC_BITMASK8(bs, be) ((PPC_BIT8(bs) - PPC_BIT8(be)) | PPC_BIT8(bs)) 58 #define MASK_TO_LSH(m) (__builtin_ffsll(m) - 1) [all …]
|
/openbmc/qemu/disas/ |
H A D | sh4.c | 19 #include "disas/dis-asm.h" 212 #define arch_op32 0x00100000 /* This is a 32-bit opcode. */ 216 #define arch_sh_no_co 0x10000000 /* neither FPU nor DSP co-processor */ 263 the tools to continue to function in most cases - there may 273 .------------'|`--------------------. 275 SH-DSP SH3-nommu SH2E 276 | |`--------. | 278 | SH3 SH4-nommu-nofpu | 280 | .------------'|`----------+---------. | 282 | | .-------' | [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | ncr53c8xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 ** Device driver for the PCI-SCSI NCR538XX controller family. 8 **----------------------------------------------------------------------------- 22 ** Stefan Esser <se@mi.Uni-Koeln.de> 27 **----------------------------------------------------------------------------- 38 ** Support for Fast-20 scsi. 42 ** Support for Fast-40 scsi. 43 ** Support for on-Board RAM. 46 ** Full support for scsi scripts instructions pre-fetching. 57 ** Low PCI traffic for command handling when on-chip RAM is present. [all …]
|
/openbmc/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx_core.c | 4 * Copyright (c) 1994-2002 Justin T. Gibbs. 5 * Copyright (c) 2000-2003 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 68 { DPARERR, "Data-path Parity Error" }, 76 { P_DATAOUT, NOP, "in Data-out phase" }, 77 { P_DATAIN, INITIATOR_ERROR, "in Data-in phase" }, 78 { P_DATAOUT_DT, NOP, "in DT Data-out phase" }, 79 { P_DATAIN_DT, INITIATOR_ERROR, "in DT Data-in phase" }, 81 { P_MESGOUT, NOP, "in Message-out phase" }, 83 { P_MESGIN, MSG_PARITY_ERROR, "in Message-in phase" }, [all …]
|