| /linux-6.15/sound/soc/intel/avs/ |
| H A D | trace.h | 40 #define trace_avs_request(msg, sts, lec) \ argument 46 #define trace_avs_reply(msg, sts, lec) \ argument 52 #define trace_avs_notify(msg, sts, lec) \ argument 61 TP_PROTO(u64 header, u32 sts, u32 lec), 63 TP_ARGS(header, sts, lec), 67 __field(u32, sts) 73 __entry->sts = sts; 80 __entry->sts, __entry->lec) 85 TP_ARGS(header, sts, lec) 90 TP_ARGS(header, sts, lec) [all …]
|
| /linux-6.15/include/linux/ |
| H A D | ptp_clock_kernel.h | 184 struct ptp_system_timestamp *sts); 462 if (sts) { in ptp_read_system_prets() 463 switch (sts->clockid) { in ptp_read_system_prets() 465 ktime_get_real_ts64(&sts->pre_ts); in ptp_read_system_prets() 468 ktime_get_ts64(&sts->pre_ts); in ptp_read_system_prets() 471 ktime_get_raw_ts64(&sts->pre_ts); in ptp_read_system_prets() 481 if (sts) { in ptp_read_system_postts() 482 switch (sts->clockid) { in ptp_read_system_postts() 484 ktime_get_real_ts64(&sts->post_ts); in ptp_read_system_postts() 487 ktime_get_ts64(&sts->post_ts); in ptp_read_system_postts() [all …]
|
| /linux-6.15/drivers/input/keyboard/ |
| H A D | applespi.c | 626 sts); in applespi_check_write_status() 673 int sts; in applespi_setup_spi() local 676 if (sts) in applespi_setup_spi() 762 int sts; in applespi_send_cmd_msg() local 1212 int sts; in applespi_register_touchpad_device() local 1552 int sts; in applespi_notify() local 1581 if (sts != EFI_SUCCESS && sts != EFI_NOT_FOUND) in applespi_get_saved_bl_level() 1584 sts); in applespi_get_saved_bl_level() 1674 if (sts) in applespi_probe() 1678 if (sts) in applespi_probe() [all …]
|
| /linux-6.15/drivers/misc/eeprom/ |
| H A D | idt_89hpesx.c | 261 s32 sts; in idt_smb_write_byte() local 293 s32 sts; in idt_smb_read_byte() local 308 if (sts < 0) in idt_smb_read_byte() 326 s32 sts; in idt_smb_write_word() local 375 s32 sts; in idt_smb_read_word() local 393 if (sts < 0) in idt_smb_read_word() 408 if (sts < 0) in idt_smb_read_word() 449 s32 sts; in idt_smb_read_block() local 462 return (sts < 0 ? sts : -ENODATA); in idt_smb_read_block() 510 s32 sts; in idt_smb_read_i2c_block() local [all …]
|
| /linux-6.15/drivers/rtc/ |
| H A D | rtc-s35390a.c | 276 char buf[3], sts = 0; in s35390a_rtc_set_alarm() local 285 err = s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts)); in s35390a_rtc_set_alarm() 290 err = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, &sts, sizeof(sts)); in s35390a_rtc_set_alarm() 295 sts = S35390A_INT2_MODE_ALARM; in s35390a_rtc_set_alarm() 297 sts = S35390A_INT2_MODE_NOINTR; in s35390a_rtc_set_alarm() 300 err = s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts)); in s35390a_rtc_set_alarm() 329 char buf[3], sts; in s35390a_rtc_read_alarm() local 332 err = s35390a_get_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts)); in s35390a_rtc_read_alarm() 336 if ((sts & S35390A_INT2_MODE_MASK) != S35390A_INT2_MODE_ALARM) { in s35390a_rtc_read_alarm() 386 char sts; in s35390a_rtc_ioctl() local [all …]
|
| /linux-6.15/drivers/net/can/rcar/ |
| H A D | rcar_canfd.c | 706 u32 sts, ch; in rcar_canfd_reset_controller() local 941 u32 gerfl, sts; in rcar_canfd_global_error() local 1101 u32 sts; in rcar_canfd_tx_done() local 1162 u32 sts, cc; in rcar_canfd_handle_global_receive() local 1240 u32 sts; in rcar_canfd_handle_channel_tx() local 1263 u32 sts, cerfl; in rcar_canfd_handle_channel_err() local 1365 u32 sts, ch = priv->channel; in rcar_canfd_start() local 1487 u32 sts = 0, id, dlc; in rcar_canfd_start_xmit() local 1561 u32 sts = 0, id, dlc; in rcar_canfd_rx_pkt() local 1639 u32 sts; in rcar_canfd_rx_poll() local [all …]
|
| /linux-6.15/drivers/i2c/busses/ |
| H A D | i2c-amd-mp2-pci.c | 138 enum status_type sts = i2c_common->eventval.r.status; in __amd_mp2_process_event() local 150 if (sts == i2c_readcomplete_event) { in __amd_mp2_process_event() 156 } else if (sts != i2c_readfail_event) { in __amd_mp2_process_event() 157 pci_err(pdev, "invalid i2c status after read (%d)!\n", sts); in __amd_mp2_process_event() 161 if (sts == i2c_writecomplete_event) in __amd_mp2_process_event() 163 else if (sts != i2c_writefail_event) in __amd_mp2_process_event() 164 pci_err(pdev, "invalid i2c status after write (%d)!\n", sts); in __amd_mp2_process_event() 167 if (sts == i2c_busenable_complete) in __amd_mp2_process_event() 169 else if (sts != i2c_busenable_failed) in __amd_mp2_process_event() 173 if (sts == i2c_busdisable_complete) in __amd_mp2_process_event() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/pinctrl/ |
| H A D | cirrus,madera.yaml | 70 spk-overheat-warn, timer1-sts, timer2-sts, 71 timer3-sts, timer4-sts, timer5-sts, timer6-sts, 72 timer7-sts, timer8-sts, log1-fifo-ne,
|
| /linux-6.15/drivers/pci/hotplug/ |
| H A D | pnv_php.c | 534 uint16_t sts; in pnv_php_reset_slot() local 552 sts &= (PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_DLLSC); in pnv_php_reset_slot() 769 u16 sts, lsts; in pnv_php_interrupt() local 781 !!(sts & PCI_EXP_SLTSTA_DLLSC), in pnv_php_interrupt() 782 !!(sts & PCI_EXP_SLTSTA_PDC)); in pnv_php_interrupt() 784 if (sts & PCI_EXP_SLTSTA_DLLSC) { in pnv_php_interrupt() 788 (sts & PCI_EXP_SLTSTA_PDC)) { in pnv_php_interrupt() 793 php_slot->name, ret, sts); in pnv_php_interrupt() 825 php_slot->name, sts); in pnv_php_interrupt() 843 u16 sts, ctrl; in pnv_php_init_irq() local [all …]
|
| /linux-6.15/drivers/power/reset/ |
| H A D | piix4-poweroff.c | 31 u16 sts; in piix4_poweroff() local 35 sts = inw(io_offset + PIIX4_FUNC3IO_PMSTS); in piix4_poweroff() 36 if (!(sts & PIIX4_FUNC3IO_PMSTS_PWRBTN_STS)) in piix4_poweroff() 38 outw(sts, io_offset + PIIX4_FUNC3IO_PMSTS); in piix4_poweroff()
|
| /linux-6.15/drivers/fsi/ |
| H A D | fsi-sbefifo.c | 99 #define sbefifo_empty(sts) ((sts) & SBEFIFO_STS_EMPTY) argument 100 #define sbefifo_full(sts) ((sts) & SBEFIFO_STS_FULL) argument 101 #define sbefifo_parity_err(sts) ((sts) & SBEFIFO_STS_PARITY_ERR) argument 102 #define sbefifo_populated(sts) (((sts) & SBEFIFO_STS_ECNT_MASK) >> SBEFIFO_STS_ECNT_SHIFT) argument 103 #define sbefifo_vacant(sts) (SBEFIFO_FIFO_DEPTH - sbefifo_populated(sts)) argument 104 #define sbefifo_eot_set(sts) (((sts) & SBEFIFO_STS_EOT_MASK) >> SBEFIFO_STS_EOT_SHIFT) argument 456 u32 addr, sts = 0; in sbefifo_wait() local 466 rc = sbefifo_regr(sbefifo, addr, &sts); in sbefifo_wait() 471 if (!up && sbefifo_parity_err(sts)) { in sbefifo_wait() 475 ready = !(up ? sbefifo_full(sts) : sbefifo_empty(sts)); in sbefifo_wait() [all …]
|
| /linux-6.15/drivers/spi/ |
| H A D | spi-iproc-qspi.c | 35 u32 val = 0, sts = 0; in bcm_iproc_qspi_get_l2_int_status() local 43 sts |= MSPI_DONE; in bcm_iproc_qspi_get_l2_int_status() 46 sts |= BSPI_DONE; in bcm_iproc_qspi_get_l2_int_status() 49 sts |= BSPI_ERR; in bcm_iproc_qspi_get_l2_int_status() 51 return sts; in bcm_iproc_qspi_get_l2_int_status()
|
| /linux-6.15/drivers/ptp/ |
| H A D | ptp_vmclock.c | 92 struct ptp_system_timestamp *sts, in vmclock_get_crosststamp() argument 135 if (sts) { in vmclock_get_crosststamp() 141 ptp_read_system_postts(sts); in vmclock_get_crosststamp() 176 if (sts) { in vmclock_get_crosststamp() 177 sts->pre_ts = ktime_to_timespec64(systime_snapshot.real); in vmclock_get_crosststamp() 179 sts->post_ts = sts->pre_ts; in vmclock_get_crosststamp() 192 struct ptp_system_timestamp *sts, in vmclock_get_crosststamp_kvmclock() argument 205 ret = vmclock_get_crosststamp(st, sts, system_counter, tspec); in vmclock_get_crosststamp_kvmclock() 302 struct ptp_system_timestamp *sts) in ptp_vmclock_gettimex() argument 307 return vmclock_get_crosststamp(st, sts, NULL, ts); in ptp_vmclock_gettimex()
|
| /linux-6.15/arch/x86/platform/olpc/ |
| H A D | olpc-xo1-sci.c | 215 u32 sts; in xo1_sci_intr() local 218 sts = inl(acpi_base + CS5536_PM1_STS); in xo1_sci_intr() 219 outl(sts | 0xffff, acpi_base + CS5536_PM1_STS); in xo1_sci_intr() 224 dev_dbg(&pdev->dev, "sts %x gpe %x\n", sts, gpe); in xo1_sci_intr() 226 if (sts & CS5536_PWRBTN_FLAG) { in xo1_sci_intr() 227 if (!(sts & CS5536_WAK_FLAG)) { in xo1_sci_intr() 240 if ((sts & (CS5536_RTC_FLAG | CS5536_WAK_FLAG)) == in xo1_sci_intr() 315 u32 sts; in setup_sci_interrupt() local 343 sts = inl(acpi_base + CS5536_PM1_STS); in setup_sci_interrupt()
|
| /linux-6.15/drivers/crypto/aspeed/ |
| H A D | aspeed-hace.c | 33 u32 sts; in aspeed_hace_irq() local 35 sts = ast_hace_read(hace_dev, ASPEED_HACE_STS); in aspeed_hace_irq() 36 ast_hace_write(hace_dev, sts, ASPEED_HACE_STS); in aspeed_hace_irq() 38 HACE_DBG(hace_dev, "irq status: 0x%x\n", sts); in aspeed_hace_irq() 40 if (sts & HACE_HASH_ISR) { in aspeed_hace_irq() 47 if (sts & HACE_CRYPTO_ISR) { in aspeed_hace_irq()
|
| /linux-6.15/drivers/net/ethernet/engleder/ |
| H A D | tsnep_ptp.c | 131 struct ptp_system_timestamp *sts) in tsnep_ptp_gettimex64() argument 143 ptp_read_system_prets(sts); in tsnep_ptp_gettimex64() 145 ptp_read_system_postts(sts); in tsnep_ptp_gettimex64() 180 struct ptp_system_timestamp *sts) in tsnep_ptp_getcyclesx64() argument 192 ptp_read_system_prets(sts); in tsnep_ptp_getcyclesx64() 194 ptp_read_system_postts(sts); in tsnep_ptp_getcyclesx64()
|
| /linux-6.15/drivers/mtd/nand/raw/ |
| H A D | mxic_nand.c | 286 u32 sts; in mxic_nfc_isr() local 288 sts = readl(nfc->regs + INT_STS); in mxic_nfc_isr() 289 if (sts & INT_RDY_PIN) in mxic_nfc_isr() 347 u32 sts; in mxic_nfc_data_xfer() local 356 ret = readl_poll_timeout(nfc->regs + INT_STS, sts, in mxic_nfc_data_xfer() 357 sts & INT_TX_EMPTY, 0, USEC_PER_SEC); in mxic_nfc_data_xfer() 363 ret = readl_poll_timeout(nfc->regs + INT_STS, sts, in mxic_nfc_data_xfer() 364 sts & INT_TX_EMPTY, 0, USEC_PER_SEC); in mxic_nfc_data_xfer() 368 ret = readl_poll_timeout(nfc->regs + INT_STS, sts, in mxic_nfc_data_xfer() 369 sts & INT_RX_NOT_EMPTY, 0, in mxic_nfc_data_xfer()
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | cs35l41-lib.c | 1433 enum cs35l41_cspl_mbox_status sts) in cs35l41_check_cspl_mbox_sts() argument 1441 return (sts == CSPL_MBOX_STS_PAUSED); in cs35l41_check_cspl_mbox_sts() 1443 return (sts == CSPL_MBOX_STS_RUNNING); in cs35l41_check_cspl_mbox_sts() 1445 return (sts == CSPL_MBOX_STS_RUNNING); in cs35l41_check_cspl_mbox_sts() 1447 return (sts == CSPL_MBOX_STS_RDY_FOR_REINIT); in cs35l41_check_cspl_mbox_sts() 1449 return (sts == CSPL_MBOX_STS_RUNNING); in cs35l41_check_cspl_mbox_sts() 1458 unsigned int sts = 0, i; in cs35l41_set_cspl_mbox_cmd() local 1479 if (sts == CSPL_MBOX_STS_ERROR || sts == CSPL_MBOX_STS_ERROR2) { in cs35l41_set_cspl_mbox_cmd() 1484 if (!cs35l41_check_cspl_mbox_sts(cmd, sts)) in cs35l41_set_cspl_mbox_cmd() 1532 unsigned int sts; in cs35l41_wait_for_pwrmgt_sts() local [all …]
|
| /linux-6.15/drivers/mfd/ |
| H A D | twl6030-irq.c | 166 } sts; in twl6030_irq_thread() local 171 ret = twl_i2c_read(TWL_MODULE_PIH, sts.bytes, REG_INT_STS_A, 3); in twl6030_irq_thread() 177 sts.bytes[3] = 0; /* Only 24 bits are valid*/ in twl6030_irq_thread() 183 if (sts.bytes[2] & 0x10) in twl6030_irq_thread() 184 sts.bytes[2] |= 0x08; in twl6030_irq_thread() 186 int_sts = le32_to_cpu(sts.int_sts); in twl6030_irq_thread()
|
| /linux-6.15/drivers/usb/cdns3/ |
| H A D | drd.h | 22 __le32 sts; member 43 __le32 sts; member 66 __le32 sts; member 93 __le32 sts; member
|
| /linux-6.15/arch/sh/lib/ |
| H A D | udivsi3_i4i-Os.S | 27 sts pr,r1 105 sts pr,r1 117 sts pr,r2 128 sts macl,r2
|
| /linux-6.15/drivers/char/ipmi/ |
| H A D | kcs_bmc_npcm7xx.c | 61 u32 sts; member 77 { .sts = KCS1ST, .dob = KCS1DO, .dib = KCS1DI, .ctl = KCS1CTL, .ie = KCS1IE }, 78 { .sts = KCS2ST, .dob = KCS2DO, .dib = KCS2DI, .ctl = KCS2CTL, .ie = KCS2IE }, 79 { .sts = KCS3ST, .dob = KCS3DO, .dib = KCS3DI, .ctl = KCS3CTL, .ie = KCS3IE }, 196 kcs_bmc->ioreg.str = priv->reg->sts; in npcm7xx_kcs_probe()
|
| /linux-6.15/drivers/input/misc/ |
| H A D | pm8941-pwrkey.c | 151 unsigned int sts; in pm8941_pwrkey_irq() local 163 err = regmap_read(pwrkey->regmap, pwrkey->baseaddr + PON_RT_STS, &sts); in pm8941_pwrkey_irq() 167 sts &= pwrkey->data->status_bit; in pm8941_pwrkey_irq() 169 if (pwrkey->sw_debounce_time_us && !sts) in pm8941_pwrkey_irq() 177 if (!pwrkey->last_status && !sts) { in pm8941_pwrkey_irq() 181 pwrkey->last_status = sts; in pm8941_pwrkey_irq() 183 input_report_key(pwrkey->input, pwrkey->code, sts); in pm8941_pwrkey_irq()
|
| /linux-6.15/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek_ptp.c | 31 struct ptp_system_timestamp *sts) in hellcreek_ptp_clock_read() argument 49 ptp_read_system_prets(sts); in hellcreek_ptp_clock_read() 51 ptp_read_system_postts(sts); in hellcreek_ptp_clock_read() 57 struct ptp_system_timestamp *sts) in __hellcreek_ptp_gettime() argument 61 ns = hellcreek_ptp_clock_read(hellcreek, sts); in __hellcreek_ptp_gettime() 90 struct ptp_system_timestamp *sts) in hellcreek_ptp_gettimex() argument 96 ns = __hellcreek_ptp_gettime(hellcreek, sts); in hellcreek_ptp_gettimex()
|
| /linux-6.15/drivers/tty/serial/ |
| H A D | max310x.c | 655 unsigned int sts, i; in max310x_handle_rx() local 676 sts &= port->read_status_mask; in max310x_handle_rx() 678 if (sts & MAX310X_LSR_RXOVR_BIT) { in max310x_handle_rx() 712 if (unlikely(sts)) { in max310x_handle_rx() 713 if (sts & MAX310X_LSR_RXBRK_BIT) { in max310x_handle_rx() 719 else if (sts & MAX310X_LSR_FRERR_BIT) in max310x_handle_rx() 721 else if (sts & MAX310X_LSR_RXOVR_BIT) in max310x_handle_rx() 724 sts &= port->read_status_mask; in max310x_handle_rx() 725 if (sts & MAX310X_LSR_RXBRK_BIT) in max310x_handle_rx() 727 else if (sts & MAX310X_LSR_RXPAR_BIT) in max310x_handle_rx() [all …]
|