Home
last modified time | relevance | path

Searched +full:cell +full:- +full:count (Results 1 – 25 of 140) sorted by relevance

123456

/freebsd/contrib/jemalloc/src/
H A Dckh.c9 * 51(2):122-144.
26 * --------+-------+-------+-------+-------+
33 * line. So, on 32- and 64-bit systems, we use (8,2) and (4,2) cuckoo hashing,
51 /* Function prototypes for non-inline static functions. */
59 * Search bucket for key and return the cell number if found; SIZE_T_MAX
64 ckhc_t *cell; in ckh_bucket_search() local
68 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_bucket_search()
69 if (cell->key != NULL && ckh->keycomp(key, cell->key)) { in ckh_bucket_search()
78 * Search table for key and return cell number if found; SIZE_T_MAX otherwise.
82 size_t hashes[2], bucket, cell; in ckh_isearch() local
[all …]
/freebsd/sys/arm/ti/
H A Dti_adc.c1 /*-
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 Dbindings-localbus.txt11 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/
H A Dficl.h10 ** 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 Dwords.c4 ** 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 Dtools.c3 ** 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 Ddict.c3 ** 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/stand/ficl/softwords/
H A Dmarker.fr4 \ 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 Dstring.fr6 \ ** 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 Doo.fr3 \ ** 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 Dsoftcore.fr11 : 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/sys/contrib/device-tree/Bindings/gpio/
H A Dgpio_oxnas.txt6 - 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/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstPropagation.cpp1 //===- 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 DBitTracker.cpp1 //===- 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/sys/contrib/device-tree/Bindings/reset/
H A Dintel,rcu-gw.yaml1 # 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/lld/COFF/
H A DDebugTypes.cpp1 //===- 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/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dmti,gic.yaml1 # 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 Dmips-gic.txt4 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/contrib/device-tree/Bindings/power/supply/
H A Dltc4162-l.yaml1 # 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-s.html
25 - lltc,ltc4162-l
[all …]
/freebsd/sys/powerpc/ofw/
H A Dofw_machdep.c1 /*-
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/arm/ti/am335x/
H A Dam335x_lcd_syscons.c1 /*-
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/dev/ofw/
H A Dofw_cpu.c1 /*-
116 sc->sc_addr_cells = 1; in ofw_cpulist_attach()
117 OF_getencprop(root, "#address-cells", &sc->sc_addr_cells, in ofw_cpulist_attach()
118 sizeof(sc->sc_addr_cells)); in ofw_cpulist_attach()
130 dinfo->obd_name); in ofw_cpulist_attach()
193 * A quiescent CPU that specifies an "enable-method", such as in ofw_cpu_is_runnable()
194 * "spin-table", can still be used by the kernel. in ofw_cpu_is_runnable()
196 * Lacking this, any CPU marked "disabled" or other non-okay status in ofw_cpu_is_runnable()
200 OF_hasprop(node, "enable-method")); in ofw_cpu_is_runnable()
238 sc->sc_nominal_mhz = freq / 1000000; in get_freq_from_clk()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/nvmem/layouts/
H A Du-boot,env.yaml1 # 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/arm/broadcom/bcm2835/
H A Dbcm2835_fb.c1 /*-
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 …]
/freebsd/sys/dev/cpufreq/
H A Dcpufreq_dt.c1 /*-
71 #define CPUFREQ_DT_HAVE_REGULATOR(sc) ((sc)->reg != NULL)
95 if (CPU_ISSET(cpu, &sc->cpus)) { in cpufreq_dt_notify()
97 pc->pc_clock = freq; in cpufreq_dt_notify()
114 for (n = 0; n < sc->nopp; n++) { in cpufreq_dt_find_opp()
115 diff = abs64((int64_t)sc->opp[n].freq - (int64_t)freq); in cpufreq_dt_find_opp()
116 DPRINTF(dev, "Testing %ju, diff is %ju\n", sc->opp[n].freq, diff); in cpufreq_dt_find_opp()
120 DPRINTF(dev, "%ju is best for now\n", sc->opp[n].freq); in cpufreq_dt_find_opp()
124 DPRINTF(dev, "Will use %ju\n", sc->opp[best_n].freq); in cpufreq_dt_find_opp()
125 return (&sc->opp[best_n]); in cpufreq_dt_find_opp()
[all …]

123456