Lines Matching refs:vptr
1819 #define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) argument
1847 static struct velocity_info *vptr; variable
1862 inline static int velocity_get_ip(struct velocity_info *vptr) in velocity_get_ip() argument
1864 struct in_device *in_dev = (struct in_device *) vptr->dev->ip_ptr; in velocity_get_ip()
1870 memcpy(vptr->ip_addr, &ifa->ifa_address, 4); in velocity_get_ip()
1888 static inline void velocity_update_hw_mibs(struct velocity_info *vptr) in velocity_update_hw_mibs() argument
1892 BYTE_REG_BITS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1895 (MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR))); in velocity_update_hw_mibs()
1897 BYTE_REG_BITS_ON(MIBCR_MPTRINI, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1899 tmp = readl(&(vptr->mac_regs->MIBData)) & 0x00FFFFFFUL; in velocity_update_hw_mibs()
1900 vptr->mib_counter[i] += tmp; in velocity_update_hw_mibs()
1911 static inline void init_flow_control_register(struct velocity_info *vptr) in init_flow_control_register() argument
1913 struct mac_regs *regs = vptr->mac_regs; in init_flow_control_register()
1926 writew(vptr->options.numrx, ®s->RBRDU); in init_flow_control_register()