Lines Matching refs:err_status
783 static int rio_clr_err_stopped(struct rio_dev *rdev, u32 pnum, u32 err_status) in rio_clr_err_stopped() argument
789 if (err_status == 0) in rio_clr_err_stopped()
792 &err_status); in rio_clr_err_stopped()
794 if (err_status & RIO_PORT_N_ERR_STS_PW_OUT_ES) { in rio_clr_err_stopped()
846 &err_status); in rio_clr_err_stopped()
847 pr_debug("RIO_EM: SP%d_ERR_STS_CSR=0x%08x\n", pnum, err_status); in rio_clr_err_stopped()
850 if ((err_status & RIO_PORT_N_ERR_STS_PW_INP_ES) && nextdev) { in rio_clr_err_stopped()
858 &err_status); in rio_clr_err_stopped()
859 pr_debug("RIO_EM: SP%d_ERR_STS_CSR=0x%08x\n", pnum, err_status); in rio_clr_err_stopped()
862 return (err_status & (RIO_PORT_N_ERR_STS_PW_OUT_ES | in rio_clr_err_stopped()
876 u32 err_status, em_perrdet, em_ltlerrdet; in rio_inb_pwrite_handler() local
951 &err_status); in rio_inb_pwrite_handler()
952 pr_debug("RIO_PW: SP%d_ERR_STS_CSR=0x%08x\n", portnum, err_status); in rio_inb_pwrite_handler()
954 if (err_status & RIO_PORT_N_ERR_STS_PORT_OK) { in rio_inb_pwrite_handler()
968 if (err_status & (RIO_PORT_N_ERR_STS_PW_OUT_ES | in rio_inb_pwrite_handler()
970 if (rio_clr_err_stopped(rdev, portnum, err_status)) in rio_inb_pwrite_handler()
1013 err_status); in rio_inb_pwrite_handler()