Lines Matching full: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()
193 /* Share status address */ in fjes_hw_init_command_registers()
270 param.share_start = __pa(hw->hw_info.share->ep_status); in fjes_hw_setup()
587 struct fjes_device_shared_info *share = hw->hw_info.share; in fjes_hw_unregister_buff_addr() local
595 if (!req_buf || !res_buf || !share) in fjes_hw_unregister_buff_addr()
716 int fjes_hw_epid_is_shared(struct fjes_device_shared_info *share, in fjes_hw_epid_is_shared() argument
721 if (dest_epid < share->epnum) in fjes_hw_epid_is_shared()
722 value = share->ep_status[dest_epid]; in fjes_hw_epid_is_shared()
743 if (fjes_hw_epid_is_shared(hw->hw_info.share, epid)) { in fjes_hw_get_partner_ep_status()
802 status = fjes_hw_epid_is_shared(hw->hw_info.share, in fjes_hw_wait_epstop()