Home
last modified time | relevance | path

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

/drivers/tty/serial/
Detraxfs-uart.c144 reg_ser_r_stat_din rstat = REG_RD(ser, regi_ser, r_stat_din); in crisv32_serial_get_rts() local
146 return !(rstat.rts_n == regk_ser_active); in crisv32_serial_get_rts()
175 reg_ser_r_stat_din rstat = REG_RD(ser, regi_ser, r_stat_din); in crisv32_serial_get_cts() local
177 return (rstat.cts_n == regk_ser_active); in crisv32_serial_get_cts()
196 reg_ser_r_stat_din rstat; in etraxfs_uart_send_xchar() local
212 rstat = REG_RD(ser, regi_ser, r_stat_din); in etraxfs_uart_send_xchar()
213 } while (!rstat.tr_rdy); in etraxfs_uart_send_xchar()
235 rstat = REG_RD(ser, up->regi_ser, r_stat_din); in etraxfs_uart_send_xchar()
241 if (rstat.xoff_detect) { in etraxfs_uart_send_xchar()
373 reg_ser_r_stat_din rstat = {0}; in etraxfs_uart_tx_empty() local
[all …]
Dcrisv10.c1773 unsigned char rstat; in receive_chars_dma() local
1795 rstat = info->ioport[REG_STATUS]; in receive_chars_dma()
1796 if (rstat & IO_MASK(R_SERIAL0_STATUS, xoff_detect) ) { in receive_chars_dma()
1797 DFLOW(DEBUG_LOG(info->line, "XOFF detect stat %x\n", rstat)); in receive_chars_dma()
1800 if (rstat & SER_ERROR_MASK) { in receive_chars_dma()
1807 ((rstat & SER_ERROR_MASK) << 8) | data); in receive_chars_dma()
1809 if (rstat & SER_PAR_ERR_MASK) in receive_chars_dma()
1811 else if (rstat & SER_OVERRUN_MASK) in receive_chars_dma()
1813 else if (rstat & SER_FRAMING_ERR_MASK) in receive_chars_dma()
1955 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
237 struct ep93xx_rstat *rstat; in ep93xx_rx() local
244 rstat = ep->descs->rstat + entry; in ep93xx_rx()
246 rstat0 = rstat->rstat0; in ep93xx_rx()
247 rstat1 = rstat->rstat1; in ep93xx_rx()
251 rstat->rstat0 = 0; in ep93xx_rx()
252 rstat->rstat1 = 0; in ep93xx_rx()
315 struct ep93xx_rstat *rstat = ep->descs->rstat + ep->rx_pointer; in ep93xx_have_more_rx() local
316 return !!((rstat->rstat0 & RSTAT0_RFP) && (rstat->rstat1 & RSTAT1_RFP)); in ep93xx_have_more_rx()
584 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.h29 volatile unsigned int rstat; member
Dsgiseeq.c145 sregs->rstat = sp->mode | RSTAT_GO_BITS; in seeq_go()
/drivers/ata/
Dpata_macio.c651 u32 dstat, rstat = ATA_DMA_INTR; in pata_macio_bmdma_status() local
672 rstat |= ATA_DMA_ERR; in pata_macio_bmdma_status()
679 return rstat; in pata_macio_bmdma_status()
698 rstat |= ATA_DMA_ERR; in pata_macio_bmdma_status()
702 return rstat; in pata_macio_bmdma_status()
/drivers/net/ethernet/i825xx/
Dsun3_82586.c796 int rstat; in sun3_82586_rcv_int() local
799 while(!((rstat=swab16(rbd->status)) & RBD_LAST)) in sun3_82586_rcv_int()
801 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
802 if(!rstat) in sun3_82586_rcv_int()
810 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
/drivers/net/ethernet/freescale/
Dgianfar.c704 grp->rstat |= (RSTAT_CLEAR_RHALT >> i); in gfar_parse_group()
1599 gfar_write(&regs->rstat, priv->gfargrp[i].rstat); in gfar_start_wol_filer()
2078 gfar_write(&regs->rstat, priv->gfargrp[i].rstat); in gfar_start()
3182 gfar_write(&regs->rstat, gfargrp->rstat); in gfar_poll_rx_sq()
3239 rstat_rxf = gfar_read(&regs->rstat) & RSTAT_RXF_MASK; in gfar_poll_rx()
3258 gfar_write(&regs->rstat, in gfar_poll_rx()
3272 gfar_write(&regs->rstat, gfargrp->rstat); in gfar_poll_rx()
3607 gfar_read(&regs->rstat)); in gfar_error()
Dgianfar.h744 u32 rstat; /* 0x.304 - Receive Status Register */ member
1088 unsigned int rstat; member
/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2097 u32 rstat; in i40evf_check_reset_complete() local
2101 rstat = rd32(hw, I40E_VFGEN_RSTAT) & in i40evf_check_reset_complete()
2103 if ((rstat == I40E_VFR_VFACTIVE) || in i40evf_check_reset_complete()
2104 (rstat == I40E_VFR_COMPLETED)) in i40evf_check_reset_complete()