Home
last modified time | relevance | path

Searched refs:cdev_info (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_idc.c55 static int idpf_plug_vport_aux_dev(struct iidc_rdma_core_dev_info *cdev_info, in idpf_plug_vport_aux_dev() argument
78 adev->dev.parent = &cdev_info->pdev->dev; in idpf_plug_vport_aux_dev()
79 sprintf(name, "%04x.rdma.vdev", cdev_info->pdev->vendor); in idpf_plug_vport_aux_dev()
113 struct iidc_rdma_core_dev_info *cdev_info; in idpf_idc_init_aux_vport_dev() local
127 cdev_info = vport->adapter->cdev_info; in idpf_idc_init_aux_vport_dev()
132 vdev_info->core_adev = cdev_info->adev; in idpf_idc_init_aux_vport_dev()
134 err = idpf_plug_vport_aux_dev(cdev_info, vdev_info); in idpf_idc_init_aux_vport_dev()
194 static int idpf_plug_core_aux_dev(struct iidc_rdma_core_dev_info *cdev_info) in idpf_plug_core_aux_dev() argument
206 cdev_info->adev = adev; in idpf_plug_core_aux_dev()
207 iadev->cdev_info = cdev_info; in idpf_plug_core_aux_dev()
[all …]
H A Didpf.h726 struct iidc_rdma_core_dev_info *cdev_info; member
1069 void idpf_idc_deinit_core_aux_device(struct iidc_rdma_core_dev_info *cdev_info);
1071 void idpf_idc_issue_reset_event(struct iidc_rdma_core_dev_info *cdev_info);
H A Didpf_virtchnl.c3671 idpf_idc_deinit_core_aux_device(adapter->cdev_info); in idpf_vc_core_deinit()
4447 int idpf_idc_rdma_vc_send_sync(struct iidc_rdma_core_dev_info *cdev_info, in idpf_idc_rdma_vc_send_sync() argument
4451 struct idpf_adapter *adapter = pci_get_drvdata(cdev_info->pdev); in idpf_idc_rdma_vc_send_sync()
H A Didpf_lib.c1910 idpf_idc_issue_reset_event(adapter->cdev_info); in idpf_init_hard_reset()
/linux/drivers/infiniband/hw/irdma/
H A Di40iw_if.c15 static void i40iw_l2param_change(struct i40e_info *cdev_info, in i40iw_l2param_change() argument
23 ibdev = ib_device_get_by_netdev(cdev_info->netdev, RDMA_DRIVER_IRDMA); in i40iw_l2param_change()
46 static void i40iw_close(struct i40e_info *cdev_info, struct i40e_client *client, in i40iw_close() argument
52 ibdev = ib_device_get_by_netdev(cdev_info->netdev, RDMA_DRIVER_IRDMA); in i40iw_close()
63 pr_debug("INIT: Gen1 PF[%d] close complete\n", PCI_FUNC(cdev_info->pcidev->devfn)); in i40iw_close()
68 struct i40e_info *cdev_info = rf->cdev; in i40iw_request_reset() local
70 cdev_info->ops->request_reset(cdev_info, &i40iw_client, 1); in i40iw_request_reset()
73 static void i40iw_fill_device_info(struct irdma_device *iwdev, struct i40e_info *cdev_info) in i40iw_fill_device_info() argument
82 rf->pcidev = cdev_info->pcidev; in i40iw_fill_device_info()
83 rf->pf_id = cdev_info->fid; in i40iw_fill_device_info()
[all …]
H A Dig3rdma_if.c8 static void ig3rdma_idc_core_event_handler(struct iidc_rdma_core_dev_info *cdev_info, in ig3rdma_idc_core_event_handler() argument
11 struct irdma_pci_f *rf = auxiliary_get_drvdata(cdev_info->adev); in ig3rdma_idc_core_event_handler()
22 struct iidc_rdma_core_dev_info *cdev_info = dev_to_rf(dev)->cdev; in ig3rdma_vchnl_send_sync() local
25 ret = idpf_idc_rdma_vc_send_sync(cdev_info, msg, len, recv_msg, in ig3rdma_vchnl_send_sync()
37 struct iidc_rdma_core_dev_info *cdev_info, in ig3rdma_vchnl_init() argument
40 struct iidc_rdma_priv_dev_info *idc_priv = cdev_info->iidc_priv; in ig3rdma_vchnl_init()
78 struct iidc_rdma_core_dev_info *cdev_info) in ig3rdma_cfg_regions() argument
80 struct iidc_rdma_priv_dev_info *idc_priv = cdev_info->iidc_priv; in ig3rdma_cfg_regions()
81 struct pci_dev *pdev = cdev_info->pdev; in ig3rdma_cfg_regions()
135 struct iidc_rdma_core_dev_info *cdev_info) in ig3rdma_cfg_rf() argument
[all …]
H A Dicrdma_if.c44 static void icrdma_iidc_event_handler(struct iidc_rdma_core_dev_info *cdev_info, in icrdma_iidc_event_handler() argument
47 struct irdma_device *iwdev = dev_get_drvdata(&cdev_info->adev->dev); in icrdma_iidc_event_handler()
64 struct iidc_rdma_priv_dev_info *idc_priv = cdev_info->iidc_priv; in icrdma_iidc_event_handler()
115 struct iidc_rdma_core_dev_info *cdev_info = iwdev->rf->cdev; in icrdma_lan_register_qset() local
122 ret = ice_add_rdma_qset(cdev_info, &qset); in icrdma_lan_register_qset()
143 struct iidc_rdma_core_dev_info *cdev_info = iwdev->rf->cdev; in icrdma_lan_unregister_qset() local
151 if (ice_del_rdma_qset(cdev_info, &qset)) in icrdma_lan_unregister_qset()
202 struct iidc_rdma_core_dev_info *cdev_info) in icrdma_fill_device_info() argument
204 struct iidc_rdma_priv_dev_info *idc_priv = cdev_info->iidc_priv; in icrdma_fill_device_info()
209 rf->cdev = cdev_info; in icrdma_fill_device_info()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_idc.c46 cdev = pf->cdev_info; in ice_send_event_to_aux()
307 cdev = pf->cdev_info; in ice_plug_aux_dev()
316 iadev->cdev_info = cdev; in ice_plug_aux_dev()
355 adev = pf->cdev_info->adev; in ice_unplug_aux_dev()
356 pf->cdev_info->adev = NULL; in ice_unplug_aux_dev()
377 if (!ice_is_rdma_ena(pf) || !pf->cdev_info) in ice_rdma_finalize_setup()
380 privd = pf->cdev_info->iidc_priv; in ice_rdma_finalize_setup()
416 pf->cdev_info = cdev; in ice_init_rdma()
438 pf->cdev_info->rdma_protocol |= IIDC_RDMA_PROTOCOL_ROCEV2; in ice_init_rdma()
446 pf->cdev_info = NULL; in ice_init_rdma()
[all …]
H A Dice_ethtool.c3958 if (pf->cdev_info && pf->cdev_info->adev) { in ice_set_channels()
3960 device_lock(&pf->cdev_info->adev->dev); in ice_set_channels()
3962 if (pf->cdev_info->adev->dev.driver) { in ice_set_channels()
3981 device_unlock(&pf->cdev_info->adev->dev); in ice_set_channels()
H A Dice.h670 struct iidc_rdma_core_dev_info *cdev_info; member
H A Dice_dcb_lib.c789 cdev = pf->cdev_info; in ice_pf_dcb_recfg()
H A Dice_main.c9495 cdev = pf->cdev_info; in ice_setup_tc()
/linux/include/linux/net/intel/
H A Diidc_rdma_idpf.h48 int idpf_idc_vport_dev_ctrl(struct iidc_rdma_core_dev_info *cdev_info, bool up);
49 int idpf_idc_request_reset(struct iidc_rdma_core_dev_info *cdev_info,
51 int idpf_idc_rdma_vc_send_sync(struct iidc_rdma_core_dev_info *cdev_info,
H A Diidc_rdma.h54 struct iidc_rdma_core_dev_info *cdev_info; member
/linux/tools/thermal/tmon/
H A Dtmon.h50 struct cdev_info { struct
95 struct cdev_info *cdi;
H A Dsysfs.c96 static int probe_cdev(struct cdev_info *cdi, char *path) in probe_cdev()
451 sizeof(struct cdev_info)); in probe_thermal_sysfs()
/linux/drivers/net/ethernet/intel/ice/devlink/
H A Ddevlink.c1361 cdev = pf->cdev_info; in ice_devlink_enable_roce_get()
1379 cdev = pf->cdev_info; in ice_devlink_enable_roce_set()
1405 cdev = pf->cdev_info; in ice_devlink_enable_roce_validate()
1428 cdev = pf->cdev_info; in ice_devlink_enable_iw_get()
1446 cdev = pf->cdev_info; in ice_devlink_enable_iw_set()
1474 if (pf->cdev_info->rdma_protocol & IIDC_RDMA_PROTOCOL_ROCEV2) { in ice_devlink_enable_iw_validate()