Lines Matching defs:stat
8923 u32 stat, linkattr;
8930 stat = be32_to_cpu(p->u.info.lstatus_to_modtype);
8932 pi->port_type = G_FW_PORT_CMD_PTYPE(stat);
8933 pi->mod_type = G_FW_PORT_CMD_MODTYPE(stat);
8934 pi->mdio_addr = stat & F_FW_PORT_CMD_MDIOCAP ?
8935 G_FW_PORT_CMD_MDIOADDR(stat) : -1;
8940 lc->link_ok = (stat & F_FW_PORT_CMD_LSTATUS) != 0;
8941 lc->link_down_rc = G_FW_PORT_CMD_LINKDNRC(stat);
8943 linkattr = lstatus_to_fwcap(stat);
8945 stat = be32_to_cpu(p->u.info32.lstatus32_to_cbllen32);
8947 pi->port_type = G_FW_PORT_CMD_PORTTYPE32(stat);
8948 pi->mod_type = G_FW_PORT_CMD_MODTYPE32(stat);
8949 pi->mdio_addr = stat & F_FW_PORT_CMD_MDIOCAP32 ?
8950 G_FW_PORT_CMD_MDIOADDR32(stat) : -1;
8955 lc->link_ok = (stat & F_FW_PORT_CMD_LSTATUS32) != 0;
8956 lc->link_down_rc = G_FW_PORT_CMD_LINKDNRC32(stat);