Searched refs:tstate (Results 1 - 25 of 62) sorted by relevance

123

/linux-master/arch/sparc/include/uapi/asm/
H A Dpsrcompat.h28 static inline unsigned int tstate_to_psr(unsigned long tstate) argument
30 return ((tstate & TSTATE_CWP) |
32 ((tstate & TSTATE_ICC) >> 12) |
33 ((tstate & TSTATE_XCC) >> 20) |
34 ((tstate & TSTATE_SYSCALL) ? PSR_SYSCALL : 0) |
40 unsigned long tstate = ((unsigned long)(psr & PSR_ICC)) << 12; local
42 tstate |= ((unsigned long)(psr & PSR_XCC)) << 20;
43 return tstate;
/linux-master/drivers/media/dvb-frontends/
H A Das102_fe.h12 int (*get_status)(void *priv, struct as10x_tune_status *tstate);
H A Das102_fe.c305 struct as10x_tune_status tstate = { 0 }; local
308 ret = state->ops->get_status(state->priv, &tstate);
312 state->signal_strength = tstate.signal_strength;
313 state->ber = tstate.BER;
315 switch (tstate.tune_state) {
332 tstate.tune_state, tstate.signal_strength,
333 tstate.PER, tstate.BER);
/linux-master/arch/sparc/include/asm/
H A Dprocessor_64.h96 regs->tstate = (regs->tstate & (TSTATE_CWP)) | (TSTATE_INITIAL_MM|TSTATE_IE) | (__asi << 24UL); \
132 regs->tstate &= ~TSTATE_PEF; \
140 regs->tstate = (regs->tstate & (TSTATE_CWP))|(TSTATE_INITIAL_MM|TSTATE_IE|TSTATE_AM) | (__asi << 24UL); \
176 regs->tstate &= ~TSTATE_PEF; \
H A Dperf_event.h21 (regs)->tstate = (_pstate << 8) | \
H A Dptrace.h21 return (regs->tstate & TSTATE_SYSCALL);
26 return (regs->tstate &= ~TSTATE_SYSCALL);
41 unsigned long tstate; member in struct:global_reg_snapshot
64 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
73 return !(regs->tstate & (TSTATE_XCARRY | TSTATE_ICARRY));
H A Dsyscall.h56 return (regs->tstate & (TSTATE_XCARRY | TSTATE_ICARRY)) ? true : false;
60 regs->tstate |= (TSTATE_XCARRY | TSTATE_ICARRY);
64 regs->tstate &= ~(TSTATE_XCARRY | TSTATE_ICARRY);
H A Dmman.h26 regs->tstate |= TSTATE_MCDE;
38 regs->tstate |= TSTATE_MCDE;
H A Dsigcontext.h77 unsigned long tstate; member in struct:sigcontext::__anon1171
/linux-master/arch/sparc/kernel/
H A Dutrap.S21 rdpr %tstate, %l6
24 wrpr %l6, %l7, %tstate
H A Dptrace_64.c77 REG_OFFSET_NAME("tstate", TSTATE),
263 membuf_write(&to, &regs->tstate, 3 * sizeof(u64));
298 unsigned long tstate; local
302 &tstate,
307 * state can be modified in the %tstate register.
309 tstate &= (TSTATE_ICC | TSTATE_XCC | TSTATE_SYSCALL);
310 regs->tstate &= ~(TSTATE_ICC | TSTATE_XCC | TSTATE_SYSCALL);
311 regs->tstate |= tstate;
453 membuf_write(&to, &regs->tstate,
464 unsigned long tstate; local
632 unsigned long tstate; local
801 unsigned long tstate; local
[all...]
H A Dkprobes.c29 * "regs->tstate" so we can restore them later
39 * restore the PIL interrupt level in "regs->tstate" as well
98 kcb->kprobe_orig_tstate_pil = (regs->tstate & TSTATE_PIL);
104 regs->tstate |= TSTATE_PIL;
134 regs->tstate = ((regs->tstate & ~TSTATE_PIL) |
289 regs->tstate = ((regs->tstate & ~TSTATE_PIL) |
338 regs->tstate = ((regs->tstate
[all...]
H A Dunaligned_64.c91 return (unsigned char)(regs->tstate >> 24); /* %asi */
129 if (regs->tstate & TSTATE_PRIV) {
154 if (regs->tstate & TSTATE_PRIV) {
172 int from_kernel = (regs->tstate & TSTATE_PRIV) != 0;
291 regs->tstate &= ~TSTATE_ASI;
292 regs->tstate |= (ASI_AIUS << 24UL);
398 int from_kernel = (regs->tstate & TSTATE_PRIV) != 0;
573 int from_kernel = (regs->tstate & TSTATE_PRIV) != 0;
600 unsigned long tstate = regs->tstate; local
664 unsigned long tstate = regs->tstate; local
[all...]
H A Dprocess_64.c136 if ((regs->tstate & TSTATE_PRIV) || !(test_thread_flag(TIF_32BIT))) {
142 if (!(regs->tstate & TSTATE_PRIV)) {
160 if (regs->tstate & TSTATE_PRIV)
168 printk("TSTATE: %016lx TPC: %016lx TNPC: %016lx Y: %08x %s\n", regs->tstate,
200 rp->tstate = regs->tstate;
205 if (regs->tstate & TSTATE_PRIV) {
273 gp->tstate, gp->tpc, gp->tnpc,
277 if (gp->tstate & TSTATE_PRIV) {
593 (current_pt_regs()->tstate
[all...]
H A Dwinfixup.S26 rdpr %tstate, %g1
91 rdpr %tstate, %g1
114 rdpr %tstate, %g1
141 rdpr %tstate, %g1
H A Dkgdb_64.c39 gdb_regs[GDB_STATE] = regs->tstate;
99 if (regs->tstate != gdb_regs[GDB_STATE]) {
100 unsigned long cwp = regs->tstate & TSTATE_CWP;
102 regs->tstate = (gdb_regs[GDB_STATE] & ~TSTATE_CWP) | cwp;
H A Dsignal_64.c47 unsigned long pc, npc, tstate; local
81 err |= __get_user(tstate, &((*grp)[MC_TSTATE]));
82 regs->tstate &= ~(TSTATE_ASI | TSTATE_ICC | TSTATE_XCC);
83 regs->tstate |= (tstate & (TSTATE_ASI | TSTATE_ICC | TSTATE_XCC));
128 regs->tstate &= ~TSTATE_PEF;
180 err |= __put_user(regs->tstate, &((*grp)[MC_TSTATE]));
257 unsigned long tpc, tnpc, tstate, ufp; local
291 err |= __get_user(tstate, &sf->regs.tstate);
[all...]
H A Detrap_64.S35 rdpr %tstate, %g1
182 wrpr %l7, (TSTATE_PRIV | TSTATE_IE), %tstate
208 etraptl1: /* Save tstate/tpc/tnpc of TL 1-->4 and the tl register itself.
224 rdpr %tstate, %g3
234 rdpr %tstate, %g3
249 rdpr %tstate, %g3
259 rdpr %tstate, %g3
278 rdpr %tstate, %g1
H A Dsignal32.c140 regs->tstate &= ~TSTATE_ASI;
141 regs->tstate |= ((asi & 0xffUL) << 24UL);
145 /* User can only change condition codes in %tstate. */
146 regs->tstate &= ~(TSTATE_ICC|TSTATE_XCC);
147 regs->tstate |= psr_to_tstate_icc(psr);
228 regs->tstate &= ~TSTATE_ASI;
229 regs->tstate |= ((asi & 0xffUL) << 24UL);
233 /* User can only change condition codes in %tstate. */
234 regs->tstate &= ~(TSTATE_ICC|TSTATE_XCC);
235 regs->tstate |
[all...]
/linux-master/fs/xfs/
H A Dxfs_quotaops.c21 struct qc_type_state *tstate,
29 tstate->ino = ino;
37 tstate->flags |= QCI_SYSFILE;
38 tstate->blocks = ip->i_nblocks;
39 tstate->nextents = ip->i_df.if_nextents;
40 tstate->spc_timelimit = (u32)defq->blk.time;
41 tstate->ino_timelimit = (u32)defq->ino.time;
42 tstate->rt_spc_timelimit = (u32)defq->rtb.time;
43 tstate->spc_warnlimit = 0;
44 tstate
20 xfs_qm_fill_state( struct qc_type_state *tstate, struct xfs_mount *mp, struct xfs_inode *ip, xfs_ino_t ino, struct xfs_def_quota *defq) argument
[all...]
/linux-master/arch/sparc/mm/
H A Dfault_64.c190 if (regs->tstate & TSTATE_PRIV) {
205 if ((!insn) && (regs->tstate & TSTATE_PRIV))
216 asi = (regs->tstate >> 24);
234 if (regs->tstate & TSTATE_PRIV) {
291 if (!(regs->tstate & TSTATE_PRIV)) {
301 if (regs->tstate & TSTATE_PRIV) {
325 if ((regs->tstate & TSTATE_PRIV) &&
382 asi = (regs->tstate >> 24);
405 WARN_ON(regs->tstate & TSTATE_PRIV);
432 if (regs->tstate
[all...]
/linux-master/drivers/scsi/aic7xxx/
H A Daic7xxx_inline.h71 struct ahc_tmode_tstate **tstate);
H A Daic7xxx_core.c444 u_int remote_id, struct ahc_tmode_tstate **tstate)
454 *tstate = ahc->enabled_targets[our_id];
455 return (&(*tstate)->transinfo[remote_id]);
1054 struct ahc_tmode_tstate *tstate; local
1071 &tstate);
1123 tstate, targ_info,
1126 if (tstate->auto_negotiate & devinfo.target_mask) {
1850 struct ahc_tmode_tstate *tstate; local
1860 &tstate);
1952 struct ahc_tmode_tstate *tstate; local
443 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, u_int remote_id, struct ahc_tmode_tstate **tstate) argument
2119 struct ahc_tmode_tstate *tstate; local
2165 struct ahc_tmode_tstate *tstate; local
2425 ahc_update_neg_request(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct ahc_tmode_tstate *tstate, struct ahc_initiator_tinfo *tinfo, ahc_neg_type neg_type) argument
2473 struct ahc_tmode_tstate *tstate; local
2599 struct ahc_tmode_tstate *tstate; local
2684 struct ahc_tmode_tstate *tstate; local
2945 struct ahc_tmode_tstate *tstate; local
3562 struct ahc_tmode_tstate *tstate; local
3991 struct ahc_tmode_tstate *tstate; local
4301 struct ahc_tmode_tstate* tstate; local
4489 struct ahc_tmode_tstate *tstate; local
5424 struct ahc_tmode_tstate *tstate; local
6530 struct ahc_tmode_tstate* tstate; local
7284 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, struct ahc_tmode_tstate **tstate, struct ahc_tmode_lstate **lstate, int notfound_failure) argument
7327 struct ahc_tmode_tstate *tstate; local
7791 struct ahc_tmode_tstate *tstate; local
[all...]
H A Daic79xx_osm.c620 struct ahd_tmode_tstate *tstate; local
633 starget->id, &tstate);
653 starget->id, &tstate);
778 struct ahd_tmode_tstate *tstate; local
818 cmd->device->id, &tstate);
1290 struct ahd_tmode_tstate *tstate; local
1293 target_id, &tstate);
1296 ahd_update_neg_request(ahd, &devinfo, tstate,
1545 struct ahd_tmode_tstate *tstate; local
1561 cmd->device->id, &tstate);
1679 struct ahd_tmode_tstate *tstate; local
2385 struct ahd_tmode_tstate *tstate; local
2438 struct ahd_tmode_tstate *tstate; local
2473 struct ahd_tmode_tstate *tstate; local
2515 struct ahd_tmode_tstate *tstate; local
2554 struct ahd_tmode_tstate *tstate; local
2594 struct ahd_tmode_tstate *tstate; local
2630 struct ahd_tmode_tstate *tstate; local
2666 struct ahd_tmode_tstate *tstate; local
2710 struct ahd_tmode_tstate *tstate; local
2760 struct ahd_tmode_tstate *tstate; local
[all...]
/linux-master/tools/lib/bpf/
H A Dbtf_dump.c482 struct btf_dump_type_aux_state *tstate = &d->type_states[id]; local
488 if (tstate->order_state == ORDERED)
493 if (tstate->order_state == ORDERING) {
504 tstate->order_state = ORDERED;
509 tstate->order_state = ORDERED;
526 tstate->order_state = ORDERING;
541 tstate->order_state = ORDERED;
552 if (t->name_off != 0 || !tstate->referenced) {
557 tstate->order_state = ORDERED;
687 struct btf_dump_type_aux_state *tstate local
[all...]

Completed in 240 milliseconds

123