| /illumos-gate/usr/src/cmd/cron/ |
| H A D | parse.c | 52 (x) = (x) * 10 + (line[cursor] - '0'); \ 80 assert(upper - lower <= MAX_ELEMENTS); in next_field() 94 uint_t num = 0, num2 = 0, step = 0; in next_field() local 117 num = lower; in next_field() 125 READNUMBER(num); in next_field() 127 if (num < lower || num > upper) { in next_field() 132 if (line[cursor] == '-') { in next_field() 146 ADDELEMENT(num); in next_field() 169 if (num <= num2) { in next_field() 170 for (i = num; i <= num2; i += step) { in next_field() [all …]
|
| /freebsd/usr.sbin/rrenumd/ |
| H A D | lexer.l | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 67 digit [0-9] 68 letter [0-9A-Za-z] 69 hexdigit [0-9A-Fa-f] 72 hyphen \- 98 mprefix match_prefix|match-prefix 99 uprefix use_prefix|use-prefix 116 yylval.num = RPM_PCO_ADD; 120 yylval.num = RPM_PCO_CHANGE; [all …]
|
| /freebsd/contrib/tcsh/ |
| H A D | ed.screen.c | 2 * ed.screen.c: Editor/termcap-curses interface 4 /*- 341 * A very useful table from justin@crim.ca (Justin Bur) :-) 343 * - first (and second:-) case fixed) 347 * -------------- ------- ------- ------------ ------------ 350 * No Wrap no -- yes yes 363 xfree(t->str); in TCset() 364 t->str = NULL; in TCset() 369 t->str = xrealloc(t->str, size); in TCset() 370 memcpy(t->str, cap, size); in TCset() [all …]
|
| /illumos-gate/usr/src/common/mc/mc-amd/ |
| H A D | mcamd_rowcol.c | 34 * Convenience structures to stash MC and CS properties in. 37 mcamd_prop_t num; /* corresponding chip number */ member 42 mcamd_prop_t csbnkmap_reg; /* chip-select bank map */ 43 mcamd_prop_t intlven; /* Node-intlv mask */ 44 mcamd_prop_t intlvsel; /* Node-intlv selection for this node */ 45 mcamd_prop_t csintlvfctr; /* cs intlv factor on this node */ 46 mcamd_prop_t bnkswzl; /* bank-swizzle mode */ 47 mcamd_prop_t sparecs; /* spare cs#, if any */ 48 mcamd_prop_t badcs; /* substituted cs#, if any */ 52 mcamd_prop_t num; /* chip-select number */ member [all …]
|
| H A D | mcamd_unumtopa.c | 40 * Any cs info it has will not be used - we will reconstruct cs info. 41 * This is because cs is not in the topology used for diagnosis. 48 uint64_t num, holesz; in mcamd_unumtopa() local 51 "mc %d dimm %d offset 0x%llx\n", unump->unum_chip, unump->unum_mc, in mcamd_unumtopa() 52 unump->unum_dimms[0], unump->unum_offset); in mcamd_unumtopa() 54 if (!MCAMD_RC_OFFSET_VALID(unump->unum_offset)) { in mcamd_unumtopa() 67 mc, MCAMD_PROP_NUM, &num, in mcamd_unumtopa() 71 "failed to lookup num, dramhole for MC 0x%p\n", mc); in mcamd_unumtopa() 74 if (num == unump->unum_chip) in mcamd_unumtopa() 79 "no match for MC %d\n", unump->unum_chip); in mcamd_unumtopa() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ |
| H A D | omap-gpmc.txt | 7 - compatible: Should be set to one of the following: 9 ti,omap2420-gpmc (omap2420) 10 ti,omap2430-gpmc (omap2430) 11 ti,omap3430-gpmc (omap3430 & omap3630) 12 ti,omap4430-gpmc (omap4430 & omap4460 & omap543x) 13 ti,am3352-gpmc (am335x devices) 15 - reg: A resource specifier for the register space 17 - ti,hwmods: Should be set to "ti,gpmc" until the DT transition is 19 - #address-cells: Must be set to 2 to allow memory address translation 20 - #size-cells: Must be set to 1 to allow CS address passing [all …]
|
| H A D | ti,gpmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controller [all...] |
| /freebsd/sys/contrib/device-tree/Bindings/spi/ |
| H A D | spi-fsl-dspi.txt | 4 - compatible : must be one of: 5 "fsl,vf610-dspi", 6 "fsl,ls1021a-v1.0-dspi", 7 "fsl,ls1012a-dspi" (optionally followed by "fsl,ls1021a-v1.0-dspi"), 8 "fsl,ls1028a-dspi", 9 "fsl,ls1043a-dspi" (optionally followed by "fsl,ls1021a-v1.0-dspi"), 10 "fsl,ls1046a-dspi" (optionally followed by "fsl,ls1021a-v1.0-dspi"), 11 "fsl,ls1088a-dspi" (optionally followed by "fsl,ls1021a-v1.0-dspi"), 12 "fsl,ls2080a-dspi" (optionally followed by "fsl,ls2085a-dspi"), 13 "fsl,ls2085a-dspi", [all …]
|
| H A D | fsl,dspi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 15 - enum: 16 - fsl,vf610-dspi 17 - fsl,ls1021a-v1.0-dspi 18 - fsl,ls1012a-dspi 19 - fsl,ls1028a-dspi 20 - fsl,ls1043a-dspi [all …]
|
| H A D | omap-spi.txt | 4 - compatible : 5 - "ti,am654-mcspi" for AM654. 6 - "ti,omap2-mcspi" for OMAP2 & OMAP3. 7 - "ti,omap4-mcspi" for OMAP4+. 8 - ti,spi-num-cs : Number of chipselect supported by the instance. 9 - ti,hwmods: Name of the hwmod associated to the McSPI 10 - ti,pindir-d0-out-d1-in: Select the D0 pin as output and D1 as 15 - dmas: List of DMA specifiers with the controller specific format 18 - dma-names: List of DMA request names. These strings correspond 28 #address-cells = <1>; [all …]
|
| H A D | spi-cadence.txt | 2 ------------------------------------------- 5 - compatible : Should be "cdns,spi-r1p6" or "xlnx,zynq-spi-r1p6". 6 - reg : Physical base address and size of SPI registers map. 7 - interrupts : Property with a value describing the interrupt 9 - clock-names : List of input clock names - "ref_clk", "pclk" 11 - clocks : Clock phandles (see clock bindings for details). 14 - num-cs : Number of chip selects used. 17 - is-decoded-cs : Flag to indicate whether decoder is used or not. 22 compatible = "xlnx,zynq-spi-r1p6"; 23 clock-names = "ref_clk", "pclk"; [all …]
|
| H A D | spi-lantiq-ssc.txt | 4 - compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi", 5 "intel,lgm-spi" 6 - #address-cells: see spi-bus.txt 7 - #size-cells: see spi-bus.txt 8 - reg: address and length of the spi master registers 9 - interrupts: 10 For compatible "intel,lgm-ssc" - the common interrupt number for 18 - clocks: spi clock phandle 19 - num-cs: see spi-bus.txt, set to 8 if unset 20 - base-cs: the number of the first chip select, set to 1 if unset. [all …]
|
| H A D | spi-cadence.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-cadence.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michal Simek <michal.simek@amd.com> 13 - $ref: spi-controller.yaml# 18 - cdns,spi-r1p6 19 - xlnx,zynq-spi-r1p6 27 clock-names: 29 - const: ref_clk [all …]
|
| H A D | spi-bcm63xx.txt | 4 - compatible: must contain one of "brcm,bcm6348-spi", "brcm,bcm6358-spi". 5 - reg: Base address and size of the controllers memory area. 6 - interrupts: Interrupt for the SPI block. 7 - clocks: phandle of the SPI clock. 8 - clock-names: has to be "spi". 9 - #address-cells: <1>, as required by generic SPI binding. 10 - #size-cells: <0>, also as required by generic SPI binding. 13 - num-cs: some controllers have less than 8 cs signals. Defaults to 8 21 compatible = "brcm,bcm6368-spi", "brcm,bcm6358-spi"; 27 clock-names = "spi"; [all …]
|
| H A D | spi-bcm63xx-hsspi.txt | 4 - compatible: must contain of "brcm,bcm6328-hsspi". 5 - reg: Base address and size of the controllers memory area. 6 - interrupts: Interrupt for the SPI block. 7 - clocks: phandles of the SPI clock and the PLL clock. 8 - clock-names: must be "hsspi", "pll". 9 - #address-cells: <1>, as required by generic SPI binding. 10 - #size-cells: <0>, also as required by generic SPI binding. 13 - num-cs: some controllers have less than 8 cs signals. Defaults to 8 21 compatible = "brcm,bcm6328-hsspi"; 27 clock-names = "hsspi", "pll"; [all …]
|
| H A D | spi-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SPI-GPIO 10 - Rob Herring <robh@kernel.org> 13 This represents a group of 3-n GPIO lines used for bit-banged SPI on 17 - $ref: /schemas/spi/spi-controller.yaml# 21 const: spi-gpio 23 sck-gpios: [all …]
|
| H A D | spi-davinci.txt | 4 Keystone 2 - https://www.ti.com/lit/ug/sprugp2a/sprugp2a.pdf 5 dm644x - https://www.ti.com/lit/ug/sprue32a/sprue32a.pdf 6 OMAP-L138/da830 - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf 9 - #address-cells: number of cells required to define a chip select 11 - #size-cells: should be zero. 12 - compatible: 13 - "ti,dm6441-spi" for SPI used similar to that on DM644x SoC family 14 - "ti,da830-spi" for SPI used similar to that on DA8xx SoC family 15 - "ti,keystone-spi" for SPI used similar to that on Keystone2 SoC 17 - reg: Offset and length of SPI controller register space [all …]
|
| /illumos-gate/usr/src/cmd/oawk/ |
| H A D | b.c | 44 #define type(v) v->nobj 45 #define left(v) v->narg[0] 46 #define right(v) v->narg[1] 47 #define parent(v) v->nnext 189 if (c == '-' && i > 0) { in cclenter() 295 return (-1); in first() 345 int /* is cs thru ce in s? */ 346 ccl_member(int ns, wchar_t cs, int ne, wchar_t ce, ccl_chars_t *s) in ccl_member() argument 349 * The specified range(cs, ce) must be beside the range between in ccl_member() 350 * s->cc_start and s->cc_end to determine member. in ccl_member() [all …]
|
| /freebsd/sys/contrib/xen/arch-x86/ |
| H A D | xen-x86_64.h | 2 * xen-x86_64.h 4 * Guest OS interface to x86 64-bit Xen. 24 * Copyright (c) 2004-2006, K A Fraser 32 * Input: %rdi, %rsi, %rdx, %r10, %r8, %r9 (arguments 1-6) 35 * call hypercall_page + hypercall-number * 32 36 * Clobbered: argument registers (e.g., 2-arg hypercall clobbers %rdi,%rsi) 40 * 64-bit segment selectors 41 * These flat segments are in the Xen-private section of every GDT. Since these 85 #define MACH2PHYS_NR_ENTRIES ((MACH2PHYS_VIRT_END-MACH2PHYS_VIRT_START)>>3) 92 * @which == SEGBASE_* ; @base == 64-bit base address [all …]
|
| /freebsd/contrib/netbsd-tests/crypto/opencrypto/ |
| H A D | h_md5hmac.c | 3 /*- 43 int num; member 115 "Test Using Larger Than Block-Size Key - Hash Key First", 131 "Test Using Larger Than Block-Size Key and Larger " 132 "Than One Block-Size Data", 143 struct session_op cs; in main() local 154 memset(&cs, 0, sizeof(cs)); in main() 155 cs.mac = CRYPTO_MD5_HMAC; in main() 156 cs.mackeylen = tests[i].key_len; in main() 157 cs.mackey = __UNCONST(&tests[i].key); in main() [all …]
|
| H A D | h_sha1hmac.c | 3 /*- 39 #define SHA1_HMAC_KEYLEN 20 /* Only key-length we support */ 43 int num; member 123 "Test Using Larger Than Block-Size Key - Hash Key First", 140 "Test Using Larger Than Block-Size Key and Larger Than " 141 "One Block-Size Data", 153 struct session_op cs; in main() local 164 memset(&cs, 0, sizeof(cs)); in main() 165 cs.mac = CRYPTO_SHA1_HMAC; in main() 166 cs.mackeylen = tests[i].key_len; in main() [all …]
|
| /illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
| H A D | chip_amd.c | 48 { PGNAME(CS), TOPO_STABILITY_PRIVATE, TOPO_STABILITY_PRIVATE, 1 }; 127 * Called when there is no memory-controller driver to provide topology 129 * for the chip revision. The memory-controller node has already been 132 * We create a tree of dram-channel and chip-select nodes below the 133 * memory-controller node. There will be two dram channels and 8 chip-selects 142 int chan, cs; in amd_generic_mc_create() local 158 return (-1); in amd_generic_mc_create() 170 return (-1); in amd_generic_mc_create() 178 return (-1); in amd_generic_mc_create() 189 if (topo_node_label_set(chnode, NULL, &err) == -1) in amd_generic_mc_create() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/toshiba/ |
| H A D | tmpv7708.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * (C) Copyright 2018 - 2020, Toshiba Corporation. 10 #include <dt-bindings/clock/toshiba,tmpv770x.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 /memreserve/ 0x81000000 0x00300000; /* cpu-release-addr */ 18 #address-cells = <2>; 19 #size-cells = <2>; 22 #address-cells = <1>; 23 #size-cells = <0>; [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/mtd/ |
| H A D | gpmc-nor.txt | 8 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt 11 - bank-width: Width of NOR flash in bytes. GPMC supports 8-bit and 12 16-bit devices and so must be either 1 or 2 bytes. 13 - compatible: Documentation/devicetree/bindings/mtd/mtd-physmap.yaml 14 - gpmc,cs-on-ns: Chip-select assertion time 15 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads 16 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes 17 - gpmc,oe-on-ns: Output-enable assertion time 18 - gpmc,oe-off-ns: Output-enable de-assertion time 19 - gpmc,we-on-ns Write-enable assertion time [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | gpmc-eth.txt | 4 General-Purpose Memory Controller can be used to connect Pseudo-SRAM devices 12 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt 18 Child nodes need to specify the GPMC bus address width using the "bank-width" 20 specify the I/O registers address width. Even when the GPMC has a maximum 16-bit 21 address width, it supports devices with 32-bit word registers. 23 OMAP2+ board, "bank-width = <2>;" and "reg-io-width = <4>;". 26 - bank-width: Address width of the device in bytes. GPMC supports 8-bit 27 and 16-bit devices and so must be either 1 or 2 bytes. 28 - compatible: Compatible string property for the ethernet child device. 29 - gpmc,cs-on-ns: Chip-select assertion time [all …]
|