/kernel/linux/linux-5.10/drivers/parisc/ |
H A D | dino.c | 708 unsigned long status; in dino_card_init() local 710 status = __raw_readl(dino_dev->hba.base_addr+DINO_IO_STATUS); in dino_card_init() 711 if (status & 0x0000ff80) { in dino_card_init() 835 int status; in dino_common_init() local 863 status = request_irq(dev->irq, dino_isr, 0, name, dino_dev); in dino_common_init() 864 if (status) { in dino_common_init() 866 name, status); in dino_common_init()
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | hp-wmi.c | 533 acpi_status status; in hp_wmi_notify() local 537 status = wmi_get_event_data(value, &response); in hp_wmi_notify() 538 if (status != AE_OK) { in hp_wmi_notify() 539 pr_info("bad event status 0x%x\n", status); in hp_wmi_notify() 646 acpi_status status; in hp_wmi_input_setup() local 685 status = wmi_install_notify_handler(HPWMI_EVENT_GUID, hp_wmi_notify, NULL); in hp_wmi_input_setup() 686 if (ACPI_FAILURE(status)) { in hp_wmi_input_setup()
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
H A D | zr36060.c | 80 * status read 84 /* status is kept in datastructure */ 87 ptr->status = zr36060_read(ptr, ZR060_CFSR); in zr36060_read_status() 90 return ptr->status; in zr36060_read_status() 113 "%s: timeout at wait_end (last status: 0x%02x)\n", in zr36060_wait_end() 114 ptr->name, ptr->status); in zr36060_wait_end() 130 if (ptr->status & ZR060_CFSR_BUSY) { in zr36060_basic_test() 447 dprintk(2, "%s: Status after table preload: 0x%02x\n", ptr->name, ptr->status); in zr36060_init() 449 if (ptr->status & ZR060_CFSR_BUSY) { in zr36060_init() 649 case CODEC_G_STATUS: /* get last status */ in zr36060_control() [all...] |
/kernel/linux/linux-5.10/drivers/staging/qlge/ |
H A D | qlge_ethtool.c | 187 int i, status = 0; in ql_update_ring_coalescing() local 192 return status; in ql_update_ring_coalescing() 207 status = ql_write_cfg(qdev, cqicb, sizeof(*cqicb), in ql_update_ring_coalescing() 209 if (status) { in ql_update_ring_coalescing() 228 status = ql_write_cfg(qdev, cqicb, sizeof(*cqicb), in ql_update_ring_coalescing() 230 if (status) { in ql_update_ring_coalescing() 238 return status; in ql_update_ring_coalescing() 259 "Error reading status register 0x%.04x.\n", in ql_update_stats() 274 "Error reading status register 0x%.04x.\n", in ql_update_stats() 292 "Error reading status registe in ql_update_stats() [all...] |
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-dln2.c | 656 int status; in dln2_spi_transfer_one() local 659 status = dln2_spi_transfer_setup(dln2, xfer->speed_hz, in dln2_spi_transfer_one() 662 if (status < 0) { in dln2_spi_transfer_one() 664 return status; in dln2_spi_transfer_one() 670 status = dln2_spi_rdwr(dln2, xfer->tx_buf, xfer->rx_buf, in dln2_spi_transfer_one() 672 if (status < 0) in dln2_spi_transfer_one() 675 return status; in dln2_spi_transfer_one()
|
/kernel/linux/linux-6.6/drivers/misc/cardreader/ |
H A D | rtsx_usb.c | 59 ret = ucr->current_sg.status; in rtsx_usb_bulk_transfer_sglist() 265 static int rtsx_usb_get_status_with_bulk(struct rtsx_ucr *ucr, u16 *status) in rtsx_usb_get_status_with_bulk() argument 280 *status = ((ucr->rsp_buf[0] >> 2) & 0x0f) | in rtsx_usb_get_status_with_bulk() 286 int rtsx_usb_get_card_status(struct rtsx_ucr *ucr, u16 *status) in rtsx_usb_get_card_status() argument 291 if (!status) in rtsx_usb_get_card_status() 304 *status = *buf; in rtsx_usb_get_card_status() 308 ret = rtsx_usb_get_status_with_bulk(ucr, status); in rtsx_usb_get_card_status() 499 * If get status fails, return 0 (ok) for the exclusive check in rtsx_usb_card_exclusive_check()
|
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | lpc32xx_slc.c | 490 int i, status = 0; in lpc32xx_xfer() local 563 status = -EIO; in lpc32xx_xfer() 580 status = -EIO; in lpc32xx_xfer() 593 return status; in lpc32xx_xfer() 606 int stat, i, status, error; in lpc32xx_nand_read_page_syndrome() local 613 status = lpc32xx_xfer(mtd, buf, chip->ecc.steps, 1); in lpc32xx_nand_read_page_syndrome() 640 return status; in lpc32xx_nand_read_page_syndrome()
|
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/ |
H A D | efct_xport.c | 104 efct_xport_link_stats_cb(int status, u32 num_counters, in efct_xport_link_stats_cb() argument 124 efct_xport_host_stats_cb(int status, u32 num_counters, in efct_xport_host_stats_cb() argument 142 efct_xport_async_link_stats_cb(int status, u32 num_counters, in efct_xport_async_link_stats_cb() argument 161 efct_xport_async_host_stats_cb(int status, u32 num_counters, in efct_xport_async_host_stats_cb() argument 286 /* Determine port status based on link speed. */ in efct_xport_status() 729 union efct_xport_stats_u status; in efct_get_host_port_state() local 732 rc = efct_xport_status(efct->xport, EFCT_XPORT_PORT_STATUS, &status); in efct_get_host_port_state() 733 if ((!rc) && (status.value == EFCT_XPORT_PORT_ONLINE)) in efct_get_host_port_state()
|
/kernel/linux/linux-6.6/drivers/staging/qlge/ |
H A D | qlge_ethtool.c | 188 int i, status = 0; in qlge_update_ring_coalescing() local 193 return status; in qlge_update_ring_coalescing() 208 status = qlge_write_cfg(qdev, cqicb, sizeof(*cqicb), in qlge_update_ring_coalescing() 210 if (status) { in qlge_update_ring_coalescing() 229 status = qlge_write_cfg(qdev, cqicb, sizeof(*cqicb), in qlge_update_ring_coalescing() 231 if (status) { in qlge_update_ring_coalescing() 239 return status; in qlge_update_ring_coalescing() 260 "Error reading status register 0x%.04x.\n", in qlge_update_stats() 275 "Error reading status register 0x%.04x.\n", in qlge_update_stats() 293 "Error reading status registe in qlge_update_stats() [all...] |
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | max3100.c | 87 /* the following simulate a status reg for ignore_status_mask */ 104 int rts; /* rts status */ 195 int status; in max3100_sr() local 205 status = spi_sync(s->spi, &message); in max3100_sr() 206 if (status) { in max3100_sr() 218 unsigned int status = 0; in max3100_handlerx() local 228 status |= MAX3100_STATUS_FE; in max3100_handlerx() 237 status |= MAX3100_STATUS_PE; in max3100_handlerx() 244 uart_insert_char(&s->port, status, MAX3100_STATUS_OE, ch, flg); in max3100_handlerx()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-dln2.c | 658 int status; in dln2_spi_transfer_one() local 661 status = dln2_spi_transfer_setup(dln2, xfer->speed_hz, in dln2_spi_transfer_one() 664 if (status < 0) { in dln2_spi_transfer_one() 666 return status; in dln2_spi_transfer_one() 672 status = dln2_spi_rdwr(dln2, xfer->tx_buf, xfer->rx_buf, in dln2_spi_transfer_one() 674 if (status < 0) in dln2_spi_transfer_one() 677 return status; in dln2_spi_transfer_one()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | scsi_ioctl.c | 381 hdr->status = scmd->result & 0xff; in scsi_complete_sghdr_rq() 386 if (scsi_status_is_check_condition(hdr->status)) in scsi_complete_sghdr_rq() 502 * bytes in one int) where the lowest byte is the SCSI status. 595 err = scmd->result & 0xff; /* only 8 bit SCSI status */ in sg_scsi_ioctl() 635 .status = hdr->status, in put_sg_io_hdr() 683 .status = hdr32.status, in get_sg_io_hdr() 824 if (hdr.status) in scsi_cdrom_send_packet()
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | bq2515x_charger.c | 572 unsigned int status; in bq2515x_charging_status() local 580 ret = regmap_read(bq2515x->regmap, BQ2515X_STAT0, &status); in bq2515x_charging_status() 589 if (((status & BQ2515X_STAT0_MASK) == true) & in bq2515x_charging_status() 590 ((status & BQ2515X_CHRG_DONE) == false)) { in bq2515x_charging_status() 593 } else if (status & BQ2515X_CHRG_DONE) { in bq2515x_charging_status() 601 ret = regmap_read(bq2515x->regmap, BQ2515X_STAT1, &status); in bq2515x_charging_status() 608 if ((status & BQ2515X_STAT1_MASK) == false) in bq2515x_charging_status() 616 * If there are no faults and charging is enabled, then status is in bq2515x_charging_status() 617 * charging. Otherwise, if charging is complete, then status is full. in bq2515x_charging_status() 618 * Otherwise, if a fault exists or charging is disabled, then status i in bq2515x_charging_status() [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target_erl1.c | 619 if (first_pdu[i].status == ISCSI_PDU_RECEIVED_OK) { in iscsit_dataout_datapduinorder_no_fbit() 640 if (first_pdu[i].status != ISCSI_PDU_NOT_RECEIVED) in iscsit_dataout_datapduinorder_no_fbit() 684 if (pdu->status != ISCSI_PDU_RECEIVED_OK) in iscsit_recalculate_dataout_values() 696 pdu->status = ISCSI_PDU_NOT_RECEIVED; in iscsit_recalculate_dataout_values() 716 seq->status = DATAOUT_SEQUENCE_WITHIN_COMMAND_RECOVERY; in iscsit_recalculate_dataout_values() 724 if (pdu->status != ISCSI_PDU_RECEIVED_OK) in iscsit_recalculate_dataout_values() 727 pdu->status = ISCSI_PDU_NOT_RECEIVED; in iscsit_recalculate_dataout_values() 900 * Go ahead and send the CHECK_CONDITION status for in iscsit_execute_cmd()
|
/kernel/linux/linux-6.6/drivers/vfio/ |
H A D | group.c | 350 struct vfio_group_status status; in vfio_group_ioctl_get_status() local 352 if (copy_from_user(&status, arg, minsz)) in vfio_group_ioctl_get_status() 355 if (status.argsz < minsz) in vfio_group_ioctl_get_status() 358 status.flags = 0; in vfio_group_ioctl_get_status() 374 status.flags |= VFIO_GROUP_FLAGS_CONTAINER_SET | in vfio_group_ioctl_get_status() 377 status.flags |= VFIO_GROUP_FLAGS_VIABLE; in vfio_group_ioctl_get_status() 380 if (copy_to_user(arg, &status, minsz)) in vfio_group_ioctl_get_status()
|
/kernel/linux/linux-6.6/drivers/clk/at91/ |
H A D | clk-sam9x60-pll.c | 62 unsigned int status; in sam9x60_pll_ready() local 64 regmap_read(regmap, AT91_PMC_PLL_ISR0, &status); in sam9x60_pll_ready() 66 return !!(status & BIT(id)); in sam9x60_pll_ready() 300 frac->pms.status = sam9x60_pll_ready(core->regmap, core->id); in sam9x60_frac_pll_save_context() 310 if (frac->pms.status) in sam9x60_frac_pll_restore_context() 532 div->pms.status = sam9x60_div_pll_is_prepared(hw); in sam9x60_div_pll_save_context() 542 if (div->pms.status) in sam9x60_div_pll_restore_context()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_dmcu.c | 383 bool status = false; in dcn10_dmcu_init() local 409 status = false; in dcn10_dmcu_init() 444 status = true; in dcn10_dmcu_init() 446 status = false; in dcn10_dmcu_init() 451 status = true; in dcn10_dmcu_init() 454 status = false; in dcn10_dmcu_init() 459 return status; in dcn10_dmcu_init()
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | libata.h | 259 __field( unsigned char, status ) 279 __entry->status = qc->result_tf.command; 294 TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \ 298 __parse_status(__entry->status), 299 __entry->status, __entry->error, __entry->nsect, 636 TP_PROTO(struct ata_queued_cmd *qc, unsigned char status), 638 TP_ARGS(qc, status), 657 __entry->dev_state = status;
|
/kernel/linux/linux-6.6/drivers/dma/mediatek/ |
H A D | mtk-hsdma.c | 306 u32 status = 0; in mtk_hsdma_busy_wait() local 308 return readl_poll_timeout(hsdma->base + MTK_HSDMA_GLO, status, in mtk_hsdma_busy_wait() 309 !(status & MTK_HSDMA_GLO_BUSY), in mtk_hsdma_busy_wait() 526 * to know detail descriptor status on the hardware. in mtk_hsdma_issue_vchan_pending() 541 u32 status; in mtk_hsdma_free_rooms_in_ring() local 544 /* Read IRQ status */ in mtk_hsdma_free_rooms_in_ring() 545 status = mtk_dma_read(hsdma, MTK_HSDMA_INT_STATUS); in mtk_hsdma_free_rooms_in_ring() 546 if (unlikely(!(status & MTK_HSDMA_INT_RXDONE))) in mtk_hsdma_free_rooms_in_ring() 629 mtk_dma_write(hsdma, MTK_HSDMA_INT_STATUS, status); in mtk_hsdma_free_rooms_in_ring()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | xgmac.c | 538 int status; in t3b2_mac_watchdog_task() local 540 status = 0; in t3b2_mac_watchdog_task() 562 status = 2; in t3b2_mac_watchdog_task() 565 status = 1; in t3b2_mac_watchdog_task() 578 if (status == 1) { in t3b2_mac_watchdog_task() 584 } else if (status == 2) { in t3b2_mac_watchdog_task() 588 return status; in t3b2_mac_watchdog_task()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | tda10048.c | 783 static int tda10048_read_status(struct dvb_frontend *fe, enum fe_status *status) in tda10048_read_status() argument 788 *status = 0; in tda10048_read_status() 792 dprintk(1, "%s() status =0x%02x\n", __func__, reg); in tda10048_read_status() 795 *status |= FE_HAS_CARRIER; in tda10048_read_status() 798 *status |= FE_HAS_SIGNAL; in tda10048_read_status() 801 *status |= FE_HAS_LOCK; in tda10048_read_status() 802 *status |= FE_HAS_VITERBI; in tda10048_read_status() 803 *status |= FE_HAS_SYNC; in tda10048_read_status()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | power.c | 131 if (test_bit(IWL_MVM_STATUS_IN_D3, &mvm->status) || in iwl_mvm_power_configure_uapsd() 156 if (!test_bit(IWL_MVM_STATUS_IN_D3, &mvm->status)) in iwl_mvm_power_configure_uapsd() 191 test_bit(IWL_MVM_STATUS_IN_D3, &mvm->status) ? in iwl_mvm_power_configure_uapsd() 321 if (!test_bit(IWL_MVM_STATUS_IN_D3, &mvm->status)) { in iwl_mvm_power_config_skip_dtim() 388 if (test_bit(IWL_MVM_STATUS_IN_D3, &mvm->status)) { in iwl_mvm_power_build_cmd() 484 if (test_bit(IWL_MVM_STATUS_IN_D3, &mvm->status) ? in iwl_mvm_power_update_device() 909 if (test_bit(IWL_MVM_STATUS_IN_D3, &mvm->status)) in iwl_mvm_power_set_ba()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | usb.c | 151 urb->status); in carl9170_usb_submit_data_urb() 178 switch (urb->status) { in carl9170_usb_tx_data_complete() 201 urb->status); in carl9170_usb_tx_data_complete() 249 switch (urb->status) { in carl9170_usb_cmd_complete() 262 err = urb->status; in carl9170_usb_cmd_complete() 284 switch (urb->status) { in carl9170_usb_rx_irq_complete() 408 switch (urb->status) { in carl9170_usb_rx_complete()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-trans.h | 284 * enum iwl_wowlan_status - WoWLAN image/device status 294 * enum iwl_trans_status: transport status flags 508 * talk to the WoWLAN image to get its status. This is optional, if not 583 int (*d3_resume)(struct iwl_trans *trans, enum iwl_d3_status *status, 779 * @imr_enable: imr enable status received from fw 1040 * @status: a bit-mask of transport status flags 1086 unsigned long status; member 1198 clear_bit(STATUS_FW_ERROR, &trans->status); in iwl_trans_start_fw() 1226 enum iwl_d3_status *status, in iwl_trans_d3_resume() 1225 iwl_trans_d3_resume(struct iwl_trans *trans, enum iwl_d3_status *status, bool test, bool reset) iwl_trans_d3_resume() argument [all...] |
/kernel/linux/linux-6.6/drivers/of/ |
H A D | fdt.c | 85 const char *status = fdt_getprop(blob, node, "status", NULL); in of_fdt_device_is_available() local 87 if (!status) in of_fdt_device_is_available() 90 if (!strcmp(status, "ok") || !strcmp(status, "okay")) in of_fdt_device_is_available() 1311 bool status; in early_init_dt_scan() local 1313 status = early_init_dt_verify(params); in early_init_dt_scan() 1314 if (!status) in early_init_dt_scan()
|