Home
last modified time | relevance | path

Searched refs:fpt (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/arch/sparc/math-emu/
Dmath_32.c143 int do_mathemu(struct pt_regs *regs, struct task_struct *fpt) in do_mathemu() argument
171 printk("fpqdepth is %ld\n", fpt->thread.fpqdepth); in do_mathemu()
172 for (i = 0; i < fpt->thread.fpqdepth; i++) in do_mathemu()
173 printk("%d: %08lx at %08lx\n", i, fpt->thread.fpqueue[i].insn, in do_mathemu()
174 (unsigned long)fpt->thread.fpqueue[i].insn_addr); in do_mathemu()
177 if (fpt->thread.fpqdepth == 0) { /* no queue, guilty insn is at regs->pc */ in do_mathemu()
182 retcode = do_one_mathemu(insn, &fpt->thread.fsr, fpt->thread.float_regs); in do_mathemu()
193 for (i = 0; i < fpt->thread.fpqdepth; i++) { in do_mathemu()
194 retcode = do_one_mathemu(fpt->thread.fpqueue[i].insn, &(fpt->thread.fsr), fpt->thread.float_regs); in do_mathemu()
200 fpt->thread.fsr &= ~(0x3000 | FSR_CEXC_MASK); in do_mathemu()
[all …]
/linux-4.1.27/arch/sparc/kernel/
Dtraps_32.c230 struct task_struct *fpt = last_task_used_math; local
232 struct task_struct *fpt = current; local
240 if(!fpt) {
242 if (!test_tsk_thread_flag(fpt, TIF_USEDFPU)) {
248 fpsave(&fpt->thread.float_regs[0], &fpt->thread.fsr,
249 &fpt->thread.fpqueue[0], &fpt->thread.fpqdepth);
251 printk("Hmm, FP exception, fsr was %016lx\n", fpt->thread.fsr);
254 switch ((fpt->thread.fsr & 0x1c000)) {
263 ret = do_mathemu(regs, fpt);
285 clear_tsk_thread_flag(fpt, TIF_USEDFPU);
[all …]
/linux-4.1.27/arch/sparc/include/asm/
Dprocessor_32.h119 int do_mathemu(struct pt_regs *regs, struct task_struct *fpt);
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c58 unsigned int fpt, dcc; in i40e_program_fdir_filter() local
101 fpt = (fdir_data->q_index << I40E_TXD_FLTR_QW0_QINDEX_SHIFT) & in i40e_program_fdir_filter()
104 fpt |= (fdir_data->flex_off << I40E_TXD_FLTR_QW0_FLEXOFF_SHIFT) & in i40e_program_fdir_filter()
107 fpt |= (fdir_data->pctype << I40E_TXD_FLTR_QW0_PCTYPE_SHIFT) & in i40e_program_fdir_filter()
112 fpt |= (pf->vsi[pf->lan_vsi]->id) << in i40e_program_fdir_filter()
115 fpt |= ((u32)fdir_data->dest_vsi << in i40e_program_fdir_filter()
141 fdir_desc->qindex_flex_ptype_vsi = cpu_to_le32(fpt); in i40e_program_fdir_filter()