Lines Matching refs:xp_resp
963 struct resp_desc xp_resp[7]; in typhoon_do_get_stats() local
964 struct stats_resp *s = (struct stats_resp *) xp_resp; in typhoon_do_get_stats()
968 err = typhoon_issue_command(tp, 1, &xp_cmd, 7, xp_resp); in typhoon_do_get_stats()
1044 struct resp_desc xp_resp[3]; in typhoon_ethtool_gdrvinfo() local
1051 if(typhoon_issue_command(tp, 1, &xp_cmd, 3, xp_resp) < 0) { in typhoon_ethtool_gdrvinfo()
1054 strncpy(info->fw_version, (char *) &xp_resp[1], 32); in typhoon_ethtool_gdrvinfo()
2283 struct resp_desc xp_resp[3]; in typhoon_init_one() local
2411 if(typhoon_issue_command(tp, 1, &xp_cmd, 1, xp_resp) < 0) { in typhoon_init_one()
2418 *(u16 *)&dev->dev_addr[0] = htons(le16_to_cpu(xp_resp[0].parm1)); in typhoon_init_one()
2419 *(u32 *)&dev->dev_addr[2] = htonl(le32_to_cpu(xp_resp[0].parm2)); in typhoon_init_one()
2431 if(typhoon_issue_command(tp, 1, &xp_cmd, 3, xp_resp) < 0) { in typhoon_init_one()
2446 if(xp_resp[0].numDesc != 0) in typhoon_init_one()
2495 if(xp_resp[0].numDesc == 0) { in typhoon_init_one()
2499 u16 monthday = le32_to_cpu(xp_resp[0].parm2) & 0xffff; in typhoon_init_one()
2503 } else if(xp_resp[0].numDesc == 2) { in typhoon_init_one()
2506 u32 sleep_ver = le32_to_cpu(xp_resp[0].parm2); in typhoon_init_one()
2507 u8 *ver_string = (u8 *) &xp_resp[1]; in typhoon_init_one()
2514 "(%u:%04x)\n", dev->name, xp_resp[0].numDesc, in typhoon_init_one()
2515 le32_to_cpu(xp_resp[0].parm2)); in typhoon_init_one()