Lines Matching refs:iv
77 struct ssb_init_invariants *iv) in bcm47xx_get_invariants() argument
82 memset(&(iv->boardinfo), 0 , sizeof(struct ssb_boardinfo)); in bcm47xx_get_invariants()
85 iv->boardinfo.type = (u16)simple_strtoul(buf, NULL, 0); in bcm47xx_get_invariants()
87 iv->boardinfo.type = (u16)simple_strtoul(buf, NULL, 0); in bcm47xx_get_invariants()
89 iv->boardinfo.rev = (u16)simple_strtoul(buf, NULL, 0); in bcm47xx_get_invariants()
92 memset(&(iv->sprom), 0, sizeof(struct ssb_sprom)); in bcm47xx_get_invariants()
93 iv->sprom.revision = 3; in bcm47xx_get_invariants()
96 str2eaddr(buf, iv->sprom.et0mac); in bcm47xx_get_invariants()
98 str2eaddr(buf, iv->sprom.et1mac); in bcm47xx_get_invariants()
100 iv->sprom.et0phyaddr = simple_strtoul(buf, NULL, 10); in bcm47xx_get_invariants()
102 iv->sprom.et1phyaddr = simple_strtoul(buf, NULL, 10); in bcm47xx_get_invariants()
104 iv->sprom.et0mdcport = simple_strtoul(buf, NULL, 10); in bcm47xx_get_invariants()
106 iv->sprom.et1mdcport = simple_strtoul(buf, NULL, 10); in bcm47xx_get_invariants()