/linux-3.4.99/drivers/input/ |
D | input-mt.c | 28 int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots) in input_mt_init_slots() argument 32 if (!num_slots) in input_mt_init_slots() 35 return dev->mtsize != num_slots ? -EINVAL : 0; in input_mt_init_slots() 37 dev->mt = kcalloc(num_slots, sizeof(struct input_mt_slot), GFP_KERNEL); in input_mt_init_slots() 41 dev->mtsize = num_slots; in input_mt_init_slots() 42 input_set_abs_params(dev, ABS_MT_SLOT, 0, num_slots - 1, 0, 0); in input_mt_init_slots() 44 input_set_events_per_packet(dev, 6 * num_slots); in input_mt_init_slots() 47 for (i = 0; i < num_slots; i++) in input_mt_init_slots()
|
/linux-3.4.99/arch/arm/mach-davinci/ |
D | dma.c | 227 unsigned num_slots; member 519 unsigned int num_slots, in reserve_contiguous_slots() argument 523 unsigned int count = num_slots; in reserve_contiguous_slots() 527 for (i = start_slot; i < edma_cc[ctlr]->num_slots; ++i) { in reserve_contiguous_slots() 531 if (count == num_slots) in reserve_contiguous_slots() 546 count = num_slots; in reserve_contiguous_slots() 557 if (i == edma_cc[ctlr]->num_slots) in reserve_contiguous_slots() 567 for (j = i - num_slots + 1; j <= i; ++j) in reserve_contiguous_slots() 571 return EDMA_CTLR_CHAN(ctlr, i - num_slots + 1); in reserve_contiguous_slots() 754 edma_cc[ctlr]->num_slots, slot); in edma_alloc_slot() [all …]
|
/linux-3.4.99/fs/dlm/ |
D | member.c | 63 static void log_debug_slots(struct dlm_ls *ls, uint32_t gen, int num_slots, in log_debug_slots() argument 89 for (i = 0; i < num_slots; i++) { in log_debug_slots() 98 log_debug(ls, "generation %u slots %d%s", gen, num_slots, line); in log_debug_slots() 108 int i, num_slots; in dlm_slots_copy_in() local 121 num_slots = le16_to_cpu(rf->rf_num_slots); in dlm_slots_copy_in() 122 if (!num_slots) in dlm_slots_copy_in() 127 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in() 132 log_debug_slots(ls, gen, num_slots, ro0, NULL, 0); in dlm_slots_copy_in() 135 for (i = 0, ro = ro0; i < num_slots; i++, ro++) { in dlm_slots_copy_in() 169 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size, in dlm_slots_assign() argument [all …]
|
D | rcom.c | 87 uint32_t num_slots) in set_rcom_config() argument 93 rf->rf_num_slots = cpu_to_le16(num_slots); in set_rcom_config() 201 int num_slots = 0; in receive_rcom_status() local 218 num_slots = ls->ls_num_slots; in receive_rcom_status() 220 len += num_slots * sizeof(struct rcom_slot); in receive_rcom_status() 232 set_rcom_config(ls, (struct rcom_config *)rc->rc_buf, num_slots); in receive_rcom_status() 234 if (!num_slots) in receive_rcom_status() 238 if (ls->ls_num_slots != num_slots) { in receive_rcom_status() 241 num_slots, ls->ls_num_slots); in receive_rcom_status()
|
D | member.h | 28 int dlm_slots_assign(struct dlm_ls *ls, int *num_slots, int *slots_size,
|
D | recover.c | 178 int num_slots, slots_size; in dlm_recover_members_wait() local 194 rv = dlm_slots_assign(ls, &num_slots, &slots_size, &slots, &gen); in dlm_recover_members_wait() 198 ls->ls_num_slots = num_slots; in dlm_recover_members_wait()
|
/linux-3.4.99/drivers/pci/hotplug/ |
D | shpchp_hpc.c | 585 for (i = 0; i < ctrl->num_slots; i++) { in hpc_release_ctlr() 832 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_isr() 938 int rc = -1, num_slots = 0; in shpc_init() local 971 num_slots = tempdword & SLOT_NUM; in shpc_init() 972 ctrl_dbg(ctrl, " num_slots (indirect) %x\n", num_slots); in shpc_init() 974 for (i = 0; i < 9 + num_slots; i++) { in shpc_init() 986 ctrl->mmio_size = 0x24 + 0x4 * num_slots; in shpc_init() 1026 ctrl->num_slots = slot_config & SLOT_NUM; in shpc_init() 1043 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_init() 1087 for (hp_slot = 0; hp_slot < ctrl->num_slots; hp_slot++) { in shpc_init()
|
D | pcihp_skeleton.c | 63 static int num_slots; variable 262 for (i = 0; i < num_slots; ++i) { in init_slots() 345 num_slots = 5; in pcihp_skel_init()
|
D | acpiphp_core.c | 54 static int num_slots; variable 285 num_slots = acpiphp_get_num_slots(); in init_acpi() 286 if (num_slots == 0) { in init_acpi()
|
D | acpiphp_glue.c | 1445 int num_slots = 0; in acpiphp_get_num_slots() local 1452 num_slots += bridge->nr_slots; in acpiphp_get_num_slots() 1455 dbg("Total %d slots\n", num_slots); in acpiphp_get_num_slots() 1456 return num_slots; in acpiphp_get_num_slots()
|
/linux-3.4.99/include/linux/mmc/ |
D | dw_mmc.h | 154 u32 num_slots; member 217 u32 num_slots; member
|
/linux-3.4.99/arch/sparc/kernel/ |
D | central.c | 22 int num_slots; member 99 p->num_slots = clock_board_calc_nslots(p); in clock_board_probe() 120 p->num_slots); in clock_board_probe()
|
/linux-3.4.99/drivers/mmc/host/ |
D | sdhci-pci.c | 87 int num_slots; /* Slots on controller */ member 180 chip->num_slots = 1; in mrst_hc_probe() 537 for (i = 0; i < chip->num_slots; i++) in jmicron_suspend() 550 for (i = 0; i < chip->num_slots; i++) in jmicron_resume() 1004 for (i = 0; i < chip->num_slots; i++) { in sdhci_pci_suspend() 1071 for (i = 0; i < chip->num_slots; i++) { in sdhci_pci_resume() 1104 for (i = 0; i < chip->num_slots; i++) { in sdhci_pci_runtime_suspend() 1146 for (i = 0; i < chip->num_slots; i++) { in sdhci_pci_runtime_resume() 1410 chip->num_slots = slots; in sdhci_pci_probe() 1420 slots = chip->num_slots; /* Quirk may have changed this */ in sdhci_pci_probe() [all …]
|
D | dw_mmc.c | 1612 for (i = 0; i < host->num_slots; i++) { in dw_mci_interrupt() 1641 for (i = 0; i < host->num_slots; i++) { in dw_mci_work_routine_card() 1937 if (!host->pdata->select_slot && host->pdata->num_slots > 1) { in dw_mci_probe() 2033 if (host->pdata->num_slots) in dw_mci_probe() 2034 host->num_slots = host->pdata->num_slots; in dw_mci_probe() 2036 host->num_slots = ((mci_readl(host, HCON) >> 1) & 0x1F) + 1; in dw_mci_probe() 2039 for (i = 0; i < host->num_slots; i++) { in dw_mci_probe() 2111 for (i = 0; i < host->num_slots; i++) { in dw_mci_remove() 2146 for (i = 0; i < host->num_slots; i++) { in dw_mci_suspend() 2192 for (i = 0; i < host->num_slots; i++) { in dw_mci_resume()
|
D | dw_mmc-pci.c | 33 .num_slots = 1,
|
/linux-3.4.99/drivers/staging/omapdrm/ |
D | tcm-sita.c | 52 static s32 scan_r2l_b2t_one_dim(struct tcm *tcm, u32 num_slots, 177 static s32 sita_reserve_1d(struct tcm *tcm, u32 num_slots, in sita_reserve_1d() argument 189 ret = scan_r2l_b2t_one_dim(tcm, num_slots, &field, area); in sita_reserve_1d() 424 static s32 scan_r2l_b2t_one_dim(struct tcm *tcm, u32 num_slots, in scan_r2l_b2t_one_dim() argument 444 if (num_slots > tcm->width * LEN(field->p0.y, field->p1.y)) in scan_r2l_b2t_one_dim() 451 while (found < num_slots) { in scan_r2l_b2t_one_dim() 474 if (found == num_slots) in scan_r2l_b2t_one_dim()
|
/linux-3.4.99/arch/arm/mach-exynos/ |
D | dev-dwmci.c | 42 .num_slots = 1,
|
/linux-3.4.99/include/linux/input/ |
D | mt.h | 38 int input_mt_init_slots(struct input_dev *dev, unsigned int num_slots);
|
/linux-3.4.99/include/linux/ |
D | dlm.h | 95 int num_slots, int our_slot, uint32_t generation);
|
/linux-3.4.99/arch/parisc/include/asm/ |
D | eisa_eeprom.h | 29 u_int8_t num_slots; /* number of EISA slots in system */ member
|
/linux-3.4.99/drivers/parisc/ |
D | eisa_enumerator.c | 499 for (i=0;i<eh->num_slots;i++) { in eisa_enumerator() 519 return eh->num_slots; in eisa_enumerator()
|
/linux-3.4.99/drivers/net/ethernet/ibm/ |
D | ibmveth.h | 129 u64 num_slots; member
|
/linux-3.4.99/drivers/dma/ |
D | mv_xor.c | 458 mv_xor_alloc_slots(struct mv_xor_chan *mv_chan, int num_slots, in mv_xor_alloc_slots() argument 497 if (slots_found == num_slots) { in mv_xor_alloc_slots() 501 while (num_slots) { in mv_xor_alloc_slots() 510 iter->slot_cnt = num_slots; in mv_xor_alloc_slots() 519 num_slots -= slots_per_op; in mv_xor_alloc_slots()
|
D | iop-adma.c | 350 iop_adma_alloc_slots(struct iop_adma_chan *iop_chan, int num_slots, in iop_adma_alloc_slots() argument 395 if (slots_found == num_slots) { in iop_adma_alloc_slots() 399 while (num_slots) { in iop_adma_alloc_slots() 408 if (num_slots != slots_per_op) in iop_adma_alloc_slots() 414 iter->slot_cnt = num_slots; in iop_adma_alloc_slots() 423 num_slots -= slots_per_op; in iop_adma_alloc_slots()
|
/linux-3.4.99/fs/gfs2/ |
D | lock_dlm.c | 1001 int num_slots) in set_recover_size() argument 1010 for (i = 0; i < num_slots; i++) { in set_recover_size() 1098 static void gdlm_recover_done(void *arg, struct dlm_slot *slots, int num_slots, in gdlm_recover_done() argument 1105 set_recover_size(sdp, slots, num_slots); in gdlm_recover_done()
|