/linux/drivers/input/ |
A D | input-mt.c | 44 if (!num_slots) in input_mt_init_slots() 47 return mt->num_slots != num_slots ? -EINVAL : 0; in input_mt_init_slots() 53 mt->num_slots = num_slots; in input_mt_init_slots() 69 if (num_slots >= 3) in input_mt_init_slots() 71 if (num_slots >= 4) in input_mt_init_slots() 73 if (num_slots >= 5) in input_mt_init_slots() 82 unsigned int n2 = num_slots * num_slots; in input_mt_init_slots() 89 for (i = 0; i < num_slots; i++) in input_mt_init_slots() 208 for (i = 0; i < mt->num_slots; ++i) { in input_mt_report_pointer_emulation() 262 for (i = 0; i < mt->num_slots; i++) { in __input_mt_drop_unused() [all …]
|
/linux/block/ |
A D | blk-crypto-profile.c | 74 unsigned int num_slots) in blk_crypto_profile_init() argument 83 if (num_slots == 0) in blk_crypto_profile_init() 93 profile->num_slots = num_slots; in blk_crypto_profile_init() 98 for (slot = 0; slot < num_slots; slot++) { in blk_crypto_profile_init() 106 slot_hashtable_size = roundup_pow_of_two(num_slots); in blk_crypto_profile_init() 149 unsigned int num_slots) in devm_blk_crypto_profile_init() argument 255 if (profile->num_slots == 0) in blk_crypto_get_keyslot() 379 if (profile->num_slots == 0) { in __blk_crypto_evict_key() 424 if (profile->num_slots == 0) in blk_crypto_reprogram_all_keys() 429 for (slot = 0; slot < profile->num_slots; slot++) { in blk_crypto_reprogram_all_keys() [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_queue.c | 60 unsigned int num_slots; in rxe_queue_init() local 83 num_slots = *num_elem + 1; in rxe_queue_init() 84 num_slots = roundup_pow_of_two(num_slots); in rxe_queue_init() 85 q->index_mask = num_slots - 1; in rxe_queue_init() 87 buf_size = sizeof(struct rxe_queue_buf) + num_slots * elem_size; in rxe_queue_init() 98 *num_elem = num_slots - 1; in rxe_queue_init()
|
/linux/fs/dlm/ |
A D | member.c | 62 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots() argument 85 for (i = 0; i < num_slots; i++) { in log_slots() 94 log_rinfo(ls, "generation %u slots %d%s", gen, num_slots, line); in log_slots() 104 int i, num_slots; in dlm_slots_copy_in() local 117 num_slots = le16_to_cpu(rf->rf_num_slots); in dlm_slots_copy_in() 118 if (!num_slots) in dlm_slots_copy_in() 123 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in() 128 log_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in() 131 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in() 165 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign() argument [all …]
|
A D | rcom.c | 116 uint32_t num_slots) in set_rcom_config() argument 122 rf->rf_num_slots = cpu_to_le16(num_slots); in set_rcom_config() 233 int num_slots = 0; in receive_rcom_status() local 250 num_slots = ls->ls_num_slots; in receive_rcom_status() 252 len += num_slots * sizeof(struct rcom_slot); in receive_rcom_status() 264 set_rcom_config(ls, (struct rcom_config *)rc->rc_buf, num_slots); in receive_rcom_status() 266 if (!num_slots) in receive_rcom_status() 270 if (ls->ls_num_slots != num_slots) { in receive_rcom_status() 273 num_slots, ls->ls_num_slots); in receive_rcom_status()
|
A D | member.h | 26 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
|
/linux/include/linux/ |
A D | blk-crypto-profile.h | 106 unsigned int num_slots; member 133 unsigned int num_slots); 137 unsigned int num_slots);
|
A D | dlm.h | 35 int num_slots, int our_slot, uint32_t generation);
|
/linux/drivers/pci/hotplug/ |
A D | shpchp_hpc.c | 563 for (i = 0; i < ctrl->num_slots; i++) { in hpc_release_ctlr() 810 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_isr() 916 int rc = -1, num_slots = 0; in shpc_init() local 949 num_slots = tempdword & SLOT_NUM; in shpc_init() 950 ctrl_dbg(ctrl, " num_slots (indirect) %x\n", num_slots); in shpc_init() 952 for (i = 0; i < 9 + num_slots; i++) { in shpc_init() 964 ctrl->mmio_size = 0x24 + 0x4 * num_slots; in shpc_init() 1004 ctrl->num_slots = slot_config & SLOT_NUM; in shpc_init() 1021 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_init() 1065 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_init()
|
/linux/drivers/gpu/drm/omapdrm/ |
A D | tcm-sita.c | 162 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d() argument 169 ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size); in sita_reserve_1d() 173 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d() 174 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d()
|
/linux/drivers/pci/controller/dwc/ |
A D | pcie-kirin.c | 84 int num_slots; member 415 i = pcie->num_slots; in kirin_pcie_parse_port() 422 pcie->num_slots++; in kirin_pcie_parse_port() 423 if (pcie->num_slots > MAX_PCI_SLOTS) { in kirin_pcie_parse_port() 560 if (!kirin_pcie->num_slots) in kirin_pcie_add_bus() 564 for (i = 0; i < kirin_pcie->num_slots; i++) { in kirin_pcie_add_bus() 640 for (i = 0; i < kirin_pcie->num_slots; i++) { in kirin_pcie_gpio_request()
|
/linux/include/linux/input/ |
A D | mt.h | 45 int num_slots; member 76 int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots,
|
/linux/arch/sparc/kernel/ |
A D | central.c | 23 int num_slots; member 100 p->num_slots = clock_board_calc_nslots(p); in clock_board_probe() 121 p->num_slots); in clock_board_probe()
|
/linux/drivers/gpu/host1x/ |
A D | cdma.c | 340 if (job->num_slots) { in update_cdma_locked() 343 host1x_pushbuffer_pop(pb, job->num_slots); in update_cdma_locked() 432 job->num_slots); in host1x_cdma_update_sync_queue() 450 for (i = 0; i < job->num_slots; i++) { in host1x_cdma_update_sync_queue() 656 job->num_slots = cdma->slots_used; in host1x_cdma_end()
|
/linux/drivers/gpu/drm/ |
A D | drm_dp_mst_topology.c | 3403 if (vcpi->num_slots) { in drm_dp_update_payload_part1() 3407 if (vcpi->num_slots == payload->num_slots) { in drm_dp_update_payload_part1() 3421 req_payload.num_slots = vcpi->num_slots; in drm_dp_update_payload_part1() 3430 if (payload->num_slots != req_payload.num_slots) { in drm_dp_update_payload_part1() 3436 payload->num_slots = req_payload.num_slots; in drm_dp_update_payload_part1() 4322 int num_slots; in drm_dp_find_vcpi_slots() local 4327 if (num_slots > 63) in drm_dp_find_vcpi_slots() 4329 return num_slots; in drm_dp_find_vcpi_slots() 4340 vcpi->num_slots = slots; in drm_dp_init_vcpi() 4605 port->vcpi.num_slots = 0; in drm_dp_mst_reset_vcpi_slots() [all …]
|
/linux/drivers/gpu/host1x/hw/ |
A D | debug_hw.c | 203 job->num_slots, job->num_unpins); in show_channel_gathers() 205 show_gather(o, pb->dma + job->first_get, job->num_slots * 2, cdma, in show_channel_gathers()
|
/linux/drivers/mmc/host/ |
A D | sdhci-pci-core.c | 52 for (i = 0; i < chip->num_slots; i++) { in sdhci_pci_init_wakeup() 76 for (i = 0; i < chip->num_slots; i++) { in sdhci_pci_suspend_host() 109 for (i = 0; i < chip->num_slots; i++) { in sdhci_pci_resume_host() 154 for (i = 0; i < chip->num_slots; i++) { in sdhci_pci_runtime_suspend_host() 183 for (i = 0; i < chip->num_slots; i++) { in sdhci_pci_runtime_resume_host() 338 chip->num_slots = 1; in mrst_hc_probe() 1466 for (i = 0; i < chip->num_slots; i++) in jmicron_suspend() 1479 for (i = 0; i < chip->num_slots; i++) in jmicron_resume() 2210 chip->num_slots = slots; in sdhci_pci_probe() 2222 slots = chip->num_slots; /* Quirk may have changed this */ in sdhci_pci_probe() [all …]
|
A D | mmc_hsq.h | 18 int num_slots; member
|
A D | cqhci-core.c | 201 cq_host->desc_size = cq_host->slot_sz * cq_host->num_slots; in cqhci_host_alloc_tdl() 240 for (; i < (cq_host->num_slots); i++) in cqhci_host_alloc_tdl() 837 for_each_set_bit(tag, &comp_status, cq_host->num_slots) { in cqhci_irq() 1044 for (i = 0; i < cq_host->num_slots; i++) in cqhci_recover_mrqs() 1176 cq_host->num_slots = NUM_SLOTS; in cqhci_init() 1185 cq_host->slot = devm_kcalloc(mmc_dev(mmc), cq_host->num_slots, in cqhci_init()
|
A D | mmc_hsq.c | 342 hsq->num_slots = HSQ_NUM_SLOTS; in mmc_hsq_init() 345 hsq->slot = devm_kcalloc(mmc_dev(mmc), hsq->num_slots, in mmc_hsq_init()
|
/linux/drivers/dma/ti/ |
A D | edma.c | 249 unsigned num_slots; member 475 if (slot >= ecc->num_slots) in edma_write_slot() 484 if (slot >= ecc->num_slots) in edma_read_slot() 522 ecc->num_slots, in edma_alloc_slot() 524 if (slot == ecc->num_slots) in edma_alloc_slot() 529 } else if (slot >= ecc->num_slots) { in edma_alloc_slot() 543 if (slot >= ecc->num_slots) in edma_free_slot() 565 if (from >= ecc->num_slots || to >= ecc->num_slots) in edma_link() 2096 ecc->num_slots = BIT(value + 4); in edma_setup_from_hw() 2107 dev_dbg(dev, "num_slots: %u\n", ecc->num_slots); in edma_setup_from_hw() [all …]
|
/linux/arch/parisc/include/asm/ |
A D | eisa_eeprom.h | 24 u_int8_t num_slots; /* number of EISA slots in system */ member
|
/linux/drivers/i3c/ |
A D | master.c | 1892 ibireq.num_slots = olddev->ibi->num_slots; in i3c_master_add_i3c_dev_locked() 2277 unsigned int num_slots; member 2306 WARN_ON(nslots != pool->num_slots); in i3c_generic_ibi_free_pool() 2340 pool->slots = kcalloc(req->num_slots, sizeof(*slot), GFP_KERNEL); in i3c_generic_ibi_alloc_pool() 2347 pool->payload_buf = kcalloc(req->num_slots, in i3c_generic_ibi_alloc_pool() 2355 for (i = 0; i < req->num_slots; i++) { in i3c_generic_ibi_alloc_pool() 2364 pool->num_slots++; in i3c_generic_ibi_alloc_pool() 2670 ibi->num_slots = req->num_slots; in i3c_dev_request_ibi_locked()
|
/linux/drivers/gpu/drm/nouveau/include/nvif/ |
A D | cl5070.h | 96 __u8 num_slots; member
|
/linux/drivers/parisc/ |
A D | eisa_enumerator.c | 494 for (i=0;i<eh->num_slots;i++) { in eisa_enumerator() 514 return eh->num_slots; in eisa_enumerator()
|