/Linux-v5.15/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 …]
|
/Linux-v5.15/block/ |
D | keyslot-manager.c | 68 return ksm->num_slots == 0; in blk_ksm_is_passthrough() 81 int blk_ksm_init(struct blk_keyslot_manager *ksm, unsigned int num_slots) in blk_ksm_init() argument 89 if (num_slots == 0) in blk_ksm_init() 92 ksm->slots = kvcalloc(num_slots, sizeof(ksm->slots[0]), GFP_KERNEL); in blk_ksm_init() 96 ksm->num_slots = num_slots; in blk_ksm_init() 103 for (slot = 0; slot < num_slots; slot++) { in blk_ksm_init() 111 slot_hashtable_size = roundup_pow_of_two(num_slots); in blk_ksm_init() 153 unsigned int num_slots) in devm_blk_ksm_init() argument 155 int err = blk_ksm_init(ksm, num_slots); in devm_blk_ksm_init() 416 for (slot = 0; slot < ksm->num_slots; slot++) { in blk_ksm_reprogram_all_keys() [all …]
|
/Linux-v5.15/drivers/infiniband/sw/rxe/ |
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-v5.15/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); 89 unsigned int num_slots);
|
D | dlm.h | 35 int num_slots, int our_slot, uint32_t generation);
|
/Linux-v5.15/fs/dlm/ |
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 …]
|
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()
|
D | member.h | 26 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
|
/Linux-v5.15/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()
|
/Linux-v5.15/drivers/pci/hotplug/ |
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-v5.15/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,
|
/Linux-v5.15/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()
|
/Linux-v5.15/drivers/gpu/host1x/ |
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-v5.15/drivers/mmc/host/ |
D | mmc_hsq.h | 18 int num_slots; member
|
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() 1551 for (i = 0; i < chip->num_slots; i++) in jmicron_suspend() 1564 for (i = 0; i < chip->num_slots; i++) in jmicron_resume() 2352 chip->num_slots = slots; in sdhci_pci_probe() 2364 slots = chip->num_slots; /* Quirk may have changed this */ in sdhci_pci_probe() [all …]
|
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()
|
/Linux-v5.15/drivers/gpu/host1x/hw/ |
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-v5.15/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 3402 if (vcpi->num_slots) { in drm_dp_update_payload_part1() 3406 if (vcpi->num_slots == payload->num_slots) { in drm_dp_update_payload_part1() 3407 cur_slots += vcpi->num_slots; in drm_dp_update_payload_part1() 3420 req_payload.num_slots = vcpi->num_slots; in drm_dp_update_payload_part1() 3424 req_payload.num_slots = 0; in drm_dp_update_payload_part1() 3429 if (payload->num_slots != req_payload.num_slots) { in drm_dp_update_payload_part1() 3432 if (req_payload.num_slots) { in drm_dp_update_payload_part1() 3435 payload->num_slots = req_payload.num_slots; in drm_dp_update_payload_part1() 3438 } else if (payload->num_slots) { in drm_dp_update_payload_part1() 3439 payload->num_slots = 0; in drm_dp_update_payload_part1() [all …]
|
/Linux-v5.15/arch/parisc/include/asm/ |
D | eisa_eeprom.h | 24 u_int8_t num_slots; /* number of EISA slots in system */ member
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/drivers/gpu/drm/nouveau/include/nvif/ |
D | cl5070.h | 96 __u8 num_slots; member
|
/Linux-v5.15/drivers/i3c/ |
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-v5.15/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()
|
/Linux-v5.15/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_()
|