| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/ |
| H A D | vc4_bo.c | 89 int free_slot = -1; in vc4_get_user_label() local 93 free_slot = i; in vc4_get_user_label() 100 if (free_slot != -1) { in vc4_get_user_label() 101 WARN_ON(vc4->bo_labels[free_slot].num_allocated != 0); in vc4_get_user_label() 102 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label() 103 return free_slot; in vc4_get_user_label() 116 free_slot = vc4->num_labels; in vc4_get_user_label() 120 vc4->bo_labels[free_slot].name = name; in vc4_get_user_label() 121 vc4->bo_labels[free_slot].num_allocated = 0; in vc4_get_user_label() 122 vc4->bo_labels[free_slot].size_allocated = 0; in vc4_get_user_label() [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | assoc_array.c | 486 int slot, next_slot, free_slot, i, j; in assoc_array_insert_into_terminal_node() local 499 free_slot = -1; in assoc_array_insert_into_terminal_node() 507 free_slot = i; in assoc_array_insert_into_terminal_node() 524 if (free_slot >= 0) { in assoc_array_insert_into_terminal_node() 525 pr_devel("insert in free slot %d\n", free_slot); in assoc_array_insert_into_terminal_node() 526 edit->leaf_p = &node->slots[free_slot]; in assoc_array_insert_into_terminal_node() 656 free_slot = -1; in assoc_array_insert_into_terminal_node() 666 free_slot++; in assoc_array_insert_into_terminal_node() 667 } while (new_n0->slots[free_slot] != NULL); in assoc_array_insert_into_terminal_node() 668 new_n0->slots[free_slot] = node->slots[i]; in assoc_array_insert_into_terminal_node() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_ip.c | 1193 int i, free_slot = TCPACK_INFO_MAXNUM; in dhd_tcpack_hold() local 1292 if (free_slot == TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1293 free_slot = i; in dhd_tcpack_hold() 1357 if (free_slot < TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1363 free_slot)); in dhd_tcpack_hold() 1365 tcpack_info_tbl[free_slot].pkt_in_q = pkt; in dhd_tcpack_hold() 1366 tcpack_info_tbl[free_slot].pkt_ether_hdr = new_ether_hdr; in dhd_tcpack_hold() 1367 tcpack_info_tbl[free_slot].ifidx = ifidx; in dhd_tcpack_hold() 1368 tcpack_info_tbl[free_slot].supp_cnt = 1; in dhd_tcpack_hold() 1370 mod_timer(&tcpack_sup_mod->tcpack_info_tbl[free_slot].timer, in dhd_tcpack_hold() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_ip.c | 1193 int i, free_slot = TCPACK_INFO_MAXNUM; in dhd_tcpack_hold() local 1292 if (free_slot == TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1293 free_slot = i; in dhd_tcpack_hold() 1357 if (free_slot < TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1363 free_slot)); in dhd_tcpack_hold() 1365 tcpack_info_tbl[free_slot].pkt_in_q = pkt; in dhd_tcpack_hold() 1366 tcpack_info_tbl[free_slot].pkt_ether_hdr = new_ether_hdr; in dhd_tcpack_hold() 1367 tcpack_info_tbl[free_slot].ifidx = ifidx; in dhd_tcpack_hold() 1368 tcpack_info_tbl[free_slot].supp_cnt = 1; in dhd_tcpack_hold() 1370 mod_timer(&tcpack_sup_mod->tcpack_info_tbl[free_slot].timer, in dhd_tcpack_hold() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_ip.c | 1193 int i, free_slot = TCPACK_INFO_MAXNUM; in dhd_tcpack_hold() local 1292 if (free_slot == TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1293 free_slot = i; in dhd_tcpack_hold() 1357 if (free_slot < TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1363 free_slot)); in dhd_tcpack_hold() 1365 tcpack_info_tbl[free_slot].pkt_in_q = pkt; in dhd_tcpack_hold() 1366 tcpack_info_tbl[free_slot].pkt_ether_hdr = new_ether_hdr; in dhd_tcpack_hold() 1367 tcpack_info_tbl[free_slot].ifidx = ifidx; in dhd_tcpack_hold() 1368 tcpack_info_tbl[free_slot].supp_cnt = 1; in dhd_tcpack_hold() 1370 mod_timer(&tcpack_sup_mod->tcpack_info_tbl[free_slot].timer, in dhd_tcpack_hold() [all …]
|
| /OK3568_Linux_fs/kernel/arch/xtensa/kernel/ |
| H A D | hw_breakpoint.c | 192 static int free_slot(struct perf_event **slot, size_t n, in free_slot() function 215 i = free_slot(this_cpu_ptr(bp_on_reg), XCHAL_NUM_IBREAK, bp); in arch_uninstall_hw_breakpoint() 223 i = free_slot(this_cpu_ptr(wp_on_reg), XCHAL_NUM_DBREAK, bp); in arch_uninstall_hw_breakpoint()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_ip.c | 1135 int i, free_slot = TCPACK_INFO_MAXNUM; in dhd_tcpack_hold() local 1234 if (free_slot == TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1235 free_slot = i; in dhd_tcpack_hold() 1295 if (free_slot < TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1301 free_slot)); in dhd_tcpack_hold() 1303 tcpack_info_tbl[free_slot].pkt_in_q = pkt; in dhd_tcpack_hold() 1304 tcpack_info_tbl[free_slot].pkt_ether_hdr = new_ether_hdr; in dhd_tcpack_hold() 1305 tcpack_info_tbl[free_slot].ifidx = ifidx; in dhd_tcpack_hold() 1306 tcpack_info_tbl[free_slot].supp_cnt = 1; in dhd_tcpack_hold() 1307 mod_timer(&tcpack_sup_mod->tcpack_info_tbl[free_slot].timer, in dhd_tcpack_hold()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_ip.c | 1180 int i, free_slot = TCPACK_INFO_MAXNUM; in dhd_tcpack_hold() local 1279 if (free_slot == TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1280 free_slot = i; in dhd_tcpack_hold() 1344 if (free_slot < TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1350 free_slot)); in dhd_tcpack_hold() 1352 tcpack_info_tbl[free_slot].pkt_in_q = pkt; in dhd_tcpack_hold() 1353 tcpack_info_tbl[free_slot].pkt_ether_hdr = new_ether_hdr; in dhd_tcpack_hold() 1354 tcpack_info_tbl[free_slot].ifidx = ifidx; in dhd_tcpack_hold() 1355 tcpack_info_tbl[free_slot].supp_cnt = 1; in dhd_tcpack_hold() 1357 mod_timer(&tcpack_sup_mod->tcpack_info_tbl[free_slot].timer, in dhd_tcpack_hold() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_ip.c | 1180 int i, free_slot = TCPACK_INFO_MAXNUM; in dhd_tcpack_hold() local 1279 if (free_slot == TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1280 free_slot = i; in dhd_tcpack_hold() 1344 if (free_slot < TCPACK_INFO_MAXNUM) { in dhd_tcpack_hold() 1350 free_slot)); in dhd_tcpack_hold() 1352 tcpack_info_tbl[free_slot].pkt_in_q = pkt; in dhd_tcpack_hold() 1353 tcpack_info_tbl[free_slot].pkt_ether_hdr = new_ether_hdr; in dhd_tcpack_hold() 1354 tcpack_info_tbl[free_slot].ifidx = ifidx; in dhd_tcpack_hold() 1355 tcpack_info_tbl[free_slot].supp_cnt = 1; in dhd_tcpack_hold() 1357 mod_timer(&tcpack_sup_mod->tcpack_info_tbl[free_slot].timer, in dhd_tcpack_hold() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mmc/host/ |
| H A D | sdhci-acpi.c | 67 int (*free_slot)(struct platform_device *pdev); member 530 .free_slot = qcom_free_slot, 960 if (c->slot && c->slot->free_slot) in sdhci_acpi_probe() 961 c->slot->free_slot(pdev); in sdhci_acpi_probe() 985 if (c->slot && c->slot->free_slot) in sdhci_acpi_remove() 986 c->slot->free_slot(pdev); in sdhci_acpi_remove()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/dwc3/ |
| H A D | gadget.c | 713 trb = &dep->trb_pool[dep->free_slot & DWC3_TRB_MASK]; in dwc3_prepare_one_trb() 719 req->start_slot = dep->free_slot & DWC3_TRB_MASK; in dwc3_prepare_one_trb() 722 dep->free_slot++; in dwc3_prepare_one_trb() 724 if (((dep->free_slot & DWC3_TRB_MASK) == DWC3_TRB_NUM - 1) && in dwc3_prepare_one_trb() 726 dep->free_slot++; in dwc3_prepare_one_trb() 808 trbs_left = (dep->busy_slot - dep->free_slot) & DWC3_TRB_MASK; in dwc3_prepare_trbs() 812 max = DWC3_TRB_NUM - (dep->free_slot & DWC3_TRB_MASK); in dwc3_prepare_trbs() 839 dep->free_slot = 1; in dwc3_prepare_trbs() 842 dep->free_slot = 0; in dwc3_prepare_trbs()
|
| H A D | ep0.c | 65 trb = &dwc->ep0_trb[dep->free_slot]; in dwc3_ep0_start_trans() 68 dep->free_slot++; in dwc3_ep0_start_trans() 830 ep0->free_slot = 0; in dwc3_ep0_complete_data()
|
| H A D | core.h | 457 u32 free_slot; member
|
| /OK3568_Linux_fs/kernel/drivers/usb/isp1760/ |
| H A D | isp1760-hcd.c | 834 int curr_slot, free_slot; in enqueue_qtds() local 857 free_slot = -1; in enqueue_qtds() 859 if ((free_slot == -1) && (slots[curr_slot].qtd == NULL)) in enqueue_qtds() 860 free_slot = curr_slot; in enqueue_qtds() 890 if ((curr_slot > 31) && (free_slot > -1)) { in enqueue_qtds() 896 start_bus_transfer(hcd, ptd_offset, free_slot, in enqueue_qtds() 898 curr_slot = free_slot; in enqueue_qtds()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_backchannel.c | 211 .free_slot = xprt_free_slot,
|
| H A D | transport.c | 742 .free_slot = xprt_rdma_free_slot,
|
| /OK3568_Linux_fs/kernel/drivers/pci/hotplug/ |
| H A D | pnv_php.c | 953 goto free_slot; in pnv_php_register_one() 968 free_slot: in pnv_php_register_one()
|
| /OK3568_Linux_fs/kernel/include/linux/sunrpc/ |
| H A D | xprt.h | 136 void (*free_slot)(struct rpc_xprt *xprt, member
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A D | 53c700.c | 555 free_slot(struct NCR_700_command_slot *slot, in free_slot() function 627 free_slot(slot, hostdata); in NCR_700_scsi_done() 1565 free_slot(slot, hostdata); in NCR_700_intr()
|
| /OK3568_Linux_fs/kernel/net/sunrpc/ |
| H A D | xprtsock.c | 2638 .free_slot = xprt_free_slot, 2659 .free_slot = xprt_free_slot, 2681 .free_slot = xprt_free_slot, 2714 .free_slot = xprt_free_slot,
|
| H A D | xprt.c | 1892 xprt->ops->free_slot(xprt, req); in xprt_release()
|