Lines Matching refs:vptr
1425 #define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) argument
1503 static inline int velocity_get_ip(struct velocity_info *vptr) in velocity_get_ip() argument
1510 in_dev = __in_dev_get_rcu(vptr->netdev); in velocity_get_ip()
1514 memcpy(vptr->ip_addr, &ifa->ifa_address, 4); in velocity_get_ip()
1533 static inline void velocity_update_hw_mibs(struct velocity_info *vptr) in velocity_update_hw_mibs() argument
1537 BYTE_REG_BITS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1539 while (BYTE_REG_BITS_IS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR))); in velocity_update_hw_mibs()
1541 BYTE_REG_BITS_ON(MIBCR_MPTRINI, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1543 tmp = readl(&(vptr->mac_regs->MIBData)) & 0x00FFFFFFUL; in velocity_update_hw_mibs()
1544 vptr->mib_counter[i] += tmp; in velocity_update_hw_mibs()
1555 static inline void init_flow_control_register(struct velocity_info *vptr) in init_flow_control_register() argument
1557 struct mac_regs __iomem * regs = vptr->mac_regs; in init_flow_control_register()
1568 writew(vptr->options.numrx, ®s->RBRDU); in init_flow_control_register()