Home
last modified time | relevance | path

Searched refs:regnum (Results 1 – 22 of 22) sorted by relevance

/linux-2.4.37.9/include/asm-ia64/
Dprocessor.h406 ia64_get_kr (unsigned long regnum) in ia64_get_kr() argument
410 switch (regnum) { in ia64_get_kr()
424 ia64_set_kr (unsigned long regnum, unsigned long r) in ia64_set_kr() argument
426 switch (regnum) { in ia64_set_kr()
647 ia64_get_cpuid (__u64 regnum) in ia64_get_cpuid() argument
651 asm ("mov %0=cpuid[%r1]" : "=r"(r) : "rO"(regnum)); in ia64_get_cpuid()
692 ia64_get_pmc (__u64 regnum) in ia64_get_pmc() argument
696 asm volatile ("mov %0=pmc[%1]" : "=r"(retval) : "r"(regnum)); in ia64_get_pmc()
701 ia64_set_pmc (__u64 regnum, __u64 value) in ia64_set_pmc() argument
703 asm volatile ("mov pmc[%0]=%1" :: "r"(regnum), "r"(value)); in ia64_set_pmc()
[all …]
Dsal.h193 u8 regnum; /* translation register number */ member
/linux-2.4.37.9/arch/ia64/kernel/
Dunaligned.c447 setreg (unsigned long regnum, unsigned long val, int nat, struct pt_regs *regs) in setreg() argument
457 if (regnum >= IA64_FIRST_STACKED_GR) { in setreg()
458 set_rse_reg(regs, regnum, val, nat); in setreg()
470 if (GR_IN_SW(regnum)) { in setreg()
478 addr, unat==&sw->ar_unat ? "yes":"no", GR_OFFS(regnum)); in setreg()
483 addr += GR_OFFS(regnum); in setreg()
506 fph_index (struct pt_regs *regs, long regnum) in fph_index() argument
509 return rotate_reg(96, rrb_fr, (regnum - IA64_FIRST_ROTATING_FR)); in fph_index()
513 setfpreg (unsigned long regnum, struct ia64_fpreg *fpval, struct pt_regs *regs) in setfpreg() argument
529 if (regnum >= IA64_FIRST_ROTATING_FR) { in setfpreg()
[all …]
Dptrace.c375 unsigned long *bspstore, *krbs, regnum, *laddr, *urbs_end, *rnat_addr; in ia64_peek() local
413 regnum = ia64_rse_num_regs(bspstore, laddr); in ia64_peek()
414 *val = *ia64_rse_skip_regs(krbs, regnum); in ia64_peek()
429 unsigned long *bspstore, *krbs, regnum, *laddr, *urbs_end = (long *) user_rbs_end; in ia64_poke() local
445 regnum = ia64_rse_num_regs(bspstore, laddr); in ia64_poke()
446 *ia64_rse_skip_regs(krbs, regnum) = val; in ia64_poke()
681 access_fr (struct unw_frame_info *info, int regnum, int hi, unsigned long *data, int write_access) in access_fr() argument
686 ret = unw_get_fr(info, regnum, &fpval); in access_fr()
692 ret = unw_set_fr(info, regnum, fpval); in access_fr()
701 unsigned long *ptr, regnum, urbs_end, rnat_addr; in access_uarea() local
[all …]
Dunwind.c279 unw_access_gr (struct unw_frame_info *info, int regnum, unsigned long *val, char *nat, int write) in unw_access_gr() argument
285 if ((unsigned) regnum - 1 >= 127) { in unw_access_gr()
286 if (regnum == 0 && !write) { in unw_access_gr()
292 __FUNCTION__, regnum); in unw_access_gr()
296 if (regnum < 32) { in unw_access_gr()
297 if (regnum >= 4 && regnum <= 7) { in unw_access_gr()
299 ireg = &info->r4 + (regnum - 4); in unw_access_gr()
350 addr = &info->sw->r4 + (regnum - 4); in unw_access_gr()
357 addr = (unsigned long *) ((unsigned long)pt + pt_regs_off(regnum)); in unw_access_gr()
366 addr = ia64_rse_skip_regs((unsigned long *) info->bsp, regnum - 32); in unw_access_gr()
[all …]
/linux-2.4.37.9/drivers/sbus/
Dsbus.c254 int regnum; in __apply_ranges_to_regs() local
256 for (regnum = 0; regnum < num_regs; regnum++) { in __apply_ranges_to_regs()
260 if (regs[regnum].which_io == ranges[rngnum].ot_child_space) in __apply_ranges_to_regs()
273 regs[regnum].which_io = ranges[rngnum].ot_parent_space; in __apply_ranges_to_regs()
274 regs[regnum].phys_addr -= ranges[rngnum].ot_child_base; in __apply_ranges_to_regs()
275 regs[regnum].phys_addr += ranges[rngnum].ot_parent_base; in __apply_ranges_to_regs()
/linux-2.4.37.9/drivers/sound/
Dac97.c126 int regnum = mixerRegs[x].ac97_regnum; in ac97_reset() local
127 int value = dev->last_written_mixer_values [regnum / 2]; in ac97_reset()
129 ac97_put_register (dev, regnum, value); in ac97_reset()
/linux-2.4.37.9/arch/ia64/ia32/
Dia32_signal.c192 #define __ldfe(regnum, x) \ argument
194 register double __f__ asm ("f"#regnum); \
198 #define __ldf8(regnum, x) \ argument
200 register double __f__ asm ("f"#regnum); \
204 #define __stfe(x, regnum) \ argument
206 register double __f__ asm ("f"#regnum); \
210 #define __stf8(x, regnum) \ argument
212 register double __f__ asm ("f"#regnum); \
/linux-2.4.37.9/drivers/video/
Dclgenfb.c612 int regnum, unsigned char val);
613 static unsigned char RGen (const struct clgenfb_info *fb_info, int regnum);
618 static void WClut (struct clgenfb_info *fb_info, unsigned char regnum, unsigned char red,
622 static void RClut (struct clgenfb_info *fb_info, unsigned char regnum, unsigned char *red,
2936 int regnum, unsigned char val) in WGen() argument
2943 if (regnum == VGA_PEL_IR || regnum == VGA_PEL_D) in WGen()
2947 vga_w (fb_info->regs, regofs + regnum, val); in WGen()
2951 static unsigned char RGen (const struct clgenfb_info *fb_info, int regnum) in RGen() argument
2958 if (regnum == VGA_PEL_IR || regnum == VGA_PEL_D) in RGen()
2962 return vga_r (fb_info->regs, regofs + regnum); in RGen()
[all …]
/linux-2.4.37.9/include/asm-i386/
Dmtrr.h40 unsigned int regnum; /* Register number */ member
/linux-2.4.37.9/include/asm-x86_64/
Dmtrr.h42 unsigned int regnum; /* Register number */ member
/linux-2.4.37.9/arch/sparc/kernel/
Dunaligned.c433 #define WINREG_ADDR(regnum) ((void *)(((unsigned long *)regs->u_regs[UREG_FP])+(regnum))) in ok_for_user() argument
/linux-2.4.37.9/Documentation/
Dmtrr.txt171 for (gentry.regnum = 0; ioctl (fd, MTRRIOC_GET_ENTRY, &gentry) == 0;
172 ++gentry.regnum)
176 fprintf (stderr, "Register: %u disabled\n", gentry.regnum);
180 gentry.regnum, gentry.base, gentry.size,
/linux-2.4.37.9/drivers/usb/
Dusbnet.c1172 nc_vendor_read (struct usbnet *dev, u8 req, u8 regnum, u16 *retval_ptr) in nc_vendor_read() argument
1178 0, regnum, in nc_vendor_read()
1189 nc_register_read (struct usbnet *dev, u8 regnum, u16 *retval_ptr) in nc_register_read() argument
1191 return nc_vendor_read (dev, REQUEST_REGISTER, regnum, retval_ptr); in nc_register_read()
1196 nc_vendor_write (struct usbnet *dev, u8 req, u8 regnum, u16 value) in nc_vendor_write() argument
1202 value, regnum, in nc_vendor_write()
1208 nc_register_write (struct usbnet *dev, u8 regnum, u16 value) in nc_register_write() argument
1210 nc_vendor_write (dev, REQUEST_REGISTER, regnum, value); in nc_register_write()
/linux-2.4.37.9/drivers/net/tulip/
Dtulip_core.c953 unsigned int regnum = data->reg_num; in private_ioctl() local
975 switch (regnum) { in private_ioctl()
1004 data->val_out = tulip_mdio_read (dev, data->phy_id & 0x1f, regnum); in private_ioctl()
1012 if (regnum & ~0x1f) in private_ioctl()
1016 switch (regnum) { in private_ioctl()
1030 if (regnum == 0) { in private_ioctl()
1038 } else if (regnum == 4) in private_ioctl()
1041 tulip_mdio_write (dev, data->phy_id & 0x1f, regnum, data->val_in); in private_ioctl()
/linux-2.4.37.9/arch/x86_64/kernel/
Dmtrr.c1113 if (gentry.regnum >= get_num_var_ranges ()) in mtrr_ioctl()
1115 get_mtrr (gentry.regnum, (u64*) &gentry.base, &gentry.size, &type); in mtrr_ioctl()
1174 if (gentry.regnum >= get_num_var_ranges ()) in mtrr_ioctl()
1176 get_mtrr (gentry.regnum, (u64*) &gentry.base, &gentry.size, &type); in mtrr_ioctl()
/linux-2.4.37.9/drivers/net/
Dvia-rhine.c1093 static int mdio_read(struct net_device *dev, int phy_id, int regnum) in mdio_read() argument
1103 writeb(regnum, ioaddr + MIIRegAddr); in mdio_read()
1111 static void mdio_write(struct net_device *dev, int phy_id, int regnum, int value) in mdio_write() argument
1118 switch (regnum) { in mdio_write()
1136 writeb(regnum, ioaddr + MIIRegAddr); in mdio_write()
/linux-2.4.37.9/arch/i386/kernel/
Dmtrr.c1776 if ( gentry.regnum >= get_num_var_ranges () ) return -EINVAL; in mtrr_ioctl()
1777 (*get_mtrr) (gentry.regnum, &gentry.base, &gentry.size, &type); in mtrr_ioctl()
1822 if ( gentry.regnum >= get_num_var_ranges () ) return -EINVAL; in mtrr_ioctl()
1823 (*get_mtrr) (gentry.regnum, &gentry.base, &gentry.size, &type); in mtrr_ioctl()
/linux-2.4.37.9/drivers/isdn/hisax/
Dhfc_sx.c64 Write_hfc(struct IsdnCardState *cs, u_char regnum, u_char val) in Write_hfc() argument
69 byteout(cs->hw.hfcsx.base+1, regnum); in Write_hfc()
75 Read_hfc(struct IsdnCardState *cs, u_char regnum) in Read_hfc() argument
81 byteout(cs->hw.hfcsx.base+1, regnum); in Read_hfc()
/linux-2.4.37.9/drivers/atm/
Dfirestream.c1333 static void __init write_phy (struct fs_dev *dev, int regnum, int val) in write_phy() argument
1336 regnum, val, 0); in write_phy()
/linux-2.4.37.9/drivers/video/riva/
Dfbdev.c758 unsigned char regnum, unsigned char red, in riva_wclut() argument
761 VGA_WR08(chip->PDIO, 0x3c8, regnum); in riva_wclut()
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_ioctl.c3455 unsigned int regnum; /* Register number */ member
3499 err = get_user(g.regnum, &g32->regnum); in mtrr_ioctl32()
3522 err |= put_user(g.regnum, &g32->regnum); in mtrr_ioctl32()