/linux-master/arch/sh/kernel/cpu/sh2/ |
H A D | entry.S | 78 sts.l macl, @-r15 79 sts.l mach, @-r15 83 sts.l pr,@-r15 129 sts.l macl, @-r2 130 sts.l mach, @-r2 133 sts.l pr,@-r2
|
/linux-master/drivers/ptp/ |
H A D | ptp_chardev.c | 169 struct ptp_system_timestamp sts; local 367 err = ptp->info->gettimex64(ptp->info, &ts, &sts); 370 extoff->ts[i][0].sec = sts.pre_ts.tv_sec; 371 extoff->ts[i][0].nsec = sts.pre_ts.tv_nsec; 374 extoff->ts[i][2].sec = sts.post_ts.tv_sec; 375 extoff->ts[i][2].nsec = sts.post_ts.tv_nsec;
|
H A D | ptp_dfl_tod.c | 227 struct ptp_system_timestamp *sts) 236 ptp_read_system_prets(sts); 240 ptp_read_system_postts(sts); 226 dfl_tod_get_timex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
|
H A D | ptp_vclock.c | 89 struct ptp_system_timestamp *sts) 97 err = pptp->info->getcyclesx64(pptp->info, &pts, sts); 87 ptp_vclock_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
|
/linux-master/drivers/net/ethernet/marvell/mvpp2/ |
H A D | mvpp2_tai.c | 237 struct ptp_system_timestamp *sts) 252 ptp_read_system_prets(sts); 256 ptp_read_system_postts(sts); 235 mvpp22_tai_gettimex64(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
|
/linux-master/drivers/input/keyboard/ |
H A D | spear-keyboard.c | 74 u32 sts, val; local 76 sts = readl_relaxed(kbd->io_base + STATUS_REG); 77 if (!(sts & STATUS_DATA_AVAIL))
|
/linux-master/drivers/media/usb/as102/ |
H A D | as10x_cmd.c | 191 pstatus->tune_state = prsp->body.get_tune_status.rsp.sts.tune_state; 193 le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.signal_strength); 194 pstatus->PER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.PER); 195 pstatus->BER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.BER);
|
/linux-master/drivers/net/ethernet/altera/ |
H A D | altera_sgdma.c | 236 u32 sts = csrrd32(priv->rx_dma_csr, sgdma_csroffs(status)); local 239 if (sts & SGDMA_STSREG_EOP) { 281 sts, csrrd8(desc, sgdma_descroffs(status)), 284 } else if (sts == 0) {
|
/linux-master/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 492 int sts = 0; local 511 sts = sym_queue_command(np, cmd); 512 if (sts) 579 int sts = -1; local 600 sts = sym_abort_scsiio(np, cmd, 1); 602 if (sts) 611 sts = -2; 618 sts==0 ? "complete" :sts==-2 ? "timed-out" : "failed"); 619 return sts 630 int sts; local [all...] |
/linux-master/drivers/platform/x86/ |
H A D | pmc_atom.c | 259 u32 sts, const struct pmc_bit_map *sts_map, 269 sts_map[index].bit_mask & sts ? "D3" : "D0"); 454 static void pmc_dev_state_check(u32 sts, const struct pmc_bit_map *sts_map, argument 462 !(sts_map[index].bit_mask & sts)) { 258 pmc_dev_state_print(struct seq_file *s, int reg_index, u32 sts, const struct pmc_bit_map *sts_map, u32 fd, const struct pmc_bit_map *fd_map) argument
|
H A D | intel_ips.c | 1142 u32 sts, tc1; local 1144 sts = thm_readl(THM_STS); 1147 if (sts & STS_NVV) { 1149 ips->core_power_limit = (sts & STS_PCPL_MASK) >> 1151 ips->mch_power_limit = (sts & STS_GPL_MASK) >> 1154 ips->cpu_turbo_enabled = !(sts & STS_PCTD_DIS); 1161 ips->gpu_turbo_enabled = !(sts & STS_GTD_DIS); 1162 ips->mcp_temp_limit = (sts & STS_PTL_MASK) >>
|
/linux-master/drivers/usb/gadget/udc/ |
H A D | renesas_usbf.c | 706 u32 sts; local 711 ret = readl_poll_timeout_atomic(ep0->regs + USBF_REG_EP0_STATUS, sts, 712 (sts & (USBF_EP0_IN_DATA | USBF_EP0_IN_EMPTY)) == USBF_EP0_IN_EMPTY, 1518 u32 sts; local 1530 ret = readl_poll_timeout_atomic(epn->regs + USBF_REG_EPN_STATUS, sts, 1531 (sts & (USBF_EPN_IN_DATA | USBF_EPN_IN_EMPTY)) == USBF_EPN_IN_EMPTY, 2625 u32 sts, prev_sts; local 2637 sts = ep0->status & (USBF_EP0_SETUP_INT | USBF_EP0_IN_INT | USBF_EP0_OUT_INT | 2645 prev_sts = sts; 2649 if (!(sts 2794 u32 sts; local [all...] |
H A D | snps_udc_core.c | 189 DBG(dev, "dev status = %08x\n", readl(&dev->regs->sts)); 474 tmp = readl(&ep->regs->sts); 476 writel(tmp, &ep->regs->sts); 620 pr_debug("bna desc = %p, sts = %08x\n", 725 bytes = readl(&ep->regs->sts); 960 complete_req(struct udc_ep *ep, struct udc_request *req, int sts) 979 req->req.status = sts; 984 VDBG(ep->dev, "req %p => complete %d bytes at %s with sts %d\n", 985 &req->req, req->req.length, ep->ep.name, sts); 1530 tmp = readl(&dev->regs->sts); [all...] |
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_isr.c | 2649 struct sts_entry_24xx *sts = (struct sts_entry_24xx *)tsk; local 2656 comp_status = le16_to_cpu(sts->comp_status); 2662 if (sts->entry_status) { 2665 type, sp->handle, sts->entry_status); 2667 } else if (sts->comp_status != cpu_to_le16(CS_COMPLETE)) { 2672 } else if ((le16_to_cpu(sts->scsi_status) & 2674 host_to_fcp_swap(sts->data, sizeof(sts->data)); 2675 if (le32_to_cpu(sts->rsp_data_len) < 4) { 2678 type, sp->handle, sts 2722 struct sts_entry_24xx *sts = (struct sts_entry_24xx *)tsk; local 3155 sts_entry_t *sts = pkt; local 3302 sts_entry_t *sts = pkt; local [all...] |
/linux-master/arch/sh/lib/ |
H A D | mcount.S | 17 sts.l pr, @-r15; \ 20 sts pr, r5
|
/linux-master/drivers/input/serio/ |
H A D | olpc_apsp.c | 85 u32 sts = readl(priv->base + COMMAND_FIFO_STATUS); local 86 if ((sts & CMD_CNTR_MASK) < MAX_PENDING_CMDS) {
|
/linux-master/drivers/net/ethernet/intel/e1000e/ |
H A D | ptp.c | 156 * @sts: structure to hold the current system time 163 struct ptp_system_timestamp *sts) 173 cycles = e1000e_read_systim(adapter, sts); 161 e1000e_phc_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 112 struct ptp_system_timestamp *sts) 118 ptp_read_system_prets(sts); 120 ptp_read_system_postts(sts); 125 ptp_read_system_prets(sts); 127 ptp_read_system_postts(sts); 220 struct ptp_system_timestamp *sts) 226 cycles = __mlxsw_sp1_ptp_read_frc(clock, sts); 337 struct ptp_system_timestamp *sts) 343 ptp_read_system_prets(sts); 345 ptp_read_system_postts(sts); 111 __mlxsw_sp1_ptp_read_frc(struct mlxsw_sp1_ptp_clock *clock, struct ptp_system_timestamp *sts) argument 218 mlxsw_sp1_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 336 mlxsw_sp2_ptp_read_utc(struct mlxsw_sp_ptp_clock *clock, struct ptp_system_timestamp *sts) argument 408 mlxsw_sp2_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument [all...] |
/linux-master/drivers/net/ethernet/microchip/ |
H A D | enc28j60.c | 863 u16 pk_ptr, int len, u16 sts) 869 len, RSV_GETBIT(sts, RSV_DRIBBLENIBBLE)); 872 RSV_GETBIT(sts, RSV_RXOK), 873 RSV_GETBIT(sts, RSV_CRCERROR), 874 RSV_GETBIT(sts, RSV_LENCHECKERR), 875 RSV_GETBIT(sts, RSV_LENOUTOFRANGE)); 878 RSV_GETBIT(sts, RSV_RXMULTICAST), 879 RSV_GETBIT(sts, RSV_RXBROADCAST), 880 RSV_GETBIT(sts, RSV_RXLONGEVDROPEV), 881 RSV_GETBIT(sts, RSV_CARRIERE 862 enc28j60_dump_rsv(struct enc28j60_net *priv, const char *msg, u16 pk_ptr, int len, u16 sts) argument [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_hwrm.c | 470 u32 req_type, sts; local 574 if (hwrm_wait_must_abort(bp, req_type, &sts)) { 576 req_type, sts); 629 if (hwrm_wait_must_abort(bp, req_type, &sts)) { 633 len, sts);
|
H A D | bnxt_ptp.c | 76 static int bnxt_refclk_read(struct bnxt *bp, struct ptp_system_timestamp *sts, argument 86 ptp_read_system_prets(sts); 88 ptp_read_system_postts(sts); 91 ptp_read_system_prets(sts); 93 ptp_read_system_postts(sts); 147 struct ptp_system_timestamp *sts) 155 rc = bnxt_refclk_read(ptp->bp, sts, &cycles); 145 bnxt_ptp_gettimex(struct ptp_clock_info *ptp_info, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
|
/linux-master/drivers/crypto/aspeed/ |
H A D | aspeed-acry.c | 655 u32 sts; local 657 sts = ast_acry_read(acry_dev, ASPEED_ACRY_STATUS); 658 ast_acry_write(acry_dev, sts, ASPEED_ACRY_STATUS); 660 ACRY_DBG(acry_dev, "irq sts:0x%x\n", sts); 662 if (sts & ACRY_RSA_ISR) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 152 struct ptp_system_timestamp *sts, 159 ptp_read_system_prets(sts); 162 ptp_read_system_postts(sts); 167 ptp_read_system_prets(sts); 170 ptp_read_system_postts(sts); 306 struct ptp_system_timestamp *sts) 311 time = mlx5_read_time(mdev, sts, true); 317 struct ptp_system_timestamp *sts) 327 *ts = mlx5_ptp_gettimex_real_time(mdev, sts); 332 cycles = mlx5_read_time(mdev, sts, fals 151 mlx5_read_time(struct mlx5_core_dev *dev, struct ptp_system_timestamp *sts, bool real_time) argument 305 mlx5_ptp_gettimex_real_time(struct mlx5_core_dev *mdev, struct ptp_system_timestamp *sts) argument 316 mlx5_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument [all...] |
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | init.c | 847 int sts; local 853 sts = hweight8(phy->mt76->chainmask); 859 sts - 1); 865 if (sts < 2) 871 sts - 1); 880 int sts = hweight8(phy->mt76->chainmask); local 881 u8 c, sts_160 = sts; 931 if (sts < 2) 935 elem->phy_cap_info[7] |= min_t(int, sts - 1, 2) << 3; 943 sts [all...] |
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_ptp.c | 261 struct ptp_system_timestamp *sts) 272 ptp_read_system_prets(sts); 274 ptp_read_system_postts(sts); 288 struct ptp_system_timestamp *sts) 299 ptp_read_system_prets(sts); 301 ptp_read_system_postts(sts); 316 struct ptp_system_timestamp *sts) 325 ptp_read_system_prets(sts); 327 ptp_read_system_postts(sts); 259 igb_ptp_gettimex_82576(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 286 igb_ptp_gettimex_82580(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument 314 igb_ptp_gettimex_i210(struct ptp_clock_info *ptp, struct timespec64 *ts, struct ptp_system_timestamp *sts) argument
|