Searched refs:slots (Results 1 - 25 of 64) sorted by relevance

123

/drivers/staging/mei/
H A Dinterrupt.c259 * @slots: free slots.
263 static int _mei_irq_thread_iamthif_read(struct mei_device *dev, s32 *slots) argument
266 if (((*slots) * sizeof(u32)) < (sizeof(struct mei_msg_hdr)
270 *slots -= (sizeof(struct mei_msg_hdr) +
291 * @slots: free slots.
298 static int _mei_irq_thread_close(struct mei_device *dev, s32 *slots, argument
303 if ((*slots * sizeof(u32)) >= (sizeof(struct mei_msg_hdr) +
305 *slots
833 _mei_irq_thread_read(struct mei_device *dev, s32 *slots, struct mei_cl_cb *cb_pos, struct mei_cl *cl, struct mei_io_list *cmpl_list) argument
870 _mei_irq_thread_ioctl(struct mei_device *dev, s32 *slots, struct mei_cl_cb *cb_pos, struct mei_cl *cl, struct mei_io_list *cmpl_list) argument
910 _mei_irq_thread_cmpl(struct mei_device *dev, s32 *slots, struct mei_cl_cb *cb_pos, struct mei_cl *cl, struct mei_io_list *cmpl_list) argument
1006 _mei_irq_thread_cmpl_iamthif(struct mei_device *dev, s32 *slots, struct mei_cl_cb *cb_pos, struct mei_cl *cl, struct mei_io_list *cmpl_list) argument
1089 mei_irq_thread_read_handler(struct mei_io_list *cmpl_list, struct mei_device *dev, s32 *slots) argument
1192 mei_irq_thread_write_handler(struct mei_io_list *cmpl_list, struct mei_device *dev, s32 *slots) argument
1494 s32 slots; local
[all...]
/drivers/input/touchscreen/
H A Dpenmount.c63 struct mt_slot slots[PM_MAX_MTSLOT]; member in struct:pm
78 pm->slots[i].active);
79 if (pm->slots[i].active) {
80 input_event(input, EV_ABS, ABS_MT_POSITION_X, pm->slots[i].x);
81 input_event(input, EV_ABS, ABS_MT_POSITION_Y, pm->slots[i].y);
141 pm->slots[slotnum].active = pm->data[0] & 0x30;
142 pm->slots[slotnum].x = pm->data[2] * 256 + pm->data[1];
143 pm->slots[slotnum].y = pm->data[4] * 256 + pm->data[3];
157 pm->slots[slotnum].active = pm->data[0] & 0x40;
158 pm->slots[slotnu
[all...]
/drivers/staging/zcache/
H A Dtmem.c248 memset(&objnode->slots, 0, sizeof(objnode->slots));
262 BUG_ON(objnode->slots[i] != NULL);
301 ((*slot)->slots +
358 newnode->slots[0] = obj->objnode_tree_root;
378 objnode->slots[offset] = slot;
386 slot = objnode->slots[offset];
393 objnode->slots[offset] = pampd;
430 slot = slot->slots[offset];
437 pathp->objnode->slots[path
[all...]
/drivers/dma/ioat/
H A Ddca.c396 int slots = 0; local
404 req = readl(iobase + global_req_table + (slots * sizeof(u32)));
405 slots++;
408 return slots;
416 int slots; local
432 slots = ioat2_dca_count_dca_slots(iobase, dca_offset);
433 if (slots == 0)
438 + (sizeof(struct ioat_dca_slot) * slots));
445 ioatdca->max_requesters = slots;
591 int slots local
612 int slots; local
[all...]
/drivers/eisa/
H A Dvirtual_root.c41 .slots = EISA_MAX_SLOTS,
H A DKconfig21 bridge. If your system have both PCI and EISA slots, you
35 (no PCI slots). The Alpha Jensen is an example of such
H A Dpci_eisa.c36 pci_eisa_root.slots = EISA_MAX_SLOTS;
/drivers/staging/omapdrm/
H A Dtcm.h71 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area);
152 * @param slots Number of (contiguous) slots to reserve.
161 static inline s32 tcm_reserve_1d(struct tcm *tcm, u32 slots, argument
166 (area == NULL || slots == 0) ? -EINVAL :
167 slots > (tcm->width * (u32) tcm->height) ? -ENOMEM : 0;
171 res = tcm->reserve_1d(tcm, slots, area);
283 /* calculate number of slots in an area */
/drivers/mmc/host/
H A Domap_hsmmc.c119 * One controller can have multiple slots, like on some omap boards using
123 #define mmc_slot(host) (host->pdata->slots[host->slot_id])
188 return !gpio_get_value_cansleep(mmc->slots[0].switch_pin);
196 return gpio_get_value_cansleep(mmc->slots[0].gpio_wp);
204 return !gpio_get_value_cansleep(mmc->slots[0].switch_pin);
213 disable_irq(mmc->slots[0].card_detect_irq);
221 enable_irq(mmc->slots[0].card_detect_irq);
384 if (gpio_is_valid(pdata->slots[0].switch_pin)) {
385 if (pdata->slots[0].cover)
386 pdata->slots[
[all...]
H A Dsdhci-pci.c88 struct sdhci_pci_slot *slots[MAX_SLOTS]; /* Pointers to host slots */ member in struct:sdhci_pci_chip
176 * slots number is fixed here for MRST as SDIO3/5 are never used and
537 jmicron_enable_mmc(chip->slots[i]->host, 0);
550 jmicron_enable_mmc(chip->slots[i]->host, 1);
1004 slot = chip->slots[i];
1043 sdhci_resume_host(chip->slots[i]->host);
1071 slot = chip->slots[i];
1104 slot = chip->slots[i];
1124 sdhci_runtime_resume_host(chip->slots[
1361 u8 slots, first_bar; local
[all...]
H A Domap.c163 struct mmc_omap_slot *slots[OMAP_MMC_MAX_SLOTS]; member in struct:mmc_omap_host
283 if (host->slots[i] == NULL || host->slots[i]->mrq == NULL)
287 new_slot = host->slots[i];
720 dev_info(mmc_dev(host->slots[0]->mmc),
851 struct mmc_omap_slot *slot = host->slots[num];
856 if (host->nr_slots == 0 || !host->slots[num])
1317 slot->pdata = &host->pdata->slots[id];
1319 host->slots[id] = slot;
1322 if (host->pdata->slots[i
[all...]
/drivers/staging/ramster/
H A Dtmem.c249 memset(&objnode->slots, 0, sizeof(objnode->slots));
263 BUG_ON(objnode->slots[i] != NULL);
302 ((*slot)->slots +
361 newnode->slots[0] = obj->objnode_tree_root;
381 objnode->slots[offset] = slot;
389 slot = objnode->slots[offset];
396 objnode->slots[offset] = pampd;
433 slot = slot->slots[offset];
440 pathp->objnode->slots[path
[all...]
/drivers/misc/cb710/
H A Dcore.c77 for (nr = chip->slots; nr; ++slot, --nr) {
102 int nr = chip->slots;
112 ++chip->slots;
133 --chip->slots;
145 int nr = chip->slots - 1;
157 --chip->slots;
/drivers/memstick/core/
H A DKconfig11 cards stayed in their respective slots during the suspend. The
/drivers/pci/hotplug/
H A Dibmphp_ebda.c80 struct ebda_hpc_slot *slots; local
87 slots = kcalloc(slot_count, sizeof(struct ebda_hpc_slot), GFP_KERNEL);
88 if (!slots)
90 controller->slots = slots;
99 kfree(controller->slots);
108 kfree (controller->slots);
212 debug ("%s - physical slot#: %x\n", __func__, hpc_ptr->slots[index].slot_num);
213 debug ("%s - pci bus# of the slot: %x\n", __func__, hpc_ptr->slots[index].slot_bus_num);
214 debug ("%s - index into ctlr addr: %x\n", __func__, hpc_ptr->slots[inde
[all...]
H A Dibmphp_core.c62 * tables don't provide default info for empty slots */
123 /* sometimes the hot-pluggable slots start with 4 (not always from 1) */
156 if ((*cur_slot)->number == rtable->slots[loop].slot &&
157 (*cur_slot)->bus == rtable->slots[loop].bus) {
160 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn);
177 debug("rtable->slots[loop].irq[0].bitmap = %x\n",
178 rtable->slots[loop].irq[0].bitmap);
179 debug("rtable->slots[loop].irq[1].bitmap = %x\n",
180 rtable->slots[loop].irq[1].bitmap);
181 debug("rtable->slots[loo
[all...]
H A Dcpci_hotplug_core.c58 static int slots; variable
283 slots++;
305 if (!slots) {
312 slots--;
361 if (!slots) {
393 if (!slots) {
395 err("no slots registered, shutting down");
516 dbg("%s - error checking slots", __func__);
548 dbg("%s - error checking slots", __func__);
619 * Unregister all of our slots wit
[all...]
H A Dacpiphp.h77 struct acpiphp_slot *slots; member in struct:acpiphp_bridge
/drivers/gpu/drm/nouveau/
H A Dnouveau_dma.c162 nv50_dma_wait(struct nouveau_channel *chan, int slots, int count) argument
167 ret = nv50_dma_push_wait(chan, slots + 1);
205 nouveau_dma_wait(struct nouveau_channel *chan, int slots, int size) argument
211 return nv50_dma_wait(chan, slots, size);
/drivers/hid/
H A Dhid-multitouch.c95 struct mt_slot *slots; member in struct:mt_device
137 if (td->slots[i].contactid == td->curdata.contactid &&
138 td->slots[i].touch_state)
142 if (!td->slots[i].seen_in_this_frame &&
143 !td->slots[i].touch_state)
493 td->slots[slotnum] = td->curdata;
508 struct mt_slot *s = &(td->slots[i]);
548 if (hid->claimed & HID_CLAIMED_INPUT && td->slots) {
726 td->slots = kzalloc(td->maxcontacts * sizeof(struct mt_slot),
728 if (!td->slots) {
[all...]
/drivers/usb/host/
H A Disp1760-hcd.c746 struct slotinfo *slots, struct isp1760_qtd *qtd,
754 WARN_ON(slots[slot].qtd);
755 WARN_ON(slots[slot].qh);
771 slots[slot].timestamp = jiffies;
772 slots[slot].qtd = qtd;
773 slots[slot].qh = qh;
860 struct slotinfo *slots; local
878 slots = priv->int_slots;
881 slots = priv->atl_slots;
886 if ((free_slot == -1) && (slots[curr_slo
745 start_bus_transfer(struct usb_hcd *hcd, u32 ptd_offset, int slot, struct slotinfo *slots, struct isp1760_qtd *qtd, struct isp1760_qh *qh, struct ptd *ptd) argument
1100 struct slotinfo *slots; local
[all...]
/drivers/media/dvb/ttpci/
H A Dav7110_ca.c125 int slots, ca_slot_info_t *slot)
132 if (slots & (1 << i))
140 if (slots & (1 << i)) {
124 ci_ll_reset(struct dvb_ringbuffer *cibuf, struct file *file, int slots, ca_slot_info_t *slot) argument
/drivers/pci/
H A Dslot.c200 list_for_each_entry(slot, &parent->slots, list)
213 * @name: user visible string presented in /sys/bus/pci/slots/<name>
216 * PCI slots have first class attributes such as address, speed, width,
224 * name to multiple slots. Workaround these broken platforms by renaming
225 * the slots on behalf of the caller. If firmware assigns name N to
226 * multiple slots:
233 * Placeholder slots:
241 * may be many slots with @slot_nr of -1. The other change in semantics is
302 list_add(&slot->list, &parent->slots);
337 list_for_each_entry(tmp, &slot->bus->slots, lis
[all...]
/drivers/mfd/
H A Drc5t583.c84 int id, int ext_pwr, int slots)
107 sleepseq_val |= ((slots & 0x7) << slot_bit);
83 __rc5t583_set_ext_pwrreq1_control(struct device *dev, int id, int ext_pwr, int slots) argument
/drivers/mmc/core/
H A DKconfig9 stayed in their respective slots during the suspend. The

Completed in 600 milliseconds

123