/linux-6.1.9/drivers/input/ |
D | input-mt.c | 39 int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots, in input_mt_init_slots() argument 45 if (!num_slots) in input_mt_init_slots() 48 return mt->num_slots != num_slots ? -EINVAL : 0; in input_mt_init_slots() 50 mt = kzalloc(struct_size(mt, slots, num_slots), GFP_KERNEL); in input_mt_init_slots() 54 mt->num_slots = num_slots; in input_mt_init_slots() 56 input_set_abs_params(dev, ABS_MT_SLOT, 0, num_slots - 1, 0, 0); in input_mt_init_slots() 70 if (num_slots >= 3) in input_mt_init_slots() 72 if (num_slots >= 4) in input_mt_init_slots() 74 if (num_slots >= 5) in input_mt_init_slots() 83 unsigned int n2 = num_slots * num_slots; in input_mt_init_slots() [all …]
|
/linux-6.1.9/block/ |
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() 88 profile->slots = kvcalloc(num_slots, sizeof(profile->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 151 int err = blk_crypto_profile_init(profile, num_slots); in devm_blk_crypto_profile_init() 255 if (profile->num_slots == 0) in blk_crypto_get_keyslot() 379 if (profile->num_slots == 0) { in __blk_crypto_evict_key() [all …]
|
/linux-6.1.9/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-6.1.9/include/linux/ |
D | blk-crypto-profile.h | 106 unsigned int num_slots; member 133 unsigned int num_slots); 137 unsigned int num_slots);
|
D | dlm.h | 35 int num_slots, int our_slot, uint32_t generation);
|
/linux-6.1.9/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 log_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in() 126 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in() 160 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign() argument 282 *num_slots = num; in dlm_slots_assign()
|
D | rcom.c | 114 uint32_t num_slots) in set_rcom_config() argument 120 rf->rf_num_slots = cpu_to_le16(num_slots); in set_rcom_config() 231 int num_slots = 0; in receive_rcom_status() local 248 num_slots = ls->ls_num_slots; in receive_rcom_status() 250 len += num_slots * sizeof(struct rcom_slot); in receive_rcom_status() 262 set_rcom_config(ls, (struct rcom_config *)rc->rc_buf, num_slots); in receive_rcom_status() 264 if (!num_slots) in receive_rcom_status() 268 if (ls->ls_num_slots != num_slots) { in receive_rcom_status() 271 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-6.1.9/drivers/iio/adc/ |
D | ad_sigma_delta.c | 351 if (sigma_delta->num_slots == 1) { in ad_sd_buffer_postenable() 528 return bitmap_weight(mask, indio_dev->masklength) <= sigma_delta->num_slots; in ad_sd_validate_scan_mask() 617 sigma_delta->slots = devm_kcalloc(dev, sigma_delta->num_slots, in devm_ad_sd_setup_buffer_and_trigger() 650 if (!info->num_slots) in ad_sd_init() 651 sigma_delta->num_slots = 1; in ad_sd_init() 653 sigma_delta->num_slots = info->num_slots; in ad_sd_init() 655 if (sigma_delta->num_slots > 1) { in ad_sd_init()
|
/linux-6.1.9/drivers/gpu/drm/omapdrm/ |
D | tcm-sita.c | 154 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d() argument 161 ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size); in sita_reserve_1d() 165 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d() 166 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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() 470 unsigned int next_job = (job->first_get/8 + job->num_slots) in host1x_cdma_update_sync_queue() 665 job->num_slots = cdma->slots_used; in host1x_cdma_end()
|
/linux-6.1.9/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-6.1.9/drivers/pci/controller/dwc/ |
D | pcie-kirin.c | 85 int num_slots; member 412 i = pcie->num_slots; in kirin_pcie_parse_port() 419 pcie->num_slots++; in kirin_pcie_parse_port() 420 if (pcie->num_slots > MAX_PCI_SLOTS) { in kirin_pcie_parse_port() 555 if (!kirin_pcie->num_slots) in kirin_pcie_add_bus() 559 for (i = 0; i < kirin_pcie->num_slots; i++) { in kirin_pcie_add_bus() 635 for (i = 0; i < kirin_pcie->num_slots; i++) { in kirin_pcie_gpio_request()
|
/linux-6.1.9/include/linux/iio/adc/ |
D | ad_sigma_delta.h | 62 unsigned int num_slots; member 89 unsigned int num_slots; member
|
/linux-6.1.9/drivers/mmc/host/ |
D | mmc_hsq.h | 18 int num_slots; member
|
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() 359 chip->num_slots = 1; in mrst_hc_probe() 1490 for (i = 0; i < chip->num_slots; i++) in jmicron_suspend() 1503 for (i = 0; i < chip->num_slots; i++) in jmicron_resume() 2237 chip->num_slots = slots; in sdhci_pci_probe() 2249 slots = chip->num_slots; /* Quirk may have changed this */ in sdhci_pci_probe() [all …]
|
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 | 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() 844 for_each_set_bit(tag, &comp_status, cq_host->num_slots) { in cqhci_irq() 1051 for (i = 0; i < cq_host->num_slots; i++) in cqhci_recover_mrqs() 1183 cq_host->num_slots = NUM_SLOTS; in cqhci_init() 1192 cq_host->slot = devm_kcalloc(mmc_dev(mmc), cq_host->num_slots, in cqhci_init()
|
/linux-6.1.9/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-6.1.9/drivers/dma/ti/ |
D | edma.c | 241 unsigned num_slots; member 432 if (slot >= ecc->num_slots) in edma_write_slot() 441 if (slot >= ecc->num_slots) in edma_read_slot() 479 ecc->num_slots, in edma_alloc_slot() 481 if (slot == ecc->num_slots) in edma_alloc_slot() 486 } else if (slot >= ecc->num_slots) { in edma_alloc_slot() 500 if (slot >= ecc->num_slots) in edma_free_slot() 522 if (from >= ecc->num_slots || to >= ecc->num_slots) in edma_link() 2047 ecc->num_slots = BIT(value + 4); in edma_setup_from_hw() 2058 dev_dbg(dev, "num_slots: %u\n", ecc->num_slots); in edma_setup_from_hw() [all …]
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | eisa_eeprom.h | 24 u_int8_t num_slots; /* number of EISA slots in system */ member
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvif/ |
D | cl5070.h | 88 __u8 num_slots; member
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | rootnv50.c | 231 args->v0.num_slots, args->v0.pbn, in nv50_disp_root_mthd_() 237 args->v0.num_slots, in nv50_disp_root_mthd_()
|