Lines Matching defs:lio
95 struct lio { struct
97 atomic_t ifstate;
102 int ifidx;
105 int txq;
110 int rxq;
113 spinlock_t *glist_lock;
116 struct list_head *glist;
117 void **glists_virt_base;
118 dma_addr_t *glists_dma_base;
119 u32 glist_entry_size;
124 struct octdev_props *octprops;
127 struct octeon_device *oct_dev;
129 struct net_device *netdev;
132 struct oct_link_info linfo;
135 u64 link_changes;
138 u32 tx_qsize;
141 u32 rx_qsize;
144 u32 mtu;
147 u32 msg_enable;
150 u64 dev_capability;
156 u64 enc_dev_capability;
159 u32 phy_beacon_val;
162 u32 led_ctrl_val;
165 struct ptp_clock_info ptp_info;
166 struct ptp_clock *ptp_clock;
167 s64 ptp_adjust;
191 #define LIO_SIZE (sizeof(struct lio)) argument
504 static inline int ifstate_check(struct lio *lio, int state_flag) in ifstate_check()
514 static inline void ifstate_set(struct lio *lio, int state_flag) in ifstate_set()
524 static inline void ifstate_reset(struct lio *lio, int state_flag) in ifstate_reset()
573 struct lio *lio = GET_LIO(netdev); in wake_txqs() local
593 struct lio *lio = GET_LIO(netdev); in start_txqs() local