Searched refs:fdctrl (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/hw/block/ |
H A D | fdc.c | 1545 fdctrl->eot = fdctrl->fifo[6]; in fdctrl_start_transfer() 1862 fdctrl->fifo[4] = fdctrl->timer0; in fdctrl_handle_dumpreg() 1867 fdctrl->fifo[8] = fdctrl->config; in fdctrl_handle_dumpreg() 1897 fdctrl->timer0 = fdctrl->fifo[7]; in fdctrl_handle_restore() 1898 fdctrl->timer1 = fdctrl->fifo[8]; in fdctrl_handle_restore() 1904 fdctrl->pwrd = fdctrl->fifo[13]; in fdctrl_handle_restore() 1925 fdctrl->fifo[6] = fdctrl->timer0; in fdctrl_handle_save() 1926 fdctrl->fifo[7] = fdctrl->timer1; in fdctrl_handle_save() 1932 fdctrl->fifo[12] = fdctrl->pwrd; in fdctrl_handle_save() 2076 fdctrl->pwrd = fdctrl->fifo[1]; in fdctrl_handle_powerdown_mode() [all …]
|
H A D | fdc-isa.c | 93 FDCtrl *fdctrl = &isa->state; in isabus_fdc_realize() local 97 isa->iobase, fdc_portio_list, fdctrl, in isabus_fdc_realize() 100 fdctrl->irq = isa_bus_get_irq(bus, isa->irq); in isabus_fdc_realize() 101 fdctrl->dma_chann = isa->dma; in isabus_fdc_realize() 102 if (fdctrl->dma_chann != -1) { in isabus_fdc_realize() 104 fdctrl->dma = isa_bus_get_dma(bus, isa->dma); in isabus_fdc_realize() 105 if (!fdctrl->dma) { in isabus_fdc_realize() 109 k = ISADMA_GET_CLASS(fdctrl->dma); in isabus_fdc_realize() 110 k->register_channel(fdctrl->dma, fdctrl->dma_chann, in isabus_fdc_realize() 111 &fdctrl_transfer_handler, fdctrl); in isabus_fdc_realize() [all …]
|
H A D | fdc-sysbus.c | 137 FDCtrl *fdctrl = &sys->state; in sysbus_fdc_common_instance_init() local 147 fdctrl->dma_chann = -1; in sysbus_fdc_common_instance_init() 154 fdctrl, "fdc", 0x08); in sysbus_fdc_common_instance_init() 157 sysbus_init_irq(sbd, &fdctrl->irq); in sysbus_fdc_common_instance_init() 164 FDCtrl *fdctrl = &sys->state; in sysbus_fdc_realize() local 166 fdctrl_realize_common(dev, fdctrl, errp); in sysbus_fdc_realize()
|
H A D | fdc-internal.h | 69 FDCtrl *fdctrl; member 147 void fdctrl_reset(FDCtrl *fdctrl, int do_irq); 148 void fdctrl_realize_common(DeviceState *dev, FDCtrl *fdctrl, Error **errp);
|
/openbmc/linux/drivers/net/can/flexcan/ |
H A D | flexcan-core.c | 282 u32 fdctrl; /* 0xc00 - Not affected by Soft Reset */ member 1268 reg_fdctrl = priv->read(®s->fdctrl); in flexcan_set_bittiming_cbt() 1288 priv->write(reg_fdctrl, ®s->fdctrl); in flexcan_set_bittiming_cbt() 1293 priv->read(®s->ctrl2), priv->read(®s->fdctrl), in flexcan_set_bittiming_cbt() 1545 reg_fdctrl = priv->read(®s->fdctrl); in flexcan_chip_start() 1565 priv->write(reg_fdctrl, ®s->fdctrl); in flexcan_chip_start()
|