/kernel/liteos_a/kernel/extended/perf/ |
H A D | los_perf.c | 164 PRINT_ERR("percpu status err %d\n", g_perfCb.pmuStatusPerCpu[cpuid]); in OsPerfStart() 190 PRINT_ERR("percpu status err %d\n", g_perfCb.pmuStatusPerCpu[cpuid]); in OsPerfStop() 365 if (g_perfCb.status != PERF_UNINIT) { in OsPerfInit() 380 g_perfCb.status = PERF_STOPPED; in OsPerfInit() 434 if (g_perfCb.status != PERF_STOPPED) { in LOS_PerfConfig() 436 PRINT_ERR("perf config status error : 0x%x\n", g_perfCb.status); in LOS_PerfConfig() 461 if (g_perfCb.status != PERF_STOPPED) { in LOS_PerfStart() 462 PRINT_ERR("perf start status error : 0x%x\n", g_perfCb.status); in LOS_PerfStart() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfi_ms.h | 110 u8 cfg_success; /* cfg reply status */ 145 u8 status; /* updateq status */ member 190 u8 faa_status; /* FAA status */ 201 u8 status; /* updateq status */ member 245 u8 status; /* port enable status */ member 366 u8 req_status; /* request status */ 427 u8 status; member 455 u8 status; global() member 515 u8 status; /* rport creation status */ global() member 538 u8 status; /* rport deletion status */ global() member 553 u8 status; /*!< scn online status */ global() member 600 u8 status; /* fcp request status */ global() member 614 u8 status; /* fcp request status */ global() member [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | ps3rom.c | 246 static int decode_lv1_status(u64 status, unsigned char *sense_key, in decode_lv1_status() argument 249 if (((status >> 24) & 0xff) != SAM_STAT_CHECK_CONDITION) in decode_lv1_status() 252 *sense_key = (status >> 16) & 0xff; in decode_lv1_status() 253 *asc = (status >> 8) & 0xff; in decode_lv1_status() 254 *ascq = status & 0xff; in decode_lv1_status() 265 u64 tag, status; in ps3rom_interrupt() local 268 res = lv1_storage_get_async_status(dev->sbd.dev_id, &tag, &status); in ps3rom_interrupt() 270 * status = -1 may mean that ATAPI transport completed OK, but in ps3rom_interrupt() 281 dev_err(&dev->sbd.core, "%s:%u: res=%d status=0x%llx\n", in ps3rom_interrupt() 282 __func__, __LINE__, res, status); in ps3rom_interrupt() [all...] |
/kernel/linux/linux-6.6/sound/soc/ti/ |
H A D | omap-mcbsp-st.c | 241 ssize_t status = 0; in st_taps_show() local 246 status += sysfs_emit_at(buf, status, (i ? ", %d" : "%d"), in st_taps_show() 249 status += sysfs_emit_at(buf, status, "\n"); in st_taps_show() 252 return status; in st_taps_show() 261 int val, tmp, status, i = 0; in st_taps_store() local 268 status = sscanf(buf, "%d%n", &val, &tmp); in st_taps_store() 269 if (status < 0 || status in st_taps_store() [all...] |
/test/xts/hats/kernel/madvise/ |
H A D | MadviseApiTest.cpp | 257 int status = 0; in HWTEST_F() local 272 waitpid(0, &status, 0); in HWTEST_F() 302 int status = 0; in HWTEST_F() local 319 waitpid(0, &status, 0); in HWTEST_F() 333 int status = 0; in HWTEST_F() local 354 waitpid(0, &status, 0); in HWTEST_F() 371 int status = 0; in HWTEST_F() local 394 waitpid(0, &status, 0); in HWTEST_F() 411 int status = 0; in HWTEST_F() local 438 waitpid(0, &status, in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aacraid/ |
H A D | aachba.c | 230 static char *aac_get_status_string(u32 status); 356 * Query config status, and commit the configuration if needed. 360 int status = 0; in aac_get_config_status() local 376 status = aac_fib_send(ContainerCommand, in aac_get_config_status() 382 if (status < 0) { in aac_get_config_status() 388 "aac_get_config_status: response=%d status=%d action=%d\n", in aac_get_config_status() 390 le32_to_cpu(reply->status), in aac_get_config_status() 393 (le32_to_cpu(reply->status) != CT_OK) || in aac_get_config_status() 396 status = -EINVAL; in aac_get_config_status() 400 if (status > in aac_get_config_status() 454 int status = 0; aac_get_containers() local 570 int status; aac_get_container_name() local 686 int status; _aac_probe_container1() local 736 int status = -ENOMEM; _aac_probe_container() local 810 int status; aac_probe_container() local 1106 int status; aac_get_container_serial() local 2413 int status; aac_read() local 2515 int status; aac_write() local 2644 int status; aac_synchronize() local 2711 int status; aac_start_stop() local 3754 int status; aac_send_srb_fib() local 3795 int status; aac_send_hba_fib() local 4149 u32 status; global() member 4189 aac_get_status_string(u32 status) aac_get_status_string() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.c | 368 psb->status = IOSTAT_SUCCESS; in lpfc_new_scsi_buf_s3() 460 psb->status = IOSTAT_SUCCESS; in lpfc_sli4_io_xri_aborted() 1544 int i = 0, num_bde = 0, status; in lpfc_bg_setup_bpl() local 1553 status = lpfc_sc_to_bg_opcodes(phba, sc, &txop, &rxop); in lpfc_bg_setup_bpl() 1554 if (status) in lpfc_bg_setup_bpl() 1691 int status; in lpfc_bg_setup_bpl_prot() local 1713 status = lpfc_sc_to_bg_opcodes(phba, sc, &txop, &rxop); in lpfc_bg_setup_bpl_prot() 1714 if (status) in lpfc_bg_setup_bpl_prot() 1929 int i = 0, status; in lpfc_bg_setup_sgl() local 1942 status in lpfc_bg_setup_sgl() 2116 int status; lpfc_bg_setup_sgl_prot() local 2872 u32 status; lpfc_parse_bg_err() local 5516 int ret = SUCCESS, status = 0; lpfc_abort_handler() local 5786 int status; lpfc_send_taskmgmt() local 5980 int status; lpfc_device_reset_handler() local 6058 int status; lpfc_target_reset_handler() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/ |
H A D | 3c59x.c | 436 and status registers available in each. 463 /* Bits in the general status register. */ 545 __le32 status; member 549 /* Values for the Rx status entry. */ 565 __le32 status; /* bits 0:12 length, others see below. */ member 577 /* Values for the Tx status entry. */ 613 void __iomem *cb_fn_base; /* CardBus function status addr space. */ 725 int wait; /* Time before we check media status. */ 1410 pr_info(" MII transceiver found at address %d, status %4x.\n", in vortex_probe1() 1628 pr_debug("%s: vortex_up() irq %d media status in vortex_up() 1937 vortex_error(struct net_device *dev, int status) vortex_error() argument 2256 int status; _vortex_interrupt() local 2372 int status; _boomerang_interrupt() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/3com/ |
H A D | 3c59x.c | 436 and status registers available in each. 463 /* Bits in the general status register. */ 545 __le32 status; member 549 /* Values for the Rx status entry. */ 565 __le32 status; /* bits 0:12 length, others see below. */ member 577 /* Values for the Tx status entry. */ 613 void __iomem *cb_fn_base; /* CardBus function status addr space. */ 725 int wait; /* Time before we check media status. */ 1412 pr_info(" MII transceiver found at address %d, status %4x.\n", in vortex_probe1() 1630 pr_debug("%s: vortex_up() irq %d media status in vortex_up() 1939 vortex_error(struct net_device *dev, int status) vortex_error() argument 2258 int status; _vortex_interrupt() local 2374 int status; _boomerang_interrupt() local [all...] |
/kernel/linux/linux-5.10/drivers/dma/dw-edma/ |
H A D | dw-edma-core.c | 216 else if (chan->status != EDMA_ST_BUSY) in dw_edma_device_pause() 233 } else if (chan->status != EDMA_ST_PAUSE) { in dw_edma_device_resume() 238 chan->status = EDMA_ST_BUSY; in dw_edma_device_resume() 253 } else if (chan->status == EDMA_ST_PAUSE) { in dw_edma_device_terminate_all() 254 chan->status = EDMA_ST_IDLE; in dw_edma_device_terminate_all() 256 } else if (chan->status == EDMA_ST_IDLE) { in dw_edma_device_terminate_all() 263 chan->status = EDMA_ST_IDLE; in dw_edma_device_terminate_all() 284 chan->status == EDMA_ST_IDLE) { in dw_edma_device_issue_pending() 285 chan->status = EDMA_ST_BUSY; in dw_edma_device_issue_pending() 306 if (ret == DMA_IN_PROGRESS && chan->status in dw_edma_device_tx_status() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/ |
H A D | mac.c | 51 /* The status register reports the correct function number in e1000_set_lan_id_multi_port_pcie() 392 * Checks to see of the link status of the hardware has changed. If a 393 * change in link status has been detected, then we read the PHY registers 403 * has completed and/or if our link status has changed. The in e1000e_check_for_copper_link() 464 u32 status; in e1000e_check_for_fiber_link() local 468 status = er32(STATUS); in e1000e_check_for_fiber_link() 479 if ((ctrl & E1000_CTRL_SWDPIN1) && !(status & E1000_STATUS_LU) && in e1000e_check_for_fiber_link() 529 u32 status; in e1000e_check_for_serdes_link() local 533 status = er32(STATUS); in e1000e_check_for_serdes_link() 543 if (!(status in e1000e_check_for_serdes_link() 790 u32 i, status; e1000_poll_fiber_serdes_link_generic() local 1308 u32 status; e1000e_get_speed_and_duplex_copper() local [all...] |
/kernel/linux/linux-5.10/drivers/net/can/cc770/ |
H A D | cc770.c | 210 /* Clear status register */ in set_reset_mode() 211 cc770_write_reg(priv, status, 0); in set_reset_mode() 224 /* Clear status register and pre-set last error code */ in set_normal_mode() 225 cc770_write_reg(priv, status, STAT_LEC_MASK); in set_normal_mode() 232 * not for status change in set_normal_mode() 258 /* Clear status register */ in chipset_init() 259 cc770_write_reg(priv, status, 0); in chipset_init() 499 static int cc770_err(struct net_device *dev, u8 status) in cc770_err() argument 507 netdev_dbg(dev, "status interrupt (%#x)\n", status); in cc770_err() 584 u8 status; cc770_status_interrupt() local [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | mn88473.c | 237 static int mn88473_read_status(struct dvb_frontend *fe, enum fe_status *status) in mn88473_read_status() argument 260 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | in mn88473_read_status() 264 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER; in mn88473_read_status() 266 *status = 0; in mn88473_read_status() 276 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | in mn88473_read_status() 280 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | in mn88473_read_status() 283 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER; in mn88473_read_status() 285 *status = 0; in mn88473_read_status() 299 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | in mn88473_read_status() 303 *status in mn88473_read_status() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/tw68/ |
H A D | tw68-video.c | 679 i->status |= V4L2_IN_ST_NO_SYNC; in tw68_enum_input() 681 i->status |= V4L2_IN_ST_NO_H_LOCK; in tw68_enum_input() 683 i->status |= V4L2_IN_ST_NO_SIGNAL; in tw68_enum_input() 685 i->status |= V4L2_IN_ST_NO_COLOR; in tw68_enum_input() 687 i->status |= V4L2_IN_ST_MACROVISION; in tw68_enum_input() 971 void tw68_irq_video_done(struct tw68_dev *dev, unsigned long status) in tw68_irq_video_done() argument 976 tw_writel(TW68_INTSTAT, status); in tw68_irq_video_done() 983 if (status & TW68_DMAPI) { in tw68_irq_video_done() 994 status &= ~(TW68_DMAPI); in tw68_irq_video_done() 995 if (0 == status) in tw68_irq_video_done() [all...] |
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target_erl0.c | 104 if (seq->status == in iscsit_dataout_within_command_recovery_check() 110 if (seq->status == in iscsit_dataout_within_command_recovery_check() 116 if (seq->status == DATAOUT_SEQUENCE_COMPLETE) in iscsit_dataout_within_command_recovery_check() 119 if (seq->status != DATAOUT_SEQUENCE_COMPLETE) in iscsit_dataout_within_command_recovery_check() 120 seq->status = 0; in iscsit_dataout_within_command_recovery_check() 253 if (seq->status == DATAOUT_SEQUENCE_COMPLETE) { in iscsit_dataout_check_sequence() 463 switch (pdu->status) { in iscsit_dataout_pre_datapduinorder_no() 509 switch (pdu->status) { in iscsit_dataout_update_datapduinorder_no() 511 pdu->status = ISCSI_PDU_RECEIVED_OK; in iscsit_dataout_update_datapduinorder_no() 514 pdu->status in iscsit_dataout_update_datapduinorder_no() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | ar933x_uart.c | 172 unsigned int status; in ar933x_uart_wait_tx_complete() local 177 status = ar933x_uart_read(up, AR933X_UART_CS_REG); in ar933x_uart_wait_tx_complete() 181 } while (status & AR933X_UART_CS_TX_BUSY); in ar933x_uart_wait_tx_complete() 189 unsigned int status; in ar933x_uart_rx_flush() local 197 status = ar933x_uart_read(up, AR933X_UART_DATA_REG); in ar933x_uart_rx_flush() 198 } while (status & AR933X_UART_DATA_RX_CSR); in ar933x_uart_rx_flush() 450 unsigned int status; in ar933x_uart_interrupt() local 452 status = ar933x_uart_read(up, AR933X_UART_CS_REG); in ar933x_uart_interrupt() 453 if ((status & AR933X_UART_CS_HOST_INT) == 0) in ar933x_uart_interrupt() 458 status in ar933x_uart_interrupt() 611 unsigned int status; ar933x_uart_wait_xmitr() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | sierra.c | 392 int status = urb->status; in sierra_outdat_callback() local 400 if (status) in sierra_outdat_callback() 401 dev_dbg(&port->dev, "%s - nonzero write bulk status " in sierra_outdat_callback() 402 "received: %d\n", __func__, status); in sierra_outdat_callback() 495 "with status = %d\n", __func__, retval); in sierra_write() 529 int status = urb->status; in sierra_indat_callback() local 534 if (status) { in sierra_indat_callback() 535 dev_dbg(&port->dev, "%s: nonzero status in sierra_indat_callback() 564 int status = urb->status; sierra_instat_callback() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/mga/ |
H A D | mga_dma.c | 55 u32 status = 0; in mga_do_wait_for_idle() local 60 status = MGA_READ(MGA_STATUS) & MGA_ENGINE_IDLE_MASK; in mga_do_wait_for_idle() 61 if (status == MGA_ENDPRDMASTS) { in mga_do_wait_for_idle() 70 DRM_INFO(" status=0x%08x\n", status); in mga_do_wait_for_idle() 107 u32 status = 0; in mga_do_dma_flush() local 114 status = MGA_READ(MGA_STATUS) & MGA_ENGINE_IDLE_MASK; in mga_do_dma_flush() 115 if (status == MGA_ENDPRDMASTS) in mga_do_dma_flush() 727 * the cards MMIO registers and map a status page. in mga_do_dma_bootstrap() 739 &dev_priv->status); in mga_do_dma_bootstrap() [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | acpiphp_glue.c | 234 acpi_status status = AE_OK; in acpiphp_add_context() local 241 status = acpi_evaluate_integer(handle, "_ADR", NULL, &adr); in acpiphp_add_context() 242 if (ACPI_FAILURE(status)) { in acpiphp_add_context() 243 if (status != AE_NOT_FOUND) in acpiphp_add_context() 245 "can't evaluate _ADR (%#x)\n", status); in acpiphp_add_context() 308 status = acpi_evaluate_integer(handle, "_SUN", NULL, &sun); in acpiphp_add_context() 309 if (ACPI_FAILURE(status)) in acpiphp_add_context() 579 * get_slot_status - get ACPI slot status 583 * returned non-zero status, return it. 598 acpi_status status; in get_slot_status() local 651 acpi_status status; trim_stale_devices() local 853 acpi_status status; acpiphp_enumerate_slots() local [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-v3-semi.c | 442 u32 status; in v3_irq() local 444 status = readw(v3->base + V3_PCI_STAT); in v3_irq() 445 if (status & V3_PCI_STAT_PAR_ERR) in v3_irq() 447 if (status & V3_PCI_STAT_SYS_ERR) in v3_irq() 449 if (status & V3_PCI_STAT_M_ABORT_ERR) in v3_irq() 451 if (status & V3_PCI_STAT_T_ABORT_ERR) in v3_irq() 453 writew(status, v3->base + V3_PCI_STAT); in v3_irq() 455 status = readb(v3->base + V3_LB_ISTAT); in v3_irq() 456 if (status & V3_LB_ISTAT_MAILBOX) in v3_irq() 458 if (status in v3_irq() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | mn88473.c | 237 static int mn88473_read_status(struct dvb_frontend *fe, enum fe_status *status) in mn88473_read_status() argument 260 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | in mn88473_read_status() 264 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER; in mn88473_read_status() 266 *status = 0; in mn88473_read_status() 276 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | in mn88473_read_status() 280 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | in mn88473_read_status() 283 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER; in mn88473_read_status() 285 *status = 0; in mn88473_read_status() 299 *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | in mn88473_read_status() 303 *status in mn88473_read_status() [all...] |
/kernel/linux/linux-6.6/drivers/net/can/cc770/ |
H A D | cc770.c | 211 /* Clear status register */ in set_reset_mode() 212 cc770_write_reg(priv, status, 0); in set_reset_mode() 225 /* Clear status register and pre-set last error code */ in set_normal_mode() 226 cc770_write_reg(priv, status, STAT_LEC_MASK); in set_normal_mode() 233 * not for status change in set_normal_mode() 259 /* Clear status register */ in chipset_init() 260 cc770_write_reg(priv, status, 0); in chipset_init() 501 static int cc770_err(struct net_device *dev, u8 status) in cc770_err() argument 508 netdev_dbg(dev, "status interrupt (%#x)\n", status); in cc770_err() 584 u8 status; cc770_status_interrupt() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/ |
H A D | mac.c | 51 /* The status register reports the correct function number in e1000_set_lan_id_multi_port_pcie() 392 * Checks to see of the link status of the hardware has changed. If a 393 * change in link status has been detected, then we read the PHY registers 403 * has completed and/or if our link status has changed. The in e1000e_check_for_copper_link() 464 u32 status; in e1000e_check_for_fiber_link() local 468 status = er32(STATUS); in e1000e_check_for_fiber_link() 479 if ((ctrl & E1000_CTRL_SWDPIN1) && !(status & E1000_STATUS_LU) && in e1000e_check_for_fiber_link() 529 u32 status; in e1000e_check_for_serdes_link() local 533 status = er32(STATUS); in e1000e_check_for_serdes_link() 543 if (!(status in e1000e_check_for_serdes_link() 790 u32 i, status; e1000_poll_fiber_serdes_link_generic() local 1308 u32 status; e1000e_get_speed_and_duplex_copper() local [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | ar933x_uart.c | 172 unsigned int status; in ar933x_uart_wait_tx_complete() local 177 status = ar933x_uart_read(up, AR933X_UART_CS_REG); in ar933x_uart_wait_tx_complete() 181 } while (status & AR933X_UART_CS_TX_BUSY); in ar933x_uart_wait_tx_complete() 189 unsigned int status; in ar933x_uart_rx_flush() local 197 status = ar933x_uart_read(up, AR933X_UART_DATA_REG); in ar933x_uart_rx_flush() 198 } while (status & AR933X_UART_DATA_RX_CSR); in ar933x_uart_rx_flush() 447 unsigned int status; in ar933x_uart_interrupt() local 449 status = ar933x_uart_read(up, AR933X_UART_CS_REG); in ar933x_uart_interrupt() 450 if ((status & AR933X_UART_CS_HOST_INT) == 0) in ar933x_uart_interrupt() 455 status in ar933x_uart_interrupt() 601 unsigned int status; ar933x_uart_wait_xmitr() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | apple-gmux.c | 630 * unless we call GMSP(0). Without this, there is a flood of status=0 interrupts 653 u8 status; in gmux_clear_interrupts() local 655 /* to clear interrupts write back current status */ in gmux_clear_interrupts() 656 status = gmux_interrupt_get_status(gmux_data); in gmux_clear_interrupts() 657 gmux_write8(gmux_data, GMUX_PORT_INTERRUPT_STATUS, status); in gmux_clear_interrupts() 658 /* Prevent flood of status=0 interrupts */ in gmux_clear_interrupts() 665 u8 status; in gmux_notify_handler() local 669 status = gmux_interrupt_get_status(gmux_data); in gmux_notify_handler() 671 pr_debug("Notify handler called: status %d\n", status); in gmux_notify_handler() 789 acpi_status status; gmux_probe() local [all...] |