Home
last modified time | relevance | path

Searched refs:cstat (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/qemu/pc-bios/s390-ccw/
H A Dcio.c82 if (irb->scsw.cstat) { in irb_error()
278 if (irb->scsw.cstat & SCSW_CSTAT_PCINT) { in print_irb_err()
281 if (irb->scsw.cstat & SCSW_CSTAT_BADLEN) { in print_irb_err()
284 if (irb->scsw.cstat & SCSW_CSTAT_PROGCHK) { in print_irb_err()
287 if (irb->scsw.cstat & SCSW_CSTAT_PROTCHK) { in print_irb_err()
290 if (irb->scsw.cstat & SCSW_CSTAT_CHDCHK) { in print_irb_err()
293 if (irb->scsw.cstat & SCSW_CSTAT_CHCCHK) { in print_irb_err()
296 if (irb->scsw.cstat & SCSW_CSTAT_ICCHK) { in print_irb_err()
299 if (irb->scsw.cstat & SCSW_CSTAT_CHAINCHK) { in print_irb_err()
H A Dcio.h69 u8 cstat; member
340 #define iface_ctrl_check(irb) ((irb)->scsw.cstat & SCSW_CSTAT_ICCHK)
H A Dvirtio.c84 if (irb.scsw.cstat) { in drain_irqs()
/openbmc/linux/drivers/tty/serial/
H A Dbcm63xx_uart.c237 unsigned int iestat, c, cstat; in bcm_uart_do_rx() local
260 cstat = c = bcm_uart_readl(port, UART_FIFO_REG); in bcm_uart_do_rx()
265 if (unlikely((cstat & UART_FIFO_ANYERR_MASK))) { in bcm_uart_do_rx()
267 if (cstat & UART_FIFO_BRKDET_MASK) { in bcm_uart_do_rx()
273 if (cstat & UART_FIFO_PARERR_MASK) in bcm_uart_do_rx()
275 if (cstat & UART_FIFO_FRAMEERR_MASK) in bcm_uart_do_rx()
279 cstat &= port->read_status_mask; in bcm_uart_do_rx()
280 if (cstat & UART_FIFO_BRKDET_MASK) in bcm_uart_do_rx()
282 if (cstat & UART_FIFO_FRAMEERR_MASK) in bcm_uart_do_rx()
284 if (cstat & UART_FIFO_PARERR_MASK) in bcm_uart_do_rx()
[all …]
/openbmc/linux/arch/s390/include/asm/
H A Dscsw.h58 __u32 cstat : 8; member
98 u32 cstat:8; member
130 u32 cstat:8; member
380 return scsw->tm.cstat; in scsw_cstat()
382 return scsw->cmd.cstat; in scsw_cstat()
843 return (scsw->tm.cstat & (SCHN_STAT_PROG_CHECK | in scsw_tm_is_valid_schxs()
/openbmc/linux/arch/mips/sgi-ip22/
H A Dip22-berr.c33 cpu_err_stat = sgimc->cstat; in save_and_clear_buserr()
39 sgimc->cstat = sgimc->gstat = 0; in save_and_clear_buserr()
H A Dip22-mc.c103 sgimc->cstat = sgimc->gstat = 0; in sgimc_init()
H A Dip28-berr.c127 cpu_err_stat = sgimc->cstat; in save_and_clear_buserr()
167 sgimc->cstat = sgimc->gstat = 0; in save_and_clear_buserr()
/openbmc/u-boot/arch/arm/mach-omap2/am33xx/
H A Dsys_info.c22 struct ctrl_stat *cstat = (struct ctrl_stat *)CTRL_BASE; variable
57 return readl(&cstat->statusreg) & SYSBOOT_MASK; in get_sysboot_value()
H A Dddr.c121 writel(regs->sdram_config, &cstat->secure_emif_sdram_config); in config_sdram_emif4d5()
175 writel(regs->sdram_config, &cstat->secure_emif_sdram_config); in config_sdram()
/openbmc/linux/drivers/s390/cio/
H A Ddevice_status.c137 if (irb->scsw.cmd.cstat & (SCHN_STAT_CHN_DATA_CHK | in ccw_device_accumulate_esw()
158 if (irb->scsw.cmd.cstat & SCHN_STAT_INTF_CTRL_CHK) in ccw_device_accumulate_esw()
281 cdev_irb->scsw.cmd.cstat |= irb->scsw.cmd.cstat; in ccw_device_accumulate_irb()
284 (irb->scsw.cmd.cstat & ~(SCHN_STAT_PCI | SCHN_STAT_INCORR_LEN)) in ccw_device_accumulate_irb()
H A Dqdio_main.c702 unsigned long intparm, int cstat, in qdio_handle_activate_check() argument
709 DBF_ERROR("ds: %2x cs:%2x", dstat, cstat); in qdio_handle_activate_check()
725 static int qdio_establish_handle_irq(struct qdio_irq *irq_ptr, int cstat, in qdio_establish_handle_irq() argument
730 if (cstat) in qdio_establish_handle_irq()
743 DBF_ERROR("ds: %2x cs:%2x", dstat, cstat); in qdio_establish_handle_irq()
754 int cstat, dstat, rc, dcc; in qdio_int_handler() local
772 cstat = irb->scsw.cmd.cstat; in qdio_int_handler()
779 rc = qdio_establish_handle_irq(irq_ptr, cstat, dstat, dcc); in qdio_int_handler()
786 if (cstat & SCHN_STAT_PCI) { in qdio_int_handler()
790 if (cstat || dstat) in qdio_int_handler()
[all …]
H A Dccwreq.c215 if (scsw->cstat != 0) in ccwreq_status()
/openbmc/u-boot/arch/arm/include/asm/arch-am33xx/
H A Dsys_proto.h18 extern struct ctrl_stat *cstat;
/openbmc/linux/drivers/s390/char/
H A Dcon3215.c352 int cstat, dstat; in raw3215_irq() local
358 cstat = irb->scsw.cmd.cstat; in raw3215_irq()
360 if (cstat != 0) in raw3215_irq()
367 if (cstat != 0) in raw3215_irq()
/openbmc/linux/drivers/s390/net/
H A Dlcs.c1309 int dstat, cstat; in lcs_get_problem() local
1313 cstat = irb->scsw.cmd.cstat; in lcs_get_problem()
1316 if (cstat & (SCHN_STAT_CHN_CTRL_CHK | SCHN_STAT_INTF_CTRL_CHK | in lcs_get_problem()
1363 int cstat, dstat; in lcs_irq() local
1374 cstat = irb->scsw.cmd.cstat; in lcs_irq()
1377 LCS_DBF_TEXT_(5, trace, "%4x%4x", irb->scsw.cmd.cstat, in lcs_irq()
1388 dstat, cstat); in lcs_irq()
1405 (irb->scsw.cmd.cstat & SCHN_STAT_PCI)) in lcs_irq()
H A Dctcm_main.c1154 int cstat; in ctcm_irq_handler() local
1165 cstat = irb->scsw.cmd.cstat; in ctcm_irq_handler()
1172 CTCM_FUNTAIL, dev_name(&cdev->dev), cstat, dstat); in ctcm_irq_handler()
1207 if (irb->scsw.cmd.cstat) { in ctcm_irq_handler()
1211 CTCM_FUNTAIL, dev->name, ch->id, cstat, dstat); in ctcm_irq_handler()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_nvme.c1208 struct lpfc_fc4_ctrl_stat *cstat) in lpfc_nvme_prep_io_cmd() argument
1244 cstat->output_requests++; in lpfc_nvme_prep_io_cmd()
1261 cstat->input_requests++; in lpfc_nvme_prep_io_cmd()
1267 cstat->control_requests++; in lpfc_nvme_prep_io_cmd()
1531 struct lpfc_fc4_ctrl_stat *cstat; in lpfc_nvme_fcp_io_submit() local
1740 cstat = &phba->sli4_hba.hdwq[idx].nvme_cstat; in lpfc_nvme_fcp_io_submit()
1742 lpfc_nvme_prep_io_cmd(vport, lpfc_ncmd, ndlp, cstat); in lpfc_nvme_fcp_io_submit()
1794 cstat->output_requests--; in lpfc_nvme_fcp_io_submit()
1796 cstat->input_requests--; in lpfc_nvme_fcp_io_submit()
1798 cstat->control_requests--; in lpfc_nvme_fcp_io_submit()
H A Dlpfc_attr.c344 struct lpfc_fc4_ctrl_stat *cstat; in lpfc_nvme_info_show() local
647 cstat = &phba->sli4_hba.hdwq[i].nvme_cstat; in lpfc_nvme_info_show()
648 tot = cstat->io_cmpls; in lpfc_nvme_info_show()
650 data1 = cstat->input_requests; in lpfc_nvme_info_show()
651 data2 = cstat->output_requests; in lpfc_nvme_info_show()
652 data3 = cstat->control_requests; in lpfc_nvme_info_show()
710 struct lpfc_fc4_ctrl_stat *cstat; in lpfc_scsi_stat_show() local
726 tot = cstat->io_cmpls; in lpfc_scsi_stat_show()
728 data1 = cstat->input_requests; in lpfc_scsi_stat_show()
729 data2 = cstat->output_requests; in lpfc_scsi_stat_show()
[all …]
/openbmc/qemu/hw/vfio/
H A Dccw.c338 schib->scsw.cstat = SCSW_CSTAT_DATA_CHECK; in vfio_ccw_io_notifier_handler()
346 schib->scsw.cstat = SCSW_CSTAT_PROG_CHECK; in vfio_ccw_io_notifier_handler()
355 schib->scsw.cstat = SCSW_CSTAT_CHN_CTRL_CHK; in vfio_ccw_io_notifier_handler()
/openbmc/linux/drivers/net/ethernet/toshiba/
H A Dspider_net.c1002 int cstat = hwd->dmac_cmd_status; in show_rx_chain() local
1007 off, cstat); in show_rx_chain()
1012 status = cstat; in show_rx_chain()
1034 if (cstat != status) { in show_rx_chain()
1038 "with stat=0x%08x\n", cnt, from, to, cstat); in show_rx_chain()
1039 cstat = status; in show_rx_chain()
1049 "for a total of %d descrs\n", cnt, cstat, tot); in show_rx_chain()
/openbmc/qemu/hw/s390x/
H A Dcss.c87 VMSTATE_UINT8(cstat, SCSW),
720 schib->scsw.cstat = 0; in sch_handle_clear_func()
751 schib->scsw.cstat = 0; in sch_handle_halt_func()
1144 schib->scsw.cstat = 0; in sch_handle_start_func_virtual()
1203 schib->scsw.cstat = SCSW_CSTAT_PROG_CHECK; in sch_handle_start_func_virtual()
1347 dest->cstat = src->cstat; in copy_scsw_to_guest()
1423 dest->cstat = src->cstat; in copy_scsw_from_guest()
1523 schib->scsw.cstat = 0; in css_do_xsch()
1753 if (schib->scsw.cstat & (SCSW_CSTAT_DATA_CHECK | in build_irb_virtual()
/openbmc/linux/arch/mips/include/asm/sgi/
H A Dmc.h121 volatile u32 cstat; /* Status reg for CPU */ member
/openbmc/qemu/include/hw/s390x/
H A Dioinst.h26 uint8_t cstat; member
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dsil-sii8620.c1899 u8 cstat = sii8620_readb(ctx, REG_COC_STAT_0); in sii8620_irq_coc() local
1901 cstat &= BIT_COC_STAT_0_PLL_LOCKED | MSK_COC_STAT_0_FSM_STATE; in sii8620_irq_coc()
1902 if (cstat == (BIT_COC_STAT_0_PLL_LOCKED | 0x02)) { in sii8620_irq_coc()
1936 u8 cstat = sii8620_readb(ctx, REG_TMDS_CSTAT_P3); in sii8620_irq_scdt() local
1938 if (cstat & BIT_TMDS_CSTAT_P3_SCDT) in sii8620_irq_scdt()

12