/kernel/linux/linux-5.10/drivers/leds/ |
H A D | leds-lp5523.c | 270 u8 status; in lp5523_init_program_engine() local 306 /* Let the programs run for couple of ms and check the engine status */ in lp5523_init_program_engine() 308 ret = lp55xx_read(chip, LP5523_REG_STATUS, &status); in lp5523_init_program_engine() 311 status &= LP5523_ENG_STATUS_MASK; in lp5523_init_program_engine() 313 if (status != LP5523_ENG_STATUS_MASK) { in lp5523_init_program_engine() 315 "could not configure LED engine, status = 0x%.2x\n", in lp5523_init_program_engine() 316 status); in lp5523_init_program_engine() 585 u8 status, adc, vdd; in lp5523_selftest() local 589 ret = lp55xx_read(chip, LP5523_REG_STATUS, &status); in lp5523_selftest() 595 if ((status in lp5523_selftest() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
H A D | atp.c | 95 timing and control bits. The data is then read from status port or written 108 the status port and written to the data port, just as it is accessing 257 int saved_ctrl_reg, status, i; in atp_probe1() local 285 status = read_nibble(ioaddr, CMR1); in atp_probe1() 288 printk(KERN_DEBUG "atp: Status nibble was %#2.2x..", status); in atp_probe1() 294 if ((status & 0x78) != 0x08) { in atp_probe1() 299 status = read_nibble(ioaddr, CMR2_h); in atp_probe1() 300 if ((status & 0x78) != 0x10) { in atp_probe1() 616 int status = read_nibble(ioaddr, ISR); in atp_interrupt() local 618 printk("loop status in atp_interrupt() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/ |
H A D | ks8851_common.c | 299 /* 4 bytes of status header + 4 bytes of in ks8851_rx_pkts() 334 * Read the interrupt status, work out what needs to be done and then clear 342 unsigned int status; in ks8851_irq() local 346 status = ks8851_rdreg16(ks, KS_ISR); in ks8851_irq() 349 "%s: status 0x%04x\n", __func__, status); in ks8851_irq() 351 if (status & IRQ_LCI) in ks8851_irq() 354 if (status & IRQ_LDI) { in ks8851_irq() 362 if (status & IRQ_RXPSI) in ks8851_irq() 365 if (status in ks8851_irq() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 318 static void record_rx_errors(struct net_device *dev, unsigned char status) in record_rx_errors() argument 320 if (status & SEEQ_RSTAT_OVERF || in record_rx_errors() 321 status & SEEQ_RSTAT_SFRAME) in record_rx_errors() 323 if (status & SEEQ_RSTAT_CERROR) in record_rx_errors() 325 if (status & SEEQ_RSTAT_DERROR) in record_rx_errors() 327 if (status & SEEQ_RSTAT_REOF) in record_rx_errors() 463 unsigned long status = hregs->tx_ctrl; in sgiseeq_tx() local 468 if (!(status & (HPC3_ETXCTRL_ACTIVE | SEEQ_TSTAT_PTRANS))) { in sgiseeq_tx() 470 if (status & SEEQ_TSTAT_R16) in sgiseeq_tx() 472 if (status in sgiseeq_tx() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
H A D | sun3lance.c | 203 #define CSR0 0 /* mode/status */ 532 DPRINTK( 1, ( "%s: transmit timed out, status %04x, resetting.\n", in lance_start_xmit() 700 int status = head->misc; in lance_interrupt() local 702 if (status & TMD3_RTRY) dev->stats.tx_aborted_errors++; in lance_interrupt() 703 if (status & TMD3_LCAR) dev->stats.tx_carrier_errors++; in lance_interrupt() 704 if (status & TMD3_LCOL) dev->stats.tx_window_errors++; in lance_interrupt() 705 if (status & (TMD3_UFLO | TMD3_BUFF)) { in lance_interrupt() 745 "status %04x.\n", dev->name, csr0 )); in lance_interrupt() 779 int status = head->flag; in lance_rx() local 781 if (status ! in lance_rx() [all...] |
/kernel/linux/linux-5.10/drivers/usb/atm/ |
H A D | speedtch.c | 492 unsigned char status; in speedtch_check_status() local 500 atm_warn(usbatm, "error %d fetching device status\n", ret); in speedtch_check_status() 507 status = buf[OFFSET_7]; in speedtch_check_status() 509 if ((status != instance->last_status) || !status) { in speedtch_check_status() 510 atm_dbg(usbatm, "%s: line state 0x%02x\n", __func__, status); in speedtch_check_status() 512 switch (status) { in speedtch_check_status() 552 atm_info(usbatm, "unknown line state %02x\n", status); in speedtch_check_status() 556 instance->last_status = status; in speedtch_check_status() 571 atm_warn(instance->usbatm, "Too many failures - disabling line status pollin in speedtch_status_poll() 599 int status = int_urb->status; speedtch_handle_int() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
H A D | prism2fw.c | 302 getmsg.mibattribute.status = P80211ENUM_msgitem_status_data_ok; in prism2_fwapply() 304 getmsg.resultcode.status = P80211ENUM_msgitem_status_no_value; in prism2_fwapply() 308 item->status = P80211ENUM_msgitem_status_no_value; in prism2_fwapply() 792 msg->pda.status = P80211ENUM_msgitem_status_no_value; in read_cardpda() 795 msg->resultcode.status = P80211ENUM_msgitem_status_no_value; in read_cardpda() 1026 rstmsg->enable.status = P80211ENUM_msgitem_status_data_ok; in writeimage() 1027 rstmsg->exeaddr.status = P80211ENUM_msgitem_status_data_ok; in writeimage() 1028 rstmsg->resultcode.status = P80211ENUM_msgitem_status_no_value; in writeimage() 1040 rwrmsg->addr.status = P80211ENUM_msgitem_status_data_ok; in writeimage() 1041 rwrmsg->len.status in writeimage() [all...] |
/kernel/linux/linux-5.10/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim.c | 92 u32 status; member 167 vdpasim->status = 0; in vdpasim_reset() 184 if (!(vdpasim->status & VIRTIO_CONFIG_S_DRIVER_OK)) in vdpasim_work() 567 u8 status; in vdpasim_get_status() local 570 status = vdpasim->status; in vdpasim_get_status() 573 return status; in vdpasim_get_status() 576 static void vdpasim_set_status(struct vdpa_device *vdpa, u8 status) in vdpasim_set_status() argument 581 vdpasim->status = status; in vdpasim_set_status() [all...] |
/kernel/linux/linux-5.10/sound/pci/echoaudio/ |
H A D | echoaudio_dsp.c | 93 u32 status, i; in write_dsp() local 96 status = get_dsp_register(chip, CHI32_STATUS_REG); in write_dsp() 97 if ((status & CHI32_STATUS_HOST_WRITE_EMPTY) != 0) { in write_dsp() 114 exclusively for loading the DSP and checking the status of the ASIC. */ 117 u32 status, i; in read_dsp() local 120 status = get_dsp_register(chip, CHI32_STATUS_REG); in read_dsp() 121 if ((status & CHI32_STATUS_HOST_READ_FULL) != 0) { in read_dsp() 232 u32 status; in install_resident_loader() local 242 status = get_dsp_register(chip, CHI32_STATUS_REG); in install_resident_loader() 243 if (status in install_resident_loader() [all...] |
/kernel/linux/linux-5.10/sound/aoa/codecs/ |
H A D | onyx.c | 469 ucontrol->value.iec958.status[0] = 0x3e; in onyx_spdif_mask_get() 470 ucontrol->value.iec958.status[1] = 0xff; in onyx_spdif_mask_get() 472 ucontrol->value.iec958.status[3] = 0x3f; in onyx_spdif_mask_get() 473 ucontrol->value.iec958.status[4] = 0x0f; in onyx_spdif_mask_get() 494 ucontrol->value.iec958.status[0] = v & 0x3e; in onyx_spdif_get() 497 ucontrol->value.iec958.status[1] = v; in onyx_spdif_get() 500 ucontrol->value.iec958.status[3] = v & 0x3f; in onyx_spdif_get() 503 ucontrol->value.iec958.status[4] = v & 0x0f; in onyx_spdif_get() 517 v = (v & ~0x3e) | (ucontrol->value.iec958.status[0] & 0x3e); in onyx_spdif_put() 520 v = ucontrol->value.iec958.status[ in onyx_spdif_put() [all...] |
/kernel/linux/linux-5.10/drivers/greybus/ |
H A D | operation.c | 239 int status; in gb_operation_request_handle() local 243 status = connection->handler(operation); in gb_operation_request_handle() 249 status = -EPROTONOSUPPORT; in gb_operation_request_handle() 252 ret = gb_operation_response_send(operation, status); in gb_operation_request_handle() 256 connection->name, status, operation->type, ret); in gb_operation_request_handle() 404 static int gb_operation_status_map(u8 status) in gb_operation_status_map() argument 406 switch (status) { in gb_operation_status_map() 435 * that should represent it in a response message status sent 872 struct gb_message *message, int status) in greybus_message_sent() 889 if (status) { in greybus_message_sent() 871 greybus_message_sent(struct gb_host_device *hd, struct gb_message *message, int status) greybus_message_sent() argument [all...] |
/kernel/linux/linux-5.10/drivers/ps3/ |
H A D | ps3-vuart.c | 98 u64 status; member 106 pr_debug("%s:%d: ports_bmp: %016llxh\n", func, line, bmp->status); in _dump_ports_bmp() 269 unsigned long *status) in ps3_vuart_get_interrupt_status() 282 *status = tmp & priv->interrupt_mask; in ps3_vuart_get_interrupt_status() 285 __func__, __LINE__, priv->interrupt_mask, tmp, *status); in ps3_vuart_get_interrupt_status() 827 unsigned long status; in ps3_vuart_handle_port_interrupt() local 829 result = ps3_vuart_get_interrupt_status(dev, &status); in ps3_vuart_handle_port_interrupt() 834 dev_dbg(&dev->core, "%s:%d: status: %lxh\n", __func__, __LINE__, in ps3_vuart_handle_port_interrupt() 835 status); in ps3_vuart_handle_port_interrupt() 837 if (status in ps3_vuart_handle_port_interrupt() 268 ps3_vuart_get_interrupt_status(struct ps3_system_bus_device *dev, unsigned long *status) ps3_vuart_get_interrupt_status() argument [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | fujitsu-laptop.c | 77 /* FUNC interface - status flags */ 152 acpi_status status; in call_fext_func() local 154 status = acpi_evaluate_integer(device->handle, "FUNC", &arg_list, in call_fext_func() 156 if (ACPI_FAILURE(status)) { in call_fext_func() 172 acpi_status status; in set_lcd_level() local 196 status = acpi_execute_simple_method(device->handle, method, level); in set_lcd_level() 197 if (ACPI_FAILURE(status)) { in set_lcd_level() 212 acpi_status status = AE_OK; in get_lcd_level() local 216 status = acpi_evaluate_integer(device->handle, "GBLL", NULL, &state); in get_lcd_level() 217 if (ACPI_FAILURE(status)) in get_lcd_level() 229 acpi_status status = AE_OK; get_max_brightness() local [all...] |
H A D | ideapad-laptop.c | 110 acpi_status status; in read_method_int() local 113 status = acpi_evaluate_integer(handle, (char *)method, NULL, &result); in read_method_int() 114 if (ACPI_FAILURE(status)) { in read_method_int() 134 acpi_status status; in method_int1() local 136 status = acpi_execute_simple_method(handle, method, cmd); in method_int1() 137 return ACPI_FAILURE(status) ? -1 : 0; in method_int1() 142 acpi_status status; in method_vpcr() local 152 status = acpi_evaluate_integer(handle, "VPCR", ¶ms, &result); in method_vpcr() 154 if (ACPI_FAILURE(status)) { in method_vpcr() 167 acpi_status status; in method_vpcw() local [all...] |
/kernel/linux/linux-6.6/drivers/memory/tegra/ |
H A D | mc.c | 155 return (mc_readl(mc, rst->status) & BIT(rst->bit)) != 0; in tegra_mc_dma_idling_common() 324 .status = tegra_mc_hotreset_status, 543 static int mc_global_intstatus_to_channel(const struct tegra_mc *mc, u32 status, in mc_global_intstatus_to_channel() argument 546 if ((status & mc->soc->ch_intmask) == 0) in mc_global_intstatus_to_channel() 549 *mc_channel = __ffs((status & mc->soc->ch_intmask) >> in mc_global_intstatus_to_channel() 565 unsigned long status; in tegra30_mc_handle_irq() local 580 status = mc_ch_readl(mc, channel, MC_INTSTATUS) & mc->soc->intmask; in tegra30_mc_handle_irq() 582 status = mc_readl(mc, MC_INTSTATUS) & mc->soc->intmask; in tegra30_mc_handle_irq() 585 if (!status) in tegra30_mc_handle_irq() 588 for_each_set_bit(bit, &status, 3 in tegra30_mc_handle_irq() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/micrel/ |
H A D | ks8851_common.c | 298 /* 4 bytes of status header + 4 bytes of in ks8851_rx_pkts() 333 * Read the interrupt status, work out what needs to be done and then clear 341 unsigned int status; in ks8851_irq() local 345 status = ks8851_rdreg16(ks, KS_ISR); in ks8851_irq() 348 "%s: status 0x%04x\n", __func__, status); in ks8851_irq() 350 if (status & IRQ_LCI) in ks8851_irq() 353 if (status & IRQ_LDI) { in ks8851_irq() 361 if (status & IRQ_RXPSI) in ks8851_irq() 364 if (status in ks8851_irq() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/ |
H A D | sun3lance.c | 203 #define CSR0 0 /* mode/status */ 526 DPRINTK( 1, ( "%s: transmit timed out, status %04x, resetting.\n", in lance_start_xmit() 694 int status = head->misc; in lance_interrupt() local 696 if (status & TMD3_RTRY) dev->stats.tx_aborted_errors++; in lance_interrupt() 697 if (status & TMD3_LCAR) dev->stats.tx_carrier_errors++; in lance_interrupt() 698 if (status & TMD3_LCOL) dev->stats.tx_window_errors++; in lance_interrupt() 699 if (status & (TMD3_UFLO | TMD3_BUFF)) { in lance_interrupt() 739 "status %04x.\n", dev->name, csr0 )); in lance_interrupt() 773 int status = head->flag; in lance_rx() local 775 if (status ! in lance_rx() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_dev.c | 253 if (err || out_size != sizeof(fw_ctxt) || fw_ctxt.status) { in init_fw_ctxt() 254 dev_err(&pdev->dev, "Failed to init FW ctxt, err: %d, status: 0x%x, out size: 0x%x\n", in init_fw_ctxt() 255 err, fw_ctxt.status, out_size); in init_fw_ctxt() 420 if (err || out_size != sizeof(cmd_base_qpn) || cmd_base_qpn.status) { in get_base_qpn() 421 dev_err(&pdev->dev, "Failed to get base qpn, err: %d, status: 0x%x, out size: 0x%x\n", in get_base_qpn() 422 err, cmd_base_qpn.status, out_size); in get_base_qpn() 825 if (err || !out_size || l2nic_reset.status) { in hinic_l2nic_reset() 826 dev_err(&hwdev->hwif->pdev->dev, "Failed to reset L2NIC resources, err: %d, status: 0x%x, out_size: 0x%x\n", in hinic_l2nic_reset() 827 err, l2nic_reset.status, out_size); in hinic_l2nic_reset() 852 if (err || !out_size || interrupt_info->status) { in hinic_get_interrupt_cfg() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_adminq.c | 651 enum iavf_status status = 0; in iavf_asq_send_command() local 660 status = IAVF_ERR_QUEUE_EMPTY; in iavf_asq_send_command() 670 status = IAVF_ERR_QUEUE_EMPTY; in iavf_asq_send_command() 701 status = IAVF_ERR_INVALID_SIZE; in iavf_asq_send_command() 709 status = IAVF_ERR_PARAM; in iavf_asq_send_command() 724 status = IAVF_ERR_ADMIN_QUEUE_FULL; in iavf_asq_send_command() 794 status = 0; in iavf_asq_send_command() 796 status = IAVF_ERR_NOT_READY; in iavf_asq_send_command() 798 status = IAVF_ERR_ADMIN_QUEUE_ERROR; in iavf_asq_send_command() 816 status in iavf_asq_send_command() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/realtek/ |
H A D | atp.c | 95 timing and control bits. The data is then read from status port or written 108 the status port and written to the data port, just as it is accessing 257 int saved_ctrl_reg, status, i; in atp_probe1() local 285 status = read_nibble(ioaddr, CMR1); in atp_probe1() 288 printk(KERN_DEBUG "atp: Status nibble was %#2.2x..", status); in atp_probe1() 294 if ((status & 0x78) != 0x08) { in atp_probe1() 299 status = read_nibble(ioaddr, CMR2_h); in atp_probe1() 300 if ((status & 0x78) != 0x10) { in atp_probe1() 618 int status = read_nibble(ioaddr, ISR); in atp_interrupt() local 620 printk("loop status in atp_interrupt() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 318 static void record_rx_errors(struct net_device *dev, unsigned char status) in record_rx_errors() argument 320 if (status & SEEQ_RSTAT_OVERF || in record_rx_errors() 321 status & SEEQ_RSTAT_SFRAME) in record_rx_errors() 323 if (status & SEEQ_RSTAT_CERROR) in record_rx_errors() 325 if (status & SEEQ_RSTAT_DERROR) in record_rx_errors() 327 if (status & SEEQ_RSTAT_REOF) in record_rx_errors() 463 unsigned long status = hregs->tx_ctrl; in sgiseeq_tx() local 468 if (!(status & (HPC3_ETXCTRL_ACTIVE | SEEQ_TSTAT_PTRANS))) { in sgiseeq_tx() 470 if (status & SEEQ_TSTAT_R16) in sgiseeq_tx() 472 if (status in sgiseeq_tx() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | osl.c | 195 * so, we check the lockdown status before making use of in acpi_os_get_root_pointer() 1066 acpi_status status = AE_OK; in acpi_os_execute() local 1078 status = AE_ERROR; in acpi_os_execute() 1112 status = AE_ERROR; in acpi_os_execute() 1115 if (ACPI_FAILURE(status)) in acpi_os_execute() 1128 status = AE_ERROR; in acpi_os_execute() 1131 if (ACPI_FAILURE(status)) in acpi_os_execute() 1134 return status; in acpi_os_execute() 1246 acpi_status status = AE_OK; in acpi_os_wait_semaphore() local 1270 status in acpi_os_wait_semaphore() 1760 acpi_status status; acpi_os_enter_sleep() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/atm/ |
H A D | speedtch.c | 492 unsigned char status; in speedtch_check_status() local 500 atm_warn(usbatm, "error %d fetching device status\n", ret); in speedtch_check_status() 507 status = buf[OFFSET_7]; in speedtch_check_status() 509 if ((status != instance->last_status) || !status) { in speedtch_check_status() 510 atm_dbg(usbatm, "%s: line state 0x%02x\n", __func__, status); in speedtch_check_status() 512 switch (status) { in speedtch_check_status() 552 atm_info(usbatm, "unknown line state %02x\n", status); in speedtch_check_status() 556 instance->last_status = status; in speedtch_check_status() 571 atm_warn(instance->usbatm, "Too many failures - disabling line status pollin in speedtch_status_poll() 599 int status = int_urb->status; speedtch_handle_int() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | fujitsu-laptop.c | 77 /* FUNC interface - status flags */ 152 acpi_status status; in call_fext_func() local 154 status = acpi_evaluate_integer(device->handle, "FUNC", &arg_list, in call_fext_func() 156 if (ACPI_FAILURE(status)) { in call_fext_func() 172 acpi_status status; in set_lcd_level() local 196 status = acpi_execute_simple_method(device->handle, method, level); in set_lcd_level() 197 if (ACPI_FAILURE(status)) { in set_lcd_level() 212 acpi_status status = AE_OK; in get_lcd_level() local 216 status = acpi_evaluate_integer(device->handle, "GBLL", NULL, &state); in get_lcd_level() 217 if (ACPI_FAILURE(status)) in get_lcd_level() 229 acpi_status status = AE_OK; get_max_brightness() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
H A D | prism2fw.c | 281 getmsg.mibattribute.status = P80211ENUM_msgitem_status_data_ok; in prism2_fwapply() 283 getmsg.resultcode.status = P80211ENUM_msgitem_status_no_value; in prism2_fwapply() 287 item->status = P80211ENUM_msgitem_status_no_value; in prism2_fwapply() 770 msg->pda.status = P80211ENUM_msgitem_status_no_value; in read_cardpda() 773 msg->resultcode.status = P80211ENUM_msgitem_status_no_value; in read_cardpda() 1003 rstmsg->enable.status = P80211ENUM_msgitem_status_data_ok; in writeimage() 1004 rstmsg->exeaddr.status = P80211ENUM_msgitem_status_data_ok; in writeimage() 1005 rstmsg->resultcode.status = P80211ENUM_msgitem_status_no_value; in writeimage() 1017 rwrmsg->addr.status = P80211ENUM_msgitem_status_data_ok; in writeimage() 1018 rwrmsg->len.status in writeimage() [all...] |