| /freebsd/contrib/jemalloc/src/ |
| H A D | ckh.c | 9 * 51(2):122-144. 26 * --------+- 64 ckhc_t *cell; ckh_bucket_search() local 82 size_t hashes[2], bucket, cell; ckh_isearch() local 104 ckhc_t *cell; ckh_try_bucket_insert() local 137 ckhc_t *cell; ckh_evict_reloc_insert() local 236 size_t count, i, nins; ckh_rebuild() local 492 size_t cell; ckh_remove() local 524 size_t cell; ckh_search() local [all...] |
| /freebsd/sys/arm/ti/ |
| H A D | ti_adc.c | 1 /*- 94 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_X, sc->sc_x); in ti_adc_ev_report() 95 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_Y, sc->sc_y); in ti_adc_ev_report() 96 evdev_push_event(sc->sc_evdev, EV_KEY, BTN_TOUCH, sc->sc_pen_down); in ti_adc_ev_report() 97 evdev_sync(sc->sc_evdev); in ti_adc_ev_report() 108 if (sc->sc_last_state == 1) in ti_adc_enable() 116 if (sc->sc_tsc_wires > 0) { in ti_adc_enable() 118 switch (sc->sc_tsc_wires) { in ti_adc_enable() 136 sc->sc_last_state = 1; in ti_adc_enable() 142 int count; in ti_adc_disable() local [all …]
|
| /freebsd/sys/dts/ |
| H A D | bindings-localbus.txt | 11 Value type: <prop-encoded-array> encoded as arbitrary number of localbus 18 a) child node address-cells: 19 - first cell: number of bank (chip select) 20 - second cell: (Marvell devices) Target ID for decoding 24 - address offset: used with parent's node base address to 27 c) child node size-cells: 28 - size: defines amount of memory that should be reserved for 31 1.2 bank-count 33 Property: bank-count 44 #address-cells = <2>; [all …]
|
| /freebsd/stand/ficl/softwords/ |
| H A D | marker.fr | 4 \ Requires ficl 2.02 FORGET-WID !! 7 : marker ( "name" -- ) 9 get-current , 10 get-order dup , 13 0 set-order \ clear search order 15 here - allot \ reset HERE to my xt-addr 16 dup @ ( pfa current-wid ) 17 dup set-current forget-wid ( pfa ) 18 cell+ dup @ swap ( count count-addr ) 19 over cells + swap ( last-wid-addr count ) [all …]
|
| H A D | string.fr | 6 \ ** C - S T R I N G 9 \ c-string --> new str 10 \ s" arf arf!!" str --> set 11 \ s" woof woof woof " str --> cat 12 \ str --> type cr 17 object subclass c-string 18 c-cell obj: .count 19 c-cell obj: .buflen 20 c-ptr obj: .buf 21 32 constant min-buf [all …]
|
| H A D | oo.fr | 3 \ ** F I C L O - O E X T E N S I O N S 7 17 ficl-vocabulary oop 14 \ 2. Object aggregation (has-a relationship) 18 \ 4. Separate name-spaces for methods - methods are 30 \ object ( -- instance class ) 39 \ cell 0: parent class address 40 \ cell 1: wordlist ID 41 \ cell 2: size of instance's payload 44 \ on the stack. This is by convention - ficl has no way to 51 \ Revised Apr 2001 - Added Guy Carver's vtable extensions. Class now [all …]
|
| H A D | softcore.fr | 11 : user \ name ( -- ) 18 : empty ( xn..x1 -- ) depth 0 ?do drop loop ; 19 \ CELL- undoes CELL+ 20 : cell- ( addr -- addr ) [ 1 cells ] literal - ; 21 : -rot ( a b c -- c a b ) 2 -roll ; 24 : abs ( x -- x ) 28 : space ( -- ) bl emit ; 30 : spaces ( n -- ) 0 ?do space loop ; 37 -2 46 -2 throw [all …]
|
| /freebsd/stand/ficl/ |
| H A D | ficl.h | 10 ** Copyright (c) 1997-2001 John Sadler (john_sadler@alum.mit.edu) 48 ** Ficl (Forth-inspired command language) is an ANS Forth 66 ** interpreter is re-entrant, so it can be used in multiple instances 80 ** - Standard: Implements the ANSI Forth CORE word set and part 81 ** of the CORE EXT word-set, SEARCH and SEARCH EXT, TOOLS and 83 ** - Extensible: you can export code written in Forth, C, 87 ** - Ficl and C can interact in two ways: Ficl can encapsulate 89 ** - Thread-safe, re-entrant: The shared system dictionary 94 ** - Simple encapsulation into existing systems: a basic implementation 96 ** - ROMable: Ficl is designed to work in RAM-based and ROM code / RAM data [all …]
|
| H A D | words.c | 4 ** ANS Forth CORE word-set written in C 10 ** Copyright (c) 1997-2001 John Sadler (john_sadler@alum.mit.edu) 91 PUSHPTR(dp->here); in markBranch() 108 cp = (char *)stackPopPtr(pVM->pStack); in matchControlTag() 114 vmThrowErr(pVM, "Error -- unmatched control structure \"%s\"", tag); in matchControlTag() 128 CELL *patchAddr; in resolveBackBranch() 135 patchAddr = (CELL *)stackPopPtr(pVM->pStack); in resolveBackBranch() 136 offset = patchAddr - dp->here; in resolveBackBranch() 151 CELL *patchAddr; in resolveForwardBranch() 158 patchAddr = (CELL *)stackPopPtr(pVM->pStack); in resolveForwardBranch() [all …]
|
| H A D | tools.c | 3 ** Forth Inspired Command Language - programming tools 9 ** Copyright (c) 1997-2001 John Sadler (john_sadler@alum.mit.edu) 52 ** debug ( xt -- ) Start debugging an xt 86 FICL_WORD *pStep = ficlLookup(pVM->pSys, "step-break"); in vmSetBreak() 89 pBP->address = pVM->ip; in vmSetBreak() 90 pBP->origXT = *pVM->ip; in vmSetBreak() 91 *pVM->ip = pStep; in vmSetBreak() 118 if (!dictIncludes(pd, pFW->name)) in isAFiclWord() 121 if ((pFW->link != NULL) && !dictIncludes(pd, pFW->link)) in isAFiclWord() 124 if ((pFW->nName <= 0) || (pFW->name[pFW->nName] != '\0')) in isAFiclWord() [all …]
|
| H A D | dict.c | 3 ** Forth Inspired Command Language - dictionary methods 9 ** This file implements the dictionary -- FICL's model of 13 ** precompiled ones, so your words become first-class 20 ** Copyright (c) 1997-2001 John Sadler (john_sadler@alum.mit.edu) 64 /* Dictionary on-demand resizing control variables */ 65 CELL dictThreshold; 66 CELL dictIncrease; 85 pFW = pDict->smudge; in dictAbortDefinition() 87 if (pFW->flags & FW_SMUDGE) in dictAbortDefinition() 88 pDict->here = (CELL *)pFW->name; in dictAbortDefinition() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/gpio/ |
| H A D | gpio_oxnas.txt | 6 - compatible: "oxsemi,ox810se-gpio" or "oxsemi,ox820-gpio" 7 - reg: Base address and length for the device. 8 - interrupts: The port interrupt shared by all pins. 9 - gpio-controller: Marks the port as GPIO controller. 10 - #gpio-cells: Two. The first cell is the pin number and 11 the second cell is used to specify the gpio polarity as defined in 12 defined in <dt-bindings/gpio/gpio.h>: 15 - interrupt-controller: Marks the device node as an interrupt controller. 16 - #interrupt-cells: Two. The first cell is the GPIO number and second cell 18 <dt-bindings/interrupt-controller/irq.h>: [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/reset/ |
| H A D | intel,rcu-gw.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reset/intel,rcu-gw.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dilip Kota <eswara.kota@linux.intel.com> 15 - intel,rcu-lgm 16 - intel,rcu-xrx200 22 intel,global-reset: 24 $ref: /schemas/types.yaml#/definitions/uint32-array 26 - description: Register offset [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonConstPropagation.cpp | 1 //===- HexagonConstPropagation.cpp --------- 1687 unsigned Count = 0; evaluateCLBi() local 1722 unsigned Count = 0; evaluateCTBi() local 1790 evaluateSplatr(const RegisterSubReg & R1,unsigned Bits,unsigned Count,const CellMap & Inputs,LatticeCell & Result) evaluateSplatr() argument 1812 evaluateSplati(const APInt & A1,unsigned Bits,unsigned Count,APInt & Result) evaluateSplati() argument [all...] |
| H A D | BitTracker.cpp | 1 //===- BitTracker.cpp -----------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // SSA-based bit propagation. 16 // cannot be a copy of yet another bit---such chains are not allowed). 31 // The tracker implements the Wegman-Zadeck algorithm, originally developed 32 // for SSA-based constant propagation. Each register is represented as 33 // a sequence of bits, with the convention that bit 0 is the least signi- 38 // The intended usage of the bit tracker is to create a target-specific 53 // The code below is intended to be fully target-independent. [all …]
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | DebugTypes.cpp | 1 //===- DebugTypes.cpp -----------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 53 if (f->loadErrorStr) in TypeServerSource() 55 pdb::PDBFile &file = f->session->getPDBFile(); in TypeServerSource() 59 Guid = expectedInfo->getGuid(); in TypeServerSource() 64 // unlucky. This should fall back on stright file-system lookup. in TypeServerSource() 65 it.first->second = nullptr; in TypeServerSource() 95 // All of the TpiSource methods are no-ops. The parent TypeServerSource 145 // Only happens if the file->pchSignature is valid. [all …]
|
| /freebsd/contrib/pam-krb5/tests/pam-util/ |
| H A D | options-t.c | 4 * The canonical version of this file is maintained in the rra-c-util package, 5 * which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>. 9 * Copyright 2010-2014 30 * SPDX-License-Identifier: MIT 39 #include <pam-util/args.h> 40 #include <pam-util/options.h> 41 #include <pam-util/vector.h> 64 /* clang-format off */ 71 /* clang-format on */ 105 is_int((p), seen->lines[0].priority, "...priority for %s", (a)); \ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
| H A D | mti,gic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/mti,gic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Paul Burton <paulburton@kernel.org> 11 - Thomas Bogendoerfer <tsbogend@alpha.franken.de> 15 It also supports local (per-processor) interrupts and software-generated 16 interrupts which can be used as IPIs. The GIC also includes a free-running 17 global timer, per-CPU count/compare timers, and a watchdog. 23 "#interrupt-cells": [all …]
|
| H A D | mips-gic.txt | 4 It also supports local (per-processor) interrupts and software-generated 5 interrupts which can be used as IPIs. The GIC also includes a free-running 6 global timer, per-CPU count/compare timers, and a watchdog. 9 - compatible : Should be "mti,gic". 10 - interrupt-controller : Identifies the node as an interrupt controller 11 - #interrupt-cells : Specifies the number of cells needed to encode an 13 - The first cell is the type of interrupt, local or shared. 14 See <include/dt-bindings/interrupt-controller/mips-gic.h>. 15 - The second cell is the GIC interrupt number. 16 - The third cell encodes the interrupt flags. [all …]
|
| /freebsd/sys/powerpc/ofw/ |
| H A D | ofw_machdep.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 89 #pragma clang diagnostic ignored "-Wfortify-source" 97 bcopy((void *)PHYS_TO_DMAP(EXC_RST), save_trap_vec, EXC_LAST - EXC_RST); in ofw_save_trap_vec() 107 EXC_LAST - EXC_RST); in ofw_restore_trap_vec() 108 __syncicache((void *)PHYS_TO_DMAP(EXC_RSVD), EXC_LAST - EXC_RSV in ofw_restore_trap_vec() 357 pcell_t cell[2]; excise_initrd_region() local 467 int count, msz; ofw_numa_mem_regions() local [all...] |
| /freebsd/sys/contrib/device-tree/Bindings/power/supply/ |
| H A D | ltc4162-l.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/power/supply/ltc4162-l.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Linear Technology (Analog Devices) LTC4162-L Charger 11 - Mike Looijmans <mike.looijmans@topic.nl> 14 The LTC ® 4162-L is an advanced monolithic synchronous step-down switching 17 panels, etc., and a rechargeable Lithium-Ion/Polymer battery. 20 https://www.analog.com/en/products/ltc4162-l.html 21 https://www.analog.com/en/products/ltc4162-f.html [all …]
|
| /freebsd/sys/arm/ti/am335x/ |
| H A D | am335x_lcd_syscons.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 237 am335x_rend_draw(scr_stat* scp, int from, int count, int flip) in am335x_rend_draw() argument 239 video_adapter_t* adp = scp->sc->adp; in am335x_rend_draw() 244 vidd_puts(adp, from, (uint16_t*)sc_vtb_pointer(&scp->vtb, from), count); in am335x_rend_draw() 247 for (i = count; i-- > 0; ++from) { in am335x_rend_draw() 248 c = sc_vtb_getc(&scp->vtb, from); in am335x_rend_draw() 249 a = sc_vtb_geta(&scp->vtb, from) >> 8; in am335x_rend_draw() 263 video_adapter_t* adp = scp->sc->adp; in am335x_rend_draw_cursor() 271 if (scp->curs_attr.height <= 0) in am335x_rend_draw_cursor() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/nvmem/layouts/ |
| H A D | u-boot,env.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/u-boot,env.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: U-Boot environment variables layout 10 U-Boot uses environment variables to store device parameters and 14 Data is stored using U-Boot specific formats (variant specific header and NUL 15 separated key-value pairs). 27 - Rafał Miłecki <rafal@milecki.pl> 32 - description: A standalone env data block [all …]
|
| /freebsd/sys/dev/ofw/ |
| H A D | ofw_cpu.c | 1 /*- 118 sc->sc_addr_cells = 1; in ofw_cpulist_attach() 119 OF_getencprop(root, "#address-cells", &sc->sc_addr_cells, in ofw_cpulist_attach() 120 sizeof(sc->sc_addr_cells)); in ofw_cpulist_attach() 132 dinfo->obd_name); in ofw_cpulist_attach() 196 * A quiescent CPU that specifies an "enable-method", such as in ofw_cpu_is_runnable() 197 * "spin-table", can still be used by the kernel. in ofw_cpu_is_runnable() 199 * Lacking this, any CPU marked "disabled" or other non-okay status in ofw_cpu_is_runnable() 203 OF_hasprop(node, "enable-method")); in ofw_cpu_is_runnable() 241 sc->sc_nominal_mhz = freq / 1000000; in get_freq_from_clk() [all …]
|
| /freebsd/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_fb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 114 {"broadcom,bcm2835-fb", 1}, 115 {"brcm,bcm2708-fb", 1}, 129 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) in bcm_fb_probe() 164 sc->fb_addr = (intptr_t)pmap_mapdev(fb.base, fb.size); in bcm_fb_attach() 165 sc->fb_paddr = fb.base; in bcm_fb_attach() 166 sc->fb_size = fb.size; in bcm_fb_attach() 167 sc->depth = fb.bpp; in bcm_fb_attach() 168 sc->stride = fb.pitch; in bcm_fb_attach() [all …]
|