Home
last modified time | relevance | path

Searched refs:control_status (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/char/hw_random/
Docteon-rng.c25 void __iomem *control_status; member
37 cvmx_write_csr((u64)p->control_status, ctl.u64); in octeon_rng_init()
48 cvmx_write_csr((u64)p->control_status, ctl.u64); in octeon_rng_cleanup()
85 rng->control_status = devm_ioremap_nocache(&pdev->dev, in octeon_rng_probe()
88 if (!rng->control_status) in octeon_rng_probe()
108 devm_iounmap(&pdev->dev, rng->control_status); in octeon_rng_probe()
/linux-2.6.39/drivers/staging/comedi/drivers/
Dcb_pcidas.c435 unsigned long control_status; member
625 devpriv->control_status = in cb_pcidas_attach()
812 devpriv->control_status + CALIBRATION_REG); in cb_pcidas_ai_rinsn()
815 outw(0, devpriv->control_status + CALIBRATION_REG); in cb_pcidas_ai_rinsn()
827 outw(bits, devpriv->control_status + ADCMUX_CONT); in cb_pcidas_ai_rinsn()
840 if (inw(devpriv->control_status + ADCMUX_CONT) & EOC) in cb_pcidas_ai_rinsn()
902 outw(devpriv->ao_control_bits, devpriv->control_status + DAC_CSR); in cb_pcidas_ao_nofifo_winsn()
935 outw(devpriv->ao_control_bits, devpriv->control_status + DAC_CSR); in cb_pcidas_ao_fifo_winsn()
1001 devpriv->control_status + CALIBRATION_REG); in dac08_write()
1004 devpriv->control_status + CALIBRATION_REG); in dac08_write()
[all …]
/linux-2.6.39/drivers/watchdog/
Dpcwd.c219 int control_status; in send_isa_command() local
227 control_status = (cmd & 0x0F) | WD_WCMD; in send_isa_command()
228 outb_p(control_status, pcwd_private.io_addr + 2); in send_isa_command()
495 int control_status; in pcwd_get_status() local
503 control_status = inb(pcwd_private.io_addr); in pcwd_get_status()
510 control_status = inb(pcwd_private.io_addr + 1); in pcwd_get_status()
515 if (control_status & WD_WDRST) in pcwd_get_status()
518 if (control_status & WD_T110) { in pcwd_get_status()
527 if (control_status & WD_REVC_WTRP) in pcwd_get_status()
530 if (control_status & WD_REVC_TTRP) { in pcwd_get_status()
[all …]
Dpcwd_pci.c351 int control_status; in pcipcwd_get_status() local
354 control_status = inb_p(pcipcwd_private.io_addr + 1); in pcipcwd_get_status()
355 if (control_status & WD_PCI_WTRP) in pcipcwd_get_status()
357 if (control_status & WD_PCI_TTRP) { in pcipcwd_get_status()
365 control_status); in pcipcwd_get_status()
372 int control_status; in pcipcwd_clear_status() local
379 control_status = inb_p(pcipcwd_private.io_addr + 1); in pcipcwd_clear_status()
382 printk(KERN_DEBUG PFX "status was: 0x%02x\n", control_status); in pcipcwd_clear_status()
384 (control_status & WD_PCI_R2DS) | WD_PCI_WTRP); in pcipcwd_clear_status()
388 outb_p((control_status & WD_PCI_R2DS) | WD_PCI_WTRP, in pcipcwd_clear_status()