Lines Matching refs:lio
95 struct lio { struct
191 #define LIO_SIZE (sizeof(struct lio)) argument
192 #define GET_LIO(netdev) ((struct lio *)netdev_priv(netdev))
236 void lio_delete_glists(struct lio *lio);
238 int lio_setup_glists(struct octeon_device *oct, struct lio *lio, int num_qs);
240 int liquidio_get_speed(struct lio *lio);
241 int liquidio_set_speed(struct lio *lio, int speed);
242 int liquidio_get_fec(struct lio *lio);
243 int liquidio_set_fec(struct lio *lio, int on_off);
504 static inline int ifstate_check(struct lio *lio, int state_flag) in ifstate_check() argument
506 return atomic_read(&lio->ifstate) & state_flag; in ifstate_check()
514 static inline void ifstate_set(struct lio *lio, int state_flag) in ifstate_set() argument
516 atomic_set(&lio->ifstate, (atomic_read(&lio->ifstate) | state_flag)); in ifstate_set()
524 static inline void ifstate_reset(struct lio *lio, int state_flag) in ifstate_reset() argument
526 atomic_set(&lio->ifstate, (atomic_read(&lio->ifstate) & ~(state_flag))); in ifstate_reset()
573 struct lio *lio = GET_LIO(netdev); in wake_txqs() local
577 qno = lio->linfo.txpciq[i % lio->oct_dev->num_iqs].s.q_no; in wake_txqs()
580 INCR_INSTRQUEUE_PKT_COUNT(lio->oct_dev, qno, in wake_txqs()
593 struct lio *lio = GET_LIO(netdev); in start_txqs() local
596 if (lio->linfo.link.s.link_up) { in start_txqs()