Searched refs:sts (Results 1 - 25 of 166) sorted by last modified time

1234567

/linux-master/sound/pci/emu10k1/
H A Demu10k1_main.c809 u32 sts; local
821 snd_emu1010_fpga_read(emu, EMU_HANA_IRQ_STATUS, &sts);
825 if (sts & (EMU_HANA_IRQ_DOCK | EMU_HANA_IRQ_DOCK_LOST))
828 if (sts & EMU_HANA_IRQ_WCLK_CHANGED)
838 u16 sts = inw(emu->port + A_GPIO); local
840 if (!(sts & bit))
/linux-master/drivers/soundwire/
H A Damd_manager.c177 u32 sts; local
180 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_IMM_CMD_STS, sts,
181 !(sts & AMD_SDW_IMM_CMD_BUSY), ACP_DELAY_US, AMD_SDW_TIMEOUT);
188 if (sts & AMD_SDW_IMM_RES_VALID) {
195 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_IMM_CMD_STS, sts,
196 (sts & AMD_SDW_IMM_RES_VALID), ACP_DELAY_US, AMD_SDW_TIMEOUT);
206 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_IMM_CMD_STS, sts,
207 !(sts & AMD_SDW_IMM_RES_VALID), ACP_DELAY_US, AMD_SDW_TIMEOUT);
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.c1171 static u64 prueth_iep_gettime(void *clockops_data, struct ptp_system_timestamp *sts) argument
1191 ptp_read_system_prets(sts);
1193 ptp_read_system_postts(sts);
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpts.c368 struct ptp_system_timestamp *sts)
380 ptp_read_system_prets(sts);
383 ptp_read_system_postts(sts);
511 struct ptp_system_timestamp *sts)
517 ns = am65_cpts_gettime(cpts, sts);
367 am65_cpts_gettime(struct am65_cpts *cpts, struct ptp_system_timestamp *sts) argument
509 am65_cpts_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c11233 u32 sts; local
11236 sts = bnxt_fw_health_readl(bp, BNXT_FW_HEALTH_REG);
11238 if (!BNXT_FW_IS_BOOTING(sts) &&
11239 !BNXT_FW_IS_RECOVERING(sts))
11244 if (!BNXT_FW_IS_HEALTHY(sts)) {
11247 sts);
11250 if (sts & FW_STATUS_REG_CRASHED_NO_MASTER) {
13914 u32 sts = bnxt_fw_health_readl(bp, BNXT_FW_HEALTH_REG); local
13916 netdev_err(bp->dev, "fw_health_status 0x%x\n", sts);
/linux-master/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1716 int sts; local
1721 sts = bcmnand_ctrl_poll_status(host, NAND_CTRL_RDY,
1723 err = sts < 0;
1728 sts = wait_for_completion_timeout(&ctrl->done, timeo);
1729 err = !sts;
/linux-master/drivers/iommu/intel/
H A Diommu.c1137 u32 sts; local
1151 readl, (sts & DMA_GSTS_RTPS), sts);
1612 u32 sts; local
1621 readl, (sts & DMA_GSTS_TES), sts);
1628 u32 sts; local
1641 readl, (!(sts & DMA_GSTS_TES)), sts);
/linux-master/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c1238 u8 sts = phy->phy_attached; local
1275 if (sts && !wait_for_completion_timeout(&completion,
2389 if (device_property_read_u32(dev, "ctrl-reset-sts-reg",
2391 dev_err(dev, "could not get property ctrl-reset-sts-reg\n");
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c4338 * @sts: structure to hold system time before and after reading SYSTIML,
4346 struct ptp_system_timestamp *sts)
4356 ptp_read_system_prets(sts);
4358 ptp_read_system_postts(sts);
4378 * @sts: structure which will contain system time before and after reading
4382 struct ptp_system_timestamp *sts)
4393 ptp_read_system_prets(sts);
4395 ptp_read_system_postts(sts);
4399 ptp_read_system_prets(sts);
4401 ptp_read_system_postts(sts);
4345 e1000e_sanitize_systim(struct e1000_hw *hw, u64 systim, struct ptp_system_timestamp *sts) argument
4381 e1000e_read_systim(struct e1000_adapter *adapter, struct ptp_system_timestamp *sts) argument
[all...]
/linux-master/drivers/block/null_blk/
H A Dmain.c1236 blk_status_t sts = BLK_STS_OK; local
1248 sts = BLK_STS_DEV_RESOURCE;
1250 return sts;
1343 blk_status_t sts; local
1351 sts = null_process_zoned_cmd(cmd, op, sector, nr_sectors);
1353 sts = null_process_cmd(cmd, op, sector, nr_sectors);
1357 cmd->error = sts;
1583 blk_status_t sts = null_handle_throttled(cmd); local
1585 if (sts != BLK_STS_OK)
1586 return sts;
[all...]
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_target.c3498 struct ctio_crc_from_fw *sts)
3500 uint8_t *ap = &sts->actual_dif[0];
3501 uint8_t *ep = &sts->expected_dif[0];
3497 qlt_handle_dif_error(struct qla_qpair *qpair, struct qla_tgt_cmd *cmd, struct ctio_crc_from_fw *sts) argument
H A Dqla_mbx.c3335 struct sts_entry_24xx sts; member in union:tsk_mgmt_cmd::__anon254
3345 struct sts_entry_24xx *sts; local
3388 sts = &tsk->p.sts;
3393 } else if (sts->entry_status != 0) {
3396 sts->entry_status);
3398 } else if (sts->comp_status != cpu_to_le16(CS_COMPLETE)) {
3401 le16_to_cpu(sts->comp_status));
3403 } else if (le16_to_cpu(sts->scsi_status) &
3405 if (le32_to_cpu(sts
[all...]
/linux-master/drivers/usb/serial/
H A Dcp210x.c930 struct cp210x_comm_status sts; local
935 port_priv->bInterfaceNumber, &sts, sizeof(sts),
942 *count = le32_to_cpu(sts.ulAmountInOutQueue);
/linux-master/drivers/usb/image/
H A Dmdc800.c682 size_t left=len, sts=len; /* single transfer size */ local
713 sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left;
715 if (sts <= 0)
758 sts)) {
762 ptr+=sts;
763 left-=sts;
764 mdc800->out_ptr+=sts;
/linux-master/drivers/usb/cdns3/
H A Ddrd.c90 id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE;
100 vbus = !!(readl(&cdns->otg_regs->sts) & OTGSTS_VBUS_VALID);
194 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val,
247 ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val,
447 state = OTGSTS_STRAP(readl(&cdns->otg_regs->sts));
476 state = readl(&cdns->otg_regs->sts);
/linux-master/drivers/tty/serial/
H A Dmax310x.c655 unsigned int sts, i; local
671 sts = max310x_port_read(port, MAX310X_LSR_IRQSTS_REG);
676 sts &= port->read_status_mask;
678 if (sts & MAX310X_LSR_RXOVR_BIT) {
684 uart_insert_char(port, sts, 0, one->rx_buf[i], flag);
691 uart_insert_char(port, sts, MAX310X_LSR_RXOVR_BIT,
704 sts = max310x_port_read(port, MAX310X_LSR_IRQSTS_REG);
706 sts &= MAX310X_LSR_RXPAR_BIT | MAX310X_LSR_FRERR_BIT |
712 if (unlikely(sts)) {
713 if (sts
[all...]
/linux-master/drivers/nvme/target/
H A Drdma.c1405 rej.sts = cpu_to_le16(status);
/linux-master/drivers/misc/eeprom/
H A Didt_89hpesx.c261 s32 sts; local
275 sts = idt_smb_safe(write_byte, pdev->client, ccode,
277 if (sts != 0)
278 return (int)sts;
293 s32 sts; local
307 sts = idt_smb_safe(read_byte, pdev->client, ccode);
308 if (sts < 0)
309 return (int)sts;
311 seq->data[idx] = (u8)sts;
326 s32 sts; local
375 s32 sts; local
449 s32 sts; local
510 s32 sts; local
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-tmc-etr.c989 u32 axictl, sts; local
1031 sts = readl_relaxed(drvdata->base + TMC_STS) & ~TMC_STS_FULL;
1032 writel_relaxed(sts, drvdata->base + TMC_STS);
H A Dcoresight-tmc-core.c259 coresight_simple_reg32(sts, TMC_STS),
H A Dcoresight-etb10.c660 coresight_simple_reg32(sts, ETB_STATUS_REG),
/linux-master/fs/dlm/
H A Dlock.c164 "sts %d rq %d gr %d wait_type %d wait_nodeid %d seq %llu\n",
1367 DLM_ASSERT(0, dlm_print_lkb(lkb); printk("sts=%d\n", status););
1378 static void move_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb, int sts) argument
1382 add_lkb(r, lkb, sts);
/linux-master/drivers/vfio/pci/
H A Dvfio_pci_config.c1438 int sts; local
1440 sts = dword & PCI_TPH_CAP_ST_MASK;
1441 sts >>= PCI_TPH_CAP_ST_SHIFT;
1442 return PCI_TPH_BASE_SIZEOF + (sts * 2) + 2;
/linux-master/drivers/scsi/
H A Dqla1280.c1284 qla1280_return_status(struct response * sts, struct scsi_cmnd *cp) argument
1287 uint16_t comp_status = le16_to_cpu(sts->comp_status);
1288 uint16_t state_flags = le16_to_cpu(sts->state_flags);
1289 uint32_t residual_length = le32_to_cpu(sts->residual_length);
1290 uint16_t scsi_status = le16_to_cpu(sts->scsi_status);
1350 qla1280_dump_buffer(2, (char *)sts, RESPONSE_ENTRY_SIZE);
/linux-master/sound/soc/codecs/
H A Dcs42l43-jack.c325 unsigned int sts = 0; local
327 regmap_read(cs42l43->regmap, CS42L43_TIP_RING_SENSE_INTERRUPT_STATUS, &sts);
329 sts = (sts >> CS42L43_TIPSENSE_PLUG_DB_STS_SHIFT) & CS42L43_JACK_PRESENT;
331 return sts == CS42L43_JACK_PRESENT;
717 unsigned int sts = 0; local
729 regmap_read(cs42l43->regmap, CS42L43_TIP_RING_SENSE_INTERRUPT_STATUS, &sts);
731 dev_dbg(priv->dev, "Tip sense: 0x%x\n", sts);
733 tip = (sts >> CS42L43_TIPSENSE_PLUG_DB_STS_SHIFT) & CS42L43_JACK_PRESENT;
734 ring = (sts >> CS42L43_RINGSENSE_PLUG_DB_STS_SHIF
[all...]

Completed in 569 milliseconds

1234567