/linux-master/include/linux/ |
H A D | blk-crypto-profile.h | 106 unsigned int num_slots; member in struct:blk_crypto_profile 123 * can find a key's keyslot in O(1) time rather than O(num_slots). 134 unsigned int num_slots); 138 unsigned int num_slots);
|
H A D | dlm.h | 35 int num_slots, int our_slot, uint32_t generation);
|
/linux-master/drivers/input/ |
H A D | input-mt.c | 27 * @num_slots: number of slots used by the device 39 int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots, argument 45 if (!num_slots) 48 return mt->num_slots != num_slots ? -EINVAL : 0; 50 mt = kzalloc(struct_size(mt, slots, num_slots), GFP_KERNEL); 54 mt->num_slots = num_slots; 56 input_set_abs_params(dev, ABS_MT_SLOT, 0, num_slots - 1, 0, 0); 70 if (num_slots > [all...] |
/linux-master/block/ |
H A D | blk-crypto-profile.c | 67 * @num_slots: the number of keyslots 75 unsigned int num_slots) 91 if (num_slots == 0) 96 profile->slots = kvcalloc(num_slots, sizeof(profile->slots[0]), 101 profile->num_slots = num_slots; 106 for (slot = 0; slot < num_slots; slot++) { 114 slot_hashtable_size = roundup_pow_of_two(num_slots); 148 * @num_slots: the number of keyslots 157 unsigned int num_slots) 74 blk_crypto_profile_init(struct blk_crypto_profile *profile, unsigned int num_slots) argument 155 devm_blk_crypto_profile_init(struct device *dev, struct blk_crypto_profile *profile, unsigned int num_slots) argument [all...] |
H A D | blk-crypto-sysfs.c | 43 return sysfs_emit(page, "%u\n", profile->num_slots);
|
/linux-master/include/linux/input/ |
H A D | mt.h | 36 * @num_slots: number of MT slots the device uses 45 int num_slots; member in struct:input_mt 50 struct input_mt_slot slots[] __counted_by(num_slots); 76 int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots,
|
/linux-master/drivers/mmc/host/ |
H A D | mmc_hsq.h | 32 int num_slots; member in struct:mmc_hsq
|
H A D | sdhci-pci.h | 183 int num_slots; /* Slots on controller */ member in struct:sdhci_pci_chip
|
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_queue.c | 60 unsigned int num_slots; local 83 num_slots = *num_elem + 1; 84 num_slots = roundup_pow_of_two(num_slots); 85 q->index_mask = num_slots - 1; 87 buf_size = sizeof(struct rxe_queue_buf) + num_slots * elem_size; 98 *num_elem = num_slots - 1;
|
/linux-master/fs/dlm/ |
H A D | member.h | 26 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
|
H A D | member.c | 62 static void log_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, argument 85 for (i = 0; i < num_slots; i++) { 94 log_rinfo(ls, "generation %u slots %d%s", gen, num_slots, line); 104 int i, num_slots; local 117 num_slots = le16_to_cpu(rf->rf_num_slots); 118 if (!num_slots) 123 log_slots(ls, gen, num_slots, ro0, NULL, 0); 126 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { 160 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, argument 273 log_error(ls, "num_slots [all...] |
H A D | rcom.c | 113 uint32_t num_slots) 119 rf->rf_num_slots = cpu_to_le16(num_slots); 234 int num_slots = 0; local 251 num_slots = ls->ls_num_slots; 253 len += num_slots * sizeof(struct rcom_slot); 265 set_rcom_config(ls, (struct rcom_config *)rc->rc_buf, num_slots); local 267 if (!num_slots) 271 if (ls->ls_num_slots != num_slots) { 273 log_debug(ls, "receive_rcom_status num_slots %d to %d", 274 num_slots, l 112 set_rcom_config(struct dlm_ls *ls, struct rcom_config *rf, uint32_t num_slots) argument [all...] |
/linux-master/include/linux/iio/adc/ |
H A D | ad_sigma_delta.h | 50 * @num_slots: Number of sequencer slots 64 unsigned int num_slots; member in struct:ad_sigma_delta_info 91 unsigned int num_slots; member in struct:ad_sigma_delta
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.c | 154 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, argument 161 ret = r2l_b2t_1d(num_slots, &pos, tcm->bitmap, tcm->map_size); 165 area->p1.x = (pos + num_slots - 1) % tcm->width; 166 area->p1.y = (pos + num_slots - 1) / tcm->width;
|
/linux-master/drivers/iio/adc/ |
H A D | ad_sigma_delta.c | 351 if (sigma_delta->num_slots == 1) { 528 return bitmap_weight(mask, indio_dev->masklength) <= sigma_delta->num_slots; 626 sigma_delta->slots = devm_kcalloc(dev, sigma_delta->num_slots, 659 if (!info->num_slots) 660 sigma_delta->num_slots = 1; 662 sigma_delta->num_slots = info->num_slots; 664 if (sigma_delta->num_slots > 1) {
|
/linux-master/arch/sparc/kernel/ |
H A D | central.c | 23 int num_slots; member in struct:clock_board 100 p->num_slots = clock_board_calc_nslots(p); 121 p->num_slots);
|
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-kirin.c | 84 int num_slots; member in struct:kirin_pcie 408 i = pcie->num_slots; 415 pcie->num_slots++; 416 if (pcie->num_slots > MAX_PCI_SLOTS) { 551 if (!kirin_pcie->num_slots) 555 for (i = 0; i < kirin_pcie->num_slots; i++) { 631 for (i = 0; i < kirin_pcie->num_slots; i++) {
|
/linux-master/drivers/pci/hotplug/ |
H A D | shpchp_hpc.c | 546 for (i = 0; i < ctrl->num_slots; i++) { 793 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { 898 int rc = -1, num_slots = 0; local 931 num_slots = tempdword & SLOT_NUM; 932 ctrl_dbg(ctrl, " num_slots (indirect) %x\n", num_slots); 934 for (i = 0; i < 9 + num_slots; i++) { 946 ctrl->mmio_size = 0x24 + 0x4 * num_slots; 986 ctrl->num_slots = slot_config & SLOT_NUM; 1003 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slo [all...] |
/linux-master/drivers/gpu/host1x/ |
H A D | cdma.c | 340 if (job->num_slots) { 343 host1x_pushbuffer_pop(pb, job->num_slots); 432 job->num_slots); 450 for (i = 0; i < job->num_slots; i++) { 470 unsigned int next_job = (job->first_get/8 + job->num_slots) 674 job->num_slots = cdma->slots_used;
|
/linux-master/arch/parisc/include/asm/ |
H A D | eisa_eeprom.h | 24 u_int8_t num_slots; /* number of EISA slots in system */ member in struct:eeprom_header
|
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | outp.h | 115 u8 start_slot, u8 num_slots, u16 pbn, u16 aligned_pbn);
|
/linux-master/drivers/gpu/host1x/hw/ |
H A D | debug_hw.c | 201 host1x_debug_output(o, "JOB, syncpt %u: %u timeout: %u num_slots: %u num_handles: %u\n", 203 job->num_slots, job->num_unpins); 205 show_gather(o, pb->dma + job->first_get, job->num_slots * 2, cdma,
|
/linux-master/drivers/net/ethernet/ibm/ |
H A D | ibmveth.h | 129 u64 num_slots; member in struct:ibmveth_rx_q
|
/linux-master/drivers/i3c/ |
H A D | device.c | 164 if (!req->handler || !req->num_slots)
|
/linux-master/include/linux/i3c/ |
H A D | device.h | 321 * @num_slots: number of pre-allocated IBI slots. This should be chosen so that 337 unsigned int num_slots; member in struct:i3c_ibi_setup
|