Home
last modified time | relevance | path

Searched refs:regnr (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/arch/x86/math-emu/
Dfpu_tags.c34 int FPU_gettag(int regnr) in FPU_gettag() argument
36 return (fpu_tag_word >> ((regnr & 7) * 2)) & 3; in FPU_gettag()
41 int regnr = top; in FPU_settag0() local
42 regnr &= 7; in FPU_settag0()
43 fpu_tag_word &= ~(3 << (regnr * 2)); in FPU_settag0()
44 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settag0()
49 int regnr = stnr + top; in FPU_settagi() local
50 regnr &= 7; in FPU_settagi()
51 fpu_tag_word &= ~(3 << (regnr * 2)); in FPU_settagi()
52 fpu_tag_word |= (tag & 3) << (regnr * 2); in FPU_settagi()
[all …]
Dfpu_aux.c137 int regnr = top & 7, regnri = ((regnr + i) & 7); in fxch_i() local
138 u_char st0_tag = (tag_word >> (regnr * 2)) & 3; in fxch_i()
168 tag_word &= ~(3 << (regnr * 2)) & ~(3 << (regnri * 2)); in fxch_i()
169 tag_word |= (sti_tag << (regnr * 2)) | (st0_tag << (regnri * 2)); in fxch_i()
180 int regnr = top & 7; in fcmovCC() local
190 tag_word &= ~(3 << (regnr * 2)); in fcmovCC()
191 tag_word |= (sti_tag << (regnr * 2)); in fcmovCC()
Dfpu_entry.c649 int offset, other, i, tags, regnr, tag, newtop; in fpregs_soft_set() local
678 regnr = (i + newtop) & 7; in fpregs_soft_set()
679 if (((tags >> ((regnr & 7) * 2)) & 3) != TAG_Empty) { in fpregs_soft_set()
683 10 * regnr)); in fpregs_soft_set()
684 tags &= ~(3 << (regnr * 2)); in fpregs_soft_set()
685 tags |= (tag & 3) << (regnr * 2); in fpregs_soft_set()
Dfpu_proto.h70 extern int FPU_gettag(int regnr);
73 extern void FPU_settag(int regnr, int tag);
Dreg_ld_str.c1122 int i, regnr; in frstor() local
1135 regnr = (i + top) & 7; in frstor()
1136 if (FPU_gettag(regnr) != TAG_Empty) in frstor()
1138 FPU_settag(regnr, FPU_tagof(&st(i))); in frstor()
/Linux-v4.19/drivers/media/radio/si470x/
Dradio-si470x-usb.c253 static int si470x_get_register(struct si470x_device *radio, int regnr) in si470x_get_register() argument
257 radio->usb_buf[0] = REGISTER_REPORT(regnr); in si470x_get_register()
262 radio->registers[regnr] = get_unaligned_be16(&radio->usb_buf[1]); in si470x_get_register()
271 static int si470x_set_register(struct si470x_device *radio, int regnr) in si470x_set_register() argument
275 radio->usb_buf[0] = REGISTER_REPORT(regnr); in si470x_set_register()
276 put_unaligned_be16(radio->registers[regnr], &radio->usb_buf[1]); in si470x_set_register()
295 unsigned char regnr; in si470x_get_all_registers() local
302 for (regnr = 0; regnr < RADIO_REGISTER_NUM; regnr++) in si470x_get_all_registers()
303 radio->registers[regnr] = get_unaligned_be16( in si470x_get_all_registers()
304 &radio->usb_buf[regnr * RADIO_REGISTER_SIZE + 1]); in si470x_get_all_registers()
[all …]
Dradio-si470x-i2c.c92 static int si470x_get_register(struct si470x_device *radio, int regnr) in si470x_get_register() argument
107 radio->registers[regnr] = __be16_to_cpu(buf[READ_INDEX(regnr)]); in si470x_get_register()
116 static int si470x_set_register(struct si470x_device *radio, int regnr) in si470x_set_register() argument
253 unsigned char regnr; in si470x_i2c_interrupt() local
273 for (regnr = 1; regnr < RDS_REGISTER_NUM; regnr++) { in si470x_i2c_interrupt()
274 retval = si470x_get_register(radio, STATUSRSSI + regnr); in si470x_i2c_interrupt()
Dradio-si470x.h166 int (*get_register)(struct si470x_device *radio, int regnr);
167 int (*set_register)(struct si470x_device *radio, int regnr);