sts                65 arch/mips/include/asm/mach-pmcs-msp71xx/msp_usb.h 	u32 sts;	/* 0x44: USB status */
sts               659 arch/powerpc/include/asm/cpm2.h 	ushort sts;		/* source transfer size */
sts               217 arch/x86/platform/olpc/olpc-xo1-sci.c 	u32 sts;
sts               220 arch/x86/platform/olpc/olpc-xo1-sci.c 	sts = inl(acpi_base + CS5536_PM1_STS);
sts               221 arch/x86/platform/olpc/olpc-xo1-sci.c 	outl(sts | 0xffff, acpi_base + CS5536_PM1_STS);
sts               226 arch/x86/platform/olpc/olpc-xo1-sci.c 	dev_dbg(&pdev->dev, "sts %x gpe %x\n", sts, gpe);
sts               228 arch/x86/platform/olpc/olpc-xo1-sci.c 	if (sts & CS5536_PWRBTN_FLAG) {
sts               229 arch/x86/platform/olpc/olpc-xo1-sci.c 		if (!(sts & CS5536_WAK_FLAG)) {
sts               242 arch/x86/platform/olpc/olpc-xo1-sci.c 	if ((sts & (CS5536_RTC_FLAG | CS5536_WAK_FLAG)) ==
sts               317 arch/x86/platform/olpc/olpc-xo1-sci.c 	u32 sts;
sts               345 arch/x86/platform/olpc/olpc-xo1-sci.c 	sts = inl(acpi_base + CS5536_PM1_STS);
sts               269 block/bsg-lib.c 	blk_status_t sts = BLK_STS_IOERR;
sts               282 block/bsg-lib.c 		sts = BLK_STS_OK;
sts               286 block/bsg-lib.c 	return sts;
sts              1141 drivers/block/null_blk_main.c 	blk_status_t sts = BLK_STS_OK;
sts              1153 drivers/block/null_blk_main.c 		sts = BLK_STS_DEV_RESOURCE;
sts              1155 drivers/block/null_blk_main.c 	return sts;
sts              1217 drivers/block/null_blk_main.c 	blk_status_t sts;
sts              1220 drivers/block/null_blk_main.c 		sts = null_handle_throttled(cmd);
sts              1221 drivers/block/null_blk_main.c 		if (sts != BLK_STS_OK)
sts              1222 drivers/block/null_blk_main.c 			return sts;
sts                60 drivers/char/ipmi/kcs_bmc_npcm7xx.c 	u32 sts;
sts                74 drivers/char/ipmi/kcs_bmc_npcm7xx.c 	{ .sts = KCS1ST, .dob = KCS1DO, .dib = KCS1DI, .ctl = KCS1CTL, .ie = KCS1IE },
sts                75 drivers/char/ipmi/kcs_bmc_npcm7xx.c 	{ .sts = KCS2ST, .dob = KCS2DO, .dib = KCS2DI, .ctl = KCS2CTL, .ie = KCS2IE },
sts                76 drivers/char/ipmi/kcs_bmc_npcm7xx.c 	{ .sts = KCS3ST, .dob = KCS3DO, .dib = KCS3DI, .ctl = KCS3CTL, .ie = KCS3IE },
sts               163 drivers/char/ipmi/kcs_bmc_npcm7xx.c 	kcs_bmc->ioreg.str = priv->reg->sts;
sts               272 drivers/char/tpm/tpm_crb.c 	u8 sts = 0;
sts               276 drivers/char/tpm/tpm_crb.c 		sts |= CRB_DRV_STS_COMPLETE;
sts               278 drivers/char/tpm/tpm_crb.c 	return sts;
sts               523 drivers/char/tpm/tpm_i2c_infineon.c 	u8 sts = TPM_STS_GO;
sts               583 drivers/char/tpm/tpm_i2c_infineon.c 	iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1);
sts               305 drivers/dma/pch_dma.c 	u32 sts;
sts               308 drivers/dma/pch_dma.c 		sts = pdc_get_status0(pd_chan);
sts               310 drivers/dma/pch_dma.c 		sts = pdc_get_status2(pd_chan);
sts               313 drivers/dma/pch_dma.c 	if (sts == DMA_STATUS_IDLE)
sts                97 drivers/fsi/fsi-sbefifo.c #define sbefifo_empty(sts)	((sts) & SBEFIFO_STS_EMPTY)
sts                98 drivers/fsi/fsi-sbefifo.c #define sbefifo_full(sts)	((sts) & SBEFIFO_STS_FULL)
sts                99 drivers/fsi/fsi-sbefifo.c #define sbefifo_parity_err(sts)	((sts) & SBEFIFO_STS_PARITY_ERR)
sts               100 drivers/fsi/fsi-sbefifo.c #define sbefifo_populated(sts)	(((sts) & SBEFIFO_STS_ECNT_MASK) >> SBEFIFO_STS_ECNT_SHIFT)
sts               101 drivers/fsi/fsi-sbefifo.c #define sbefifo_vacant(sts)	(SBEFIFO_FIFO_DEPTH - sbefifo_populated(sts))
sts               102 drivers/fsi/fsi-sbefifo.c #define sbefifo_eot_set(sts)	(((sts) & SBEFIFO_STS_EOT_MASK) >> SBEFIFO_STS_EOT_SHIFT)
sts               439 drivers/fsi/fsi-sbefifo.c 	u32 addr, sts = 0;
sts               449 drivers/fsi/fsi-sbefifo.c 		rc = sbefifo_regr(sbefifo, addr, &sts);
sts               454 drivers/fsi/fsi-sbefifo.c 		if (!up && sbefifo_parity_err(sts)) {
sts               458 drivers/fsi/fsi-sbefifo.c 		ready = !(up ? sbefifo_full(sts) : sbefifo_empty(sts));
sts               463 drivers/fsi/fsi-sbefifo.c 		dev_err(dev, "%s FIFO Timeout ! status=%08x\n", up ? "UP" : "DOWN", sts);
sts               466 drivers/fsi/fsi-sbefifo.c 	dev_vdbg(dev, "End of wait status: %08x\n", sts);
sts               468 drivers/fsi/fsi-sbefifo.c 	*status = sts;
sts              1025 drivers/gpu/drm/bridge/cdns-dsi.c 	u32 cmd, sts, val, wait = WRITE_COMPLETED, ctl = 0;
sts              1104 drivers/gpu/drm/bridge/cdns-dsi.c 	sts = readl(dsi->regs + DIRECT_CMD_STS);
sts              1112 drivers/gpu/drm/bridge/cdns-dsi.c 	if (!(sts & wait)) {
sts              1118 drivers/gpu/drm/bridge/cdns-dsi.c 	if (sts & (READ_COMPLETED_WITH_ERR | ACK_WITH_ERR_RCVD)) {
sts               461 drivers/hid/hid-asus.c 	u8 sts;
sts               466 drivers/hid/hid-asus.c 	sts = data[8];
sts               470 drivers/hid/hid-asus.c 	switch (sts) {
sts               660 drivers/hwtracing/coresight/coresight-etb10.c coresight_etb10_reg(sts, ETB_STATUS_REG);
sts               953 drivers/hwtracing/coresight/coresight-tmc-etr.c 	u32 axictl, sts;
sts               987 drivers/hwtracing/coresight/coresight-tmc-etr.c 		sts = readl_relaxed(drvdata->base + TMC_STS) & ~TMC_STS_FULL;
sts               988 drivers/hwtracing/coresight/coresight-tmc-etr.c 		writel_relaxed(sts, drvdata->base + TMC_STS);
sts               259 drivers/hwtracing/coresight/coresight-tmc.c coresight_tmc_reg(sts, TMC_STS);
sts               139 drivers/i2c/busses/i2c-amd-mp2-pci.c 	enum status_type sts = i2c_common->eventval.r.status;
sts               151 drivers/i2c/busses/i2c-amd-mp2-pci.c 		if (sts == i2c_readcomplete_event) {
sts               157 drivers/i2c/busses/i2c-amd-mp2-pci.c 		} else if (sts != i2c_readfail_event) {
sts               159 drivers/i2c/busses/i2c-amd-mp2-pci.c 				"invalid i2c status after read (%d)!\n", sts);
sts               163 drivers/i2c/busses/i2c-amd-mp2-pci.c 		if (sts == i2c_writecomplete_event)
sts               165 drivers/i2c/busses/i2c-amd-mp2-pci.c 		else if (sts != i2c_writefail_event)
sts               167 drivers/i2c/busses/i2c-amd-mp2-pci.c 				"invalid i2c status after write (%d)!\n", sts);
sts               170 drivers/i2c/busses/i2c-amd-mp2-pci.c 		if (sts == i2c_busenable_complete)
sts               172 drivers/i2c/busses/i2c-amd-mp2-pci.c 		else if (sts != i2c_busenable_failed)
sts               175 drivers/i2c/busses/i2c-amd-mp2-pci.c 				sts);
sts               178 drivers/i2c/busses/i2c-amd-mp2-pci.c 		if (sts == i2c_busdisable_complete)
sts               180 drivers/i2c/busses/i2c-amd-mp2-pci.c 		else if (sts != i2c_busdisable_failed)
sts               183 drivers/i2c/busses/i2c-amd-mp2-pci.c 				sts);
sts               594 drivers/i2c/busses/i2c-eg20t.c 	u32 sts;
sts               597 drivers/i2c/busses/i2c-eg20t.c 	sts = ioread32(p + PCH_I2CSR);
sts               598 drivers/i2c/busses/i2c-eg20t.c 	sts &= (I2CMAL_BIT | I2CMCF_BIT | I2CMIF_BIT);
sts               599 drivers/i2c/busses/i2c-eg20t.c 	if (sts & I2CMAL_BIT)
sts               602 drivers/i2c/busses/i2c-eg20t.c 	if (sts & I2CMCF_BIT)
sts               606 drivers/i2c/busses/i2c-eg20t.c 	pch_clrbit(adap->pch_base_address, PCH_I2CSR, sts);
sts                89 drivers/i2c/busses/i2c-ibm_iic.c 		in_8(&iic->cntl), in_8(&iic->mdcntl), in_8(&iic->sts),
sts               147 drivers/i2c/busses/i2c-ibm_iic.c 	out_8(&iic->sts, STS_SCMP | STS_IRQA);
sts               329 drivers/i2c/busses/i2c-ibm_iic.c 	     dev->idx, in_8(&iic->sts), in_8(&iic->extsts));
sts               332 drivers/i2c/busses/i2c-ibm_iic.c 	out_8(&iic->sts, STS_IRQA | STS_SCMP);
sts               346 drivers/i2c/busses/i2c-ibm_iic.c 	if (unlikely(in_8(&iic->sts) & STS_ERR)){
sts               415 drivers/i2c/busses/i2c-ibm_iic.c 			!(in_8(&iic->sts) & STS_PT), dev->adap.timeout);
sts               419 drivers/i2c/busses/i2c-ibm_iic.c 		else if (unlikely(in_8(&iic->sts) & STS_PT)){
sts               428 drivers/i2c/busses/i2c-ibm_iic.c 		while (in_8(&iic->sts) & STS_PT){
sts                29 drivers/i2c/busses/i2c-ibm_iic.h 	u8 sts;
sts               606 drivers/input/keyboard/applespi.c 					       int sts)
sts               610 drivers/input/keyboard/applespi.c 	if (sts < 0) {
sts               612 drivers/input/keyboard/applespi.c 			 sts);
sts               659 drivers/input/keyboard/applespi.c 	int sts;
sts               661 drivers/input/keyboard/applespi.c 	sts = applespi_get_spi_settings(applespi);
sts               662 drivers/input/keyboard/applespi.c 	if (sts)
sts               663 drivers/input/keyboard/applespi.c 		return sts;
sts               750 drivers/input/keyboard/applespi.c 	int sts;
sts               851 drivers/input/keyboard/applespi.c 	sts = applespi_async(applespi, &applespi->wr_m,
sts               853 drivers/input/keyboard/applespi.c 	if (sts) {
sts               855 drivers/input/keyboard/applespi.c 			 "Error queueing async write to device: %d\n", sts);
sts               856 drivers/input/keyboard/applespi.c 		return sts;
sts               884 drivers/input/keyboard/applespi.c 	int sts;
sts               889 drivers/input/keyboard/applespi.c 	sts = applespi_send_cmd_msg(applespi);
sts               893 drivers/input/keyboard/applespi.c 	return sts;
sts              1207 drivers/input/keyboard/applespi.c 	int sts;
sts              1223 drivers/input/keyboard/applespi.c 		sts = sscanf(touchpad_dimensions, "%dx%d+%u+%u", &x, &y, &w, &h);
sts              1224 drivers/input/keyboard/applespi.c 		if (sts == 4) {
sts              1299 drivers/input/keyboard/applespi.c 	sts = input_mt_init_slots(touchpad_input_dev, MAX_FINGERS,
sts              1302 drivers/input/keyboard/applespi.c 	if (sts) {
sts              1304 drivers/input/keyboard/applespi.c 			"failed to initialize slots: %d", sts);
sts              1305 drivers/input/keyboard/applespi.c 		return sts;
sts              1309 drivers/input/keyboard/applespi.c 	sts = input_register_device(touchpad_input_dev);
sts              1310 drivers/input/keyboard/applespi.c 	if (sts) {
sts              1312 drivers/input/keyboard/applespi.c 			"Unable to register touchpad input device (%d)\n", sts);
sts              1313 drivers/input/keyboard/applespi.c 		return sts;
sts              1551 drivers/input/keyboard/applespi.c 	int sts;
sts              1559 drivers/input/keyboard/applespi.c 		sts = applespi_async(applespi, &applespi->rd_m,
sts              1561 drivers/input/keyboard/applespi.c 		if (sts)
sts              1564 drivers/input/keyboard/applespi.c 				 sts);
sts              1579 drivers/input/keyboard/applespi.c 	int sts;
sts              1590 drivers/input/keyboard/applespi.c 	sts = efivar_entry_get(efivar_entry, NULL, &efi_data_len, &efi_data);
sts              1591 drivers/input/keyboard/applespi.c 	if (sts && sts != -ENOENT)
sts              1594 drivers/input/keyboard/applespi.c 			 sts);
sts              1598 drivers/input/keyboard/applespi.c 	return sts ? sts : efi_data;
sts              1608 drivers/input/keyboard/applespi.c 	int sts;
sts              1617 drivers/input/keyboard/applespi.c 	sts = efivar_entry_set_safe((efi_char16_t *)EFI_BL_LEVEL_NAME, efi_guid,
sts              1619 drivers/input/keyboard/applespi.c 	if (sts)
sts              1621 drivers/input/keyboard/applespi.c 			 "Error saving backlight level to EFI vars: %d\n", sts);
sts              1629 drivers/input/keyboard/applespi.c 	int sts, i;
sts              1689 drivers/input/keyboard/applespi.c 	sts = applespi_setup_spi(applespi);
sts              1690 drivers/input/keyboard/applespi.c 	if (sts)
sts              1691 drivers/input/keyboard/applespi.c 		return sts;
sts              1693 drivers/input/keyboard/applespi.c 	sts = applespi_enable_spi(applespi);
sts              1694 drivers/input/keyboard/applespi.c 	if (sts)
sts              1695 drivers/input/keyboard/applespi.c 		return sts;
sts              1732 drivers/input/keyboard/applespi.c 	sts = input_register_device(applespi->keyboard_input_dev);
sts              1733 drivers/input/keyboard/applespi.c 	if (sts) {
sts              1735 drivers/input/keyboard/applespi.c 			"Unable to register keyboard input device (%d)\n", sts);
sts              1784 drivers/input/keyboard/applespi.c 	sts = applespi_get_saved_bl_level(applespi);
sts              1785 drivers/input/keyboard/applespi.c 	if (sts >= 0)
sts              1786 drivers/input/keyboard/applespi.c 		applespi_set_bl_level(&applespi->backlight_info, sts);
sts              1792 drivers/input/keyboard/applespi.c 	sts = devm_led_classdev_register(&spi->dev, &applespi->backlight_info);
sts              1793 drivers/input/keyboard/applespi.c 	if (sts)
sts              1796 drivers/input/keyboard/applespi.c 			 sts);
sts              1876 drivers/input/keyboard/applespi.c 	int sts;
sts              1879 drivers/input/keyboard/applespi.c 	sts = applespi_set_capsl_led(applespi, false);
sts              1880 drivers/input/keyboard/applespi.c 	if (sts)
sts              1882 drivers/input/keyboard/applespi.c 			 "Failed to turn off caps-lock led (%d)\n", sts);
sts                74 drivers/input/keyboard/spear-keyboard.c 	u32 sts, val;
sts                76 drivers/input/keyboard/spear-keyboard.c 	sts = readl_relaxed(kbd->io_base + STATUS_REG);
sts                77 drivers/input/keyboard/spear-keyboard.c 	if (!(sts & STATUS_DATA_AVAIL))
sts               121 drivers/input/misc/pm8941-pwrkey.c 	unsigned int sts;
sts               125 drivers/input/misc/pm8941-pwrkey.c 			    pwrkey->baseaddr + PON_RT_STS, &sts);
sts               130 drivers/input/misc/pm8941-pwrkey.c 			 sts & pwrkey->data->status_bit);
sts                85 drivers/input/serio/olpc_apsp.c 		u32 sts = readl(priv->base + COMMAND_FIFO_STATUS);
sts                86 drivers/input/serio/olpc_apsp.c 		if ((sts & CMD_CNTR_MASK) < MAX_PENDING_CMDS) {
sts              1021 drivers/iommu/dmar.c 	u32 ver, sts;
sts              1075 drivers/iommu/dmar.c 	sts = readl(iommu->reg + DMAR_GSTS_REG);
sts              1076 drivers/iommu/dmar.c 	if (sts & DMA_GSTS_IRES)
sts              1078 drivers/iommu/dmar.c 	if (sts & DMA_GSTS_TES)
sts              1080 drivers/iommu/dmar.c 	if (sts & DMA_GSTS_QIES)
sts              1386 drivers/iommu/dmar.c 	u32 sts;
sts              1394 drivers/iommu/dmar.c 	sts =  readl(iommu->reg + DMAR_GSTS_REG);
sts              1395 drivers/iommu/dmar.c 	if (!(sts & DMA_GSTS_QIES))
sts              1410 drivers/iommu/dmar.c 		      !(sts & DMA_GSTS_QIES), sts);
sts              1420 drivers/iommu/dmar.c 	u32 sts;
sts              1446 drivers/iommu/dmar.c 	IOMMU_WAIT_OP(iommu, DMAR_GSTS_REG, readl, (sts & DMA_GSTS_QIES), sts);
sts               284 drivers/iommu/intel-iommu-debugfs.c 	u32 sts;
sts               288 drivers/iommu/intel-iommu-debugfs.c 		sts = dmar_readl(iommu->reg + DMAR_GSTS_REG);
sts               289 drivers/iommu/intel-iommu-debugfs.c 		if (!(sts & DMA_GSTS_TES)) {
sts               363 drivers/iommu/intel-iommu-debugfs.c 	u32 sts;
sts               373 drivers/iommu/intel-iommu-debugfs.c 		sts = dmar_readl(iommu->reg + DMAR_GSTS_REG);
sts               374 drivers/iommu/intel-iommu-debugfs.c 		if (iommu->ir_table && (sts & DMA_GSTS_IRES)) {
sts              1214 drivers/iommu/intel-iommu.c 	u32 sts;
sts              1228 drivers/iommu/intel-iommu.c 		      readl, (sts & DMA_GSTS_RTPS), sts);
sts              1573 drivers/iommu/intel-iommu.c 	u32 sts;
sts              1582 drivers/iommu/intel-iommu.c 		      readl, (sts & DMA_GSTS_TES), sts);
sts              1589 drivers/iommu/intel-iommu.c 	u32 sts;
sts              1598 drivers/iommu/intel-iommu.c 		      readl, (!(sts & DMA_GSTS_TES)), sts);
sts               478 drivers/iommu/intel_irq_remapping.c 	u32 sts;
sts               491 drivers/iommu/intel_irq_remapping.c 		      readl, (sts & DMA_GSTS_IRTPS), sts);
sts               504 drivers/iommu/intel_irq_remapping.c 	u32 sts;
sts               514 drivers/iommu/intel_irq_remapping.c 		      readl, (sts & DMA_GSTS_IRES), sts);
sts               521 drivers/iommu/intel_irq_remapping.c 	if (sts & DMA_GSTS_CFIS)
sts               654 drivers/iommu/intel_irq_remapping.c 	u32 sts;
sts               667 drivers/iommu/intel_irq_remapping.c 	sts = readl(iommu->reg + DMAR_GSTS_REG);
sts               668 drivers/iommu/intel_irq_remapping.c 	if (!(sts & DMA_GSTS_IRES))
sts               675 drivers/iommu/intel_irq_remapping.c 		      readl, !(sts & DMA_GSTS_IRES), sts);
sts               541 drivers/media/platform/aspeed-video.c 	u32 sts = aspeed_video_read(video, VE_INTERRUPT_STATUS);
sts               547 drivers/media/platform/aspeed-video.c 	if (sts & VE_INTERRUPT_MODE_DETECT_WD) {
sts               552 drivers/media/platform/aspeed-video.c 	if (sts & VE_INTERRUPT_MODE_DETECT) {
sts               558 drivers/media/platform/aspeed-video.c 			sts &= ~VE_INTERRUPT_MODE_DETECT;
sts               572 drivers/media/platform/aspeed-video.c 	if (sts & VE_INTERRUPT_COMP_COMPLETE) {
sts               604 drivers/media/platform/aspeed-video.c 		sts &= ~VE_INTERRUPT_COMP_COMPLETE;
sts               614 drivers/media/platform/aspeed-video.c 	if (sts & VE_INTERRUPT_CAPTURE_COMPLETE)
sts               615 drivers/media/platform/aspeed-video.c 		sts &= ~VE_INTERRUPT_CAPTURE_COMPLETE;
sts               616 drivers/media/platform/aspeed-video.c 	if (sts & VE_INTERRUPT_FRAME_COMPLETE)
sts               617 drivers/media/platform/aspeed-video.c 		sts &= ~VE_INTERRUPT_FRAME_COMPLETE;
sts               619 drivers/media/platform/aspeed-video.c 	return sts ? IRQ_NONE : IRQ_HANDLED;
sts               627 drivers/media/platform/aspeed-video.c 	u32 sts;
sts               630 drivers/media/platform/aspeed-video.c 		sts = aspeed_video_read(video, VE_MODE_DETECT_STATUS);
sts               631 drivers/media/platform/aspeed-video.c 		if (sts & VE_MODE_DETECT_STATUS_VSYNC)
sts               636 drivers/media/platform/aspeed-video.c 		if (sts & VE_MODE_DETECT_STATUS_HSYNC)
sts               191 drivers/media/usb/as102/as10x_cmd.c 	pstatus->tune_state = prsp->body.get_tune_status.rsp.sts.tune_state;
sts               193 drivers/media/usb/as102/as10x_cmd.c 		le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.signal_strength);
sts               194 drivers/media/usb/as102/as10x_cmd.c 	pstatus->PER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.PER);
sts               195 drivers/media/usb/as102/as10x_cmd.c 	pstatus->BER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.BER);
sts               142 drivers/media/usb/as102/as10x_cmd.h 		struct as10x_tune_status sts;
sts               166 drivers/mfd/twl6030-irq.c 	} sts;
sts               171 drivers/mfd/twl6030-irq.c 	ret = twl_i2c_read(TWL_MODULE_PIH, sts.bytes, REG_INT_STS_A, 3);
sts               177 drivers/mfd/twl6030-irq.c 	sts.bytes[3] = 0; /* Only 24 bits are valid*/
sts               183 drivers/mfd/twl6030-irq.c 	if (sts.bytes[2] & 0x10)
sts               184 drivers/mfd/twl6030-irq.c 		sts.bytes[2] |= 0x08;
sts               186 drivers/mfd/twl6030-irq.c 	int_sts = le32_to_cpu(sts.int_sts);
sts               292 drivers/misc/eeprom/idt_89hpesx.c 	s32 sts;
sts               306 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(write_byte, pdev->client, ccode,
sts               308 drivers/misc/eeprom/idt_89hpesx.c 		if (sts != 0)
sts               309 drivers/misc/eeprom/idt_89hpesx.c 			return (int)sts;
sts               324 drivers/misc/eeprom/idt_89hpesx.c 	s32 sts;
sts               338 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(read_byte, pdev->client, ccode);
sts               339 drivers/misc/eeprom/idt_89hpesx.c 		if (sts < 0)
sts               340 drivers/misc/eeprom/idt_89hpesx.c 			return (int)sts;
sts               342 drivers/misc/eeprom/idt_89hpesx.c 		seq->data[idx] = (u8)sts;
sts               357 drivers/misc/eeprom/idt_89hpesx.c 	s32 sts;
sts               374 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(write_word, pdev->client, ccode,
sts               376 drivers/misc/eeprom/idt_89hpesx.c 		if (sts != 0)
sts               377 drivers/misc/eeprom/idt_89hpesx.c 			return (int)sts;
sts               388 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(write_byte, pdev->client, ccode,
sts               390 drivers/misc/eeprom/idt_89hpesx.c 		if (sts != 0)
sts               391 drivers/misc/eeprom/idt_89hpesx.c 			return (int)sts;
sts               406 drivers/misc/eeprom/idt_89hpesx.c 	s32 sts;
sts               423 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(read_word, pdev->client, ccode);
sts               424 drivers/misc/eeprom/idt_89hpesx.c 		if (sts < 0)
sts               425 drivers/misc/eeprom/idt_89hpesx.c 			return (int)sts;
sts               427 drivers/misc/eeprom/idt_89hpesx.c 		*(u16 *)&seq->data[idx] = (u16)sts;
sts               438 drivers/misc/eeprom/idt_89hpesx.c 		sts = idt_smb_safe(read_byte, pdev->client, ccode);
sts               439 drivers/misc/eeprom/idt_89hpesx.c 		if (sts < 0)
sts               440 drivers/misc/eeprom/idt_89hpesx.c 			return (int)sts;
sts               442 drivers/misc/eeprom/idt_89hpesx.c 		seq->data[idx] = (u8)sts;
sts               480 drivers/misc/eeprom/idt_89hpesx.c 	s32 sts;
sts               491 drivers/misc/eeprom/idt_89hpesx.c 	sts = idt_smb_safe(read_block, pdev->client, ccode, seq->data);
sts               492 drivers/misc/eeprom/idt_89hpesx.c 	if (sts != seq->bytecnt)
sts               493 drivers/misc/eeprom/idt_89hpesx.c 		return (sts < 0 ? sts : -ENODATA);
sts               541 drivers/misc/eeprom/idt_89hpesx.c 	s32 sts;
sts               551 drivers/misc/eeprom/idt_89hpesx.c 	sts = idt_smb_safe(read_i2c_block, pdev->client, ccode,
sts               553 drivers/misc/eeprom/idt_89hpesx.c 	if (sts != seq->bytecnt + 1)
sts               554 drivers/misc/eeprom/idt_89hpesx.c 		return (sts < 0 ? sts : -ENODATA);
sts              1357 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	int sts;
sts              1362 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		sts = bcmnand_ctrl_poll_status(ctrl, NAND_CTRL_RDY,
sts              1364 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		err = (sts < 0) ? true : false;
sts              1369 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		sts = wait_for_completion_timeout(&ctrl->done, timeo);
sts              1370 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		err = (sts <= 0) ? true : false;
sts               286 drivers/mtd/nand/raw/mxic_nand.c 	u32 sts;
sts               288 drivers/mtd/nand/raw/mxic_nand.c 	sts = readl(nfc->regs + INT_STS);
sts               289 drivers/mtd/nand/raw/mxic_nand.c 	if (sts & INT_RDY_PIN)
sts               347 drivers/mtd/nand/raw/mxic_nand.c 		u32 sts;
sts               356 drivers/mtd/nand/raw/mxic_nand.c 		ret = readl_poll_timeout(nfc->regs + INT_STS, sts,
sts               357 drivers/mtd/nand/raw/mxic_nand.c 					 sts & INT_TX_EMPTY, 0, USEC_PER_SEC);
sts               363 drivers/mtd/nand/raw/mxic_nand.c 		ret = readl_poll_timeout(nfc->regs + INT_STS, sts,
sts               364 drivers/mtd/nand/raw/mxic_nand.c 					 sts & INT_TX_EMPTY, 0, USEC_PER_SEC);
sts               368 drivers/mtd/nand/raw/mxic_nand.c 		ret = readl_poll_timeout(nfc->regs + INT_STS, sts,
sts               369 drivers/mtd/nand/raw/mxic_nand.c 					 sts & INT_RX_NOT_EMPTY, 0,
sts               625 drivers/net/can/rcar/rcar_canfd.c 	u32 sts, ch;
sts               631 drivers/net/can/rcar/rcar_canfd.c 	err = readl_poll_timeout((gpriv->base + RCANFD_GSTS), sts,
sts               632 drivers/net/can/rcar/rcar_canfd.c 				 !(sts & RCANFD_GSTS_GRAMINIT), 2, 500000);
sts               644 drivers/net/can/rcar/rcar_canfd.c 	err = readl_poll_timeout((gpriv->base + RCANFD_GSTS), sts,
sts               645 drivers/net/can/rcar/rcar_canfd.c 				 (sts & RCANFD_GSTS_GRSTSTS), 2, 500000);
sts               672 drivers/net/can/rcar/rcar_canfd.c 		err = readl_poll_timeout((gpriv->base + RCANFD_CSTS(ch)), sts,
sts               673 drivers/net/can/rcar/rcar_canfd.c 					 (sts & RCANFD_CSTS_CRSTSTS),
sts               871 drivers/net/can/rcar/rcar_canfd.c 	u32 gerfl, sts;
sts               884 drivers/net/can/rcar/rcar_canfd.c 		sts = rcar_canfd_read(priv->base,
sts               886 drivers/net/can/rcar/rcar_canfd.c 		if (sts & RCANFD_CFSTS_CFMLT) {
sts               891 drivers/net/can/rcar/rcar_canfd.c 					 sts & ~RCANFD_CFSTS_CFMLT);
sts               894 drivers/net/can/rcar/rcar_canfd.c 		sts = rcar_canfd_read(priv->base, RCANFD_RFSTS(ridx));
sts               895 drivers/net/can/rcar/rcar_canfd.c 		if (sts & RCANFD_RFSTS_RFMLT) {
sts               899 drivers/net/can/rcar/rcar_canfd.c 					 sts & ~RCANFD_RFSTS_RFMLT);
sts              1036 drivers/net/can/rcar/rcar_canfd.c 	u32 sts;
sts              1051 drivers/net/can/rcar/rcar_canfd.c 		sts = rcar_canfd_read(priv->base,
sts              1053 drivers/net/can/rcar/rcar_canfd.c 		unsent = RCANFD_CFSTS_CFMC(sts);
sts              1069 drivers/net/can/rcar/rcar_canfd.c 			 sts & ~RCANFD_CFSTS_CFTXIF);
sts              1078 drivers/net/can/rcar/rcar_canfd.c 	u32 sts, gerfl;
sts              1095 drivers/net/can/rcar/rcar_canfd.c 		sts = rcar_canfd_read(priv->base, RCANFD_RFSTS(ridx));
sts              1096 drivers/net/can/rcar/rcar_canfd.c 		if (likely(sts & RCANFD_RFSTS_RFIF)) {
sts              1147 drivers/net/can/rcar/rcar_canfd.c 	u32 sts, ch, cerfl;
sts              1157 drivers/net/can/rcar/rcar_canfd.c 		sts = rcar_canfd_read(priv->base, RCANFD_CSTS(ch));
sts              1158 drivers/net/can/rcar/rcar_canfd.c 		txerr = RCANFD_CSTS_TECCNT(sts);
sts              1159 drivers/net/can/rcar/rcar_canfd.c 		rxerr = RCANFD_CSTS_RECCNT(sts);
sts              1169 drivers/net/can/rcar/rcar_canfd.c 		sts = rcar_canfd_read(priv->base,
sts              1171 drivers/net/can/rcar/rcar_canfd.c 		if (likely(sts & RCANFD_CFSTS_CFTXIF))
sts              1229 drivers/net/can/rcar/rcar_canfd.c 	u32 sts, ch = priv->channel;
sts              1241 drivers/net/can/rcar/rcar_canfd.c 	err = readl_poll_timeout((priv->base + RCANFD_CSTS(ch)), sts,
sts              1242 drivers/net/can/rcar/rcar_canfd.c 				 (sts & RCANFD_CSTS_COMSTS), 2, 500000);
sts              1300 drivers/net/can/rcar/rcar_canfd.c 	u32 sts, ch = priv->channel;
sts              1308 drivers/net/can/rcar/rcar_canfd.c 	err = readl_poll_timeout((priv->base + RCANFD_CSTS(ch)), sts,
sts              1309 drivers/net/can/rcar/rcar_canfd.c 				 (sts & RCANFD_CSTS_CRSTSTS), 2, 500000);
sts              1343 drivers/net/can/rcar/rcar_canfd.c 	u32 sts = 0, id, dlc;
sts              1370 drivers/net/can/rcar/rcar_canfd.c 			sts |= RCANFD_CFFDCSTS_CFFDF;
sts              1372 drivers/net/can/rcar/rcar_canfd.c 				sts |= RCANFD_CFFDCSTS_CFBRS;
sts              1375 drivers/net/can/rcar/rcar_canfd.c 				sts |= RCANFD_CFFDCSTS_CFESI;
sts              1379 drivers/net/can/rcar/rcar_canfd.c 				 RCANFD_F_CFFDCSTS(ch, RCANFD_CFFIFO_IDX), sts);
sts              1417 drivers/net/can/rcar/rcar_canfd.c 	u32 sts = 0, id, dlc;
sts              1425 drivers/net/can/rcar/rcar_canfd.c 		sts = rcar_canfd_read(priv->base, RCANFD_F_RFFDSTS(ridx));
sts              1426 drivers/net/can/rcar/rcar_canfd.c 		if (sts & RCANFD_RFFDSTS_RFFDF)
sts              1448 drivers/net/can/rcar/rcar_canfd.c 		if (sts & RCANFD_RFFDSTS_RFFDF)
sts              1453 drivers/net/can/rcar/rcar_canfd.c 		if (sts & RCANFD_RFFDSTS_RFESI) {
sts              1458 drivers/net/can/rcar/rcar_canfd.c 		if (!(sts & RCANFD_RFFDSTS_RFFDF) && (id & RCANFD_RFID_RFRTR)) {
sts              1461 drivers/net/can/rcar/rcar_canfd.c 			if (sts & RCANFD_RFFDSTS_RFBRS)
sts              1491 drivers/net/can/rcar/rcar_canfd.c 	u32 sts;
sts              1496 drivers/net/can/rcar/rcar_canfd.c 		sts = rcar_canfd_read(priv->base, RCANFD_RFSTS(ridx));
sts              1498 drivers/net/can/rcar/rcar_canfd.c 		if (sts & RCANFD_RFSTS_RFEMP)
sts              1504 drivers/net/can/rcar/rcar_canfd.c 		if (sts & RCANFD_RFSTS_RFIF)
sts              1506 drivers/net/can/rcar/rcar_canfd.c 					 sts & ~RCANFD_RFSTS_RFIF);
sts              1635 drivers/net/can/rcar/rcar_canfd.c 	u32 sts, ch, fcan_freq;
sts              1770 drivers/net/can/rcar/rcar_canfd.c 	err = readl_poll_timeout((gpriv->base + RCANFD_GSTS), sts,
sts              1771 drivers/net/can/rcar/rcar_canfd.c 				 !(sts & RCANFD_GSTS_GNOPM), 2, 500000);
sts              1159 drivers/net/dsa/b53/b53_common.c 	u16 sts;
sts              1161 drivers/net/dsa/b53/b53_common.c 	b53_read16(dev, B53_STAT_PAGE, B53_LINK_STAT, &sts);
sts              1162 drivers/net/dsa/b53/b53_common.c 	link = !!(sts & BIT(port));
sts               236 drivers/net/ethernet/altera/altera_sgdma.c 	u32 sts = csrrd32(priv->rx_dma_csr, sgdma_csroffs(status));
sts               239 drivers/net/ethernet/altera/altera_sgdma.c 	if (sts & SGDMA_STSREG_EOP) {
sts               281 drivers/net/ethernet/altera/altera_sgdma.c 				   sts, csrrd8(desc, sgdma_descroffs(status)),
sts               284 drivers/net/ethernet/altera/altera_sgdma.c 	} else if (sts == 0) {
sts              6142 drivers/net/ethernet/broadcom/tg3.c static u64 tg3_refclk_read(struct tg3 *tp, struct ptp_system_timestamp *sts)
sts              6146 drivers/net/ethernet/broadcom/tg3.c 	ptp_read_system_prets(sts);
sts              6148 drivers/net/ethernet/broadcom/tg3.c 	ptp_read_system_postts(sts);
sts              6243 drivers/net/ethernet/broadcom/tg3.c 			    struct ptp_system_timestamp *sts)
sts              6249 drivers/net/ethernet/broadcom/tg3.c 	ns = tg3_refclk_read(tp, sts);
sts              1540 drivers/net/ethernet/dec/tulip/de4x5.c     s32 imr, omr, sts, limit;
sts              1556 drivers/net/ethernet/dec/tulip/de4x5.c 	sts = inl(DE4X5_STS);            /* Read IRQ status */
sts              1557 drivers/net/ethernet/dec/tulip/de4x5.c 	outl(sts, DE4X5_STS);            /* Reset the board interrupts */
sts              1559 drivers/net/ethernet/dec/tulip/de4x5.c 	if (!(sts & lp->irq_mask)) break;/* All done */
sts              1562 drivers/net/ethernet/dec/tulip/de4x5.c 	if (sts & (STS_RI | STS_RU))     /* Rx interrupt (packet[s] arrived) */
sts              1565 drivers/net/ethernet/dec/tulip/de4x5.c 	if (sts & (STS_TI | STS_TU))     /* Tx interrupt (packet sent) */
sts              1568 drivers/net/ethernet/dec/tulip/de4x5.c 	if (sts & STS_LNF) {             /* TP Link has failed */
sts              1572 drivers/net/ethernet/dec/tulip/de4x5.c 	if (sts & STS_UNF) {             /* Transmit underrun */
sts              1576 drivers/net/ethernet/dec/tulip/de4x5.c 	if (sts & STS_SE) {              /* Bus Error */
sts              1579 drivers/net/ethernet/dec/tulip/de4x5.c 		   dev->name, sts);
sts              2547 drivers/net/ethernet/dec/tulip/de4x5.c     s32 sts, irqs, irq_mask, imr, omr;
sts              2578 drivers/net/ethernet/dec/tulip/de4x5.c 	sts = test_media(dev, irqs, irq_mask, 0xef01, 0xffff, 0x0008, 2400);
sts              2579 drivers/net/ethernet/dec/tulip/de4x5.c 	if (sts < 0) {
sts              2580 drivers/net/ethernet/dec/tulip/de4x5.c 	    next_tick = sts & ~TIMER_CB;
sts              2582 drivers/net/ethernet/dec/tulip/de4x5.c 	    if (sts & STS_LNP) {
sts              2595 drivers/net/ethernet/dec/tulip/de4x5.c 	    sts = test_ans(dev, irqs, irq_mask, 3000);
sts              2596 drivers/net/ethernet/dec/tulip/de4x5.c 	    if (sts < 0) {
sts              2597 drivers/net/ethernet/dec/tulip/de4x5.c 		next_tick = sts & ~TIMER_CB;
sts              2599 drivers/net/ethernet/dec/tulip/de4x5.c 		if (!(sts & STS_LNP) && (lp->autosense == AUTO)) {
sts              2625 drivers/net/ethernet/dec/tulip/de4x5.c 	    sts = test_media(dev,irqs, irq_mask, 0xef01, 0xff3f, 0x0008, 2400);
sts              2626 drivers/net/ethernet/dec/tulip/de4x5.c 	    if (sts < 0) {
sts              2627 drivers/net/ethernet/dec/tulip/de4x5.c 		next_tick = sts & ~TIMER_CB;
sts              2629 drivers/net/ethernet/dec/tulip/de4x5.c 		if (!(sts & STS_LNP) && (lp->autosense == AUTO)) {
sts              2659 drivers/net/ethernet/dec/tulip/de4x5.c 	    sts = test_media(dev,irqs, irq_mask, 0xef09, 0xf73d, 0x000e, 1000);
sts              2660 drivers/net/ethernet/dec/tulip/de4x5.c 	    if (sts < 0) {
sts              2661 drivers/net/ethernet/dec/tulip/de4x5.c 		next_tick = sts & ~TIMER_CB;
sts              2690 drivers/net/ethernet/dec/tulip/de4x5.c 	    sts = test_media(dev,irqs, irq_mask, 0xef09, 0xf73d, 0x0006, 1000);
sts              2691 drivers/net/ethernet/dec/tulip/de4x5.c 	    if (sts < 0) {
sts              2692 drivers/net/ethernet/dec/tulip/de4x5.c 		next_tick = sts & ~TIMER_CB;
sts              2701 drivers/net/ethernet/dec/tulip/de4x5.c 		if ((sts = ping_media(dev, 3000)) < 0) {
sts              2702 drivers/net/ethernet/dec/tulip/de4x5.c 		    next_tick = sts & ~TIMER_CB;
sts              2704 drivers/net/ethernet/dec/tulip/de4x5.c 		    if (sts) {
sts              2933 drivers/net/ethernet/dec/tulip/de4x5.c     s32 cr, anlpa, ana, cap, irqs, irq_mask, imr, omr, slnk, sr, sts;
sts              3038 drivers/net/ethernet/dec/tulip/de4x5.c 	    sts = test_media(dev,irqs, irq_mask, 0, 0, 0, 1000);
sts              3039 drivers/net/ethernet/dec/tulip/de4x5.c 	    if (sts < 0) {
sts              3040 drivers/net/ethernet/dec/tulip/de4x5.c 		next_tick = sts & ~TIMER_CB;
sts              3069 drivers/net/ethernet/dec/tulip/de4x5.c 	    sts = test_media(dev,irqs, irq_mask, 0, 0, 0, 1000);
sts              3070 drivers/net/ethernet/dec/tulip/de4x5.c 	    if (sts < 0) {
sts              3071 drivers/net/ethernet/dec/tulip/de4x5.c 		next_tick = sts & ~TIMER_CB;
sts              3080 drivers/net/ethernet/dec/tulip/de4x5.c 		if ((sts = ping_media(dev, 3000)) < 0) {
sts              3081 drivers/net/ethernet/dec/tulip/de4x5.c 		    next_tick = sts & ~TIMER_CB;
sts              3083 drivers/net/ethernet/dec/tulip/de4x5.c 		    if (sts) {
sts              3329 drivers/net/ethernet/dec/tulip/de4x5.c     s32 sts, csr12;
sts              3341 drivers/net/ethernet/dec/tulip/de4x5.c 	sts = inl(DE4X5_STS);
sts              3342 drivers/net/ethernet/dec/tulip/de4x5.c 	outl(sts, DE4X5_STS);
sts              3351 drivers/net/ethernet/dec/tulip/de4x5.c     sts = inl(DE4X5_STS) & ~TIMER_CB;
sts              3353 drivers/net/ethernet/dec/tulip/de4x5.c     if (!(sts & irqs) && --lp->timeout) {
sts              3354 drivers/net/ethernet/dec/tulip/de4x5.c 	sts = 100 | TIMER_CB;
sts              3359 drivers/net/ethernet/dec/tulip/de4x5.c     return sts;
sts              3790 drivers/net/ethernet/dec/tulip/de4x5.c     s32 sts, ans;
sts              3797 drivers/net/ethernet/dec/tulip/de4x5.c 	sts = inl(DE4X5_STS);
sts              3798 drivers/net/ethernet/dec/tulip/de4x5.c 	outl(sts, DE4X5_STS);
sts              3802 drivers/net/ethernet/dec/tulip/de4x5.c     sts = inl(DE4X5_STS) & ~TIMER_CB;
sts              3804 drivers/net/ethernet/dec/tulip/de4x5.c     if (!(sts & irqs) && (ans ^ ANS_NWOK) && --lp->timeout) {
sts              3805 drivers/net/ethernet/dec/tulip/de4x5.c 	sts = 100 | TIMER_CB;
sts              3810 drivers/net/ethernet/dec/tulip/de4x5.c     return sts;
sts              3818 drivers/net/ethernet/dec/tulip/de4x5.c     s32 imr, sts;
sts              3823 drivers/net/ethernet/dec/tulip/de4x5.c 	sts = inl(DE4X5_STS);        /* Reset any pending (stale) interrupts */
sts              3824 drivers/net/ethernet/dec/tulip/de4x5.c 	outl(sts, DE4X5_STS);
sts              2220 drivers/net/ethernet/emulex/benet/be_cmds.c 			    u8 bcn, u8 sts, u8 state)
sts              2242 drivers/net/ethernet/emulex/benet/be_cmds.c 	req->status_duration = sts;
sts               508 drivers/net/ethernet/intel/e1000e/e1000.h 		       struct ptp_system_timestamp *sts);
sts              4331 drivers/net/ethernet/intel/e1000e/netdev.c 				  struct ptp_system_timestamp *sts)
sts              4341 drivers/net/ethernet/intel/e1000e/netdev.c 		ptp_read_system_prets(sts);
sts              4343 drivers/net/ethernet/intel/e1000e/netdev.c 		ptp_read_system_postts(sts);
sts              4367 drivers/net/ethernet/intel/e1000e/netdev.c 		       struct ptp_system_timestamp *sts)
sts              4378 drivers/net/ethernet/intel/e1000e/netdev.c 	ptp_read_system_prets(sts);
sts              4380 drivers/net/ethernet/intel/e1000e/netdev.c 	ptp_read_system_postts(sts);
sts              4384 drivers/net/ethernet/intel/e1000e/netdev.c 		ptp_read_system_prets(sts);
sts              4386 drivers/net/ethernet/intel/e1000e/netdev.c 		ptp_read_system_postts(sts);
sts              4399 drivers/net/ethernet/intel/e1000e/netdev.c 		systim = e1000e_sanitize_systim(hw, systim, sts);
sts               175 drivers/net/ethernet/intel/e1000e/ptp.c 			       struct ptp_system_timestamp *sts)
sts               185 drivers/net/ethernet/intel/e1000e/ptp.c 	cycles = e1000e_read_systim(adapter, sts);
sts                38 drivers/net/ethernet/intel/i40e/i40e_ptp.c 			  struct ptp_system_timestamp *sts)
sts                45 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	ptp_read_system_prets(sts);
sts                47 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	ptp_read_system_postts(sts);
sts               172 drivers/net/ethernet/intel/i40e/i40e_ptp.c 			     struct ptp_system_timestamp *sts)
sts               177 drivers/net/ethernet/intel/i40e/i40e_ptp.c 	i40e_ptp_read(pf, ts, sts);
sts               282 drivers/net/ethernet/intel/igb/igb_ptp.c 				  struct ptp_system_timestamp *sts)
sts               293 drivers/net/ethernet/intel/igb/igb_ptp.c 	ptp_read_system_prets(sts);
sts               295 drivers/net/ethernet/intel/igb/igb_ptp.c 	ptp_read_system_postts(sts);
sts               309 drivers/net/ethernet/intel/igb/igb_ptp.c 				  struct ptp_system_timestamp *sts)
sts               320 drivers/net/ethernet/intel/igb/igb_ptp.c 	ptp_read_system_prets(sts);
sts               322 drivers/net/ethernet/intel/igb/igb_ptp.c 	ptp_read_system_postts(sts);
sts               337 drivers/net/ethernet/intel/igb/igb_ptp.c 				 struct ptp_system_timestamp *sts)
sts               346 drivers/net/ethernet/intel/igb/igb_ptp.c 	ptp_read_system_prets(sts);
sts               348 drivers/net/ethernet/intel/igb/igb_ptp.c 	ptp_read_system_postts(sts);
sts               558 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 			      struct ptp_system_timestamp *sts)
sts               577 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 		ptp_read_system_prets(sts);
sts               579 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 		ptp_read_system_postts(sts);
sts               585 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 		ptp_read_system_prets(sts);
sts               587 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 		ptp_read_system_postts(sts);
sts               160 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 			     struct ptp_system_timestamp *sts)
sts               170 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	cycles = mlx5_read_internal_timer(mdev, sts);
sts               667 drivers/net/ethernet/mellanox/mlx5/core/main.c 			     struct ptp_system_timestamp *sts)
sts               672 drivers/net/ethernet/mellanox/mlx5/core/main.c 	ptp_read_system_prets(sts);
sts               674 drivers/net/ethernet/mellanox/mlx5/core/main.c 	ptp_read_system_postts(sts);
sts               678 drivers/net/ethernet/mellanox/mlx5/core/main.c 		ptp_read_system_prets(sts);
sts               680 drivers/net/ethernet/mellanox/mlx5/core/main.c 		ptp_read_system_postts(sts);
sts               145 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h 			     struct ptp_system_timestamp *sts);
sts                74 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 				    struct ptp_system_timestamp *sts)
sts                80 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	ptp_read_system_prets(sts);
sts                82 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	ptp_read_system_postts(sts);
sts                87 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		ptp_read_system_prets(sts);
sts                89 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 		ptp_read_system_postts(sts);
sts               196 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 				  struct ptp_system_timestamp *sts)
sts               203 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	cycles = __mlxsw_sp1_ptp_read_frc(clock, sts);
sts               110 drivers/net/ethernet/micrel/ks8851_mll.c 	u16	sts;         /* Frame status */
sts               481 drivers/net/ethernet/micrel/ks8851_mll.c 		frame_hdr->sts = ks_rdreg16(ks, KS_RXFHSR);
sts               489 drivers/net/ethernet/micrel/ks8851_mll.c 		if (unlikely(!(frame_hdr->sts & RXFSHR_RXFV) ||
sts               496 drivers/net/ethernet/micrel/ks8851_mll.c 			if (!(frame_hdr->sts & RXFSHR_RXFV))
sts               864 drivers/net/ethernet/microchip/enc28j60.c 			      u16 pk_ptr, int len, u16 sts)
sts               870 drivers/net/ethernet/microchip/enc28j60.c 		   len, RSV_GETBIT(sts, RSV_DRIBBLENIBBLE));
sts               873 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_RXOK),
sts               874 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_CRCERROR),
sts               875 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_LENCHECKERR),
sts               876 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_LENOUTOFRANGE));
sts               879 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_RXMULTICAST),
sts               880 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_RXBROADCAST),
sts               881 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_RXLONGEVDROPEV),
sts               882 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_CARRIEREV));
sts               885 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_RXCONTROLFRAME),
sts               886 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_RXPAUSEFRAME),
sts               887 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_RXUNKNOWNOPCODE),
sts               888 drivers/net/ethernet/microchip/enc28j60.c 		   RSV_GETBIT(sts, RSV_RXTYPEVLAN));
sts               502 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	u32 sts;
sts               506 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	sts = nn_readl(nn, NFP_NET_CFG_STS);
sts               507 drivers/net/ethernet/netronome/nfp/nfp_net_common.c 	link_up = !!(sts & NFP_NET_CFG_STS_LINK);
sts               265 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	u32 sts, ls;
sts               296 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	sts = nn_readl(nn, NFP_NET_CFG_STS);
sts               298 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	ls = FIELD_GET(NFP_NET_CFG_STS_LINK_RATE, sts);
sts                96 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_get_lro_sts_mss(sts) ((sts) & 0xffff)
sts               116 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_pktln(sts)		((sts >> 32) & 0x3FFF)
sts               117 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_hndl(sts)		((sts >> 48) & 0x7FFF)
sts               118 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_csum_status(sts)	((sts >> 39) & 7)
sts               119 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_opcode(sts)	((sts >> 42) & 0xF)
sts               120 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_vlan_tag(sts)	(((sts) >> 48) & 0xFFFF)
sts               121 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_lro_pktln(sts)	(((sts) >> 32) & 0x3FFF)
sts               122 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_l2_hdr_off(sts)	(((sts) >> 16) & 0xFF)
sts               123 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_l4_hdr_off(sts)	(((sts) >> 24) & 0xFF)
sts               124 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_pkt_cnt(sts)	(((sts) >> 16) & 0x7)
sts               125 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_is_tstamp(sts)	(((sts) >> 40) & 1)
sts               126 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_is_psh_bit(sts)	(((sts) >> 41) & 1)
sts               127 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_is_ip_align(sts)	(((sts) >> 46) & 1)
sts               128 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c #define qlcnic_83xx_has_vlan_tag(sts)	(((sts) >> 47) & 1)
sts               490 drivers/ntb/hw/idt/ntb_hw_idt.c 	portsts = idt_sw_read(ndev, portdata_tbl[ndev->port].sts);
sts               509 drivers/ntb/hw/idt/ntb_hw_idt.c 		portsts = idt_sw_read(ndev, portdata_tbl[port].sts);
sts               513 drivers/ntb/hw/idt/ntb_hw_idt.c 		partsts = idt_sw_read(ndev, partdata_tbl[part].sts);
sts               845 drivers/ntb/hw/idt/ntb_hw_idt.c 	data = idt_sw_read(ndev, portdata_tbl[port].sts);
sts              1209 drivers/ntb/hw/idt/ntb_hw_idt.h 	unsigned int sts;
sts              1222 drivers/ntb/hw/idt/ntb_hw_idt.h 	unsigned int sts;
sts               160 drivers/ntb/test/ntb_perf.c 	unsigned long		sts;
sts               259 drivers/ntb/test/ntb_perf.c 	u32 sts;
sts               274 drivers/ntb/test/ntb_perf.c 		sts = ntb_peer_spad_read(perf->ntb, peer->pidx,
sts               276 drivers/ntb/test/ntb_perf.c 		if (sts != PERF_CMD_INVAL) {
sts               444 drivers/ntb/test/ntb_perf.c 	set_bit(cmd, &peer->sts);
sts               492 drivers/ntb/test/ntb_perf.c 		    !test_and_set_bit(PERF_STS_LNKUP, &peer->sts)) {
sts               495 drivers/ntb/test/ntb_perf.c 			   test_and_clear_bit(PERF_STS_LNKUP, &peer->sts)) {
sts               548 drivers/ntb/test/ntb_perf.c 	set_bit(PERF_STS_DONE, &peer->sts);
sts               626 drivers/ntb/test/ntb_perf.c 	if (test_and_clear_bit(PERF_CMD_SSIZE, &peer->sts))
sts               629 drivers/ntb/test/ntb_perf.c 	if (test_and_clear_bit(PERF_CMD_RSIZE, &peer->sts))
sts               632 drivers/ntb/test/ntb_perf.c 	if (test_and_clear_bit(PERF_CMD_SXLAT, &peer->sts))
sts               635 drivers/ntb/test/ntb_perf.c 	if (test_and_clear_bit(PERF_CMD_RXLAT, &peer->sts))
sts               638 drivers/ntb/test/ntb_perf.c 	if (test_and_clear_bit(PERF_CMD_CLEAR, &peer->sts)) {
sts               639 drivers/ntb/test/ntb_perf.c 		clear_bit(PERF_STS_DONE, &peer->sts);
sts              1054 drivers/ntb/test/ntb_perf.c 	if (!test_bit(PERF_STS_DONE, &peer->sts))
sts              1192 drivers/ntb/test/ntb_perf.c 			test_bit(PERF_STS_LNKUP, &peer->sts) ? "up" : "down");
sts              1547 drivers/nvme/host/rdma.c 		u16 sts = le16_to_cpu(rej_data->sts);
sts              1551 drivers/nvme/host/rdma.c 		      status, rej_msg, sts, nvme_rdma_cm_msg(sts));
sts              1131 drivers/nvme/target/rdma.c 	rej.sts = cpu_to_le16(status);
sts               530 drivers/pci/hotplug/pnv_php.c 	uint16_t sts;
sts               547 drivers/pci/hotplug/pnv_php.c 	pcie_capability_read_word(php_slot->pdev, PCI_EXP_SLTSTA, &sts);
sts               548 drivers/pci/hotplug/pnv_php.c 	sts &= (PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_DLLSC);
sts               549 drivers/pci/hotplug/pnv_php.c 	pcie_capability_write_word(php_slot->pdev, PCI_EXP_SLTSTA, sts);
sts               759 drivers/pci/hotplug/pnv_php.c 	u16 sts, lsts;
sts               765 drivers/pci/hotplug/pnv_php.c 	pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &sts);
sts               766 drivers/pci/hotplug/pnv_php.c 	sts &= (PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_DLLSC);
sts               767 drivers/pci/hotplug/pnv_php.c 	pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, sts);
sts               771 drivers/pci/hotplug/pnv_php.c 			!!(sts & PCI_EXP_SLTSTA_DLLSC),
sts               772 drivers/pci/hotplug/pnv_php.c 			!!(sts & PCI_EXP_SLTSTA_PDC));
sts               774 drivers/pci/hotplug/pnv_php.c 	if (sts & PCI_EXP_SLTSTA_DLLSC) {
sts               778 drivers/pci/hotplug/pnv_php.c 		   (sts & PCI_EXP_SLTSTA_PDC)) {
sts               782 drivers/pci/hotplug/pnv_php.c 				 php_slot->name, ret, sts);
sts               813 drivers/pci/hotplug/pnv_php.c 			 php_slot->name, sts);
sts               831 drivers/pci/hotplug/pnv_php.c 	u16 sts, ctrl;
sts               849 drivers/pci/hotplug/pnv_php.c 	pcie_capability_read_word(pdev, PCI_EXP_SLTSTA, &sts);
sts               851 drivers/pci/hotplug/pnv_php.c 		sts |= PCI_EXP_SLTSTA_DLLSC;
sts               853 drivers/pci/hotplug/pnv_php.c 		sts |= (PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_DLLSC);
sts               854 drivers/pci/hotplug/pnv_php.c 	pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, sts);
sts               220 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	u32 sts, en, bit;
sts               227 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	sts = ioread32(bank->base + NPCM7XX_GP_N_EVST);
sts               229 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	dev_dbg(chip->parent_device, "==> got irq sts %.8x %.8x\n", sts,
sts               232 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	sts &= en;
sts               233 drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c 	for_each_set_bit(bit, (const void *)&sts, NPCM7XX_GPIO_PER_BANK)
sts               470 drivers/platform/mellanox/mlxbf-tmfifo.c 	u64 sts;
sts               472 drivers/platform/mellanox/mlxbf-tmfifo.c 	sts = readq(fifo->rx_base + MLXBF_TMFIFO_RX_STS);
sts               473 drivers/platform/mellanox/mlxbf-tmfifo.c 	return FIELD_GET(MLXBF_TMFIFO_RX_STS__COUNT_MASK, sts);
sts               481 drivers/platform/mellanox/mlxbf-tmfifo.c 	u64 sts;
sts               489 drivers/platform/mellanox/mlxbf-tmfifo.c 	sts = readq(fifo->tx_base + MLXBF_TMFIFO_TX_STS);
sts               490 drivers/platform/mellanox/mlxbf-tmfifo.c 	count = FIELD_GET(MLXBF_TMFIFO_TX_STS__COUNT_MASK, sts);
sts              1164 drivers/platform/x86/intel_ips.c 		u32 sts, tc1;
sts              1166 drivers/platform/x86/intel_ips.c 		sts = thm_readl(THM_STS);
sts              1169 drivers/platform/x86/intel_ips.c 		if (sts & STS_NVV) {
sts              1171 drivers/platform/x86/intel_ips.c 			ips->core_power_limit = (sts & STS_PCPL_MASK) >>
sts              1173 drivers/platform/x86/intel_ips.c 			ips->mch_power_limit = (sts & STS_GPL_MASK) >>
sts              1176 drivers/platform/x86/intel_ips.c 			ips->cpu_turbo_enabled = !(sts & STS_PCTD_DIS);
sts              1183 drivers/platform/x86/intel_ips.c 				ips->gpu_turbo_enabled = !(sts & STS_GTD_DIS);
sts              1184 drivers/platform/x86/intel_ips.c 			ips->mcp_temp_limit = (sts & STS_PTL_MASK) >>
sts               269 drivers/platform/x86/pmc_atom.c 				u32 sts, const struct pmc_bit_map *sts_map,
sts               279 drivers/platform/x86/pmc_atom.c 			sts_map[index].bit_mask & sts ?  "D3" : "D0");
sts                31 drivers/power/reset/piix4-poweroff.c 	u16 sts;
sts                35 drivers/power/reset/piix4-poweroff.c 		sts = inw(io_offset + PIIX4_FUNC3IO_PMSTS);
sts                36 drivers/power/reset/piix4-poweroff.c 		if (!(sts & PIIX4_FUNC3IO_PMSTS_PWRBTN_STS))
sts                38 drivers/power/reset/piix4-poweroff.c 		outw(sts, io_offset + PIIX4_FUNC3IO_PMSTS);
sts               117 drivers/ptp/ptp_chardev.c 	struct ptp_system_timestamp sts;
sts               266 drivers/ptp/ptp_chardev.c 			err = ptp->info->gettimex64(ptp->info, &ts, &sts);
sts               269 drivers/ptp/ptp_chardev.c 			extoff->ts[i][0].sec = sts.pre_ts.tv_sec;
sts               270 drivers/ptp/ptp_chardev.c 			extoff->ts[i][0].nsec = sts.pre_ts.tv_nsec;
sts               273 drivers/ptp/ptp_chardev.c 			extoff->ts[i][2].sec = sts.post_ts.tv_sec;
sts               274 drivers/ptp/ptp_chardev.c 			extoff->ts[i][2].nsec = sts.post_ts.tv_nsec;
sts               270 drivers/rapidio/devices/tsi721_dma.c 	u32 sts;
sts               272 drivers/rapidio/devices/tsi721_dma.c 	sts = ioread32(bdma_chan->regs + TSI721_DMAC_STS);
sts               273 drivers/rapidio/devices/tsi721_dma.c 	return ((sts & TSI721_DMAC_STS_RUN) == 0);
sts               280 drivers/rtc/rtc-s35390a.c 	char buf[3], sts = 0;
sts               292 drivers/rtc/rtc-s35390a.c 	err = s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts));
sts               297 drivers/rtc/rtc-s35390a.c 	err = s35390a_get_reg(s35390a, S35390A_CMD_STATUS1, &sts, sizeof(sts));
sts               302 drivers/rtc/rtc-s35390a.c 		sts = S35390A_INT2_MODE_ALARM;
sts               304 drivers/rtc/rtc-s35390a.c 		sts = S35390A_INT2_MODE_NOINTR;
sts               307 drivers/rtc/rtc-s35390a.c 	err = s35390a_set_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts));
sts               336 drivers/rtc/rtc-s35390a.c 	char buf[3], sts;
sts               339 drivers/rtc/rtc-s35390a.c 	err = s35390a_get_reg(s35390a, S35390A_CMD_STATUS2, &sts, sizeof(sts));
sts               343 drivers/rtc/rtc-s35390a.c 	if ((sts & S35390A_INT2_MODE_MASK) != S35390A_INT2_MODE_ALARM) {
sts               393 drivers/rtc/rtc-s35390a.c 	char sts;
sts               399 drivers/rtc/rtc-s35390a.c 		err = s35390a_read_status(s35390a, &sts);
sts               458 drivers/scsi/esas2r/atioctl.h 	struct atto_csmi_ssp_passthru_sts sts;
sts               490 drivers/scsi/esas2r/atioctl.h 	struct atto_csmi_stp_passthru_sts sts;
sts               537 drivers/scsi/esas2r/atioctl.h 	struct atto_csmi_ssp_passthru_sts sts;
sts               400 drivers/scsi/esas2r/esas2r_ioctl.c 	u32 sts = CSMI_STS_SUCCESS;
sts               501 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = CSMI_STS_BAD_CTRL_CODE;
sts               517 drivers/scsi/esas2r/esas2r_ioctl.c 			sts = CSMI_STS_FAILED;
sts               532 drivers/scsi/esas2r/esas2r_ioctl.c 			sts = CSMI_STS_NO_SCSI_ADDR;
sts               542 drivers/scsi/esas2r/esas2r_ioctl.c 			sts = CSMI_STS_NO_SCSI_ADDR;
sts               562 drivers/scsi/esas2r/esas2r_ioctl.c 			sts = CSMI_STS_NO_DEV_ADDR;
sts               581 drivers/scsi/esas2r/esas2r_ioctl.c 			sts = CSMI_STS_NO_DEV_ADDR;
sts               588 drivers/scsi/esas2r/esas2r_ioctl.c 			sts = CSMI_STS_FAILED;
sts               596 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = CSMI_STS_BAD_CTRL_CODE;
sts               600 drivers/scsi/esas2r/esas2r_ioctl.c 	rq->func_rsp.ioctl_rsp.csmi.csmi_status = cpu_to_le32(sts);
sts               692 drivers/scsi/esas2r/esas2r_ioctl.c 	u8 sts = ATTO_SPT_RS_FAILED;
sts               702 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_SUCCESS;
sts               705 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_UNDERRUN;
sts               708 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_OVERRUN;
sts               712 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_NO_DEVICE;
sts               715 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_NO_LUN;
sts               718 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_TIMEOUT;
sts               721 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_DEGRADED;
sts               724 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_BUSY;
sts               727 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_ABORTED;
sts               730 drivers/scsi/esas2r/esas2r_ioctl.c 		sts = ATTO_SPT_RS_BUS_RESET;
sts               734 drivers/scsi/esas2r/esas2r_ioctl.c 	spt->req_status = sts;
sts              1184 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	enum exec_status sts;
sts              1310 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	sts = ts->stat;
sts              1315 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	return sts;
sts              2325 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	enum exec_status sts;
sts              2454 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	sts = ts->stat;
sts              2471 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			return sts;
sts              2479 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	return sts;
sts              2148 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	enum exec_status sts;
sts              2265 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sts = ts->stat;
sts              2282 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			return sts;
sts              2290 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	return sts;
sts              1711 drivers/scsi/mvsas/mv_sas.c 	enum exec_status sts;
sts              1816 drivers/scsi/mvsas/mv_sas.c 	sts = tstat->stat;
sts              1824 drivers/scsi/mvsas/mv_sas.c 	return sts;
sts              1945 drivers/scsi/ncr53c8xx.c static void process_waiting_list(struct ncb *np, int sts);
sts              8024 drivers/scsi/ncr53c8xx.c      int sts;
sts              8037 drivers/scsi/ncr53c8xx.c      if ((sts = ncr_queue_command(np, cmd)) != DID_OK) {
sts              8038 drivers/scsi/ncr53c8xx.c 	  cmd->result = sts << 16;
sts              8040 drivers/scsi/ncr53c8xx.c printk("ncr53c8xx : command not queued - result=%d\n", sts);
sts              8050 drivers/scsi/ncr53c8xx.c      if (sts != DID_OK) {
sts              8053 drivers/scsi/ncr53c8xx.c 	  sts = 0;
sts              8056 drivers/scsi/ncr53c8xx.c      return sts;
sts              8107 drivers/scsi/ncr53c8xx.c 	int sts;
sts              8119 drivers/scsi/ncr53c8xx.c 	sts = ncr_reset_bus(np, cmd, 1);
sts              8127 drivers/scsi/ncr53c8xx.c 	return sts;
sts              8134 drivers/scsi/ncr53c8xx.c 	int sts;
sts              8142 drivers/scsi/ncr53c8xx.c 	sts = ncr_abort_command(np, cmd);
sts              8150 drivers/scsi/ncr53c8xx.c 	return sts;
sts              8206 drivers/scsi/ncr53c8xx.c static void process_waiting_list(struct ncb *np, int sts)
sts              8214 drivers/scsi/ncr53c8xx.c 	if (waiting_list) printk("%s: waiting_list=%lx processing sts=%d\n", ncr_name(np), (u_long) waiting_list, sts);
sts              8219 drivers/scsi/ncr53c8xx.c 		if (sts == DID_OK) {
sts              8223 drivers/scsi/ncr53c8xx.c 			sts = ncr_queue_command(np, wcmd);
sts              8225 drivers/scsi/ncr53c8xx.c 		if (sts != DID_OK) {
sts              8227 drivers/scsi/ncr53c8xx.c 	printk("%s: cmd %lx done forced sts=%d\n", ncr_name(np), (u_long) wcmd, sts);
sts              8229 drivers/scsi/ncr53c8xx.c 			wcmd->result = sts << 16;
sts              1293 drivers/scsi/qla1280.c qla1280_return_status(struct response * sts, struct scsi_cmnd *cp)
sts              1296 drivers/scsi/qla1280.c 	uint16_t comp_status = le16_to_cpu(sts->comp_status);
sts              1297 drivers/scsi/qla1280.c 	uint16_t state_flags = le16_to_cpu(sts->state_flags);
sts              1298 drivers/scsi/qla1280.c 	uint32_t residual_length = le32_to_cpu(sts->residual_length);
sts              1299 drivers/scsi/qla1280.c 	uint16_t scsi_status = le16_to_cpu(sts->scsi_status);
sts              1359 drivers/scsi/qla1280.c 		qla1280_dump_buffer(2, (char *)sts, RESPONSE_ENTRY_SIZE);
sts              1819 drivers/scsi/qla2xxx/qla_isr.c 	struct sts_entry_24xx *sts = (struct sts_entry_24xx *)tsk;
sts              1830 drivers/scsi/qla2xxx/qla_isr.c 	if (sts->entry_status) {
sts              1833 drivers/scsi/qla2xxx/qla_isr.c 		    type, sp->handle, sts->entry_status);
sts              1835 drivers/scsi/qla2xxx/qla_isr.c 	} else if (sts->comp_status != cpu_to_le16(CS_COMPLETE)) {
sts              1838 drivers/scsi/qla2xxx/qla_isr.c 		    type, sp->handle, sts->comp_status);
sts              1840 drivers/scsi/qla2xxx/qla_isr.c 	} else if ((le16_to_cpu(sts->scsi_status) &
sts              1842 drivers/scsi/qla2xxx/qla_isr.c 		if (le32_to_cpu(sts->rsp_data_len) < 4) {
sts              1845 drivers/scsi/qla2xxx/qla_isr.c 			    type, sp->handle, sts->rsp_data_len);
sts              1846 drivers/scsi/qla2xxx/qla_isr.c 		} else if (sts->data[3]) {
sts              1849 drivers/scsi/qla2xxx/qla_isr.c 			    type, sp->handle, sts->data[3]);
sts              1856 drivers/scsi/qla2xxx/qla_isr.c 		    sts, sizeof(*sts));
sts              1866 drivers/scsi/qla2xxx/qla_isr.c 	struct sts_entry_24xx *sts = (struct sts_entry_24xx *)tsk;
sts              1870 drivers/scsi/qla2xxx/qla_isr.c 	uint16_t	comp_status = le16_to_cpu(sts->comp_status);
sts              1875 drivers/scsi/qla2xxx/qla_isr.c 	state_flags  = le16_to_cpu(sts->state_flags);
sts              1892 drivers/scsi/qla2xxx/qla_isr.c 		iocb->u.nvme.rsp_pyld_len = le16_to_cpu(sts->nvme_rsp_pyld_len);
sts              1897 drivers/scsi/qla2xxx/qla_isr.c 		inbuf = (uint32_t *)&sts->nvme_ersp_data;
sts              1899 drivers/scsi/qla2xxx/qla_isr.c 		iocb->u.nvme.rsp_pyld_len = le16_to_cpu(sts->nvme_rsp_pyld_len);
sts              1922 drivers/scsi/qla2xxx/qla_isr.c 	    le32_to_cpu(sts->residual_len);
sts              1928 drivers/scsi/qla2xxx/qla_isr.c 		   fd->transferred_length, le32_to_cpu(sts->residual_len),
sts              1929 drivers/scsi/qla2xxx/qla_isr.c 		   sts->ox_id);
sts              2266 drivers/scsi/qla2xxx/qla_isr.c 	sts_entry_t *sts = pkt;
sts              2297 drivers/scsi/qla2xxx/qla_isr.c 		comp_status = le16_to_cpu(sts->comp_status);
sts              2298 drivers/scsi/qla2xxx/qla_isr.c 		scsi_status = le16_to_cpu(sts->scsi_status) & SS_MASK;
sts              2413 drivers/scsi/qla2xxx/qla_isr.c 	sts_entry_t *sts = pkt;
sts              2437 drivers/scsi/qla2xxx/qla_isr.c 		comp_status = le16_to_cpu(sts->comp_status);
sts              2438 drivers/scsi/qla2xxx/qla_isr.c 		scsi_status = le16_to_cpu(sts->scsi_status) & SS_MASK;
sts              2440 drivers/scsi/qla2xxx/qla_isr.c 	handle = (uint32_t) LSW(sts->handle);
sts              2441 drivers/scsi/qla2xxx/qla_isr.c 	que = MSW(sts->handle);
sts              2449 drivers/scsi/qla2xxx/qla_isr.c 		    "que=%u.\n", sts->handle, req, que);
sts              2459 drivers/scsi/qla2xxx/qla_isr.c 			    __func__, vha->host_no, sts->handle);
sts              2465 drivers/scsi/qla2xxx/qla_isr.c 		    sts->handle);
sts              2520 drivers/scsi/qla2xxx/qla_isr.c 		    sts->handle, sp);
sts              2555 drivers/scsi/qla2xxx/qla_isr.c 			sense_len = le16_to_cpu(sts->req_sense_length);
sts              2557 drivers/scsi/qla2xxx/qla_isr.c 			rsp_info_len = le16_to_cpu(sts->rsp_info_len);
sts              2558 drivers/scsi/qla2xxx/qla_isr.c 		resid_len = le32_to_cpu(sts->residual_length);
sts              2559 drivers/scsi/qla2xxx/qla_isr.c 		rsp_info = sts->rsp_info;
sts              2560 drivers/scsi/qla2xxx/qla_isr.c 		sense_data = sts->req_sense_data;
sts              2561 drivers/scsi/qla2xxx/qla_isr.c 		par_sense_len = sizeof(sts->req_sense_data);
sts              2726 drivers/scsi/qla2xxx/qla_isr.c 			else if ((le16_to_cpu(sts->status_flags) &
sts              3188 drivers/scsi/qla2xxx/qla_mbx.c 		struct sts_entry_24xx sts;
sts              3198 drivers/scsi/qla2xxx/qla_mbx.c 	struct sts_entry_24xx *sts;
sts              3241 drivers/scsi/qla2xxx/qla_mbx.c 	sts = &tsk->p.sts;
sts              3246 drivers/scsi/qla2xxx/qla_mbx.c 	} else if (sts->entry_status != 0) {
sts              3249 drivers/scsi/qla2xxx/qla_mbx.c 		    sts->entry_status);
sts              3251 drivers/scsi/qla2xxx/qla_mbx.c 	} else if (sts->comp_status != cpu_to_le16(CS_COMPLETE)) {
sts              3254 drivers/scsi/qla2xxx/qla_mbx.c 		    le16_to_cpu(sts->comp_status));
sts              3256 drivers/scsi/qla2xxx/qla_mbx.c 	} else if (le16_to_cpu(sts->scsi_status) &
sts              3258 drivers/scsi/qla2xxx/qla_mbx.c 		if (le32_to_cpu(sts->rsp_data_len) < 4) {
sts              3262 drivers/scsi/qla2xxx/qla_mbx.c 			    le32_to_cpu(sts->rsp_data_len));
sts              3263 drivers/scsi/qla2xxx/qla_mbx.c 		} else if (sts->data[3]) {
sts              3266 drivers/scsi/qla2xxx/qla_mbx.c 			    sts->data[3]);
sts              2282 drivers/scsi/qla2xxx/qla_mr.c 	struct sts_entry_fx00 *sts;
sts              2297 drivers/scsi/qla2xxx/qla_mr.c 	sts = (struct sts_entry_fx00 *) pkt;
sts              2299 drivers/scsi/qla2xxx/qla_mr.c 	comp_status = sts->comp_status;
sts              2300 drivers/scsi/qla2xxx/qla_mr.c 	scsi_status = sts->scsi_status & cpu_to_le16((uint16_t)SS_MASK);
sts              2301 drivers/scsi/qla2xxx/qla_mr.c 	hindex = sts->handle;
sts              2352 drivers/scsi/qla2xxx/qla_mr.c 		sense_len = sts->sense_len;
sts              2355 drivers/scsi/qla2xxx/qla_mr.c 		resid_len = le32_to_cpu(sts->residual_len);
sts              2357 drivers/scsi/qla2xxx/qla_mr.c 		fw_resid_len = le32_to_cpu(sts->residual_len);
sts              2358 drivers/scsi/qla2xxx/qla_mr.c 	rsp_info = sense_data = sts->data;
sts              2359 drivers/scsi/qla2xxx/qla_mr.c 	par_sense_len = sizeof(sts->data);
sts              3439 drivers/scsi/qla2xxx/qla_target.c 	struct ctio_crc_from_fw *sts)
sts              3441 drivers/scsi/qla2xxx/qla_target.c 	uint8_t		*ap = &sts->actual_dif[0];
sts              3442 drivers/scsi/qla2xxx/qla_target.c 	uint8_t		*ep = &sts->expected_dif[0];
sts               835 drivers/scsi/qla4xxx/ql4_def.h 	struct passthru_status sts;
sts                62 drivers/scsi/qla4xxx/ql4_glbl.h 			 uint32_t ip_idx, uint32_t *sts);
sts               398 drivers/scsi/qla4xxx/ql4_isr.c 	memcpy(&task_data->sts, sts_entry, sizeof(struct passthru_status));
sts              2169 drivers/scsi/qla4xxx/ql4_mbx.c 			 uint32_t ip_idx, uint32_t *sts)
sts              2187 drivers/scsi/qla4xxx/ql4_mbx.c 	memcpy(sts, mbox_sts, sizeof(mbox_sts));
sts              3319 drivers/scsi/qla4xxx/ql4_os.c 	struct passthru_status *sts;
sts              3331 drivers/scsi/qla4xxx/ql4_os.c 	sts = &task_data->sts;
sts              3335 drivers/scsi/qla4xxx/ql4_os.c 	DEBUG3(qla4xxx_dump_buffer(sts, 64));
sts              3341 drivers/scsi/qla4xxx/ql4_os.c 	switch (sts->completionStatus) {
sts              3345 drivers/scsi/qla4xxx/ql4_os.c 		itt = sts->handle;
sts              3353 drivers/scsi/qla4xxx/ql4_os.c 			   sts->completionStatus);
sts              6629 drivers/scsi/qla4xxx/ql4_os.c 	uint32_t sts[MBOX_REG_COUNT];
sts              6640 drivers/scsi/qla4xxx/ql4_os.c 			ret = qla4xxx_get_ip_state(ha, 0, ip_idx[idx], sts);
sts              6647 drivers/scsi/qla4xxx/ql4_os.c 			ip_state = (sts[1] & IP_STATE_MASK) >> IP_STATE_SHIFT;
sts              1067 drivers/scsi/qlogicpti.c static int qlogicpti_return_status(struct Status_Entry *sts, int id)
sts              1071 drivers/scsi/qlogicpti.c 	switch (sts->completion_status) {
sts              1076 drivers/scsi/qlogicpti.c 		if (!(sts->state_flags & SF_GOT_BUS))
sts              1078 drivers/scsi/qlogicpti.c 		else if (!(sts->state_flags & SF_GOT_TARGET))
sts              1080 drivers/scsi/qlogicpti.c 		else if (!(sts->state_flags & SF_SENT_CDB))
sts              1082 drivers/scsi/qlogicpti.c 		else if (!(sts->state_flags & SF_TRANSFERRED_DATA))
sts              1084 drivers/scsi/qlogicpti.c 		else if (!(sts->state_flags & SF_GOT_STATUS))
sts              1086 drivers/scsi/qlogicpti.c 		else if (!(sts->state_flags & SF_GOT_SENSE))
sts              1123 drivers/scsi/qlogicpti.c 		       id, sts->completion_status);
sts              1128 drivers/scsi/qlogicpti.c 	return (sts->scsi_status & STATUS_MASK) | (host_status << 16);
sts              1134 drivers/scsi/qlogicpti.c 	struct Status_Entry *sts;
sts              1162 drivers/scsi/qlogicpti.c 		sts = (struct Status_Entry *) &qpti->res_cpu[out_ptr];
sts              1169 drivers/scsi/qlogicpti.c 		cmd_slot = sts->handle;
sts              1173 drivers/scsi/qlogicpti.c 		if (sts->completion_status == CS_RESET_OCCURRED ||
sts              1174 drivers/scsi/qlogicpti.c 		    sts->completion_status == CS_ABORTED ||
sts              1175 drivers/scsi/qlogicpti.c 		    (sts->status_flags & STF_BUS_RESET))
sts              1178 drivers/scsi/qlogicpti.c 		if (sts->state_flags & SF_GOT_SENSE)
sts              1179 drivers/scsi/qlogicpti.c 			memcpy(Cmnd->sense_buffer, sts->req_sense_data,
sts              1182 drivers/scsi/qlogicpti.c 		if (sts->hdr.entry_type == ENTRY_STATUS)
sts              1184 drivers/scsi/qlogicpti.c 			    qlogicpti_return_status(sts, qpti->qpti_id);
sts               500 drivers/scsi/sym53c8xx_2/sym_glue.c 	int sts = 0;
sts               520 drivers/scsi/sym53c8xx_2/sym_glue.c 	sts = sym_queue_command(np, cmd);
sts               521 drivers/scsi/sym53c8xx_2/sym_glue.c 	if (sts)
sts               587 drivers/scsi/sym53c8xx_2/sym_glue.c 	int sts = -1;
sts               633 drivers/scsi/sym53c8xx_2/sym_glue.c 	sts = -1;
sts               636 drivers/scsi/sym53c8xx_2/sym_glue.c 		sts = sym_abort_scsiio(np, cmd, 1);
sts               639 drivers/scsi/sym53c8xx_2/sym_glue.c 		sts = sym_reset_scsi_target(np, cmd->device->id);
sts               643 drivers/scsi/sym53c8xx_2/sym_glue.c 		sts = 0;
sts               648 drivers/scsi/sym53c8xx_2/sym_glue.c 		sts = 0;
sts               655 drivers/scsi/sym53c8xx_2/sym_glue.c 	if (sts)
sts               664 drivers/scsi/sym53c8xx_2/sym_glue.c 			sts = -2;
sts               671 drivers/scsi/sym53c8xx_2/sym_glue.c 			sts==0 ? "complete" :sts==-2 ? "timed-out" : "failed");
sts               672 drivers/scsi/sym53c8xx_2/sym_glue.c 	return sts ? SCSI_FAILED : SCSI_SUCCESS;
sts               226 drivers/soc/qcom/rpmh-rsc.c 			u32 sts;
sts               229 drivers/soc/qcom/rpmh-rsc.c 			sts = read_tcs_reg(drv, RSC_DRV_CMD_STATUS, i, j);
sts               230 drivers/soc/qcom/rpmh-rsc.c 			if (!(sts & CMD_STATUS_ISSUED) ||
sts               232 drivers/soc/qcom/rpmh-rsc.c 			   !(sts & CMD_STATUS_COMPL))) {
sts                35 drivers/spi/spi-iproc-qspi.c 	u32 val = 0, sts = 0;
sts                43 drivers/spi/spi-iproc-qspi.c 		sts |= MSPI_DONE;
sts                46 drivers/spi/spi-iproc-qspi.c 		sts |= BSPI_DONE;
sts                49 drivers/spi/spi-iproc-qspi.c 		sts |= BSPI_ERR;
sts                51 drivers/spi/spi-iproc-qspi.c 	return sts;
sts               291 drivers/spi/spi-mxic.c 		u32 sts;
sts               300 drivers/spi/spi-mxic.c 		ret = readl_poll_timeout(mxic->regs + INT_STS, sts,
sts               301 drivers/spi/spi-mxic.c 					 sts & INT_TX_EMPTY, 0, USEC_PER_SEC);
sts               308 drivers/spi/spi-mxic.c 			ret = readl_poll_timeout(mxic->regs + INT_STS, sts,
sts               309 drivers/spi/spi-mxic.c 						 sts & INT_TX_EMPTY, 0,
sts               314 drivers/spi/spi-mxic.c 			ret = readl_poll_timeout(mxic->regs + INT_STS, sts,
sts               315 drivers/spi/spi-mxic.c 						 sts & INT_RX_NOT_EMPTY, 0,
sts               140 drivers/spi/spi-sprd-adi.c 	u32 sts;
sts               143 drivers/spi/spi-sprd-adi.c 		sts = readl_relaxed(sadi->base + REG_ADI_ARM_FIFO_STS);
sts               144 drivers/spi/spi-sprd-adi.c 		if (sts & BIT_FIFO_EMPTY)
sts                24 drivers/staging/wusbcore/host/whci/int.c 	u32 sts;
sts                26 drivers/staging/wusbcore/host/whci/int.c 	sts = le_readl(whc->base + WUSBSTS);
sts                27 drivers/staging/wusbcore/host/whci/int.c 	if (!(sts & WUSBSTS_INT_MASK))
sts                29 drivers/staging/wusbcore/host/whci/int.c 	le_writel(sts & WUSBSTS_INT_MASK, whc->base + WUSBSTS);
sts                31 drivers/staging/wusbcore/host/whci/int.c 	if (sts & WUSBSTS_GEN_CMD_DONE)
sts                34 drivers/staging/wusbcore/host/whci/int.c 	if (sts & WUSBSTS_HOST_ERR)
sts                37 drivers/staging/wusbcore/host/whci/int.c 	if (sts & WUSBSTS_ASYNC_SCHED_SYNCED)
sts                40 drivers/staging/wusbcore/host/whci/int.c 	if (sts & WUSBSTS_PERIODIC_SCHED_SYNCED)
sts                43 drivers/staging/wusbcore/host/whci/int.c 	if (sts & WUSBSTS_DNTS_INT)
sts                50 drivers/staging/wusbcore/host/whci/int.c 	if (sts & (WUSBSTS_INT | WUSBSTS_ERR_INT))
sts               967 drivers/tty/serial/fsl_lpuart.c 	unsigned char sts;
sts               969 drivers/tty/serial/fsl_lpuart.c 	sts = readb(sport->port.membase + UARTSR1);
sts               971 drivers/tty/serial/fsl_lpuart.c 	if (sts & UARTSR1_RDRF && !sport->lpuart_dma_rx_use)
sts               974 drivers/tty/serial/fsl_lpuart.c 	if (sts & UARTSR1_TDRE && !sport->lpuart_dma_tx_use)
sts               983 drivers/tty/serial/fsl_lpuart.c 	unsigned long sts, rxcount;
sts               985 drivers/tty/serial/fsl_lpuart.c 	sts = lpuart32_read(&sport->port, UARTSTAT);
sts               989 drivers/tty/serial/fsl_lpuart.c 	if ((sts & UARTSTAT_RDRF || rxcount > 0) && !sport->lpuart_dma_rx_use)
sts               992 drivers/tty/serial/fsl_lpuart.c 	if ((sts & UARTSTAT_TDRE) && !sport->lpuart_dma_tx_use)
sts               995 drivers/tty/serial/fsl_lpuart.c 	lpuart32_write(&sport->port, sts, UARTSTAT);
sts               657 drivers/tty/serial/max310x.c 	unsigned int sts, ch, flag, i;
sts               671 drivers/tty/serial/max310x.c 		sts = max310x_port_read(port, MAX310X_LSR_IRQSTS_REG);
sts               676 drivers/tty/serial/max310x.c 		sts &= port->read_status_mask;
sts               678 drivers/tty/serial/max310x.c 		if (sts & MAX310X_LSR_RXOVR_BIT) {
sts               684 drivers/tty/serial/max310x.c 			uart_insert_char(port, sts, 0, one->rx_buf[i], flag);
sts               691 drivers/tty/serial/max310x.c 		uart_insert_char(port, sts, MAX310X_LSR_RXOVR_BIT,
sts               704 drivers/tty/serial/max310x.c 			sts = max310x_port_read(port, MAX310X_LSR_IRQSTS_REG);
sts               706 drivers/tty/serial/max310x.c 			sts &= MAX310X_LSR_RXPAR_BIT | MAX310X_LSR_FRERR_BIT |
sts               712 drivers/tty/serial/max310x.c 			if (unlikely(sts)) {
sts               713 drivers/tty/serial/max310x.c 				if (sts & MAX310X_LSR_RXBRK_BIT) {
sts               717 drivers/tty/serial/max310x.c 				} else if (sts & MAX310X_LSR_RXPAR_BIT)
sts               719 drivers/tty/serial/max310x.c 				else if (sts & MAX310X_LSR_FRERR_BIT)
sts               721 drivers/tty/serial/max310x.c 				else if (sts & MAX310X_LSR_RXOVR_BIT)
sts               724 drivers/tty/serial/max310x.c 				sts &= port->read_status_mask;
sts               725 drivers/tty/serial/max310x.c 				if (sts & MAX310X_LSR_RXBRK_BIT)
sts               727 drivers/tty/serial/max310x.c 				else if (sts & MAX310X_LSR_RXPAR_BIT)
sts               729 drivers/tty/serial/max310x.c 				else if (sts & MAX310X_LSR_FRERR_BIT)
sts               731 drivers/tty/serial/max310x.c 				else if (sts & MAX310X_LSR_RXOVR_BIT)
sts               738 drivers/tty/serial/max310x.c 			if (sts & port->ignore_status_mask)
sts               741 drivers/tty/serial/max310x.c 			uart_insert_char(port, sts, MAX310X_LSR_RXOVR_BIT, ch, flag);
sts               239 drivers/tty/serial/mpc52xx_uart.c 	u16 sts = in_be16(&PSC(port)->mpc52xx_psc_status);
sts               241 drivers/tty/serial/mpc52xx_uart.c 	return (sts & MPC52xx_PSC_SR_TXEMP) ? TIOCSER_TEMT : 0;
sts                71 drivers/usb/cdns3/drd.c 	id = readl(&cdns->otg_regs->sts) & OTGSTS_ID_VALUE;
sts                81 drivers/usb/cdns3/drd.c 	vbus = !!(readl(&cdns->otg_regs->sts) & OTGSTS_VBUS_VALID);
sts               144 drivers/usb/cdns3/drd.c 		ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val,
sts               182 drivers/usb/cdns3/drd.c 		ret = readl_poll_timeout_atomic(&cdns->otg_regs->sts, val,
sts               345 drivers/usb/cdns3/drd.c 	state = OTGSTS_STRAP(readl(&cdns->otg_regs->sts));
sts               368 drivers/usb/cdns3/drd.c 	state = readl(&cdns->otg_regs->sts);
sts                23 drivers/usb/cdns3/drd.h 	__le32 sts;
sts                44 drivers/usb/cdns3/drd.h 	__le32 sts;
sts                65 drivers/usb/cdns3/drd.h 	__le32 sts;
sts               289 drivers/usb/chipidea/core.c 	u32 portsc, lpm, sts = 0;
sts               307 drivers/usb/chipidea/core.c 		sts = 1;
sts               319 drivers/usb/chipidea/core.c 		if (sts)
sts               323 drivers/usb/chipidea/core.c 		if (sts)
sts               407 drivers/usb/gadget/udc/amd5536udc.h 	u32 sts;
sts               429 drivers/usb/gadget/udc/amd5536udc.h 	u32 sts;
sts               195 drivers/usb/gadget/udc/snps_udc_core.c 	DBG(dev, "dev status     = %08x\n", readl(&dev->regs->sts));
sts               480 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&ep->regs->sts);
sts               482 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp, &ep->regs->sts);
sts               731 drivers/usb/gadget/udc/snps_udc_core.c 	bytes = readl(&ep->regs->sts);
sts               966 drivers/usb/gadget/udc/snps_udc_core.c complete_req(struct udc_ep *ep, struct udc_request *req, int sts)
sts               985 drivers/usb/gadget/udc/snps_udc_core.c 		req->req.status = sts;
sts               991 drivers/usb/gadget/udc/snps_udc_core.c 		&req->req, req->req.length, ep->ep.name, sts);
sts              1536 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->regs->sts);
sts              1748 drivers/usb/gadget/udc/snps_udc_core.c 		} else if (readl(&udc->regs->sts)
sts              2096 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&ep->regs->sts);
sts              2103 drivers/usb/gadget/udc/snps_udc_core.c 			writel(tmp | AMD_BIT(UDC_EPSTS_BNA), &ep->regs->sts);
sts              2117 drivers/usb/gadget/udc/snps_udc_core.c 		writel(tmp | AMD_BIT(UDC_EPSTS_HE), &ep->regs->sts);
sts              2286 drivers/usb/gadget/udc/snps_udc_core.c 		if (readl(&dev->regs->sts) & AMD_BIT(UDC_DEVSTS_RXFIFO_EMPTY))
sts              2291 drivers/usb/gadget/udc/snps_udc_core.c 	writel(UDC_EPSTS_OUT_CLEAR, &ep->regs->sts);
sts              2309 drivers/usb/gadget/udc/snps_udc_core.c 	epsts = readl(&ep->regs->sts);
sts              2319 drivers/usb/gadget/udc/snps_udc_core.c 			writel(epsts, &ep->regs->sts);
sts              2331 drivers/usb/gadget/udc/snps_udc_core.c 		writel(epsts | AMD_BIT(UDC_EPSTS_HE), &ep->regs->sts);
sts              2442 drivers/usb/gadget/udc/snps_udc_core.c 	writel(epsts, &ep->regs->sts);
sts              2467 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0OUT_IX].regs->sts);
sts              2472 drivers/usb/gadget/udc/snps_udc_core.c 			&dev->ep[UDC_EP0OUT_IX].regs->sts);
sts              2499 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0OUT_IX].regs->sts);
sts              2602 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0OUT_IX].regs->sts);
sts              2608 drivers/usb/gadget/udc/snps_udc_core.c 		writel(UDC_EPSTS_OUT_CLEAR, &dev->ep[UDC_EP0OUT_IX].regs->sts);
sts              2638 drivers/usb/gadget/udc/snps_udc_core.c 			count = readl(&dev->ep[UDC_EP0OUT_IX].regs->sts);
sts              2657 drivers/usb/gadget/udc/snps_udc_core.c 		if (readl(&dev->regs->sts) & AMD_BIT(UDC_DEVSTS_RXFIFO_EMPTY))
sts              2679 drivers/usb/gadget/udc/snps_udc_core.c 	tmp = readl(&dev->ep[UDC_EP0IN_IX].regs->sts);
sts              2687 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0IN_IX].regs->sts);
sts              2696 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0IN_IX].regs->sts);
sts              2757 drivers/usb/gadget/udc/snps_udc_core.c 				&dev->ep[UDC_EP0IN_IX].regs->sts);
sts              2782 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->sts);
sts              2832 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->sts);
sts              2914 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->sts);
sts              2979 drivers/usb/gadget/udc/snps_udc_core.c 		tmp = readl(&dev->regs->sts);
sts               683 drivers/usb/image/mdc800.c 	size_t left=len, sts=len; /* single transfer size */
sts               714 drivers/usb/image/mdc800.c 		sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left;
sts               716 drivers/usb/image/mdc800.c 		if (sts <= 0)
sts               759 drivers/usb/image/mdc800.c 						sts)) {
sts               763 drivers/usb/image/mdc800.c 			ptr+=sts;
sts               764 drivers/usb/image/mdc800.c 			left-=sts;
sts               765 drivers/usb/image/mdc800.c 			mdc800->out_ptr+=sts;
sts               846 drivers/usb/serial/cp210x.c 	struct cp210x_comm_status *sts;
sts               849 drivers/usb/serial/cp210x.c 	sts = kmalloc(sizeof(*sts), GFP_KERNEL);
sts               850 drivers/usb/serial/cp210x.c 	if (!sts)
sts               855 drivers/usb/serial/cp210x.c 			0, port_priv->bInterfaceNumber, sts, sizeof(*sts),
sts               857 drivers/usb/serial/cp210x.c 	if (result == sizeof(*sts)) {
sts               858 drivers/usb/serial/cp210x.c 		*count = le32_to_cpu(sts->ulAmountInOutQueue);
sts               866 drivers/usb/serial/cp210x.c 	kfree(sts);
sts              1363 drivers/vfio/pci/vfio_pci_config.c 			int sts;
sts              1365 drivers/vfio/pci/vfio_pci_config.c 			sts = dword & PCI_TPH_CAP_ST_MASK;
sts              1366 drivers/vfio/pci/vfio_pci_config.c 			sts >>= PCI_TPH_CAP_ST_SHIFT;
sts              1367 drivers/vfio/pci/vfio_pci_config.c 			return PCI_TPH_BASE_SIZEOF + (sts * 2) + 2;
sts                16 drivers/virtio/virtio_input.c 	struct virtqueue           *evt, *sts;
sts                77 drivers/virtio/virtio_input.c 		rc = virtqueue_add_outbuf(vi->sts, sg, 1, stsbuf, GFP_ATOMIC);
sts                78 drivers/virtio/virtio_input.c 		virtqueue_kick(vi->sts);
sts                97 drivers/virtio/virtio_input.c 	while ((stsbuf = virtqueue_get_buf(vi->sts, &len)) != NULL)
sts               181 drivers/virtio/virtio_input.c 	vi->sts = vqs[1];
sts               326 drivers/virtio/virtio_input.c 	while ((buf = virtqueue_detach_unused_buf(vi->sts)) != NULL)
sts               101 drivers/watchdog/pm8916_wdt.c 	int err, sts;
sts               103 drivers/watchdog/pm8916_wdt.c 	err = regmap_read(wdt->regmap, wdt->baseaddr + PON_INT_RT_STS, &sts);
sts               107 drivers/watchdog/pm8916_wdt.c 	if (sts & PMIC_WD_BARK_STS_BIT)
sts              1353 fs/dlm/lock.c  static void move_lkb(struct dlm_rsb *r, struct dlm_lkb *lkb, int sts)
sts              1357 fs/dlm/lock.c  	add_lkb(r, lkb, sts);
sts               285 include/linux/intel-iommu.h #define IOMMU_WAIT_OP(iommu, offset, op, cond, sts)			\
sts               289 include/linux/intel-iommu.h 		sts = op(iommu->reg + offset);				\
sts                84 include/linux/nvme-rdma.h 	__le16		sts;
sts               134 include/linux/ptp_clock_kernel.h 			  struct ptp_system_timestamp *sts);
sts               266 include/linux/ptp_clock_kernel.h static inline void ptp_read_system_prets(struct ptp_system_timestamp *sts)
sts               268 include/linux/ptp_clock_kernel.h 	if (sts)
sts               269 include/linux/ptp_clock_kernel.h 		ktime_get_real_ts64(&sts->pre_ts);
sts               272 include/linux/ptp_clock_kernel.h static inline void ptp_read_system_postts(struct ptp_system_timestamp *sts)
sts               274 include/linux/ptp_clock_kernel.h 	if (sts)
sts               275 include/linux/ptp_clock_kernel.h 		ktime_get_real_ts64(&sts->post_ts);