/dports/multimedia/libv4l/linux-5.13-rc2/drivers/clk/tegra/ |
H A D | clk-periph-gate.c | 20 readl_relaxed(gate->clk_base + (gate->regs->enb_reg)) 41 if (!(read_enb(gate) & periph_clk_to_bit(gate))) in clk_periph_is_enabled() 45 if (read_rst(gate) & periph_clk_to_bit(gate)) in clk_periph_is_enabled() 58 gate->enable_refcnt[gate->clk_num]++; in clk_periph_enable() 59 if (gate->enable_refcnt[gate->clk_num] > 1) { in clk_periph_enable() 64 write_enb_set(periph_clk_to_bit(gate), gate); in clk_periph_enable() 71 write_rst_clr(periph_clk_to_bit(gate), gate); in clk_periph_enable() 94 gate->enable_refcnt[gate->clk_num]--; in clk_periph_disable() 95 if (gate->enable_refcnt[gate->clk_num] > 0) { in clk_periph_disable() 108 write_enb_clr(periph_clk_to_bit(gate), gate); in clk_periph_disable() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/clk/tegra/ |
H A D | clk-periph-gate.c | 20 readl_relaxed(gate->clk_base + (gate->regs->enb_reg)) 41 if (!(read_enb(gate) & periph_clk_to_bit(gate))) in clk_periph_is_enabled() 45 if (read_rst(gate) & periph_clk_to_bit(gate)) in clk_periph_is_enabled() 58 gate->enable_refcnt[gate->clk_num]++; in clk_periph_enable() 59 if (gate->enable_refcnt[gate->clk_num] > 1) { in clk_periph_enable() 64 write_enb_set(periph_clk_to_bit(gate), gate); in clk_periph_enable() 71 write_rst_clr(periph_clk_to_bit(gate), gate); in clk_periph_enable() 94 gate->enable_refcnt[gate->clk_num]--; in clk_periph_disable() 95 if (gate->enable_refcnt[gate->clk_num] > 0) { in clk_periph_disable() 108 write_enb_clr(periph_clk_to_bit(gate), gate); in clk_periph_disable() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/clk/tegra/ |
H A D | clk-periph-gate.c | 20 readl_relaxed(gate->clk_base + (gate->regs->enb_reg)) 41 if (!(read_enb(gate) & periph_clk_to_bit(gate))) in clk_periph_is_enabled() 45 if (read_rst(gate) & periph_clk_to_bit(gate)) in clk_periph_is_enabled() 58 gate->enable_refcnt[gate->clk_num]++; in clk_periph_enable() 59 if (gate->enable_refcnt[gate->clk_num] > 1) { in clk_periph_enable() 64 write_enb_set(periph_clk_to_bit(gate), gate); in clk_periph_enable() 71 write_rst_clr(periph_clk_to_bit(gate), gate); in clk_periph_enable() 94 gate->enable_refcnt[gate->clk_num]--; in clk_periph_disable() 95 if (gate->enable_refcnt[gate->clk_num] > 0) { in clk_periph_disable() 108 write_enb_clr(periph_clk_to_bit(gate), gate); in clk_periph_disable() [all …]
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/entity/mapstuff/portal/ |
H A D | GateTest.java | 54 gate.open(); in testOpenCloseGate() 56 gate.close(); in testOpenCloseGate() 66 gate.open(); in testCloseGateBlocked() 75 gate.close(); in testCloseGateBlocked() 79 gate.close(); in testCloseGateBlocked() 89 gate.close(); in testCloseOpenGate() 91 gate.open(); in testCloseOpenGate() 119 gate.open(); in testUseGateNotNextTo() 149 gate.open(); in testUseGateNextTo() 176 gate.open(); in testIsObstacle() [all …]
|
/dports/emulators/mgba/mgba-0.9.2/src/gba/extra/ |
H A D | battlechip.c | 43 gate->d.init = NULL; in GBASIOBattlechipGateCreate() 44 gate->d.deinit = NULL; in GBASIOBattlechipGateCreate() 49 gate->event.context = gate; in GBASIOBattlechipGateCreate() 53 gate->chipId = 0; in GBASIOBattlechipGateCreate() 92 mTimingDeschedule(&gate->d.p->p->timing, &gate->event); in _battlechipTransfer() 93 mTimingSchedule(&gate->d.p->p->timing, &gate->event, cycles); in _battlechipTransfer() 103 gate->d.p->siocnt = GBASIONormalClearStart(gate->d.p->siocnt); in _battlechipTransferEvent() 115 gate->d.p->siocnt = GBASIOMultiplayerClearBusy(gate->d.p->siocnt); in _battlechipTransferEvent() 116 gate->d.p->siocnt = GBASIOMultiplayerSetId(gate->d.p->siocnt, 0); in _battlechipTransferEvent() 158 --gate->state; in _battlechipTransferEvent() [all …]
|
/dports/games/libretro-mgba/mgba-6186d45/src/gba/extra/ |
H A D | battlechip.c | 43 gate->d.init = NULL; in GBASIOBattlechipGateCreate() 44 gate->d.deinit = NULL; in GBASIOBattlechipGateCreate() 49 gate->event.context = gate; in GBASIOBattlechipGateCreate() 53 gate->chipId = 0; in GBASIOBattlechipGateCreate() 92 mTimingDeschedule(&gate->d.p->p->timing, &gate->event); in _battlechipTransfer() 93 mTimingSchedule(&gate->d.p->p->timing, &gate->event, cycles); in _battlechipTransfer() 103 gate->d.p->siocnt = GBASIONormalClearStart(gate->d.p->siocnt); in _battlechipTransferEvent() 115 gate->d.p->siocnt = GBASIOMultiplayerClearBusy(gate->d.p->siocnt); in _battlechipTransferEvent() 116 gate->d.p->siocnt = GBASIOMultiplayerSetId(gate->d.p->siocnt, 0); in _battlechipTransferEvent() 158 --gate->state; in _battlechipTransferEvent() [all …]
|
/dports/devel/py-qutip/qutip-4.6.2/qutip/qip/ |
H A D | circuit.py | 659 gate.name, targets=gate.targets, 804 Gate("CNOT", gate.targets[0], gate.targets[1])) 806 Gate("CNOT", gate.targets[1], gate.targets[0])) 808 Gate("CNOT", gate.targets[0], gate.targets[1])) 1016 temp_resolved.append(Gate(gate.name, gate.targets, 1379 if gate.name == "CNOT" or gate.name == "CSIGN": 1421 end = max([gate.targets[0], gate.targets[1]]) 1469 gate.arg_value, self.N, gate.targets[0])) 1472 gate.arg_value, self.N, gate.targets[0])) 1475 gate.arg_value, self.N, gate.targets[0])) [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/clk/mmp/ |
H A D | clk-gate.c | 34 if (gate->lock) in mmp_clk_gate_enable() 42 if (gate->lock) in mmp_clk_gate_enable() 60 if (gate->lock) in mmp_clk_gate_disable() 68 if (gate->lock) in mmp_clk_gate_disable() 78 if (gate->lock) in mmp_clk_gate_is_enabled() 83 if (gate->lock) in mmp_clk_gate_is_enabled() 86 return (tmp & gate->mask) == gate->val_enable; in mmp_clk_gate_is_enabled() 105 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in mmp_clk_register_gate() 106 if (!gate) in mmp_clk_register_gate() 116 gate->reg = reg; in mmp_clk_register_gate() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/clk/mmp/ |
H A D | clk-gate.c | 34 if (gate->lock) in mmp_clk_gate_enable() 42 if (gate->lock) in mmp_clk_gate_enable() 60 if (gate->lock) in mmp_clk_gate_disable() 68 if (gate->lock) in mmp_clk_gate_disable() 78 if (gate->lock) in mmp_clk_gate_is_enabled() 83 if (gate->lock) in mmp_clk_gate_is_enabled() 86 return (tmp & gate->mask) == gate->val_enable; in mmp_clk_gate_is_enabled() 105 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in mmp_clk_register_gate() 106 if (!gate) in mmp_clk_register_gate() 116 gate->reg = reg; in mmp_clk_register_gate() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/clk/mmp/ |
H A D | clk-gate.c | 34 if (gate->lock) in mmp_clk_gate_enable() 42 if (gate->lock) in mmp_clk_gate_enable() 60 if (gate->lock) in mmp_clk_gate_disable() 68 if (gate->lock) in mmp_clk_gate_disable() 78 if (gate->lock) in mmp_clk_gate_is_enabled() 83 if (gate->lock) in mmp_clk_gate_is_enabled() 86 return (tmp & gate->mask) == gate->val_enable; in mmp_clk_gate_is_enabled() 105 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in mmp_clk_register_gate() 106 if (!gate) in mmp_clk_register_gate() 116 gate->reg = reg; in mmp_clk_register_gate() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/clk/imx/ |
H A D | clk-gate2.c | 47 reg &= ~(gate->cgr_mask << gate->bit_idx); in clk_gate2_do_shared_clks() 49 reg |= (gate->cgr_val & gate->cgr_mask) << gate->bit_idx; in clk_gate2_do_shared_clks() 60 if (gate->share_count && (*gate->share_count)++ > 0) in clk_gate2_enable() 108 ret = clk_gate2_reg_is_enabled(gate->reg, gate->bit_idx, in clk_gate2_is_enabled() 109 gate->cgr_val, gate->cgr_mask); in clk_gate2_is_enabled() 123 if (!gate->share_count || *gate->share_count == 0) in clk_gate2_disable_unused() 148 if (!gate) in clk_hw_register_gate2() 152 gate->reg = reg; in clk_hw_register_gate2() 157 gate->lock = lock; in clk_hw_register_gate2() 167 hw = &gate->hw; in clk_hw_register_gate2() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/clk/imx/ |
H A D | clk-gate2.c | 47 reg &= ~(gate->cgr_mask << gate->bit_idx); in clk_gate2_do_shared_clks() 49 reg |= (gate->cgr_val & gate->cgr_mask) << gate->bit_idx; in clk_gate2_do_shared_clks() 60 if (gate->share_count && (*gate->share_count)++ > 0) in clk_gate2_enable() 108 ret = clk_gate2_reg_is_enabled(gate->reg, gate->bit_idx, in clk_gate2_is_enabled() 109 gate->cgr_val, gate->cgr_mask); in clk_gate2_is_enabled() 123 if (!gate->share_count || *gate->share_count == 0) in clk_gate2_disable_unused() 148 if (!gate) in clk_hw_register_gate2() 152 gate->reg = reg; in clk_hw_register_gate2() 157 gate->lock = lock; in clk_hw_register_gate2() 167 hw = &gate->hw; in clk_hw_register_gate2() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/clk/imx/ |
H A D | clk-gate2.c | 47 reg &= ~(gate->cgr_mask << gate->bit_idx); in clk_gate2_do_shared_clks() 49 reg |= (gate->cgr_val & gate->cgr_mask) << gate->bit_idx; in clk_gate2_do_shared_clks() 60 if (gate->share_count && (*gate->share_count)++ > 0) in clk_gate2_enable() 108 ret = clk_gate2_reg_is_enabled(gate->reg, gate->bit_idx, in clk_gate2_is_enabled() 109 gate->cgr_val, gate->cgr_mask); in clk_gate2_is_enabled() 123 if (!gate->share_count || *gate->share_count == 0) in clk_gate2_disable_unused() 148 if (!gate) in clk_hw_register_gate2() 152 gate->reg = reg; in clk_hw_register_gate2() 157 gate->lock = lock; in clk_hw_register_gate2() 167 hw = &gate->hw; in clk_hw_register_gate2() [all …]
|
/dports/games/nazghul/nazghul-0.7.1/worlds/haxima-1.002/ |
H A D | moongate.scm | 28 (define (moongate-kdest gate) 34 (define (moongate-open? gate) (cadr gate)) 35 (define (moongate-sequence gate) (caddr gate)) 36 (define (moongate-pending-open? gate) (car (cdddr gate))) 37 (define (moongate-closed? gate) (and (not (moongate-open? gate)) 39 (define (moongate-is-temporary? gate) (car (cddddr gate))) 40 (define (moongate-get-ttl gate) (list-ref gate 5)) 41 (define (moongate-set-ttl! gate val) (set-car! (list-tail gate 5) val)) 44 (set-car! (cdr gate) val)) 121 (moongate-set-open! gate (moongate-pending-open? gate)) [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/clk/ |
H A D | clk-gate.c | 31 return readl(gate->reg); in clk_gate_readl() 64 if (gate->lock) in clk_gate_endisable() 84 if (gate->lock) in clk_gate_endisable() 147 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in __clk_hw_register_gate() 148 if (!gate) in __clk_hw_register_gate() 163 gate->reg = reg; in __clk_hw_register_gate() 166 gate->lock = lock; in __clk_hw_register_gate() 169 hw = &gate->hw; in __clk_hw_register_gate() 175 kfree(gate); in __clk_hw_register_gate() 211 kfree(gate); in clk_unregister_gate() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/clk/ |
H A D | clk-gate.c | 31 return readl(gate->reg); in clk_gate_readl() 64 if (gate->lock) in clk_gate_endisable() 84 if (gate->lock) in clk_gate_endisable() 147 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in __clk_hw_register_gate() 148 if (!gate) in __clk_hw_register_gate() 163 gate->reg = reg; in __clk_hw_register_gate() 166 gate->lock = lock; in __clk_hw_register_gate() 169 hw = &gate->hw; in __clk_hw_register_gate() 175 kfree(gate); in __clk_hw_register_gate() 211 kfree(gate); in clk_unregister_gate() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/clk/ |
H A D | clk-gate.c | 31 return readl(gate->reg); in clk_gate_readl() 64 if (gate->lock) in clk_gate_endisable() 84 if (gate->lock) in clk_gate_endisable() 147 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in __clk_hw_register_gate() 148 if (!gate) in __clk_hw_register_gate() 163 gate->reg = reg; in __clk_hw_register_gate() 166 gate->lock = lock; in __clk_hw_register_gate() 169 hw = &gate->hw; in __clk_hw_register_gate() 175 kfree(gate); in __clk_hw_register_gate() 211 kfree(gate); in clk_unregister_gate() [all …]
|
/dports/lang/sbcl/sbcl-1.3.13/contrib/sb-concurrency/ |
H A D | gate.lisp | 36 (defmethod print-object ((gate gate) stream) 39 (gate-name gate) 40 (gate-state gate)))) 55 (defun open-gate (gate) 58 (declare (gate gate)) 67 (defun close-gate (gate) 70 (declare (gate gate)) 80 (declare (gate gate)) 83 do (or (condition-wait (gate-queue gate) (gate-mutex gate) 88 (defun gate-open-p (gate) [all …]
|
/dports/editors/texstudio/texstudio-4.1.2/completion/ |
H A D | gates.cwl | 6 \gates add %<<gate list>%>%<<l-gate>%> 7 \gates add %<<gate list>%>[%<<position>%>]%<<l-gate>%> 8 \gates ajar %<<gate spec>%>%<<l-gate>%> 10 \gates close %<<gate spec>%>%<<l-gate>%> 12 \gates conditional %<<gate spec>%>%<<l-gate>%>%<<conditional>%> 27 \gates loop %<<gate spec>%>%<<l-gate>%>%<<conditional>%> 32 \gates noloop %<<gate spec>%>%<<l-gate>%>%<<conditional>%> 36 \gates open %<<gate spec>%>%<<l-gate>%> 38 \gates remove %<<gate list>%>%<<l-gate>%> 52 \gates skip %<<gate spec>%>%<<l-gate>%> [all …]
|
/dports/cad/yosys/yosys-yosys-0.12/tests/various/ |
H A D | dynamic_part_select.ys | 9 rename -top gate 10 design -stash gate 13 design -copy-from gate -as gate gate 31 design -copy-from gate -as gate gate 49 design -copy-from gate -as gate gate 67 design -copy-from gate -as gate gate 85 design -copy-from gate -as gate gate 103 design -copy-from gate -as gate gate 122 design -copy-from gate -as gate gate 141 design -copy-from gate -as gate gate [all …]
|
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/circuits/gates/ |
H A D | fermionic_simulation_test.py | 123 type(gate), gate).qubit_generator_matrix) 141 gate = gate.__copy__() 157 gate = gate.__copy__() 232 assert gate.num_weights() == super(type(gate), gate).num_weights() 462 circuit = cirq.Circuit([gate(a, b), gate(b, c)]) 464 assert super(type(gate), gate).wire_symbol(False) == type(gate).__name__ 465 assert (super(type(gate), gate)._diagram_exponent( 494 assert super(type(gate), gate).wire_symbol(False) == type(gate).__name__ 495 assert (super(type(gate), gate)._diagram_exponent( 569 assert super(type(gate), gate).wire_symbol(False) == type(gate).__name__ [all …]
|
/dports/graphics/vips/vips-8.12.0/libvips/iofuncs/ |
H A D | gate.c | 115 if( gate->start->i || in vips_thread_profile_save_gate() 116 gate->start->prev ) { in vips_thread_profile_save_gate() 173 VIPS_FREE( gate ); in vips_thread_gate_free() 227 VipsThreadGate *gate; in vips_thread_gate_new() local 234 return( gate ); in vips_thread_gate_new() 307 if( !(gate = in vips__thread_gate_start() 317 gate->start->time[gate->start->i++] = time; in vips__thread_gate_start() 335 if( !(gate = in vips__thread_gate_stop() 345 gate->stop->time[gate->stop->i++] = time; in vips__thread_gate_stop() 374 gate->start->time[gate->start->i++] = time; in vips__thread_malloc_free() [all …]
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/drivers/clk/ |
H A D | clk-gate.c | 61 reg = gate->io_gate_val; in clk_gate_endisable() 63 reg = readl(gate->reg); in clk_gate_endisable() 72 writel(reg, gate->reg); in clk_gate_endisable() 95 reg = gate->io_gate_val; in clk_gate_is_enabled() 97 reg = readl(gate->reg); in clk_gate_is_enabled() 120 struct clk_gate *gate; in clk_register_gate() local 132 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in clk_register_gate() 133 if (!gate) in clk_register_gate() 137 gate->reg = reg; in clk_register_gate() 144 clk = &gate->clk; in clk_register_gate() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/clk/ |
H A D | clk-gate.c | 61 reg = gate->io_gate_val; in clk_gate_endisable() 63 reg = readl(gate->reg); in clk_gate_endisable() 72 writel(reg, gate->reg); in clk_gate_endisable() 95 reg = gate->io_gate_val; in clk_gate_is_enabled() 97 reg = readl(gate->reg); in clk_gate_is_enabled() 120 struct clk_gate *gate; in clk_register_gate() local 132 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in clk_register_gate() 133 if (!gate) in clk_register_gate() 137 gate->reg = reg; in clk_register_gate() 144 clk = &gate->clk; in clk_register_gate() [all …]
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/clk/ |
H A D | clk-gate.c | 61 reg = gate->io_gate_val; in clk_gate_endisable() 63 reg = readl(gate->reg); in clk_gate_endisable() 72 writel(reg, gate->reg); in clk_gate_endisable() 95 reg = gate->io_gate_val; in clk_gate_is_enabled() 97 reg = readl(gate->reg); in clk_gate_is_enabled() 120 struct clk_gate *gate; in clk_register_gate() local 132 gate = kzalloc(sizeof(*gate), GFP_KERNEL); in clk_register_gate() 133 if (!gate) in clk_register_gate() 137 gate->reg = reg; in clk_register_gate() 144 clk = &gate->clk; in clk_register_gate() [all …]
|