Lines Matching refs:vf_i
516 unsigned vf_i; in map_vi_index() local
520 vf_i = (abs_index - EFX_VI_BASE) / efx_vf_size(efx); in map_vi_index()
521 if (vf_i >= efx->vf_init_count) in map_vi_index()
525 *vf_out = nic_data->vf + vf_i; in map_vi_index()
1461 void efx_siena_sriov_flr(struct efx_nic *efx, unsigned vf_i) in efx_siena_sriov_flr() argument
1466 if (vf_i > efx->vf_init_count) in efx_siena_sriov_flr()
1468 vf = nic_data->vf + vf_i; in efx_siena_sriov_flr()
1556 unsigned int vf_i; in efx_siena_sriov_reset() local
1571 for (vf_i = 0; vf_i < efx->vf_init_count; ++vf_i) { in efx_siena_sriov_reset()
1572 vf = nic_data->vf + vf_i; in efx_siena_sriov_reset()
1596 int efx_siena_sriov_set_vf_mac(struct efx_nic *efx, int vf_i, u8 *mac) in efx_siena_sriov_set_vf_mac() argument
1601 if (vf_i >= efx->vf_init_count) in efx_siena_sriov_set_vf_mac()
1603 vf = nic_data->vf + vf_i; in efx_siena_sriov_set_vf_mac()
1613 int efx_siena_sriov_set_vf_vlan(struct efx_nic *efx, int vf_i, in efx_siena_sriov_set_vf_vlan() argument
1620 if (vf_i >= efx->vf_init_count) in efx_siena_sriov_set_vf_vlan()
1622 vf = nic_data->vf + vf_i; in efx_siena_sriov_set_vf_vlan()
1633 int efx_siena_sriov_set_vf_spoofchk(struct efx_nic *efx, int vf_i, in efx_siena_sriov_set_vf_spoofchk() argument
1640 if (vf_i >= efx->vf_init_count) in efx_siena_sriov_set_vf_spoofchk()
1642 vf = nic_data->vf + vf_i; in efx_siena_sriov_set_vf_spoofchk()
1657 int efx_siena_sriov_get_vf_config(struct efx_nic *efx, int vf_i, in efx_siena_sriov_get_vf_config() argument
1664 if (vf_i >= efx->vf_init_count) in efx_siena_sriov_get_vf_config()
1666 vf = nic_data->vf + vf_i; in efx_siena_sriov_get_vf_config()
1668 ivi->vf = vf_i; in efx_siena_sriov_get_vf_config()