Home
last modified time | relevance | path

Searched refs:mux (Results 1 – 25 of 74) sorted by relevance

123

/openbsd/src/sys/dev/pci/drm/amd/amdgpu/
Damdgpu_ring_mux.c43 static inline struct amdgpu_mux_entry *amdgpu_ring_mux_sw_entry(struct amdgpu_ring_mux *mux, in amdgpu_ring_mux_sw_entry() argument
46 return ring->entry_index < mux->ring_entry_size ? in amdgpu_ring_mux_sw_entry()
47 &mux->ring_entry[ring->entry_index] : NULL; in amdgpu_ring_mux_sw_entry()
51 static void amdgpu_ring_mux_copy_pkt_from_sw_ring(struct amdgpu_ring_mux *mux, in amdgpu_ring_mux_copy_pkt_from_sw_ring() argument
56 struct amdgpu_ring *real_ring = mux->real_ring; in amdgpu_ring_mux_copy_pkt_from_sw_ring()
76 static void amdgpu_mux_resubmit_chunks(struct amdgpu_ring_mux *mux) in amdgpu_mux_resubmit_chunks() argument
84 if (!mux->s_resubmit) in amdgpu_mux_resubmit_chunks()
87 for (i = 0; i < mux->num_ring_entries; i++) { in amdgpu_mux_resubmit_chunks()
88 if (mux->ring_entry[i].ring->hw_prio <= AMDGPU_RING_PRIO_DEFAULT) { in amdgpu_mux_resubmit_chunks()
89 e = &mux->ring_entry[i]; in amdgpu_mux_resubmit_chunks()
[all …]
Damdgpu_ring_mux.h104 int amdgpu_ring_mux_init(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring,
106 void amdgpu_ring_mux_fini(struct amdgpu_ring_mux *mux);
107 int amdgpu_ring_mux_add_sw_ring(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring);
108 void amdgpu_ring_mux_set_wptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring, u64 wptr);
109 u64 amdgpu_ring_mux_get_wptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring);
110 u64 amdgpu_ring_mux_get_rptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring);
111 void amdgpu_ring_mux_start_ib(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring);
112 void amdgpu_ring_mux_end_ib(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring);
113 void amdgpu_ring_mux_ib_mark_offset(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring,
115 bool amdgpu_mcbp_handle_trailing_fence_irq(struct amdgpu_ring_mux *mux);
/openbsd/src/sys/dev/fdt/
Dimxccm.c564 uint32_t mux; in imxccm_imx7d_enet() local
569 mux = HREAD4(sc, sc->sc_muxs[idx].reg); in imxccm_imx7d_enet()
570 mux >>= sc->sc_muxs[idx].shift; in imxccm_imx7d_enet()
571 mux &= sc->sc_muxs[idx].mask; in imxccm_imx7d_enet()
573 switch (mux) { in imxccm_imx7d_enet()
579 printf("%s: 0x%08x 0x%08x\n", __func__, idx, mux); in imxccm_imx7d_enet()
587 uint32_t mux; in imxccm_imx7d_i2c() local
592 mux = HREAD4(sc, sc->sc_muxs[idx].reg); in imxccm_imx7d_i2c()
593 mux >>= sc->sc_muxs[idx].shift; in imxccm_imx7d_i2c()
594 mux &= sc->sc_muxs[idx].mask; in imxccm_imx7d_i2c()
[all …]
Drkpinctrl.c95 u_int mux : 3; member
255 uint32_t bank, idx, mux; in rk3288_pinctrl() local
262 mux = pins[i + 2]; in rk3288_pinctrl()
264 if (bank > 8 || idx >= 32 || mux > 7) in rk3288_pinctrl()
287 bits = (mux << ((idx % 4) * 4)); in rk3288_pinctrl()
290 bits = (mux << ((idx % 8) * 2)); in rk3288_pinctrl()
397 uint32_t bank, idx, mux; in rk3308_pinctrl() local
404 mux = pins[i + 2]; in rk3308_pinctrl()
406 if (bank > 4 || idx >= 32 || mux > 7) in rk3308_pinctrl()
422 bits = (mux << 12); in rk3308_pinctrl()
[all …]
Drkclock.c496 uint32_t mux, uint32_t freq) in rkclock_div_con() argument
499 uint32_t idx = clk->parents[mux]; in rkclock_div_con()
512 uint32_t mux, uint32_t freq) in rkclock_freq() argument
515 uint32_t idx = clk->parents[mux]; in rkclock_freq()
518 div_con = rkclock_div_con(sc, clk, mux, freq); in rkclock_freq()
526 uint32_t reg, mux, div_con; in rkclock_get_frequency() local
538 mux = 0; in rkclock_get_frequency()
540 mux = (reg & clk->sel_mask) >> shift; in rkclock_get_frequency()
547 if (clk->parents[mux] == 0) { in rkclock_get_frequency()
551 idx = clk->parents[mux]; in rkclock_get_frequency()
[all …]
Damlclock.c208 uint32_t reg, mux, div; in amlclock_get_cpu_freq() local
222 mux = HHI_SYS_CPU_CLK_PREMUX1(reg); in amlclock_get_cpu_freq()
226 mux = HHI_SYS_CPU_CLK_PREMUX0(reg); in amlclock_get_cpu_freq()
228 switch (mux) { in amlclock_get_cpu_freq()
420 uint32_t reg, mux, div; in amlclock_get_frequency() local
451 mux = (reg >> 12) & 0x7; in amlclock_get_frequency()
453 switch (mux) { in amlclock_get_frequency()
480 mux = (reg >> 9) & 0x7; in amlclock_get_frequency()
482 switch (mux) { in amlclock_get_frequency()
503 mux = (reg >> 25) & 0x7; in amlclock_get_frequency()
[all …]
Dsxipio.c317 int mux, drive, pull; in sxipio_pinctrl() local
371 mux = sc->sc_pins[i].funcs[j].mux; in sxipio_pinctrl()
383 SXICMS4(sc, SXIPIO_CFG(port, pin), mask, mux << off); in sxipio_pinctrl()
409 int mux, off; in sxipio_config_pin() local
414 mux = (config & GPIO_CONFIG_OUTPUT) ? 1 : 0; in sxipio_config_pin()
416 SXICMS4(sc, SXIPIO_CFG(port, pin), 0x7 << off, mux << off); in sxipio_config_pin()
546 int off, mux; in sxipio_attach_gpio() local
562 mux = (reg >> off) & 0x7; in sxipio_attach_gpio()
565 if (mux != SXIPIO_GPIO_IN && mux != SXIPIO_GPIO_OUT && in sxipio_attach_gpio()
566 mux != SXIPIO_DISABLED) in sxipio_attach_gpio()
[all …]
Dhiclock.c231 int mux; in hi3670_crgctrl_get_frequency() local
249 mux = (reg >> 6) & 0x1; in hi3670_crgctrl_get_frequency()
250 idx = mux ? HI3670_CLK_DIV_SD : HI3670_CLK_SD_SYS; in hi3670_crgctrl_get_frequency()
254 mux = (reg >> 4) & 0x3; in hi3670_crgctrl_get_frequency()
255 switch (mux) { in hi3670_crgctrl_get_frequency()
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/t/
Dmultiplexer.t145 my $mux = TAP::Parser::Multiplexer->new;
148 $mux->add(@$_) for @sources;
150 is $mux->parsers, $count, "$name: count OK";
152 while ( my ( $parser, $stash, $result ) = $mux->next ) {
168 is $mux->parsers, 0, "$name: All used up";
/openbsd/src/sys/arch/riscv64/dev/
Dstfclock.c331 uint32_t reg, div, mux; in stfclock_get_frequency_jh7100() local
351 mux = (reg & CLKMUX_MASK) >> CLKMUX_SHIFT; in stfclock_get_frequency_jh7100()
356 switch (mux) { in stfclock_get_frequency_jh7100()
372 switch (mux) { in stfclock_get_frequency_jh7100()
385 mux = (reg >> 24) & 1; in stfclock_get_frequency_jh7100()
386 parent = mux ? JH7100_CLK_PLL0_OUT : JH7100_CLK_OSC_SYS; in stfclock_get_frequency_jh7100()
389 mux = (reg >> 24) & 1; in stfclock_get_frequency_jh7100()
390 parent = mux ? JH7100_CLK_PLL2_OUT : JH7100_CLK_OSC_SYS; in stfclock_get_frequency_jh7100()
393 parent = mux ? JH7100_CLK_OSC_AUD : JH7100_CLK_OSC_SYS; in stfclock_get_frequency_jh7100()
501 uint32_t reg, div, mux; in stfclock_get_frequency_jh7110_aon() local
[all …]
/openbsd/src/usr.sbin/wsconscfg/
Dwsconscfg.c65 int c, delete, get, kbd, idx, wsfd, res, mux; in main() local
74 mux = 0; in main()
94 mux = 1; in main()
127 if (mux) in main()
/openbsd/src/usr.bin/ssh/
DPROTOCOL.mux18 Many multiplexing (mux) client requests yield immediate responses from
19 the mux process; requesting a forwarding, performing an alive check or
28 signaled or the mux server closes the session. This mode is so named as
29 the client waits around while the mux server does all the driving.
36 this mode, the mux client/server connection socket will stop speaking
57 The current version of the mux protocol is 4. A client should refuse
204 8. Requesting shutdown of mux listener
223 When a mux master receives this message, it will reply with a
237 The mux master will accept most connection messages and global requests,
288 XXX send signals via mux
[all …]
/openbsd/src/usr.bin/file/magdir/
Dblit15 0 long 0406 68k Blit mpx/mux executable
16 0 short 0406 VAX-order2 68k Blit mpx/mux executable
17 0 short 03001 VAX-order 68k Blit mpx/mux executable
/openbsd/src/sys/dev/pci/drm/amd/display/dc/gpio/
Dgpio_service.c163 struct gpio **mux) in dal_gpio_destroy_generic_mux() argument
165 if (!mux || !*mux) { in dal_gpio_destroy_generic_mux()
170 dal_gpio_destroy(mux); in dal_gpio_destroy_generic_mux()
171 kfree(*mux); in dal_gpio_destroy_generic_mux()
173 *mux = NULL; in dal_gpio_destroy_generic_mux()
218 struct gpio *mux, in dal_mux_setup_config() argument
229 return dal_gpio_set_config(mux, &config_data); in dal_mux_setup_config()
Dgeneric_regs.h46 .mux = REG(DC_GENERIC ## id),\
54 uint32_t mux; member
/openbsd/src/gnu/usr.bin/binutils/gdb/testsuite/gdb.cp/
Danon-union.cc16 unsigned int mux; member
42 foo.mux = 55; in main()
/openbsd/src/sys/arch/powerpc64/conf/
DGENERIC118 wsmouse* at ubcmtp? mux 0
121 wsmouse* at ums? mux 0
123 wsmouse* at umt? mux 0
125 wsmouse* at uts? mux 0
127 wsmouse* at uwacom? mux 0
129 wskbd* at ukbd? mux 1
137 wskbd* at ucc? mux 1
DBOOT58 wskbd* at ukbd? mux 1
60 wsmouse* at ums? mux 0
/openbsd/src/sys/arch/armv7/exynos/
Dexclock.c236 uint32_t reg, div, mux; in exynos5420_get_frequency() local
251 mux = ((reg >> 16) & ((1 << 3) - 1)); in exynos5420_get_frequency()
252 switch (mux) { in exynos5420_get_frequency()
266 mux = ((reg >> 8) & ((1 << 1) - 1)); in exynos5420_get_frequency()
267 switch (mux) { in exynos5420_get_frequency()
/openbsd/src/regress/usr.bin/ssh/
Dchannel-timeout.sh8 rm -f $OBJ/finished.* $OBJ/mux.*
10 MUXPATH=$OBJ/mux.$$
22 test -e $OBJ/mux && break
/openbsd/src/sys/dev/pci/drm/amd/display/include/
Dgpio_service_interface.h60 struct gpio **mux);
63 struct gpio *mux,
/openbsd/src/sys/arch/arm64/conf/
DGENERIC163 wskbd* at apldckbd? mux 1
165 wsmouse* at apldcms? mux 0
192 wskbd* at aplkbd? mux 1
194 wsmouse* at aplms? mux 0
487 wsmouse* at ums? mux 0
489 wsmouse* at umt? mux 0
491 wsmouse* at uts? mux 0
493 wsmouse* at uwacom? mux 0
495 wskbd* at ukbd? mux 1
503 wskbd* at ucc? mux 1
[all …]
/openbsd/src/sys/arch/amd64/conf/
DGENERIC192 wsmouse* at ims? mux 0
194 wskbd* at ikbd? mux 1
196 wsmouse* at imt? mux 0
198 wsmouse* at iatp? mux 0
200 wsmouse* at ietp? mux 0
202 wskbd* at icc? mux 1
286 wsmouse* at ubcmtp? mux 0
289 wsmouse* at ums? mux 0
291 wsmouse* at umt? mux 0
293 wsmouse* at uts? mux 0
[all …]
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/
DHarness.pm621 my $mux = $self->_construct( $self->multiplexer_class );
627 while ( $mux->parsers < $jobs ) {
634 $mux->add( $parser, [ $session, $job ] );
641 if ( my ( $parser, $stash, $result ) = $mux->next ) {
/openbsd/src/sys/arch/riscv64/conf/
DGENERIC209 wsmouse* at ums? mux 0
211 wsmouse* at umt? mux 0
213 wsmouse* at uts? mux 0
215 wsmouse* at uwacom? mux 0
217 wskbd* at ukbd? mux 1
225 wskbd* at ucc? mux 1

123