Lines Matching refs:share
98 hw->hw_info.share = kzalloc(size, GFP_KERNEL); in fjes_hw_alloc_shared_status_region()
99 if (!hw->hw_info.share) in fjes_hw_alloc_shared_status_region()
102 hw->hw_info.share->epnum = hw->max_epid; in fjes_hw_alloc_shared_status_region()
109 kfree(hw->hw_info.share); in fjes_hw_free_shared_status_region()
110 hw->hw_info.share = NULL; in fjes_hw_free_shared_status_region()
275 param.share_start = __pa(hw->hw_info.share->ep_status); in fjes_hw_setup()
611 struct fjes_device_shared_info *share = hw->hw_info.share; in fjes_hw_unregister_buff_addr() local
619 if (!req_buf || !res_buf || !share) in fjes_hw_unregister_buff_addr()
740 int fjes_hw_epid_is_shared(struct fjes_device_shared_info *share, in fjes_hw_epid_is_shared() argument
745 if (dest_epid < share->epnum) in fjes_hw_epid_is_shared()
746 value = share->ep_status[dest_epid]; in fjes_hw_epid_is_shared()
767 if (fjes_hw_epid_is_shared(hw->hw_info.share, epid)) { in fjes_hw_get_partner_ep_status()
826 status = fjes_hw_epid_is_shared(hw->hw_info.share, in fjes_hw_wait_epstop()