Lines Matching +full:eee +full:- +full:pcs

4  * Copyright (C) 2011-2013 Jonas Gorski <jogo@openwrt.org>
87 struct phylink_pcs pcs; member
98 struct ethtool_keee eee; member
152 struct b53_pcs pcs[B53_N_PCS]; member
157 if (dev->enabled_ports & BIT(i))
162 return dev->chip_id == BCM5325_DEVICE_ID; in is5325()
168 return dev->chip_id == BCM5365_DEVICE_ID; in is5365()
176 return dev->chip_id == BCM5397_DEVICE_ID || in is5397_98()
177 dev->chip_id == BCM5398_DEVICE_ID; in is5397_98()
182 return dev->chip_id == BCM5395_DEVICE_ID || in is539x()
183 dev->chip_id == BCM5397_DEVICE_ID || in is539x()
184 dev->chip_id == BCM5398_DEVICE_ID; in is539x()
189 return dev->chip_id == BCM53115_DEVICE_ID || in is531x5()
190 dev->chip_id == BCM53125_DEVICE_ID || in is531x5()
191 dev->chip_id == BCM53128_DEVICE_ID || in is531x5()
192 dev->chip_id == BCM53134_DEVICE_ID; in is531x5()
197 return dev->chip_id == BCM63XX_DEVICE_ID || in is63xx()
198 dev->chip_id == BCM63268_DEVICE_ID; in is63xx()
203 return dev->chip_id == BCM63268_DEVICE_ID; in is63268()
208 return dev->chip_id == BCM53010_DEVICE_ID || in is5301x()
209 dev->chip_id == BCM53011_DEVICE_ID || in is5301x()
210 dev->chip_id == BCM53012_DEVICE_ID || in is5301x()
211 dev->chip_id == BCM53018_DEVICE_ID || in is5301x()
212 dev->chip_id == BCM53019_DEVICE_ID; in is5301x()
217 return dev->chip_id == BCM58XX_DEVICE_ID || in is58xx()
218 dev->chip_id == BCM583XX_DEVICE_ID || in is58xx()
219 dev->chip_id == BCM7445_DEVICE_ID || in is58xx()
220 dev->chip_id == BCM7278_DEVICE_ID || in is58xx()
221 dev->chip_id == BCM53134_DEVICE_ID; in is58xx()
230 return dev->num_arl_buckets * dev->num_arl_bins; in b53_max_arl_entries()
243 dsa_unregister_switch(dev->ds); in b53_switch_remove()
248 dsa_switch_shutdown(dev->ds); in b53_switch_shutdown()
257 mutex_lock(&dev->reg_mutex); \
258 ret = dev->ops->type_op_size(dev, page, reg, val); \
259 mutex_unlock(&dev->reg_mutex); \
289 ent->port = fwd_entry & ARLTBL_DATA_PORT_ID_MASK; in b53_arl_to_entry()
290 ent->is_valid = !!(fwd_entry & ARLTBL_VALID); in b53_arl_to_entry()
291 ent->is_age = !!(fwd_entry & ARLTBL_AGE); in b53_arl_to_entry()
292 ent->is_static = !!(fwd_entry & ARLTBL_STATIC); in b53_arl_to_entry()
293 u64_to_ether_addr(mac_vid, ent->mac); in b53_arl_to_entry()
294 ent->vid = mac_vid >> ARLTBL_VID_S; in b53_arl_to_entry()
300 *mac_vid = ether_addr_to_u64(ent->mac); in b53_arl_from_entry()
301 *mac_vid |= (u64)(ent->vid & ARLTBL_VID_MASK) << ARLTBL_VID_S; in b53_arl_from_entry()
302 *fwd_entry = ent->port & ARLTBL_DATA_PORT_ID_MASK; in b53_arl_from_entry()
303 if (ent->is_valid) in b53_arl_from_entry()
305 if (ent->is_static) in b53_arl_from_entry()
307 if (ent->is_age) in b53_arl_from_entry()
330 return -ENOENT; in b53_switch_get_reset_gpio()