Searched refs:portparams (Results 1 – 3 of 3) sorted by relevance
1100 struct fw_fcoe_port_cmd_params *portparams, in csio_fcoe_read_portparams_init_mb() argument1113 cmdp->u.ctl.nstats_port = FW_FCOE_STATS_CMD_NSTATS(portparams->nstats) | in csio_fcoe_read_portparams_init_mb()1114 FW_FCOE_STATS_CMD_PORT(portparams->portid); in csio_fcoe_read_portparams_init_mb()1116 cmdp->u.ctl.port_valid_ix = FW_FCOE_STATS_CMD_IX(portparams->idx) | in csio_fcoe_read_portparams_init_mb()1125 struct fw_fcoe_port_cmd_params *portparams, in csio_mb_process_portparams_rsp() argument1138 dst = (uint8_t *)(&stats) + ((portparams->idx - 1) * 8); in csio_mb_process_portparams_rsp()1140 memcpy(dst, src, (portparams->nstats * 8)); in csio_mb_process_portparams_rsp()1141 if (portparams->idx == 1) { in csio_mb_process_portparams_rsp()1150 if (portparams->idx == 7) { in csio_mb_process_portparams_rsp()1163 if (portparams->idx == 13) { in csio_mb_process_portparams_rsp()
256 struct fw_fcoe_port_cmd_params *portparams,261 struct fw_fcoe_port_cmd_params *portparams,
1373 struct fw_fcoe_port_cmd_params portparams; in csio_get_phy_port_stats() local1382 portparams.portid = portid; in csio_get_phy_port_stats()1385 portparams.idx = (idx-1)*6 + 1; in csio_get_phy_port_stats()1386 portparams.nstats = 6; in csio_get_phy_port_stats()1388 portparams.nstats = 4; in csio_get_phy_port_stats()1390 &portparams, NULL); in csio_get_phy_port_stats()1397 &portparams, port_stats); in csio_get_phy_port_stats()