Searched refs:fiq (Results 1 - 31 of 31) sorted by relevance

/linux-4.4.14/arch/arm/mach-rpc/
H A DMakefile7 obj-y := dma.o ecard.o fiq.o irq.o riscpc.o time.o
H A Ddma.c20 #include <asm/fiq.h>
258 unsigned int fiq; member in struct:floppy_dma
292 enable_fiq(fdma->fiq); floppy_enable_dma()
298 disable_fiq(fdma->fiq); floppy_disable_dma()
335 .fiq = FIQ_FLOPPYDATA,
H A Dirq.c8 #include <asm/fiq.h>
H A Decard.c714 ec->fiq = 0; ecard_alloc_card()
/linux-4.4.14/fs/fuse/
H A Ddev.c321 static u64 fuse_get_unique(struct fuse_iqueue *fiq) fuse_get_unique() argument
323 return ++fiq->reqctr; fuse_get_unique()
326 static void queue_request(struct fuse_iqueue *fiq, struct fuse_req *req) queue_request() argument
330 list_add_tail(&req->list, &fiq->pending); queue_request()
331 wake_up_locked(&fiq->waitq); queue_request()
332 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); queue_request()
338 struct fuse_iqueue *fiq = &fc->iq; fuse_queue_forget() local
343 spin_lock(&fiq->waitq.lock); fuse_queue_forget()
344 if (fiq->connected) { fuse_queue_forget()
345 fiq->forget_list_tail->next = forget; fuse_queue_forget()
346 fiq->forget_list_tail = forget; fuse_queue_forget()
347 wake_up_locked(&fiq->waitq); fuse_queue_forget()
348 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); fuse_queue_forget()
352 spin_unlock(&fiq->waitq.lock); fuse_queue_forget()
360 struct fuse_iqueue *fiq = &fc->iq; flush_bg_queue() local
365 spin_lock(&fiq->waitq.lock); flush_bg_queue()
366 req->in.h.unique = fuse_get_unique(fiq); flush_bg_queue()
367 queue_request(fiq, req); flush_bg_queue()
368 spin_unlock(&fiq->waitq.lock); flush_bg_queue()
382 struct fuse_iqueue *fiq = &fc->iq; request_end() local
387 spin_lock(&fiq->waitq.lock); request_end()
389 spin_unlock(&fiq->waitq.lock); request_end()
418 static void queue_interrupt(struct fuse_iqueue *fiq, struct fuse_req *req) queue_interrupt() argument
420 spin_lock(&fiq->waitq.lock); queue_interrupt()
422 list_add_tail(&req->intr_entry, &fiq->interrupts); queue_interrupt()
423 wake_up_locked(&fiq->waitq); queue_interrupt()
425 spin_unlock(&fiq->waitq.lock); queue_interrupt()
426 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); queue_interrupt()
431 struct fuse_iqueue *fiq = &fc->iq; request_wait_answer() local
445 queue_interrupt(fiq, req); request_wait_answer()
460 spin_lock(&fiq->waitq.lock); request_wait_answer()
464 spin_unlock(&fiq->waitq.lock); request_wait_answer()
469 spin_unlock(&fiq->waitq.lock); request_wait_answer()
481 struct fuse_iqueue *fiq = &fc->iq; __fuse_request_send() local
484 spin_lock(&fiq->waitq.lock); __fuse_request_send()
485 if (!fiq->connected) { __fuse_request_send()
486 spin_unlock(&fiq->waitq.lock); __fuse_request_send()
489 req->in.h.unique = fuse_get_unique(fiq); __fuse_request_send()
490 queue_request(fiq, req); __fuse_request_send()
494 spin_unlock(&fiq->waitq.lock); __fuse_request_send()
624 struct fuse_iqueue *fiq = &fc->iq; fuse_request_send_notify_reply() local
628 spin_lock(&fiq->waitq.lock); fuse_request_send_notify_reply()
629 if (fiq->connected) { fuse_request_send_notify_reply()
630 queue_request(fiq, req); fuse_request_send_notify_reply()
633 spin_unlock(&fiq->waitq.lock); fuse_request_send_notify_reply()
1061 static int forget_pending(struct fuse_iqueue *fiq) forget_pending() argument
1063 return fiq->forget_list_head.next != NULL; forget_pending()
1066 static int request_pending(struct fuse_iqueue *fiq) request_pending() argument
1068 return !list_empty(&fiq->pending) || !list_empty(&fiq->interrupts) || request_pending()
1069 forget_pending(fiq); request_pending()
1078 * Called with fiq->waitq.lock held, releases it
1080 static int fuse_read_interrupt(struct fuse_iqueue *fiq,
1083 __releases(fiq->waitq.lock)
1091 req->intr_unique = fuse_get_unique(fiq);
1099 spin_unlock(&fiq->waitq.lock);
1111 static struct fuse_forget_link *dequeue_forget(struct fuse_iqueue *fiq, dequeue_forget() argument
1115 struct fuse_forget_link *head = fiq->forget_list_head.next; dequeue_forget()
1122 fiq->forget_list_head.next = *newhead; dequeue_forget()
1124 if (fiq->forget_list_head.next == NULL) dequeue_forget()
1125 fiq->forget_list_tail = &fiq->forget_list_head; dequeue_forget()
1133 static int fuse_read_single_forget(struct fuse_iqueue *fiq,
1136 __releases(fiq->waitq.lock)
1139 struct fuse_forget_link *forget = dequeue_forget(fiq, 1, NULL);
1146 .unique = fuse_get_unique(fiq),
1150 spin_unlock(&fiq->waitq.lock);
1166 static int fuse_read_batch_forget(struct fuse_iqueue *fiq,
1168 __releases(fiq->waitq.lock)
1177 .unique = fuse_get_unique(fiq),
1182 spin_unlock(&fiq->waitq.lock);
1187 head = dequeue_forget(fiq, max_forgets, &count);
1188 spin_unlock(&fiq->waitq.lock);
1215 static int fuse_read_forget(struct fuse_conn *fc, struct fuse_iqueue *fiq,
1218 __releases(fiq->waitq.lock)
1220 if (fc->minor < 16 || fiq->forget_list_head.next->next == NULL)
1221 return fuse_read_single_forget(fiq, cs, nbytes);
1223 return fuse_read_batch_forget(fiq, cs, nbytes);
1240 struct fuse_iqueue *fiq = &fc->iq; fuse_dev_do_read() local
1247 spin_lock(&fiq->waitq.lock); fuse_dev_do_read()
1249 if ((file->f_flags & O_NONBLOCK) && fiq->connected && fuse_dev_do_read()
1250 !request_pending(fiq)) fuse_dev_do_read()
1253 err = wait_event_interruptible_exclusive_locked(fiq->waitq, fuse_dev_do_read()
1254 !fiq->connected || request_pending(fiq)); fuse_dev_do_read()
1259 if (!fiq->connected) fuse_dev_do_read()
1262 if (!list_empty(&fiq->interrupts)) { fuse_dev_do_read()
1263 req = list_entry(fiq->interrupts.next, struct fuse_req, fuse_dev_do_read()
1265 return fuse_read_interrupt(fiq, cs, nbytes, req); fuse_dev_do_read()
1268 if (forget_pending(fiq)) { fuse_dev_do_read()
1269 if (list_empty(&fiq->pending) || fiq->forget_batch-- > 0) fuse_dev_do_read()
1270 return fuse_read_forget(fc, fiq, cs, nbytes); fuse_dev_do_read()
1272 if (fiq->forget_batch <= -8) fuse_dev_do_read()
1273 fiq->forget_batch = 16; fuse_dev_do_read()
1276 req = list_entry(fiq->pending.next, struct fuse_req, list); fuse_dev_do_read()
1279 spin_unlock(&fiq->waitq.lock); fuse_dev_do_read()
1321 queue_interrupt(fiq, req); fuse_dev_do_read()
1333 spin_unlock(&fiq->waitq.lock); fuse_dev_do_read()
2056 struct fuse_iqueue *fiq; fuse_dev_poll() local
2062 fiq = &fud->fc->iq; fuse_dev_poll()
2063 poll_wait(file, &fiq->waitq, wait); fuse_dev_poll()
2065 spin_lock(&fiq->waitq.lock); fuse_dev_poll()
2066 if (!fiq->connected) fuse_dev_poll()
2068 else if (request_pending(fiq)) fuse_dev_poll()
2070 spin_unlock(&fiq->waitq.lock); fuse_dev_poll()
2128 struct fuse_iqueue *fiq = &fc->iq; fuse_abort_conn() local
2161 spin_lock(&fiq->waitq.lock); fuse_abort_conn()
2162 fiq->connected = 0; fuse_abort_conn()
2163 list_splice_init(&fiq->pending, &to_end2); fuse_abort_conn()
2164 while (forget_pending(fiq)) fuse_abort_conn()
2165 kfree(dequeue_forget(fiq, 1, NULL)); fuse_abort_conn()
2166 wake_up_all_locked(&fiq->waitq); fuse_abort_conn()
2167 spin_unlock(&fiq->waitq.lock); fuse_abort_conn()
2168 kill_fasync(&fiq->fasync, SIGIO, POLL_IN); fuse_abort_conn()
H A Dinode.c570 static void fuse_iqueue_init(struct fuse_iqueue *fiq) fuse_iqueue_init() argument
572 memset(fiq, 0, sizeof(struct fuse_iqueue)); fuse_iqueue_init()
573 init_waitqueue_head(&fiq->waitq); fuse_iqueue_init()
574 INIT_LIST_HEAD(&fiq->pending); fuse_iqueue_init()
575 INIT_LIST_HEAD(&fiq->interrupts); fuse_iqueue_init()
576 fiq->forget_list_tail = &fiq->forget_list_head; fuse_iqueue_init()
577 fiq->connected = 1; fuse_iqueue_init()
/linux-4.4.14/arch/arm/kernel/
H A Dfiq.c2 * linux/arch/arm/kernel/fiq.c
46 #include <asm/fiq.h>
140 void enable_fiq(int fiq) enable_fiq() argument
142 enable_irq(fiq + fiq_start); enable_fiq()
145 void disable_fiq(int fiq) disable_fiq() argument
147 disable_irq(fiq + fiq_start); disable_fiq()
H A DMakefile35 obj-$(CONFIG_FIQ) += fiq.o fiqasm.o
H A Dsetup.c142 u32 fiq[3]; member in struct:stack
508 "I" (offsetof(struct stack, fiq[0])), cpu_init()
H A Dentry-armv.S1186 vector_stub fiq, FIQ_MODE, 4
/linux-4.4.14/arch/arm/include/asm/
H A Dfiq.h2 * arch/arm/include/asm/fiq.h
39 extern void enable_fiq(int fiq);
40 extern void disable_fiq(int fiq);
H A Decard.h159 CONST unsigned int fiq; /* FIQ number (for request_irq) */ member in struct:expansion_card
/linux-4.4.14/include/linux/spi/
H A Ds3c24xx.h20 unsigned int use_fiq:1; /* use fiq */
/linux-4.4.14/arch/arm/mach-omap1/
H A DMakefile44 obj-$(CONFIG_MACH_AMS_DELTA) += board-ams-delta.o ams-delta-fiq.o \
45 ams-delta-fiq-handler.o
H A Dams-delta-fiq.c24 #include <asm/fiq.h>
26 #include <mach/ams-delta-fiq.h>
29 .name = "ams-delta-fiq"
38 * See ams-delta-fiq.h for details of offsets.
91 pr_info("Installing fiq handler from %p, length 0x%x\n", ams_delta_init_fiq()
H A Dirq.c98 * NOTE: There is currently no OMAP fiq handler for Linux. Read the
102 static void omap_irq_set_cfg(int irq, int fiq, int priority, int trigger) omap_irq_set_cfg() argument
109 fiq = bank ? 0 : (fiq & 0x1); omap_irq_set_cfg()
110 val = fiq | ((priority & 0x1f) << 2) | ((trigger & 0x1) << 1); omap_irq_set_cfg()
H A Dams-delta-fiq-handler.S2 * linux/arch/arm/mach-omap1/ams-delta-fiq-handler.S
20 #include <mach/ams-delta-fiq.h>
H A Dboard-ams-delta.c43 #include <mach/ams-delta-fiq.h>
/linux-4.4.14/arch/arm/mach-omap1/include/mach/
H A Dams-delta-fiq.h2 * arch/arm/mach-omap1/include/ams-delta-fiq.h
4 * Taken from the original Amstrad modifications to fiq.h
/linux-4.4.14/arch/arm/mach-imx/
H A DMakefile34 obj-y += ssi-fiq.o
35 obj-y += ssi-fiq-ksym.o
/linux-4.4.14/drivers/irqchip/
H A Dirq-st.c128 channels = of_property_count_u32_elems(np, "st,fiq-device"); st_irq_syscfg_enable()
130 dev_err(&pdev->dev, "st,enable-fiq-device must have 2 elems\n"); st_irq_syscfg_enable()
141 of_property_read_u32_index(np, "st,fiq-device", i, &device); st_irq_syscfg_enable()
/linux-4.4.14/drivers/spi/
H A Dspi-s3c24xx-fiq.S20 #include "spi-s3c24xx-fiq.h"
25 @ defined in fiq.h so that they can be shared with the C files which
H A DMakefile74 spi-s3c24xx-hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi-s3c24xx-fiq.o
H A Dspi-s3c24xx.c30 #include <asm/fiq.h>
32 #include "spi-s3c24xx-fiq.h"
271 /* try and claim fiq if we haven't got it, and if not s3c24xx_spi_tryfiq()
518 /* initialise fiq handler */ s3c24xx_spi_probe()
/linux-4.4.14/sound/soc/fsl/
H A Dimx-pcm-fiq.c2 * imx-pcm-fiq.c -- ALSA Soc Audio Layer
31 #include <asm/fiq.h>
359 dev_err(&pdev->dev, "failed to claim fiq: %d", ret); imx_pcm_fiq_init()
H A DMakefile47 obj-$(CONFIG_SND_SOC_IMX_PCM_FIQ) += imx-pcm-fiq.o
H A Dfsl_ssi.c13 * Some notes why imx-pcm-fiq is used instead of DMA on some boards:
996 * fiq it is probably better to use the biggest possible watermark _fsl_ssi_set_dai_fmt()
1333 * working, we are using imx-fiq-pcm-audio, that fsl_ssi_imx_probe()
1404 "fsl,fiq-stream-filter"); fsl_ssi_probe()
/linux-4.4.14/drivers/input/serio/
H A Dams_delta_serio.c32 #include <mach/ams-delta-fiq.h>
/linux-4.4.14/arch/arm/kvm/
H A Dinterrupts_head.S61 .equ fiq, 5
90 /* fiq regs */
/linux-4.4.14/arch/arm/boot/compressed/
H A Dhead.S1345 W(b) . @ fiq
/linux-4.4.14/drivers/pinctrl/sh-pfc/
H A Dpfc-r8a7740.c111 MSEL5CR_31_0, MSEL5CR_31_1, /* irq/fiq output */

Completed in 940 milliseconds