Searched refs:uc_handle (Results 1 – 4 of 4) sorted by relevance
41 uint32_t *uc_handle);42 RdmaRmUC *rdma_rm_get_uc(RdmaDeviceResources *dev_res, uint32_t uc_handle);43 void rdma_rm_dealloc_uc(RdmaDeviceResources *dev_res, uint32_t uc_handle);
272 uint32_t *uc_handle) in rdma_rm_alloc_uc() argument285 uc = rdma_res_tbl_alloc(&dev_res->uc_tbl, uc_handle); in rdma_rm_alloc_uc()293 RdmaRmUC *rdma_rm_get_uc(RdmaDeviceResources *dev_res, uint32_t uc_handle) in rdma_rm_get_uc() argument295 return rdma_res_tbl_get(&dev_res->uc_tbl, uc_handle); in rdma_rm_get_uc()298 void rdma_rm_dealloc_uc(RdmaDeviceResources *dev_res, uint32_t uc_handle) in rdma_rm_dealloc_uc() argument300 RdmaRmUC *uc = rdma_rm_get_uc(dev_res, uc_handle); in rdma_rm_dealloc_uc()303 rdma_res_tbl_dealloc(&dev_res->uc_tbl, uc_handle); in rdma_rm_dealloc_uc()
80 uint64_t uc_handle; member
2784 static struct device_attribute *uc_handle; variable2829 if (!uc_handle) in sony_nc_usb_charge_setup()2832 sysfs_attr_init(&uc_handle->attr); in sony_nc_usb_charge_setup()2833 uc_handle->attr.name = "usb_charge"; in sony_nc_usb_charge_setup()2834 uc_handle->attr.mode = S_IRUGO | S_IWUSR; in sony_nc_usb_charge_setup()2840 kfree(uc_handle); in sony_nc_usb_charge_setup()2841 uc_handle = NULL; in sony_nc_usb_charge_setup()2850 if (uc_handle) { in sony_nc_usb_charge_cleanup()2851 device_remove_file(&pd->dev, uc_handle); in sony_nc_usb_charge_cleanup()2852 kfree(uc_handle); in sony_nc_usb_charge_cleanup()[all …]