Searched refs:port_vec (Results 1 – 3 of 3) sorted by relevance
1309 hw->port_vec = param[0]; in csio_get_device_params()1323 hw->port_vec &= csio_port_mask; in csio_get_device_params()1325 hw->num_pports = hweight32(hw->port_vec); in csio_get_device_params()1328 hw->port_vec, hw->num_pports); in csio_get_device_params()1331 while ((hw->port_vec & (1 << j)) == 0) in csio_get_device_params()
457 uint32_t port_vec; /* Port vector */ member
3694 u32 v, port_vec; in adap_init0() local3796 ret = t4_query_params(adap, adap->mbox, adap->pf, 0, 1, &v, &port_vec); in adap_init0()3800 adap->params.nports = hweight32(port_vec); in adap_init0()3801 adap->params.portvec = port_vec; in adap_init0()