Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.1.9/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.1.9/sound/pci/emu10k1/
Dirq.c21 unsigned int status, status2, orig_status, orig_status2; in snd_emu10k1_interrupt() local
142 while ((status2 = inl(emu->port + IPR2)) != 0) { in snd_emu10k1_interrupt()
148 orig_status2 = status2; in snd_emu10k1_interrupt()
149 if(status2 & mask) { in snd_emu10k1_interrupt()
155 status2, mask, pvoice, in snd_emu10k1_interrupt()
159 if(status2 & 0x110000) { in snd_emu10k1_interrupt()
/linux-6.1.9/drivers/mtd/nand/spi/
Dgigadevice.c187 u8 status2; in gd5fxgq4uexxg_ecc_get_status() local
189 &status2); in gd5fxgq4uexxg_ecc_get_status()
211 ((status2 & STATUS_ECC_MASK) >> 4); in gd5fxgq4uexxg_ecc_get_status()
229 u8 status2; in gd5fxgq5xexxg_ecc_get_status() local
231 &status2); in gd5fxgq5xexxg_ecc_get_status()
251 return ((status2 & STATUS_ECC_MASK) >> 4) + 1; in gd5fxgq5xexxg_ecc_get_status()
/linux-6.1.9/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.1.9/drivers/net/hamradio/
D6pack.c118 unsigned char status2; member
152 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air()
157 sp->status2 = 0; in sp_xmit_on_air()
227 sp->status2 = count; in sp_encaps()
512 sp->status2 = 0; in resync_tnc()
608 sp->status2 = 0; in sixpack_open()
874 if ((sp->status2 != 0) && (sp->duplex == 1)) { in decode_prio_command()
878 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in decode_prio_command()
882 sp->status2 = 0; in decode_prio_command()
/linux-6.1.9/drivers/i2c/busses/
Di2c-nvidia-gpu.c169 int status, status2; in gpu_i2c_master_xfer() local
215 status2 = gpu_i2c_stop(i2cd); in gpu_i2c_master_xfer()
216 if (status2 < 0) in gpu_i2c_master_xfer()
217 dev_err(i2cd->dev, "i2c stop failed %d\n", status2); in gpu_i2c_master_xfer()
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dar9003_mac.h58 u32 status2; member
102 u32 status2; member
Dmac.h293 u32 status2; member
305 u32 status2; member
332 #define ds_txstatus2 u.tx.status2
343 #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.1.9/drivers/soundwire/
Dbus.c1412 int status, status2, ret, count = 0; in sdw_handle_dp0_interrupt() local
1461 status2 = sdw_read_no_pm(slave, SDW_DP0_INT); in sdw_handle_dp0_interrupt()
1462 if (status2 < 0) { in sdw_handle_dp0_interrupt()
1464 "SDW_DP0_INT read failed:%d\n", status2); in sdw_handle_dp0_interrupt()
1465 return status2; in sdw_handle_dp0_interrupt()
1468 status &= status2; in sdw_handle_dp0_interrupt()
1485 int status, status2, ret, count = 0; in sdw_handle_port_interrupt() local
1534 status2 = sdw_read_no_pm(slave, addr); in sdw_handle_port_interrupt()
1535 if (status2 < 0) { in sdw_handle_port_interrupt()
1537 "SDW_DPN_INT read failed:%d\n", status2); in sdw_handle_port_interrupt()
[all …]
/linux-6.1.9/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()
3033 unsigned int status2 = hdspm_read(hdspm, HDSPM_statusRegister2); in hdspm_autosync_ref() local
3034 switch (status2 & HDSPM_SelSyncRefMask) { in hdspm_autosync_ref()
3831 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()
2456 unsigned int status2 = hdsp_read(hdsp, HDSP_status2Register); in hdsp_autosync_ref() local
2458 switch (status2 & HDSP_SelSyncRefMask) { in hdsp_autosync_ref()
2679 int status2 = hdsp_read(hdsp, HDSP_status2Register); in hdsp_wc_sync_check() local
2680 if (status2 & HDSP_wc_lock) { in hdsp_wc_sync_check()
2681 if (status2 & HDSP_wc_sync) in hdsp_wc_sync_check()
3391 unsigned int status2; in snd_hdsp_proc_read() local
3399 status2 = hdsp_read(hdsp, HDSP_status2Register); in snd_hdsp_proc_read()
3411 snd_iprintf(buffer, "Status2 register: 0x%x\n", status2); in snd_hdsp_proc_read()
[all …]
/linux-6.1.9/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.1.9/drivers/crypto/qce/
Ddma.h23 u32 status2; member
/linux-6.1.9/drivers/soc/mediatek/
Dmtk-pm-domains.c64 u32 status, status2; in scpsys_domain_is_on() local
69 regmap_read(scpsys->base, pd->data->pwr_sta2nd_offs, &status2); in scpsys_domain_is_on()
70 status2 &= pd->data->sta_mask; in scpsys_domain_is_on()
73 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.1.9/include/uapi/sound/
Dhdspm.h42 int status2; member
/linux-6.1.9/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.c375 u32 status2; in wmt_mci_regular_isr() local
383 status2 = readb(priv->sdmmc_base + SDMMC_STS2); in wmt_mci_regular_isr()
457 writeb(status2, priv->sdmmc_base + SDMMC_STS2); in wmt_mci_regular_isr()
/linux-6.1.9/arch/arm/boot/dts/
Dkeystone-k2g-ice.dts177 label = "status2:red:usr";
183 label = "status2:green:usr";
189 label = "status2:yellow:usr";
/linux-6.1.9/drivers/tty/serial/8250/
D8250_port.c992 unsigned char scratch, status1, status2; in autoconfig_8250() local
1000 status2 = serial_in(up, UART_SCR); in autoconfig_8250()
1003 if (status1 == 0xa5 && status2 == 0x5a) in autoconfig_8250()
1028 unsigned char status1, status2; in autoconfig_16550a() local
1087 status2 = serial_in(up, 0x02); /* EXCR1 */ in autoconfig_16550a()
1089 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a()
1093 status2 = serial_in(up, 0x02); /* EXCR1 */ in autoconfig_16550a()
1097 if ((status2 ^ status1) & UART_MCR_LOOP) { in autoconfig_16550a()
1129 status2 = serial_in(up, UART_IIR) >> 5; in autoconfig_16550a()
1133 DEBUG_AUTOCONF("iir1=%d iir2=%d ", status1, status2); in autoconfig_16550a()
[all …]
/linux-6.1.9/drivers/net/ethernet/adaptec/
Dstarfire.c450 __le16 status2; member
455 __le16 status2; member
460 __le16 status2; member
1498 …k(KERN_DEBUG " netdev_rx() status2 of %d was %#4.4x.\n", np->rx_done, le16_to_cpu(desc->status2)); in __netdev_rx()
1500 if (le16_to_cpu(desc->status2) & 0x0100) { in __netdev_rx()
1513 else if (le16_to_cpu(desc->status2) & 0x0040) { in __netdev_rx()
1516 printk(KERN_DEBUG "%s: checksum_hw, status2 = %#x\n", dev->name, le16_to_cpu(desc->status2)); in __netdev_rx()
1519 if (le16_to_cpu(desc->status2) & 0x0200) { in __netdev_rx()
/linux-6.1.9/arch/s390/include/uapi/asm/
Ddasd.h150 unsigned char status2; member

12