Searched refs:free_slot (Results 1 – 7 of 7) sorted by relevance
/drivers/usb/dwc3/ |
D | gadget.c | 818 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK]; in dwc3_prepare_one_trb() 824 req->start_slot = dep->free_slot & DWC3_TRB_MASK; in dwc3_prepare_one_trb() 827 dep->free_slot++; in dwc3_prepare_one_trb() 829 if (((dep->free_slot & DWC3_TRB_MASK) == DWC3_TRB_NUM - 1) && in dwc3_prepare_one_trb() 831 dep->free_slot++; in dwc3_prepare_one_trb() 901 trbs_left = (dep->busy_slot - dep->free_slot) & DWC3_TRB_MASK; in dwc3_prepare_trbs() 905 max = DWC3_TRB_NUM - (dep->free_slot & DWC3_TRB_MASK); in dwc3_prepare_trbs() 932 dep->free_slot = 1; in dwc3_prepare_trbs() 935 dep->free_slot = 0; in dwc3_prepare_trbs()
|
D | ep0.c | 66 trb = &dwc->ep0_trb[dep->free_slot]; in dwc3_ep0_prepare_one_trb() 69 dep->free_slot++; in dwc3_ep0_prepare_one_trb() 853 ep0->free_slot = 0; in dwc3_ep0_complete_data()
|
D | core.h | 469 u32 free_slot; member
|
/drivers/scsi/ufs/ |
D | ufshcd.c | 328 static bool ufshcd_get_tm_free_slot(struct ufs_hba *hba, int *free_slot) in ufshcd_get_tm_free_slot() argument 333 if (!free_slot) in ufshcd_get_tm_free_slot() 342 *free_slot = tag; in ufshcd_get_tm_free_slot() 3771 int free_slot; in ufshcd_issue_tm_cmd() local 3782 wait_event(hba->tm_tag_wq, ufshcd_get_tm_free_slot(hba, &free_slot)); in ufshcd_issue_tm_cmd() 3787 task_req_descp += free_slot; in ufshcd_issue_tm_cmd() 3797 task_tag = hba->nutrs + free_slot; in ufshcd_issue_tm_cmd() 3811 __set_bit(free_slot, &hba->outstanding_tasks); in ufshcd_issue_tm_cmd() 3812 ufshcd_writel(hba, 1 << free_slot, REG_UTP_TASK_REQ_DOOR_BELL); in ufshcd_issue_tm_cmd() 3818 test_bit(free_slot, &hba->tm_condition), in ufshcd_issue_tm_cmd() [all …]
|
/drivers/usb/isp1760/ |
D | isp1760-hcd.c | 837 int curr_slot, free_slot; in enqueue_qtds() local 860 free_slot = -1; in enqueue_qtds() 862 if ((free_slot == -1) && (slots[curr_slot].qtd == NULL)) in enqueue_qtds() 863 free_slot = curr_slot; in enqueue_qtds() 893 if ((curr_slot > 31) && (free_slot > -1)) { in enqueue_qtds() 899 start_bus_transfer(hcd, ptd_offset, free_slot, in enqueue_qtds() 901 curr_slot = free_slot; in enqueue_qtds()
|
/drivers/net/wireless/ath/ath6kl/ |
D | main.c | 67 u8 free_slot; in ath6kl_add_new_sta() local 69 free_slot = aid - 1; in ath6kl_add_new_sta() 71 sta = &ar->sta_list[free_slot]; in ath6kl_add_new_sta() 81 ar->sta_list_index = ar->sta_list_index | (1 << free_slot); in ath6kl_add_new_sta() 82 ar->ap_stats.sta[free_slot].aid = cpu_to_le32(aid); in ath6kl_add_new_sta()
|
/drivers/scsi/ |
D | 53c700.c | 540 free_slot(struct NCR_700_command_slot *slot, in free_slot() function 612 free_slot(slot, hostdata); in NCR_700_scsi_done() 1561 free_slot(slot, hostdata); in NCR_700_intr()
|