Lines Matching defs:cfg
66 struct cfg { struct
81 int (*f)(struct cfg *, int argc, char *argv[]); argument
121 read_register(struct cfg *cfg, int r) in read_register()
132 write_register(struct cfg *cfg, int r, int v) in write_register()
143 read_phyregister(struct cfg *cfg, int phy, int reg) in read_phyregister()
155 write_phyregister(struct cfg *cfg, int phy, int reg, int val) in write_phyregister()
167 set_port_vid(struct cfg *cfg, int argc, char *argv[]) in set_port_vid()
190 set_port_flag(struct cfg *cfg, int argc, char *argv[]) in set_port_flag()
239 set_port_media(struct cfg *cfg, int argc, char *argv[]) in set_port_media()
265 set_port_mediaopt(struct cfg *cfg, int argc, char *argv[]) in set_port_mediaopt()
294 set_port_led(struct cfg *cfg, int argc, char *argv[]) in set_port_led()
331 set_vlangroup_vid(struct cfg *cfg, int argc, char *argv[]) in set_vlangroup_vid()
353 set_vlangroup_members(struct cfg *cfg, int argc, char *argv[]) in set_vlangroup_members()
396 set_register(struct cfg *cfg, char *arg) in set_register()
413 set_phyregister(struct cfg *cfg, char *arg) in set_phyregister()
436 set_vlan_mode(struct cfg *cfg, int argc, char *argv[]) in set_vlan_mode()
464 atu_flush(struct cfg *cfg, int argc, char *argv[]) in atu_flush()
494 atu_dump(struct cfg *cfg, int argc, char *argv[]) in atu_dump()
525 print_config(struct cfg *cfg) in print_config()
569 print_port(struct cfg *cfg, int port) in print_port()
616 print_vlangroup(struct cfg *cfg, int vlangroup) in print_vlangroup()
651 print_info(struct cfg *cfg) in print_info()
701 newmode(struct cfg *cfg, enum cmdmode mode) in newmode()
735 struct cfg cfg; in main() local