cinst 571 drivers/net/ethernet/intel/i40e/i40e.h struct i40e_client_instance *cinst; cinst 87 drivers/net/ethernet/intel/i40e/i40e_client.c struct i40e_client_instance *cdev = pf->cinst; cinst 113 drivers/net/ethernet/intel/i40e/i40e_client.c struct i40e_client_instance *cdev = pf->cinst; cinst 172 drivers/net/ethernet/intel/i40e/i40e_client.c struct i40e_client_instance *cdev = pf->cinst; cinst 195 drivers/net/ethernet/intel/i40e/i40e_client.c struct i40e_client_instance *cdev = pf->cinst; cinst 220 drivers/net/ethernet/intel/i40e/i40e_client.c struct i40e_client_instance *cdev = pf->cinst; cinst 247 drivers/net/ethernet/intel/i40e/i40e_client.c struct i40e_client_instance *cdev = pf->cinst; cinst 269 drivers/net/ethernet/intel/i40e/i40e_client.c struct i40e_client_instance *cdev = pf->cinst; cinst 291 drivers/net/ethernet/intel/i40e/i40e_client.c if (!registered_client || pf->cinst) cinst 327 drivers/net/ethernet/intel/i40e/i40e_client.c pf->cinst = cdev; cinst 340 drivers/net/ethernet/intel/i40e/i40e_client.c kfree(pf->cinst); cinst 341 drivers/net/ethernet/intel/i40e/i40e_client.c pf->cinst = NULL; cinst 357 drivers/net/ethernet/intel/i40e/i40e_client.c cdev = pf->cinst; cinst 489 drivers/net/ethernet/intel/i40e/i40e_client.c cdev = pf->cinst; cinst 247 drivers/net/ethernet/intel/iavf/iavf.h struct iavf_client_instance *cinst; cinst 314 drivers/net/ethernet/intel/iavf/iavf.h #define CLIENT_ENABLED(_a) ((_a)->cinst) cinst 60 drivers/net/ethernet/intel/iavf/iavf_client.c struct iavf_client_instance *cinst; cinst 65 drivers/net/ethernet/intel/iavf/iavf_client.c cinst = vsi->back->cinst; cinst 66 drivers/net/ethernet/intel/iavf/iavf_client.c if (!cinst || !cinst->client || !cinst->client->ops || cinst 67 drivers/net/ethernet/intel/iavf/iavf_client.c !cinst->client->ops->virtchnl_receive) { cinst 72 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->client->ops->virtchnl_receive(&cinst->lan_info, cinst->client, cinst 84 drivers/net/ethernet/intel/iavf/iavf_client.c struct iavf_client_instance *cinst; cinst 90 drivers/net/ethernet/intel/iavf/iavf_client.c cinst = vsi->back->cinst; cinst 92 drivers/net/ethernet/intel/iavf/iavf_client.c if (!cinst || !cinst->client || !cinst->client->ops || cinst 93 drivers/net/ethernet/intel/iavf/iavf_client.c !cinst->client->ops->l2_param_change) { cinst 99 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.params = params; cinst 100 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->client->ops->l2_param_change(&cinst->lan_info, cinst->client, cinst 113 drivers/net/ethernet/intel/iavf/iavf_client.c struct iavf_client_instance *cinst = adapter->cinst; cinst 116 drivers/net/ethernet/intel/iavf/iavf_client.c if (!cinst || !cinst->client || !cinst->client->ops || cinst 117 drivers/net/ethernet/intel/iavf/iavf_client.c !cinst->client->ops->open) { cinst 122 drivers/net/ethernet/intel/iavf/iavf_client.c if (!(test_bit(__IAVF_CLIENT_INSTANCE_OPENED, &cinst->state))) { cinst 123 drivers/net/ethernet/intel/iavf/iavf_client.c ret = cinst->client->ops->open(&cinst->lan_info, cinst->client); cinst 125 drivers/net/ethernet/intel/iavf/iavf_client.c set_bit(__IAVF_CLIENT_INSTANCE_OPENED, &cinst->state); cinst 165 drivers/net/ethernet/intel/iavf/iavf_client.c struct iavf_client_instance *cinst = adapter->cinst; cinst 167 drivers/net/ethernet/intel/iavf/iavf_client.c if (!cinst || !cinst->client || !cinst->client->ops || cinst 168 drivers/net/ethernet/intel/iavf/iavf_client.c !cinst->client->ops->close) { cinst 173 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->client->ops->close(&cinst->lan_info, cinst->client, reset); cinst 174 drivers/net/ethernet/intel/iavf/iavf_client.c iavf_client_release_qvlist(&cinst->lan_info); cinst 175 drivers/net/ethernet/intel/iavf/iavf_client.c clear_bit(__IAVF_CLIENT_INSTANCE_OPENED, &cinst->state); cinst 187 drivers/net/ethernet/intel/iavf/iavf_client.c struct iavf_client_instance *cinst = NULL; cinst 195 drivers/net/ethernet/intel/iavf/iavf_client.c if (adapter->cinst) { cinst 196 drivers/net/ethernet/intel/iavf/iavf_client.c cinst = adapter->cinst; cinst 200 drivers/net/ethernet/intel/iavf/iavf_client.c cinst = kzalloc(sizeof(*cinst), GFP_KERNEL); cinst 201 drivers/net/ethernet/intel/iavf/iavf_client.c if (!cinst) cinst 204 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.vf = (void *)adapter; cinst 205 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.netdev = vsi->netdev; cinst 206 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.pcidev = adapter->pdev; cinst 207 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.fid = 0; cinst 208 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.ftype = IAVF_CLIENT_FTYPE_VF; cinst 209 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.hw_addr = adapter->hw.hw_addr; cinst 210 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.ops = &iavf_lan_ops; cinst 211 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.version.major = IAVF_CLIENT_VERSION_MAJOR; cinst 212 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.version.minor = IAVF_CLIENT_VERSION_MINOR; cinst 213 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.version.build = IAVF_CLIENT_VERSION_BUILD; cinst 215 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.params = params; cinst 216 drivers/net/ethernet/intel/iavf/iavf_client.c set_bit(__IAVF_CLIENT_INSTANCE_NONE, &cinst->state); cinst 218 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.msix_count = adapter->num_iwarp_msix; cinst 219 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->lan_info.msix_entries = cinst 222 drivers/net/ethernet/intel/iavf/iavf_client.c mac = list_first_entry(&cinst->lan_info.netdev->dev_addrs.list, cinst 225 drivers/net/ethernet/intel/iavf/iavf_client.c ether_addr_copy(cinst->lan_info.lanmac, mac->addr); cinst 229 drivers/net/ethernet/intel/iavf/iavf_client.c cinst->client = vf_registered_client; cinst 230 drivers/net/ethernet/intel/iavf/iavf_client.c adapter->cinst = cinst; cinst 232 drivers/net/ethernet/intel/iavf/iavf_client.c return cinst; cinst 243 drivers/net/ethernet/intel/iavf/iavf_client.c kfree(adapter->cinst); cinst 244 drivers/net/ethernet/intel/iavf/iavf_client.c adapter->cinst = NULL; cinst 254 drivers/net/ethernet/intel/iavf/iavf_client.c struct iavf_client_instance *cinst; cinst 265 drivers/net/ethernet/intel/iavf/iavf_client.c cinst = iavf_client_add_instance(adapter); cinst 266 drivers/net/ethernet/intel/iavf/iavf_client.c if (!cinst) cinst 272 drivers/net/ethernet/intel/iavf/iavf_client.c if (!test_bit(__IAVF_CLIENT_INSTANCE_OPENED, &cinst->state)) { cinst 276 drivers/net/ethernet/intel/iavf/iavf_client.c ret = client->ops->open(&cinst->lan_info, client); cinst 279 drivers/net/ethernet/intel/iavf/iavf_client.c &cinst->state); cinst 362 drivers/net/ethernet/intel/iavf/iavf_client.c struct iavf_client_instance *cinst; cinst 369 drivers/net/ethernet/intel/iavf/iavf_client.c cinst = adapter->cinst; cinst 370 drivers/net/ethernet/intel/iavf/iavf_client.c if (!cinst) cinst 372 drivers/net/ethernet/intel/iavf/iavf_client.c if (test_bit(__IAVF_CLIENT_INSTANCE_OPENED, &cinst->state)) { cinst 374 drivers/net/ethernet/intel/iavf/iavf_client.c client->ops->close(&cinst->lan_info, client, cinst 376 drivers/net/ethernet/intel/iavf/iavf_client.c iavf_client_release_qvlist(&cinst->lan_info); cinst 377 drivers/net/ethernet/intel/iavf/iavf_client.c clear_bit(__IAVF_CLIENT_INSTANCE_OPENED, &cinst->state);