Home
last modified time | relevance | path

Searched refs:wregs (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/hw/char/
H A Descc.c258 if ((((s->wregs[W_INTR] & INTR_TXINT) && (s->txint == 1)) || in escc_update_irq_chn()
260 ((((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINT1ST) || in escc_update_irq_chn()
261 ((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINTALL)) && in escc_update_irq_chn()
264 ((s->wregs[W_EXTINT] & EXTINT_BRKINT) && in escc_update_irq_chn()
298 s->wregs[W_CMD] = 0; in escc_soft_reset_chn()
299 s->wregs[W_INTR] &= INTR_PAR_SPEC | INTR_WTRQ_TXRX; in escc_soft_reset_chn()
300 s->wregs[W_RXCTRL] &= ~RXCTRL_RXEN; in escc_soft_reset_chn()
302 s->wregs[W_TXCTRL1] |= TXCTRL1_1STOP; in escc_soft_reset_chn()
303 s->wregs[W_TXCTRL2] &= TXCTRL2_TXCRC | TXCTRL2_8BITS; in escc_soft_reset_chn()
304 s->wregs[W_MINTR] &= ~MINTR_SOFTIACK; in escc_soft_reset_chn()
[all …]
/openbmc/qemu/hw/scsi/
H A Desp.c236 dmalen = s->wregs[ESP_TCLO]; in esp_get_stc()
237 dmalen |= s->wregs[ESP_TCMID] << 8; in esp_get_stc()
238 dmalen |= s->wregs[ESP_TCHI] << 16; in esp_get_stc()
267 target = s->wregs[ESP_WBUSID] & BUSID_DID; in esp_select()
1088 memset(s->wregs, 0, ESP_REGS); in esp_hard_reset()
1149 if (!(s->wregs[ESP_CFG1] & CFG1_RESREPT)) { in esp_run_cmd()
1257 trace_esp_mem_writeb(saddr, s->wregs[saddr], val); in esp_reg_write()
1289 s->wregs[saddr] = val; in esp_reg_write()
1373 VMSTATE_BUFFER(wregs, ESPState),
H A Desp-pci.c228 current = s->wregs[addr >> 2]; in esp_pci_io_write()
/openbmc/linux/drivers/net/ethernet/seeq/
H A Dsgiseeq.h27 struct sgiseeq_wregs wregs; member
H A Dsgiseeq.c305 sregs->rw.wregs.control = sp->control; in init_seeq()
306 sregs->rw.wregs.frame_gap = 0; in init_seeq()
425 sregs->rw.wregs.control = sp->control & ~(SEEQ_CTRL_XCNT); in tx_maybe_reset_collisions()
426 sregs->rw.wregs.control = sp->control; in tx_maybe_reset_collisions()
/openbmc/qemu/include/hw/char/
H A Descc.h37 uint8_t wregs[ESCC_SERIAL_REGS], rregs[ESCC_SERIAL_REGS]; member
/openbmc/qemu/include/hw/scsi/
H A Desp.h26 uint8_t wregs[ESP_REGS]; member