Lines Matching refs:hw_info
355 mutex_lock(&hw->hw_info.lock); in fjes_setup_resources()
361 hw->hw_info.res_buf->info.info[epidx].es_status; in fjes_setup_resources()
363 hw->hw_info.res_buf->info.info[epidx].zone; in fjes_setup_resources()
371 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources()
374 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources()
401 mutex_lock(&hw->hw_info.lock); in fjes_setup_resources()
404 mutex_unlock(&hw->hw_info.lock); in fjes_setup_resources()
439 mutex_lock(&hw->hw_info.lock); in fjes_free_resources()
441 mutex_unlock(&hw->hw_info.lock); in fjes_free_resources()
466 hw->hw_info.buffer_share_bit = 0; in fjes_free_resources()
470 param.req_len = hw->hw_info.req_buf_size; in fjes_free_resources()
471 param.req_start = __pa(hw->hw_info.req_buf); in fjes_free_resources()
472 param.res_len = hw->hw_info.res_buf_size; in fjes_free_resources()
473 param.res_start = __pa(hw->hw_info.res_buf); in fjes_free_resources()
474 param.share_start = __pa(hw->hw_info.share->ep_status); in fjes_free_resources()
958 set_bit(src_epid, &hw->hw_info.buffer_unshare_reserve_bit); in fjes_stop_req_irq()
1406 is_shared = fjes_hw_epid_is_shared(hw->hw_info.share, in fjes_watch_unshare_task()
1417 &hw->hw_info.buffer_unshare_reserve_bit); in fjes_watch_unshare_task()
1424 mutex_lock(&hw->hw_info.lock); in fjes_watch_unshare_task()
1440 mutex_unlock(&hw->hw_info.lock); in fjes_watch_unshare_task()
1452 &hw->hw_info.buffer_unshare_reserve_bit); in fjes_watch_unshare_task()
1459 if (hw->hw_info.buffer_unshare_reserve_bit) { in fjes_watch_unshare_task()
1465 &hw->hw_info.buffer_unshare_reserve_bit)) { in fjes_watch_unshare_task()
1466 mutex_lock(&hw->hw_info.lock); in fjes_watch_unshare_task()
1483 mutex_unlock(&hw->hw_info.lock); in fjes_watch_unshare_task()
1497 clear_bit(epidx, &hw->hw_info.buffer_unshare_reserve_bit); in fjes_watch_unshare_task()