/kernel/linux/linux-6.6/drivers/ata/ |
H A D | pata_octeon_cf.c | 398 tf->status = blob >> 8; in octeon_cf_tf_read16() 546 * Clear the DMA complete status. in octeon_cf_dma_start() 597 u8 status; in octeon_cf_dma_finished() local 620 /* Clear the DMA complete status */ in octeon_cf_dma_finished() 624 status = ap->ops->sff_check_status(ap); in octeon_cf_dma_finished() 626 ata_sff_hsm_move(ap, qc, status, 0); in octeon_cf_dma_finished() 629 ata_ehi_push_desc(ehi, "DMA stat 0x%x", status); in octeon_cf_dma_finished() 649 u8 status; in octeon_cf_interrupt() local 679 status = ioread8(ap->ioaddr.altstatus_addr); in octeon_cf_interrupt() 680 if (status in octeon_cf_interrupt() 714 u8 status; octeon_cf_delayed_finish() local [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | nfs4layouts.c | 186 int status; in nfsd4_layout_setlease() local 203 status = vfs_setlease(fl->fl_file, fl->fl_type, &fl, NULL); in nfsd4_layout_setlease() 204 if (status) { in nfsd4_layout_setlease() 206 return status; in nfsd4_layout_setlease() 273 __be32 status; in nfsd4_preprocess_layout_stateid() local 278 status = nfsd4_lookup_stateid(cstate, stateid, typemask, &stid, in nfsd4_preprocess_layout_stateid() 280 if (status) in nfsd4_preprocess_layout_stateid() 285 status = nfserr_bad_stateid; in nfsd4_preprocess_layout_stateid() 293 status = nfserr_jukebox; in nfsd4_preprocess_layout_stateid() 300 status in nfsd4_preprocess_layout_stateid() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | meson_uart.c | 183 u32 ostatus, status, ch, mode; in meson_receive_chars() local 188 ostatus = status = readl(port->membase + AML_UART_STATUS); in meson_receive_chars() 190 if (status & AML_UART_ERR) { in meson_receive_chars() 191 if (status & AML_UART_TX_FIFO_WERR) in meson_receive_chars() 193 else if (status & AML_UART_FRAME_ERR) in meson_receive_chars() 195 else if (status & AML_UART_PARITY_ERR) in meson_receive_chars() 206 status &= port->read_status_mask; in meson_receive_chars() 207 if (status & AML_UART_FRAME_ERR) in meson_receive_chars() 209 else if (status & AML_UART_PARITY_ERR) in meson_receive_chars() 226 if ((status in meson_receive_chars() [all...] |
H A D | st-asc.c | 68 * Some of status comes from higher bits of the character and some come from 69 * the status register. Combining both of them in to single status using dummy 223 u32 status = asc_in(port, ASC_STA); in asc_hw_txroom() local 225 if (status & ASC_STA_THE) in asc_hw_txroom() 227 else if (!(status & ASC_STA_TF)) in asc_hw_txroom() 251 unsigned long status, mode; in asc_receive_chars() local 268 while ((status = asc_in(port, ASC_STA)) & ASC_STA_RBF) { in asc_receive_chars() 273 if (status & ASC_STA_OE || c & ASC_RXBUF_FE || in asc_receive_chars() 292 if (status in asc_receive_chars() 320 u32 status; asc_interrupt() local [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-bcm63xx-hsspi.c | 174 /* clear interrupt status to avoid spurious int on next transfer */ in wait_mode_store() 245 /* polling mode checks for status busy bit */ in bcm63xx_hsspi_wait_cmd() 583 int status = -EINVAL; in bcm63xx_hsspi_do_dummy_cs_txrx() local 622 status = bcm63xx_hsspi_do_txrx(spi, t); in bcm63xx_hsspi_do_dummy_cs_txrx() 623 if (status) in bcm63xx_hsspi_do_dummy_cs_txrx() 650 if (status || !keep_cs) in bcm63xx_hsspi_do_dummy_cs_txrx() 653 return status; in bcm63xx_hsspi_do_dummy_cs_txrx() 661 int status = -EINVAL; in bcm63xx_hsspi_transfer_one() local 671 status = bcm63xx_hsspi_do_prepend_txrx(spi, &t_prepend); in bcm63xx_hsspi_transfer_one() 677 status in bcm63xx_hsspi_transfer_one() [all...] |
/kernel/linux/linux-6.6/drivers/usb/phy/ |
H A D | phy-fsl-usb.c | 422 /* Remove timer from the timer list; clear timeout status */ 775 int status; in fsl_otg_conf() local 794 status = fsl_otg_init_timers(&fsl_otg_tc->fsm); in fsl_otg_conf() 795 if (status) { in fsl_otg_conf() 817 status = usb_add_phy(&fsl_otg_tc->phy, USB_PHY_TYPE_USB2); in fsl_otg_conf() 818 if (status) { in fsl_otg_conf() 828 return status; in fsl_otg_conf() 837 int status; in usb_otg_start() local 878 status = request_irq(p_otg->irq, fsl_otg_isr, in usb_otg_start() 880 if (status) { in usb_otg_start() [all...] |
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | transport.c | 28 * status of a command. 119 int status; in usb_stor_msg_common() local 143 status = usb_submit_urb(us->current_urb, GFP_NOIO); in usb_stor_msg_common() 144 if (status) { in usb_stor_msg_common() 146 return status; in usb_stor_msg_common() 177 /* return the URB status */ in usb_stor_msg_common() 178 return us->current_urb->status; in usb_stor_msg_common() 189 int status; in usb_stor_control_msg() local 205 status = usb_stor_msg_common(us, timeout); in usb_stor_control_msg() 208 if (status in usb_stor_control_msg() [all...] |
/kernel/linux/linux-6.6/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.c | 165 vdpasim->status = 0; in vdpasim_do_reset() 314 (vdpasim->status & VIRTIO_CONFIG_S_DRIVER_OK)) { in vdpasim_kick_vq() 465 u8 status; in vdpasim_get_status() local 468 status = vdpasim->status; in vdpasim_get_status() 471 return status; in vdpasim_get_status() 474 static void vdpasim_set_status(struct vdpa_device *vdpa, u8 status) in vdpasim_set_status() argument 479 vdpasim->status = status; in vdpasim_set_status() 480 vdpasim->running = (status in vdpasim_set_status() [all...] |
/kernel/linux/linux-6.6/drivers/clk/at91/ |
H A D | clk-master.c | 49 unsigned int status; in clk_master_ready() local 51 regmap_read(master->regmap, AT91_PMC_SR, &status); in clk_master_ready() 53 return !!(status & bit); in clk_master_ready() 75 bool status; in clk_master_is_prepared() local 78 status = clk_master_ready(master); in clk_master_is_prepared() 81 return status; in clk_master_is_prepared() 689 unsigned int status) in clk_sama7g5_master_set() 693 unsigned int enable = status ? AT91_PMC_MCR_V2_EN : 0; in clk_sama7g5_master_set() 785 master->pms.status = clk_sama7g5_master_is_enabled(hw); in clk_sama7g5_master_save_context() 794 if (master->pms.status) in clk_sama7g5_master_restore_context() 688 clk_sama7g5_master_set(struct clk_master *master, unsigned int status) clk_sama7g5_master_set() argument [all...] |
/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | ctrl.c | 96 * @status - descriptor status, after being run 103 u32 *status) in run_descriptor_deco0() 168 * the DECO status field will be set to 0x0D in run_descriptor_deco0() 176 *status = rd_reg32(&deco->op_status_hi) & in run_descriptor_deco0() 195 * @state_handle_mask - bitmask containing the instantiation status 206 u32 *desc, status; in deinstantiate_rng() local 227 ret = run_descriptor_deco0(ctrldev, desc, &status); in deinstantiate_rng() 230 (status && status ! in deinstantiate_rng() 102 run_descriptor_deco0(struct device *ctrldev, u32 *desc, u32 *status) run_descriptor_deco0() argument 282 u32 *desc, status = 0, rdsta_val; instantiate_rng() local [all...] |
/kernel/linux/linux-6.6/drivers/dma/ioat/ |
H A D | dma.c | 275 u32 status; in ioat_quiesce() local 277 status = ioat_chansts(ioat_chan); in ioat_quiesce() 278 if (is_ioat_active(status) || is_ioat_idle(status)) in ioat_quiesce() 280 while (is_ioat_active(status) || is_ioat_idle(status)) { in ioat_quiesce() 285 status = ioat_chansts(ioat_chan); in ioat_quiesce() 589 * @phys_complete: zeroed (or not) completion address (from status) 604 * channel status will be 0 due to starting a new chain. Since in __ioat_cleanup() 906 u64 status; in ioat_timer_event() local 959 status, chanerr); ioat_timer_event() local [all...] |
/kernel/linux/linux-6.6/drivers/dma/xilinx/ |
H A D | zynqmp_dma.c | 208 * @idle : Channel status; 524 * @status: Interrupt status value 526 static void zynqmp_dma_handle_ovfl_int(struct zynqmp_dma_chan *chan, u32 status) in zynqmp_dma_handle_ovfl_int() argument 528 if (status & ZYNQMP_DMA_BYTE_CNT_OVRFL) in zynqmp_dma_handle_ovfl_int() 530 if (status & ZYNQMP_DMA_IRQ_DST_ACCT_ERR) in zynqmp_dma_handle_ovfl_int() 532 if (status & ZYNQMP_DMA_IRQ_SRC_ACCT_ERR) in zynqmp_dma_handle_ovfl_int() 718 u32 isr, imr, status; in zynqmp_dma_irq_handler() local 723 status = isr & ~imr; in zynqmp_dma_irq_handler() 726 if (status in zynqmp_dma_irq_handler() [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | sungem_phy.c | 15 * to read the link status. Figure out why and if it makes 376 u16 status; in genmii_poll_link() local 379 status = sungem_phy_read(phy, MII_BMSR); in genmii_poll_link() 380 if ((status & BMSR_LSTATUS) == 0) in genmii_poll_link() 382 if (phy->autoneg && !(status & BMSR_ANEGCOMPLETE)) in genmii_poll_link() 845 u16 status, pmask; in marvell_read_link() local 848 status = sungem_phy_read(phy, MII_M1011_PHY_SPEC_STATUS); in marvell_read_link() 849 if ((status & MII_M1011_PHY_SPEC_STATUS_RESOLVED) == 0) in marvell_read_link() 851 if (status & MII_M1011_PHY_SPEC_STATUS_1000) in marvell_read_link() 853 else if (status in marvell_read_link() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | s5h1411.c | 650 static int s5h1411_read_status(struct dvb_frontend *fe, enum fe_status *status) in s5h1411_read_status() argument 656 *status = 0; in s5h1411_read_status() 665 *status |= FE_HAS_SYNC | FE_HAS_LOCK; in s5h1411_read_status() 667 *status |= FE_HAS_VITERBI | FE_HAS_CARRIER | FE_HAS_SIGNAL; in s5h1411_read_status() 673 *status |= FE_HAS_SYNC | FE_HAS_LOCK; in s5h1411_read_status() 675 *status |= FE_HAS_VITERBI | FE_HAS_CARRIER | FE_HAS_SIGNAL; in s5h1411_read_status() 679 *status |= FE_HAS_SIGNAL; in s5h1411_read_status() 688 if (*status & FE_HAS_VITERBI) in s5h1411_read_status() 689 *status |= FE_HAS_CARRIER | FE_HAS_SIGNAL; in s5h1411_read_status() 692 /* Get the tuner status */ in s5h1411_read_status() [all...] |
H A D | tc90522.c | 124 static int tc90522s_read_status(struct dvb_frontend *fe, enum fe_status *status) in tc90522s_read_status() argument 135 *status = 0; in tc90522s_read_status() 138 *status |= FE_HAS_SIGNAL; in tc90522s_read_status() 142 *status |= FE_HAS_CARRIER | FE_HAS_VITERBI | FE_HAS_SYNC; in tc90522s_read_status() 148 *status |= FE_HAS_LOCK; in tc90522s_read_status() 152 static int tc90522t_read_status(struct dvb_frontend *fe, enum fe_status *status) in tc90522t_read_status() argument 163 *status = 0; in tc90522t_read_status() 165 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_VITERBI in tc90522t_read_status() 176 *status |= FE_HAS_SIGNAL | FE_HAS_CARRIER; in tc90522t_read_status() 180 *status | in tc90522t_read_status() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/ |
H A D | interrupt.c | 122 clear_bit(wil_status_irqen, wil->status); in wil6210_mask_irq_pseudo() 172 set_bit(wil_status_irqen, wil->status); in wil6210_unmask_irq_pseudo() 319 if (likely(test_bit(wil_status_fwready, wil->status))) { in wil6210_irq_rx() 320 if (likely(test_bit(wil_status_napi_en, wil->status))) { in wil6210_irq_rx() 369 wil_dbg_irq(wil, "RX status ring\n"); in wil6210_irq_rx_edma() 371 if (likely(test_bit(wil_status_fwready, wil->status))) { in wil6210_irq_rx_edma() 372 if (likely(test_bit(wil_status_napi_en, wil->status))) { in wil6210_irq_rx_edma() 420 wil_dbg_irq(wil, "TX status ring\n"); in wil6210_irq_tx_edma() 422 if (likely(test_bit(wil_status_fwready, wil->status))) { in wil6210_irq_tx_edma() 427 wil_err(wil, "Got Tx status rin in wil6210_irq_tx_edma() [all...] |
/kernel/linux/linux-6.6/drivers/net/wan/ |
H A D | wanxl.c | 76 struct card_status *status; /* shared between host and card */ member 88 return &port->card->status->port_status[port->node]; in get_status() 211 while (desc = &card->status->rx_descs[card->rx_in], in wanxl_rx_intr() 522 card->status->rx_descs[i].address, in wanxl_pci_remove_one() 530 if (card->status) in wanxl_pci_remove_one() 532 card->status, card->status_address); in wanxl_pci_remove_one() 611 card->status = dma_alloc_coherent(&pdev->dev, in wanxl_pci_init_one() 614 if (!card->status) { in wanxl_pci_init_one() 702 card->status->rx_descs[i].address = in wanxl_pci_init_one() 719 (void *)&card->status in wanxl_pci_init_one() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/adreno/ |
H A D | a2xx_gpu.c | 319 uint32_t mstatus, status; in a2xx_irq() local 324 status = gpu_read(gpu, REG_A2XX_MH_INTERRUPT_STATUS); in a2xx_irq() 326 dev_warn(gpu->dev->dev, "MH_INT: %08X\n", status); in a2xx_irq() 330 gpu_write(gpu, REG_A2XX_MH_INTERRUPT_CLEAR, status); in a2xx_irq() 334 status = gpu_read(gpu, REG_AXXX_CP_INT_STATUS); in a2xx_irq() 337 if (status & ~AXXX_CP_INT_CNTL_RB_INT_MASK) in a2xx_irq() 338 dev_warn(gpu->dev->dev, "CP_INT: %08X\n", status); in a2xx_irq() 340 gpu_write(gpu, REG_AXXX_CP_INT_ACK, status); in a2xx_irq() 344 status = gpu_read(gpu, REG_A2XX_RBBM_INT_STATUS); in a2xx_irq() 346 dev_warn(gpu->dev->dev, "RBBM_INT: %08X\n", status); in a2xx_irq() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-reg.c | 410 u8 status; in cdn_dp_get_hpd_status() local 419 DPTX_HPD_STATE, sizeof(status)); in cdn_dp_get_hpd_status() 423 ret = cdn_dp_mailbox_read_receive(dp, &status, sizeof(status)); in cdn_dp_get_hpd_status() 427 return status; in cdn_dp_get_hpd_status() 430 DRM_DEV_ERROR(dp->dev, "get hpd status failed: %d\n", ret); in cdn_dp_get_hpd_status() 520 u8 status[10]; in cdn_dp_get_training_status() local 530 sizeof(status)); in cdn_dp_get_training_status() 534 ret = cdn_dp_mailbox_read_receive(dp, status, sizeof(status)); in cdn_dp_get_training_status() [all...] |
/kernel/linux/linux-6.6/drivers/i3c/master/mipi-i3c-hci/ |
H A D | dma.c | 615 DBG("status = %#x", ibi_status); in hci_dma_process_ibi() 739 u32 status; in hci_dma_irq_handler() local 746 status = rh_reg_read(INTR_STATUS); in hci_dma_irq_handler() 747 DBG("rh%d status: %#x", i, status); in hci_dma_irq_handler() 748 if (!status) in hci_dma_irq_handler() 750 rh_reg_write(INTR_STATUS, status); in hci_dma_irq_handler() 752 if (status & INTR_IBI_READY) in hci_dma_irq_handler() 754 if (status & (INTR_TRANSFER_COMPLETION | INTR_TRANSFER_ERR)) in hci_dma_irq_handler() 756 if (status in hci_dma_irq_handler() [all...] |
/kernel/linux/linux-6.6/net/appletalk/ |
H A D | aarp.c | 49 * @status: Used for proxy AARP 61 int status; member 453 iface->status |= ATIF_PROBE_FAIL; in aarp_send_probe_phase1() 475 if (atif->status & ATIF_PROBE_FAIL) in aarp_probe_network() 505 entry->status = ATIF_PROBE; in aarp_proxy_probe_network() 524 if (entry->status & ATIF_PROBE_FAIL) in aarp_proxy_probe_network() 528 if (entry->status & ATIF_PROBE_FAIL) { in aarp_proxy_probe_network() 532 entry->status &= ~ATIF_PROBE; in aarp_proxy_probe_network() 754 if (ifa->status & ATIF_PROBE && in aarp_rcv() 757 ifa->status | in aarp_rcv() [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | rpcb_clnt.c | 148 static void rpcb_wake_rpcbind_waiters(struct rpc_xprt *xprt, int status) in rpcb_wake_rpcbind_waiters() argument 151 rpc_wake_up_status(&xprt->binding, status); in rpcb_wake_rpcbind_waiters() 681 int status; in rpcb_getport_async() local 700 status = 0; in rpcb_getport_async() 718 status = -EAFNOSUPPORT; in rpcb_getport_async() 723 status = -EPFNOSUPPORT; in rpcb_getport_async() 736 status = PTR_ERR(rpcb_clnt); in rpcb_getport_async() 742 status = -ENOMEM; in rpcb_getport_async() 758 status = -ENOMEM; in rpcb_getport_async() 786 rpcb_wake_rpcbind_waiters(xprt, status); in rpcb_getport_async() [all...] |
/third_party/cups-filters/filter/ |
H A D | gstoraster.c | 394 int status = 65536; in gs_spawn() local 498 status = WEXITSTATUS(wstatus); in gs_spawn() 501 status = 256 * WTERMSIG(wstatus); in gs_spawn() 505 return status; in gs_spawn() 640 int status = 1; in main() local 741 status = 0; in main() 754 status = 0; in main() 776 /* Check status of color management in CUPS */ in main() 1031 status = gs_spawn (tmpstr, gs_args, envp, fp); in main() 1032 if (status ! in main() [all...] |
/third_party/googletest/googletest/test/ |
H A D | googletest-death-test-test.cc | 227 // On Windows, the process's exit code is the same as its exit status, in TEST() 238 // Returns the exit status of a process that calls _exit(2) with a 246 int status; in NormalExitStatus() local 247 waitpid(child_pid, &status, 0); in NormalExitStatus() 248 return status; in NormalExitStatus() 251 // Returns the exit status of a process that raises a given signal. 253 // instead the exit status of a process that exits normally with exit 262 int status; in KilledExitStatus() local 263 waitpid(child_pid, &status, 0); in KilledExitStatus() 264 return status; in KilledExitStatus() 983 MockDeathTest(MockDeathTestFactory* parent, TestRole role, int status, bool passed) MockDeathTest() argument 1022 SetParameters(bool create, DeathTest::TestRole role, int status, bool passed) SetParameters() argument [all...] |
/third_party/mksh/ |
H A D | check.pl | 120 # signal, and status code). 634 $status = $?; 645 $ret = &eval_exit($test{'long-name'}, $status, $test{'expected-exit'}); 651 if (($status & 0xff) == 0x7f) { 653 } elsif (($status & 0xff)) { 654 $expl = "signal " . ($status & 0x7f); 656 $expl = "exit-code " . (($status >> 8) & 0xff); 659 "\tunexpected exit status $status ($expl), expected $test{'expected-exit'}\n"; 946 local($name, $status, [all...] |