Home
last modified time | relevance | path

Searched refs:status2 (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.12.1/drivers/acpi/acpica/
Dpsobject.c440 acpi_status status2; in acpi_ps_complete_op() local
451 status2 = acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
452 if (ACPI_FAILURE(status2)) { in acpi_ps_complete_op()
453 return_ACPI_STATUS(status2); in acpi_ps_complete_op()
486 status2 = acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
487 if (ACPI_FAILURE(status2)) { in acpi_ps_complete_op()
488 return_ACPI_STATUS(status2); in acpi_ps_complete_op()
515 status2 = acpi_ps_complete_this_op(walk_state, *op); in acpi_ps_complete_op()
516 if (ACPI_FAILURE(status2)) { in acpi_ps_complete_op()
517 return_ACPI_STATUS(status2); in acpi_ps_complete_op()
[all …]
Ddspkginit.c384 acpi_status status2; in acpi_ds_resolve_package_element() local
434 status2 = acpi_ns_externalize_name(ACPI_UINT32_MAX, in acpi_ds_resolve_package_element()
441 if (ACPI_SUCCESS(status2)) { in acpi_ds_resolve_package_element()
/linux-6.12.1/drivers/power/supply/
Dadp5061.c158 u8 *status1, u8 *status2) in adp5061_get_status() argument
170 *status2 = buf[1]; in adp5061_get_status()
423 u8 status1, status2; in adp5061_get_chg_type() local
426 ret = adp5061_get_status(st, &status1, &status2); in adp5061_get_chg_type()
442 u8 status1, status2; in adp5061_get_charger_status() local
445 ret = adp5061_get_status(st, &status1, &status2); in adp5061_get_charger_status()
475 u8 status1, status2; in adp5061_get_battery_status() local
478 ret = adp5061_get_status(st, &status1, &status2); in adp5061_get_battery_status()
482 switch (ADP5061_CHG_STATUS_2_BAT_STATUS(status2)) { in adp5061_get_battery_status()
540 u8 status1, status2; in adp5061_get_property() local
[all …]
/linux-6.12.1/drivers/mtd/nand/spi/
Dgigadevice.c187 u8 status2; in gd5fxgq4uexxg_ecc_get_status() local
210 status2 = *(spinand->scratchbuf); in gd5fxgq4uexxg_ecc_get_status()
212 ((status2 & STATUS_ECC_MASK) >> 4); in gd5fxgq4uexxg_ecc_get_status()
230 u8 status2; in gd5fxgq5xexxg_ecc_get_status() local
252 status2 = *(spinand->scratchbuf); in gd5fxgq5xexxg_ecc_get_status()
253 return ((status2 & STATUS_ECC_MASK) >> 4) + 1; in gd5fxgq5xexxg_ecc_get_status()
/linux-6.12.1/drivers/media/dvb-frontends/
Dbcm3510.c63 struct bcm3510_hab_cmd_status2 status2; member
286 …bcm3510_do_hab_cmd(st, CMD_STATUS, MSGID_STATUS2, NULL,0, (u8 *)&st->status2, sizeof(st->status2)); in bcm3510_refresh_state()
321 *ber = (st->status2.LDBER0 << 16) | (st->status2.LDBER1 << 8) | st->status2.LDBER2; in bcm3510_read_ber()
329 *unc = (st->status2.LDUERC0 << 8) | st->status2.LDUERC1; in bcm3510_read_unc()
339 t = st->status2.SIGNAL; in bcm3510_read_signal_strength()
576 memset(&st->status2,0,sizeof(st->status2)); in bcm3510_set_frontend()
/linux-6.12.1/drivers/net/hamradio/
D6pack.c112 unsigned char status2; member
146 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air()
151 sp->status2 = 0; in sp_xmit_on_air()
221 sp->status2 = count; in sp_encaps()
506 sp->status2 = 0; in resync_tnc()
597 sp->status2 = 0; in sixpack_open()
854 if ((sp->status2 != 0) && (sp->duplex == 1)) { in decode_prio_command()
858 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in decode_prio_command()
862 sp->status2 = 0; in decode_prio_command()
/linux-6.12.1/drivers/i2c/busses/
Di2c-nvidia-gpu.c169 int status, status2; in gpu_i2c_xfer() local
215 status2 = gpu_i2c_stop(i2cd); in gpu_i2c_xfer()
216 if (status2 < 0) in gpu_i2c_xfer()
217 dev_err(i2cd->dev, "i2c stop failed %d\n", status2); in gpu_i2c_xfer()
/linux-6.12.1/drivers/net/wireless/ath/ath9k/
Dar9003_mac.h58 u32 status2; member
102 u32 status2; member
Dmac.h295 u32 status2; member
307 u32 status2; member
334 #define ds_txstatus2 u.tx.status2
345 #define ds_rxstatus2 u.rx.status2
Dar9003_mac.c389 status = READ_ONCE(ads->status2); in ar9003_hw_proc_txdesc()
501 rxs->rs_datalen = rxsp->status2 & AR_DataLen; in ath9k_hw_process_rxdesc_edma()
519 rxs->rs_more = (rxsp->status2 & AR_RxMore) ? 1 : 0; in ath9k_hw_process_rxdesc_edma()
/linux-6.12.1/sound/pci/rme9652/
Dhdspm.c1253 unsigned int status, status2; in hdspm_external_sample_rate() local
1258 status2 = hdspm_read(hdspm, HDSPM_statusRegister2); in hdspm_external_sample_rate()
1329 status2 = hdspm_read(hdspm, HDSPM_statusRegister2); in hdspm_external_sample_rate()
1334 if ((status2 & HDSPM_wcLock) != 0 && in hdspm_external_sample_rate()
1335 (status2 & HDSPM_SelSyncRef0) == 0) { in hdspm_external_sample_rate()
1337 rate_bits = status2 & HDSPM_wcFreqMask; in hdspm_external_sample_rate()
1378 (status2 & HDSPM_SelSyncRefMask) == HDSPM_SelSyncRef_WORD) in hdspm_external_sample_rate()
3035 unsigned int status2 = hdspm_read(hdspm, HDSPM_statusRegister2); in hdspm_autosync_ref() local
3036 switch (status2 & HDSPM_SelSyncRefMask) { in hdspm_autosync_ref()
3833 int status, status2; in hdspm_wc_sync_check() local
[all …]
Dhdsp.c992 unsigned int status2 = hdsp_read(hdsp, HDSP_status2Register); in hdsp_external_sample_rate() local
993 unsigned int rate_bits = status2 & HDSP_systemFrequencyMask; in hdsp_external_sample_rate()
2458 unsigned int status2 = hdsp_read(hdsp, HDSP_status2Register); in hdsp_autosync_ref() local
2460 switch (status2 & HDSP_SelSyncRefMask) { in hdsp_autosync_ref()
2681 int status2 = hdsp_read(hdsp, HDSP_status2Register); in hdsp_wc_sync_check() local
2682 if (status2 & HDSP_wc_lock) { in hdsp_wc_sync_check()
2683 if (status2 & HDSP_wc_sync) in hdsp_wc_sync_check()
3393 unsigned int status2; in snd_hdsp_proc_read() local
3401 status2 = hdsp_read(hdsp, HDSP_status2Register); in snd_hdsp_proc_read()
3413 snd_iprintf(buffer, "Status2 register: 0x%x\n", status2); in snd_hdsp_proc_read()
[all …]
/linux-6.12.1/drivers/soundwire/
Dbus.c1467 int status, status2, ret, count = 0; in sdw_handle_dp0_interrupt() local
1516 status2 = sdw_read_no_pm(slave, SDW_DP0_INT); in sdw_handle_dp0_interrupt()
1517 if (status2 < 0) { in sdw_handle_dp0_interrupt()
1519 "SDW_DP0_INT read failed:%d\n", status2); in sdw_handle_dp0_interrupt()
1520 return status2; in sdw_handle_dp0_interrupt()
1523 status &= status2; in sdw_handle_dp0_interrupt()
1540 int status, status2, ret, count = 0; in sdw_handle_port_interrupt() local
1589 status2 = sdw_read_no_pm(slave, addr); in sdw_handle_port_interrupt()
1590 if (status2 < 0) { in sdw_handle_port_interrupt()
1592 "SDW_DPN_INT read failed:%d\n", status2); in sdw_handle_port_interrupt()
[all …]
/linux-6.12.1/drivers/iio/accel/
Dadxl372.c575 u8 *status1, u8 *status2, in adxl372_get_status() argument
591 *status2 = (val >> 16) & 0x0F; in adxl372_get_status()
617 static void adxl372_push_event(struct iio_dev *indio_dev, s64 timestamp, u8 status2) in adxl372_push_event() argument
621 if (ADXL372_STATUS_2_ACT(status2)) in adxl372_push_event()
624 if (ADXL372_STATUS_2_INACT(status2)) in adxl372_push_event()
639 u8 status1, status2; in adxl372_trigger_handler() local
643 ret = adxl372_get_status(st, &status1, &status2, &fifo_entries); in adxl372_trigger_handler()
647 adxl372_push_event(indio_dev, iio_get_time_ns(indio_dev), status2); in adxl372_trigger_handler()
/linux-6.12.1/drivers/crypto/qce/
Ddma.h23 u32 status2; member
/linux-6.12.1/drivers/pmdomain/mediatek/
Dmtk-pm-domains.c67 u32 status, status2; in scpsys_domain_is_on() local
72 regmap_read(scpsys->base, pd->data->pwr_sta2nd_offs, &status2); in scpsys_domain_is_on()
73 status2 &= pd->data->sta_mask; in scpsys_domain_is_on()
76 return status && status2; in scpsys_domain_is_on()
Dmtk-scpsys.c178 u32 status2 = readl(scp->base + scp->ctrl_reg.pwr_sta2nd_offs) & in scpsys_domain_is_on() local
186 if (status && status2) in scpsys_domain_is_on()
188 if (!status && !status2) in scpsys_domain_is_on()
/linux-6.12.1/include/uapi/sound/
Dhdspm.h42 int status2; member
/linux-6.12.1/drivers/mmc/host/
Dusdhi6rol0.c1584 u16 status, status2, error; in usdhi6_sd() local
1588 status2 = usdhi6_read(host, USDHI6_SD_INFO2) & ~host->status2_mask; in usdhi6_sd()
1593 "IRQ status = 0x%08x, status2 = 0x%08x\n", status, status2); in usdhi6_sd()
1595 if (!status && !status2) in usdhi6_sd()
1598 error = status2 & USDHI6_SD_INFO2_ERR; in usdhi6_sd()
1605 if (USDHI6_SD_INFO2_IRQ & status2) { in usdhi6_sd()
1608 status2 |= USDHI6_SD_INFO2_BWE | USDHI6_SD_INFO2_BRE; in usdhi6_sd()
1611 0xffff & ~(USDHI6_SD_INFO2_IRQ & status2)); in usdhi6_sd()
Dwmt-sdmmc.c374 u32 status2; in wmt_mci_regular_isr() local
382 status2 = readb(priv->sdmmc_base + SDMMC_STS2); in wmt_mci_regular_isr()
456 writeb(status2, priv->sdmmc_base + SDMMC_STS2); in wmt_mci_regular_isr()
/linux-6.12.1/arch/arm/boot/dts/ti/keystone/
Dkeystone-k2g-ice.dts177 label = "status2:red:usr";
183 label = "status2:green:usr";
189 label = "status2:yellow:usr";
/linux-6.12.1/drivers/tty/serial/8250/
D8250_port.c929 unsigned char scratch, status1, status2; in autoconfig_8250() local
937 status2 = serial_in(up, UART_SCR); in autoconfig_8250()
940 if (status1 == 0xa5 && status2 == 0x5a) in autoconfig_8250()
965 unsigned char status1, status2; in autoconfig_16550a() local
1027 status2 = serial_in(up, 0x02); /* EXCR1 */ in autoconfig_16550a()
1029 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a()
1033 status2 = serial_in(up, 0x02); /* EXCR1 */ in autoconfig_16550a()
1037 if ((status2 ^ status1) & UART_MCR_LOOP) { in autoconfig_16550a()
1070 status2 = serial_in(up, UART_IIR) & UART_IIR_FIFO_ENABLED_16750; in autoconfig_16550a()
1075 DEBUG_AUTOCONF("iir1=%d iir2=%d ", status1, status2); in autoconfig_16550a()
[all …]
/linux-6.12.1/arch/s390/include/uapi/asm/
Ddasd.h152 unsigned char status2; member
/linux-6.12.1/drivers/net/ethernet/adaptec/
Dstarfire.c447 __le16 status2; member
452 __le16 status2; member
1490 …k(KERN_DEBUG " netdev_rx() status2 of %d was %#4.4x.\n", np->rx_done, le16_to_cpu(desc->status2)); in __netdev_rx()
1492 if (le16_to_cpu(desc->status2) & 0x0100) { in __netdev_rx()
1505 else if (le16_to_cpu(desc->status2) & 0x0040) { in __netdev_rx()
1508 printk(KERN_DEBUG "%s: checksum_hw, status2 = %#x\n", dev->name, le16_to_cpu(desc->status2)); in __netdev_rx()
1511 if (le16_to_cpu(desc->status2) & 0x0200) { in __netdev_rx()
/linux-6.12.1/drivers/video/fbdev/
Dmacfb.c84 unsigned int status2; /* OFFSET: 0x2C */ member
353 clut_status = nubus_readb(&civic_cmap_regs->status2); in civic_setpalette()

12