/kernel/linux/linux-5.10/drivers/input/ |
D | input-mt.c | 38 int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots, in input_mt_init_slots() argument 44 if (!num_slots) in input_mt_init_slots() 47 return mt->num_slots != num_slots ? -EINVAL : 0; in input_mt_init_slots() 49 mt = kzalloc(struct_size(mt, slots, num_slots), GFP_KERNEL); in input_mt_init_slots() 53 mt->num_slots = num_slots; in input_mt_init_slots() 55 input_set_abs_params(dev, ABS_MT_SLOT, 0, num_slots - 1, 0, 0); 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() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_queue.c | 61 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()
|
/kernel/linux/linux-5.10/block/ |
D | keyslot-manager.c | 75 int blk_ksm_init(struct blk_keyslot_manager *ksm, unsigned int num_slots) in blk_ksm_init() argument 83 if (num_slots == 0) in blk_ksm_init() 86 ksm->slots = kvcalloc(num_slots, sizeof(ksm->slots[0]), GFP_KERNEL); in blk_ksm_init() 90 ksm->num_slots = num_slots; in blk_ksm_init() 97 for (slot = 0; slot < num_slots; slot++) { in blk_ksm_init() 105 slot_hashtable_size = roundup_pow_of_two(num_slots); in blk_ksm_init() 365 for (slot = 0; slot < ksm->num_slots; slot++) { in blk_ksm_reprogram_all_keys() 384 kvfree_sensitive(ksm->slots, sizeof(ksm->slots[0]) * ksm->num_slots); in blk_ksm_destroy()
|
/kernel/linux/linux-5.10/fs/dlm/ |
D | member.c | 61 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_slots() argument 84 for (i = 0; i < num_slots; i++) { in log_slots() 93 log_rinfo(ls, "generation %u slots %d%s", gen, num_slots, line); in log_slots() 103 int i, num_slots; in dlm_slots_copy_in() local 116 num_slots = le16_to_cpu(rf->rf_num_slots); in dlm_slots_copy_in() 117 if (!num_slots) in dlm_slots_copy_in() 122 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in() 127 log_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in() 130 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in() 164 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign() argument [all …]
|
D | rcom.c | 83 uint32_t num_slots) in set_rcom_config() argument 89 rf->rf_num_slots = cpu_to_le16(num_slots); in set_rcom_config() 200 int num_slots = 0; in receive_rcom_status() local 217 num_slots = ls->ls_num_slots; in receive_rcom_status() 219 len += num_slots * sizeof(struct rcom_slot); in receive_rcom_status() 231 set_rcom_config(ls, (struct rcom_config *)rc->rc_buf, num_slots); in receive_rcom_status() 233 if (!num_slots) in receive_rcom_status() 237 if (ls->ls_num_slots != num_slots) { in receive_rcom_status() 240 num_slots, ls->ls_num_slots); in receive_rcom_status()
|
D | member.h | 26 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
|
/kernel/linux/linux-5.10/include/linux/ |
D | keyslot-manager.h | 64 unsigned int num_slots; member 86 int blk_ksm_init(struct blk_keyslot_manager *ksm, unsigned int num_slots);
|
D | dlm.h | 35 int num_slots, int our_slot, uint32_t generation);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
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()
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
D | shpchp_hpc.c | 568 for (i = 0; i < ctrl->num_slots; i++) { in hpc_release_ctlr() 815 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_isr() 921 int rc = -1, num_slots = 0; in shpc_init() local 954 num_slots = tempdword & SLOT_NUM; in shpc_init() 955 ctrl_dbg(ctrl, " num_slots (indirect) %x\n", num_slots); in shpc_init() 957 for (i = 0; i < 9 + num_slots; i++) { in shpc_init() 969 ctrl->mmio_size = 0x24 + 0x4 * num_slots; in shpc_init() 1009 ctrl->num_slots = slot_config & SLOT_NUM; in shpc_init() 1026 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_init() 1070 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_init()
|
/kernel/linux/linux-5.10/include/linux/input/ |
D | mt.h | 45 int num_slots; member 76 int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots,
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
D | cdma.c | 347 if (job->num_slots) { in update_cdma_locked() 350 host1x_pushbuffer_pop(pb, job->num_slots); in update_cdma_locked() 436 job->num_slots); in host1x_cdma_update_sync_queue() 615 job->num_slots = cdma->slots_used; in host1x_cdma_end()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | mmc_hsq.h | 18 int num_slots; member
|
D | cqhci.c | 194 cq_host->desc_size = cq_host->slot_sz * cq_host->num_slots; in cqhci_host_alloc_tdl() 234 for (; i < (cq_host->num_slots); i++) in cqhci_host_alloc_tdl() 792 for_each_set_bit(tag, &comp_status, cq_host->num_slots) { in cqhci_irq() 999 for (i = 0; i < cq_host->num_slots; i++) in cqhci_recover_mrqs() 1131 cq_host->num_slots = NUM_SLOTS; in cqhci_init() 1140 cq_host->slot = devm_kcalloc(mmc_dev(mmc), cq_host->num_slots, in cqhci_init()
|
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()
|
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() 1540 for (i = 0; i < chip->num_slots; i++) in jmicron_suspend() 1553 for (i = 0; i < chip->num_slots; i++) in jmicron_resume() 2344 chip->num_slots = slots; in sdhci_pci_probe() 2356 slots = chip->num_slots; /* Quirk may have changed this */ in sdhci_pci_probe() [all …]
|
D | sdhci-pci.h | 183 int num_slots; /* Slots on controller */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 3398 if (vcpi->num_slots) { in drm_dp_update_payload_part1() 3402 if (vcpi->num_slots == payload->num_slots) { in drm_dp_update_payload_part1() 3403 cur_slots += vcpi->num_slots; in drm_dp_update_payload_part1() 3416 req_payload.num_slots = vcpi->num_slots; in drm_dp_update_payload_part1() 3420 req_payload.num_slots = 0; in drm_dp_update_payload_part1() 3425 if (payload->num_slots != req_payload.num_slots) { in drm_dp_update_payload_part1() 3428 if (req_payload.num_slots) { in drm_dp_update_payload_part1() 3431 payload->num_slots = req_payload.num_slots; in drm_dp_update_payload_part1() 3434 } else if (payload->num_slots) { in drm_dp_update_payload_part1() 3435 payload->num_slots = 0; in drm_dp_update_payload_part1() [all …]
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | eisa_eeprom.h | 24 u_int8_t num_slots; /* number of EISA slots in system */ member
|
/kernel/linux/linux-5.10/drivers/dma/ti/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/ |
D | cl5070.h | 96 __u8 num_slots; member
|
/kernel/linux/linux-5.10/drivers/parisc/ |
D | eisa_enumerator.c | 494 for (i=0;i<eh->num_slots;i++) { in eisa_enumerator() 514 return eh->num_slots; in eisa_enumerator()
|
/kernel/linux/linux-5.10/drivers/i3c/ |
D | master.c | 1896 ibireq.num_slots = olddev->ibi->num_slots; in i3c_master_add_i3c_dev_locked() 2281 unsigned int num_slots; member 2310 WARN_ON(nslots != pool->num_slots); in i3c_generic_ibi_free_pool() 2344 pool->slots = kcalloc(req->num_slots, sizeof(*slot), GFP_KERNEL); in i3c_generic_ibi_alloc_pool() 2351 pool->payload_buf = kcalloc(req->num_slots, in i3c_generic_ibi_alloc_pool() 2359 for (i = 0; i < req->num_slots; i++) { in i3c_generic_ibi_alloc_pool() 2368 pool->num_slots++; in i3c_generic_ibi_alloc_pool() 2674 ibi->num_slots = req->num_slots; in i3c_dev_request_ibi_locked()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | rootnv50.c | 255 args->v0.num_slots, args->v0.pbn, in nv50_disp_root_mthd_() 261 args->v0.num_slots, in nv50_disp_root_mthd_()
|