Searched refs:regindex (Results 1 – 6 of 6) sorted by relevance
/drivers/video/aty/ |
D | atyfb.h | 224 static inline u32 aty_ld_le32(int regindex, const struct atyfb_par *par) in aty_ld_le32() argument 227 if (regindex >= 0x400) in aty_ld_le32() 228 regindex -= 0x800; in aty_ld_le32() 231 return in_le32(par->ati_regbase + regindex); in aty_ld_le32() 233 return readl(par->ati_regbase + regindex); in aty_ld_le32() 237 static inline void aty_st_le32(int regindex, u32 val, const struct atyfb_par *par) in aty_st_le32() argument 240 if (regindex >= 0x400) in aty_st_le32() 241 regindex -= 0x800; in aty_st_le32() 244 out_le32(par->ati_regbase + regindex, val); in aty_st_le32() 246 writel(val, par->ati_regbase + regindex); in aty_st_le32() [all …]
|
D | aty128fb.c | 497 static inline u32 _aty_ld_le32(volatile unsigned int regindex, in _aty_ld_le32() argument 500 return readl (par->regbase + regindex); in _aty_ld_le32() 503 static inline void _aty_st_le32(volatile unsigned int regindex, u32 val, in _aty_st_le32() argument 506 writel (val, par->regbase + regindex); in _aty_st_le32() 509 static inline u8 _aty_ld_8(unsigned int regindex, in _aty_ld_8() argument 512 return readb (par->regbase + regindex); in _aty_ld_8() 515 static inline void _aty_st_8(unsigned int regindex, u8 val, in _aty_st_8() argument 518 writeb (val, par->regbase + regindex); in _aty_st_8() 521 #define aty_ld_le32(regindex) _aty_ld_le32(regindex, par) argument 522 #define aty_st_le32(regindex, val) _aty_st_le32(regindex, val, par) argument [all …]
|
/drivers/net/ixgbe/ |
D | ixgbe_82598.c | 776 u32 regindex; in ixgbe_set_vfta_82598() local 785 regindex = (vlan >> 5) & 0x7F; /* upper seven bits */ in ixgbe_set_vfta_82598() 792 bits = IXGBE_READ_REG(hw, IXGBE_VFTAVIND(vftabyte, regindex)); in ixgbe_set_vfta_82598() 795 IXGBE_WRITE_REG(hw, IXGBE_VFTAVIND(vftabyte, regindex), bits); in ixgbe_set_vfta_82598() 800 bits = IXGBE_READ_REG(hw, IXGBE_VFTA(regindex)); in ixgbe_set_vfta_82598() 807 IXGBE_WRITE_REG(hw, IXGBE_VFTA(regindex), bits); in ixgbe_set_vfta_82598()
|
/drivers/video/ |
D | imsttfb.c | 408 static inline u32 read_reg_le32(volatile u32 __iomem *base, int regindex) in read_reg_le32() argument 411 return in_le32(base + regindex); in read_reg_le32() 413 return readl(base + regindex); in read_reg_le32() 417 static inline void write_reg_le32(volatile u32 __iomem *base, int regindex, u32 val) in write_reg_le32() argument 420 out_le32(base + regindex, val); in write_reg_le32() 422 writel(val, base + regindex); in write_reg_le32()
|
D | neofb.c | 151 static inline void write_le32(int regindex, u32 val, const struct neofb_par *par) in write_le32() argument 153 writel(val, par->neo2200 + par->cursorOff + regindex); in write_le32()
|
/drivers/usb/misc/ |
D | uss720.c | 210 static const unsigned char regindex[9] = { in get_1284_register() local 229 *val = priv->reg[(reg >= 9) ? 0 : regindex[reg]]; in get_1284_register()
|