Home
last modified time | relevance | path

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

/drivers/tty/serial/
Detraxfs-uart.c145 reg_ser_r_stat_din rstat = REG_RD(ser, regi_ser, r_stat_din); in crisv32_serial_get_rts() local
147 return !(rstat.rts_n == regk_ser_active); in crisv32_serial_get_rts()
176 reg_ser_r_stat_din rstat = REG_RD(ser, regi_ser, r_stat_din); in crisv32_serial_get_cts() local
178 return (rstat.cts_n == regk_ser_active); in crisv32_serial_get_cts()
197 reg_ser_r_stat_din rstat; in etraxfs_uart_send_xchar() local
213 rstat = REG_RD(ser, regi_ser, r_stat_din); in etraxfs_uart_send_xchar()
214 } while (!rstat.tr_rdy); in etraxfs_uart_send_xchar()
236 rstat = REG_RD(ser, up->regi_ser, r_stat_din); in etraxfs_uart_send_xchar()
242 if (rstat.xoff_detect) { in etraxfs_uart_send_xchar()
374 reg_ser_r_stat_din rstat = {0}; in etraxfs_uart_tx_empty() local
[all …]
Dcrisv10.c1771 unsigned char rstat; in receive_chars_dma() local
1793 rstat = info->ioport[REG_STATUS]; in receive_chars_dma()
1794 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect) ) { in receive_chars_dma()
1795 DFLOW(DEBUG_LOG(info->line, "XOFF detect stat %x\n", rstat)); in receive_chars_dma()
1798 if (rstat & SER_ERROR_MASK) { in receive_chars_dma()
1805 ((rstat & SER_ERROR_MASK) << 8) | data); in receive_chars_dma()
1807 if (rstat & SER_PAR_ERR_MASK) in receive_chars_dma()
1809 else if (rstat & SER_OVERRUN_MASK) in receive_chars_dma()
1811 else if (rstat & SER_FRAMING_ERR_MASK) in receive_chars_dma()
1953 unsigned char rstat = info->ioport[REG_STATUS]; in force_eop_if_needed() local
[all …]
/drivers/net/ethernet/cirrus/
Dep93xx_eth.c152 struct ep93xx_rstat rstat[RX_QUEUE_ENTRIES]; member
238 struct ep93xx_rstat *rstat; in ep93xx_rx() local
245 rstat = ep->descs->rstat + entry; in ep93xx_rx()
247 rstat0 = rstat->rstat0; in ep93xx_rx()
248 rstat1 = rstat->rstat1; in ep93xx_rx()
252 rstat->rstat0 = 0; in ep93xx_rx()
253 rstat->rstat1 = 0; in ep93xx_rx()
567 addr = ep->descs_dma_addr + offsetof(struct ep93xx_descs, rstat); in ep93xx_start_hw()
/drivers/ide/
Dide-iops.c106 unsigned long timeout, u8 *rstat) in __ide_wait_stat() argument
133 *rstat = stat; in __ide_wait_stat()
151 *rstat = stat; in __ide_wait_stat()
155 *rstat = stat; in __ide_wait_stat()
/drivers/net/ethernet/seeq/
Dsgiseeq.h30 volatile unsigned int rstat; member
Dsgiseeq.c145 sregs->rstat = sp->mode | RSTAT_GO_BITS; in seeq_go()
/drivers/ata/
Dpata_macio.c649 u32 dstat, rstat = ATA_DMA_INTR; in pata_macio_bmdma_status() local
670 rstat |= ATA_DMA_ERR; in pata_macio_bmdma_status()
677 return rstat; in pata_macio_bmdma_status()
696 rstat |= ATA_DMA_ERR; in pata_macio_bmdma_status()
700 return rstat; in pata_macio_bmdma_status()
/drivers/net/ethernet/i825xx/
Dsun3_82586.c795 int rstat; in sun3_82586_rcv_int() local
798 while(!((rstat=swab16(rbd->status)) & RBD_LAST)) in sun3_82586_rcv_int()
800 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
801 if(!rstat) in sun3_82586_rcv_int()
809 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
/drivers/net/ethernet/freescale/
Dgianfar.c700 grp->rstat |= (RSTAT_CLEAR_RHALT >> i); in gfar_parse_group()
1603 gfar_write(&regs->rstat, priv->gfargrp[i].rstat); in gfar_start_wol_filer()
2088 gfar_write(&regs->rstat, priv->gfargrp[i].rstat); in gfar_start()
3203 gfar_write(&regs->rstat, gfargrp->rstat); in gfar_poll_rx_sq()
3260 rstat_rxf = gfar_read(&regs->rstat) & RSTAT_RXF_MASK; in gfar_poll_rx()
3279 gfar_write(&regs->rstat, in gfar_poll_rx()
3293 gfar_write(&regs->rstat, gfargrp->rstat); in gfar_poll_rx()
3628 gfar_read(&regs->rstat)); in gfar_error()
Dgianfar.h745 u32 rstat; /* 0x.304 - Receive Status Register */ member
1089 unsigned int rstat; member
/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2461 u32 rstat; in i40evf_check_reset_complete() local
2465 rstat = rd32(hw, I40E_VFGEN_RSTAT) & in i40evf_check_reset_complete()
2467 if ((rstat == VIRTCHNL_VFR_VFACTIVE) || in i40evf_check_reset_complete()
2468 (rstat == VIRTCHNL_VFR_COMPLETED)) in i40evf_check_reset_complete()