Home
last modified time | relevance | path

Searched refs:STATUS_REG (Results 1 – 11 of 11) sorted by relevance

/drivers/char/hw_random/
Dxiphera-trng.c15 #define STATUS_REG 0x00000004 macro
43 if (readl(trng->mem + STATUS_REG) == TRNG_NEW_RAND_AVAILABLE) { in xiphera_trng_read()
82 if (readl(trng->mem + STATUS_REG) != TRNG_ACK_RESET) { in xiphera_trng_probe()
88 if (readl(trng->mem + STATUS_REG) != TRNG_ACK_RESET) { in xiphera_trng_probe()
103 if (readl(trng->mem + STATUS_REG) != TRNG_SUCCESSFUL_STARTUP) { in xiphera_trng_probe()
105 if (readl(trng->mem + STATUS_REG) == TRNG_FAILED_STARTUP) { in xiphera_trng_probe()
/drivers/scsi/
DNCR5380.c302 status = NCR5380_read(STATUS_REG); in NCR5380_print()
352 status = NCR5380_read(STATUS_REG); in NCR5380_print_phase()
449 NCR5380_read(STATUS_REG); in NCR5380_init()
478 for (pass = 1; (NCR5380_read(STATUS_REG) & SR_BSY) && pass <= 6; ++pass) { in NCR5380_maybe_reset_bus()
485 STATUS_REG, SR_BSY, 0, 5 * HZ); in NCR5380_maybe_reset_bus()
812 if ((NCR5380_read(STATUS_REG) & PHASE_MASK) == p && (p & SR_IO)) { in NCR5380_dma_complete()
879 unsigned char sr = NCR5380_read(STATUS_REG); in NCR5380_intr()
1138 err = NCR5380_poll_politely(hostdata, STATUS_REG, SR_BSY, SR_BSY, in NCR5380_select()
1141 if ((NCR5380_read(STATUS_REG) & (SR_SEL | SR_IO)) == (SR_SEL | SR_IO)) { in NCR5380_select()
1184 err = NCR5380_poll_politely(hostdata, STATUS_REG, SR_REQ, SR_REQ, HZ); in NCR5380_select()
[all …]
Dmac_scsi.c305 if (NCR5380_poll_politely2(hostdata, STATUS_REG, SR_REQ, SR_REQ, in macscsi_pread()
373 if (NCR5380_poll_politely2(hostdata, STATUS_REG, SR_REQ, SR_REQ, in macscsi_pwrite()
458 (STATUS_REG << 4))) { in mac_scsi_probe()
DNCR5380.h111 #define STATUS_REG 4 /* ro */ macro
Dg_NCR5380.c128 PHASE_SR_TO_TCR(NCR5380_read(STATUS_REG) & PHASE_MASK)); in g_NCR5380_trigger_irq()
/drivers/rtc/
Drtc-spear.c28 #define STATUS_REG 0x14 macro
91 val = readl(config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt()
93 writel(val, config->ioaddr + STATUS_REG); in spear_rtc_clear_interrupt()
126 if ((readl(config->ioaddr + STATUS_REG)) & STATUS_FAIL) in is_write_complete()
141 status = readl(config->ioaddr + STATUS_REG); in rtc_wait_not_busy()
157 irq_data = readl(config->ioaddr + STATUS_REG); in spear_rtc_irq()
/drivers/input/keyboard/
Dspear-keyboard.c30 #define STATUS_REG 0x0C macro
76 sts = readl_relaxed(kbd->io_base + STATUS_REG); in spear_kbd_interrupt()
97 writel_relaxed(0, kbd->io_base + STATUS_REG); in spear_kbd_interrupt()
122 writel_relaxed(1, kbd->io_base + STATUS_REG); in spear_kbd_open()
/drivers/media/i2c/
Dml86v7667.c34 #define STATUS_REG 0x2C /* STATUS Register */ macro
164 status = i2c_smbus_read_byte_data(client, STATUS_REG); in ml86v7667_querystd()
181 status_reg = i2c_smbus_read_byte_data(client, STATUS_REG); in ml86v7667_g_input_status()
348 val = i2c_smbus_read_byte_data(client, STATUS_REG); in ml86v7667_init()
/drivers/comedi/drivers/
Dni_at_a2150.c73 #define STATUS_REG 0x12 /* read only */ macro
150 status = inw(dev->iobase + STATUS_REG); in a2150_interrupt()
572 status = inw(dev->iobase + STATUS_REG); in a2150_ai_eoc()
678 int id = ID_BITS(inw(dev->iobase + STATUS_REG)); in a2150_probe()
749 if ((DCAL_BIT & inw(dev->iobase + STATUS_REG)) == 0) in a2150_attach()
/drivers/misc/lis3lv02d/
Dlis3lv02d.h39 STATUS_REG = 0x27, enumerator
/drivers/net/ethernet/qlogic/
Dqla3xxx.h698 STATUS_REG = 1, enumerator