Home
last modified time | relevance | path

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

/linux-6.1.9/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.c646 int offset, other, i, tags, regnr, tag, newtop; in fpregs_soft_set() local
675 regnr = (i + newtop) & 7; in fpregs_soft_set()
676 if (((tags >> ((regnr & 7) * 2)) & 3) != TAG_Empty) { in fpregs_soft_set()
680 10 * regnr)); in fpregs_soft_set()
681 tags &= ~(3 << (regnr * 2)); in fpregs_soft_set()
682 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 FPU_frstor() local
1135 regnr = (i + top) & 7; in FPU_frstor()
1136 if (FPU_gettag(regnr) != TAG_Empty) in FPU_frstor()
1138 FPU_settag(regnr, FPU_tagof(&st(i))); in FPU_frstor()
/linux-6.1.9/drivers/media/radio/si470x/
Dradio-si470x-usb.c244 static int si470x_get_register(struct si470x_device *radio, int regnr) in si470x_get_register() argument
248 radio->usb_buf[0] = REGISTER_REPORT(regnr); in si470x_get_register()
253 radio->registers[regnr] = get_unaligned_be16(&radio->usb_buf[1]); in si470x_get_register()
262 static int si470x_set_register(struct si470x_device *radio, int regnr) in si470x_set_register() argument
266 radio->usb_buf[0] = REGISTER_REPORT(regnr); in si470x_set_register()
267 put_unaligned_be16(radio->registers[regnr], &radio->usb_buf[1]); in si470x_set_register()
286 unsigned char regnr; in si470x_get_all_registers() local
293 for (regnr = 0; regnr < RADIO_REGISTER_NUM; regnr++) in si470x_get_all_registers()
294 radio->registers[regnr] = get_unaligned_be16( in si470x_get_all_registers()
295 &radio->usb_buf[regnr * RADIO_REGISTER_SIZE + 1]); in si470x_get_all_registers()
[all …]
Dradio-si470x-i2c.c84 static int si470x_get_register(struct si470x_device *radio, int regnr) in si470x_get_register() argument
99 radio->registers[regnr] = __be16_to_cpu(buf[READ_INDEX(regnr)]); in si470x_get_register()
108 static int si470x_set_register(struct si470x_device *radio, int regnr) in si470x_set_register() argument
241 unsigned char regnr; in si470x_i2c_interrupt() local
261 for (regnr = 1; regnr < RDS_REGISTER_NUM; regnr++) { in si470x_i2c_interrupt()
262 retval = si470x_get_register(radio, STATUSRSSI + regnr); in si470x_i2c_interrupt()
Dradio-si470x.h157 int (*get_register)(struct si470x_device *radio, int regnr);
158 int (*set_register)(struct si470x_device *radio, int regnr);