Lines Matching refs:vptr
1381 #define GET_RD_BY_IDX(vptr, idx) (vptr->rd_ring[idx]) argument
1460 static inline int velocity_get_ip(struct velocity_info *vptr) in velocity_get_ip() argument
1467 in_dev = __in_dev_get_rcu(vptr->netdev); in velocity_get_ip()
1471 memcpy(vptr->ip_addr, &ifa->ifa_address, 4); in velocity_get_ip()
1490 static inline void velocity_update_hw_mibs(struct velocity_info *vptr) in velocity_update_hw_mibs() argument
1494 BYTE_REG_BITS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1496 while (BYTE_REG_BITS_IS_ON(MIBCR_MIBFLSH, &(vptr->mac_regs->MIBCR))); in velocity_update_hw_mibs()
1498 BYTE_REG_BITS_ON(MIBCR_MPTRINI, &(vptr->mac_regs->MIBCR)); in velocity_update_hw_mibs()
1500 tmp = readl(&(vptr->mac_regs->MIBData)) & 0x00FFFFFFUL; in velocity_update_hw_mibs()
1501 vptr->mib_counter[i] += tmp; in velocity_update_hw_mibs()
1512 static inline void init_flow_control_register(struct velocity_info *vptr) in init_flow_control_register() argument
1514 struct mac_regs __iomem * regs = vptr->mac_regs; in init_flow_control_register()
1525 writew(vptr->options.numrx, ®s->RBRDU); in init_flow_control_register()