Searched refs:portparams (Results 1 – 3 of 3) sorted by relevance
1029 struct fw_fcoe_port_cmd_params *portparams, in csio_fcoe_read_portparams_init_mb() argument1042 cmdp->u.ctl.nstats_port = FW_FCOE_STATS_CMD_NSTATS(portparams->nstats) | in csio_fcoe_read_portparams_init_mb()1043 FW_FCOE_STATS_CMD_PORT(portparams->portid); in csio_fcoe_read_portparams_init_mb()1045 cmdp->u.ctl.port_valid_ix = FW_FCOE_STATS_CMD_IX(portparams->idx) | in csio_fcoe_read_portparams_init_mb()1054 struct fw_fcoe_port_cmd_params *portparams, in csio_mb_process_portparams_rsp() argument1067 dst = (uint8_t *)(&stats) + ((portparams->idx - 1) * 8); in csio_mb_process_portparams_rsp()1069 memcpy(dst, src, (portparams->nstats * 8)); in csio_mb_process_portparams_rsp()1070 if (portparams->idx == 1) { in csio_mb_process_portparams_rsp()1079 if (portparams->idx == 7) { in csio_mb_process_portparams_rsp()1092 if (portparams->idx == 13) { in csio_mb_process_portparams_rsp()
241 struct fw_fcoe_port_cmd_params *portparams,246 struct fw_fcoe_port_cmd_params *portparams,
1390 struct fw_fcoe_port_cmd_params portparams; in csio_get_phy_port_stats() local1399 portparams.portid = portid; in csio_get_phy_port_stats()1402 portparams.idx = (idx-1)*6 + 1; in csio_get_phy_port_stats()1403 portparams.nstats = 6; in csio_get_phy_port_stats()1405 portparams.nstats = 4; in csio_get_phy_port_stats()1407 &portparams, NULL); in csio_get_phy_port_stats()1414 &portparams, port_stats); in csio_get_phy_port_stats()