Home
last modified time | relevance | path

Searched defs:fifo (Results 1 – 25 of 173) sorted by relevance

1234567

/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dbase.c37 nvkm_fifo_recover_chan(struct nvkm_fifo *fifo, int chid) in nvkm_fifo_recover_chan()
48 nvkm_fifo_pause(struct nvkm_fifo *fifo, unsigned long *flags) in nvkm_fifo_pause()
54 nvkm_fifo_start(struct nvkm_fifo *fifo, unsigned long *flags) in nvkm_fifo_start()
60 nvkm_fifo_fault(struct nvkm_fifo *fifo, struct nvkm_fault_data *info) in nvkm_fifo_fault()
66 nvkm_fifo_chan_put(struct nvkm_fifo *fifo, unsigned long flags, in nvkm_fifo_chan_put()
77 nvkm_fifo_chan_inst_locked(struct nvkm_fifo *fifo, u64 inst) in nvkm_fifo_chan_inst_locked()
91 nvkm_fifo_chan_inst(struct nvkm_fifo *fifo, u64 inst, unsigned long *rflags) in nvkm_fifo_chan_inst()
105 nvkm_fifo_chan_chid(struct nvkm_fifo *fifo, int chid, unsigned long *rflags) in nvkm_fifo_chan_chid()
123 nvkm_fifo_kevent(struct nvkm_fifo *fifo, int chid) in nvkm_fifo_kevent()
150 struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), uevent); in nvkm_fifo_uevent_fini() local
[all …]
Dgk104.c40 gk104_fifo_engine_status(struct gk104_fifo *fifo, int engn, in gk104_fifo_engine_status()
90 struct gk104_fifo *fifo = gk104_fifo(base); in gk104_fifo_class_new() local
107 struct gk104_fifo *fifo = gk104_fifo(base); in gk104_fifo_class_get() local
126 gk104_fifo_uevent_fini(struct nvkm_fifo *fifo) in gk104_fifo_uevent_fini()
133 gk104_fifo_uevent_init(struct nvkm_fifo *fifo) in gk104_fifo_uevent_init()
140 gk104_fifo_runlist_commit(struct gk104_fifo *fifo, int runl, in gk104_fifo_runlist_commit()
167 gk104_fifo_runlist_update(struct gk104_fifo *fifo, int runl) in gk104_fifo_runlist_update()
197 gk104_fifo_runlist_remove(struct gk104_fifo *fifo, struct gk104_fifo_chan *chan) in gk104_fifo_runlist_remove()
210 gk104_fifo_runlist_insert(struct gk104_fifo *fifo, struct gk104_fifo_chan *chan) in gk104_fifo_runlist_insert()
240 gk104_fifo_pbdma_init(struct gk104_fifo *fifo) in gk104_fifo_pbdma_init()
[all …]
Dgf100.c37 gf100_fifo_uevent_init(struct nvkm_fifo *fifo) in gf100_fifo_uevent_init()
44 gf100_fifo_uevent_fini(struct nvkm_fifo *fifo) in gf100_fifo_uevent_fini()
51 gf100_fifo_runlist_commit(struct gf100_fifo *fifo) in gf100_fifo_runlist_commit()
93 gf100_fifo_runlist_remove(struct gf100_fifo *fifo, struct gf100_fifo_chan *chan) in gf100_fifo_runlist_remove()
101 gf100_fifo_runlist_insert(struct gf100_fifo *fifo, struct gf100_fifo_chan *chan) in gf100_fifo_runlist_insert()
109 gf100_fifo_id_engine(struct nvkm_fifo *fifo, int engi) in gf100_fifo_id_engine()
149 struct gf100_fifo *fifo = container_of(w, typeof(*fifo), recover.work); in gf100_fifo_recover_work() local
175 gf100_fifo_recover(struct gf100_fifo *fifo, struct nvkm_engine *engine, in gf100_fifo_recover()
259 struct gf100_fifo *fifo = gf100_fifo(base); in gf100_fifo_fault() local
317 gf100_fifo_intr_sched_ctxsw(struct gf100_fifo *fifo) in gf100_fifo_intr_sched_ctxsw()
[all …]
Dtu102.c38 tu102_fifo_runlist_commit(struct gk104_fifo *fifo, int runl, in tu102_fifo_runlist_commit()
89 tu102_fifo_pbdma_init(struct gk104_fifo *fifo) in tu102_fifo_pbdma_init()
121 struct gk104_fifo *fifo = container_of(w, typeof(*fifo), recover.work); in tu102_fifo_recover_work() local
153 tu102_fifo_recover_runl(struct gk104_fifo *fifo, int runl) in tu102_fifo_recover_runl()
173 tu102_fifo_recover_chid(struct gk104_fifo *fifo, int runl, int chid) in tu102_fifo_recover_chid()
201 struct gk104_fifo *fifo = gk104_fifo(base); in tu102_fifo_recover_chan() local
240 tu102_fifo_recover_engn(struct gk104_fifo *fifo, int engn) in tu102_fifo_recover_engn()
274 struct gk104_fifo *fifo = gk104_fifo(base); in tu102_fifo_fault() local
354 tu102_fifo_intr_ctxsw_timeout(struct gk104_fifo *fifo) in tu102_fifo_intr_ctxsw_timeout()
372 tu102_fifo_intr_sched(struct gk104_fifo *fifo) in tu102_fifo_intr_sched()
[all …]
Dnv50.c30 nv50_fifo_runlist_update_locked(struct nv50_fifo *fifo) in nv50_fifo_runlist_update_locked()
52 nv50_fifo_runlist_update(struct nv50_fifo *fifo) in nv50_fifo_runlist_update()
62 struct nv50_fifo *fifo = nv50_fifo(base); in nv50_fifo_oneinit() local
78 struct nv50_fifo *fifo = nv50_fifo(base); in nv50_fifo_init() local
102 struct nv50_fifo *fifo = nv50_fifo(base); in nv50_fifo_dtor() local
112 struct nv50_fifo *fifo; in nv50_fifo_new_() local
Dnv04.c51 struct nv04_fifo *fifo = nv04_fifo(base); in nv04_fifo_pause() local
87 struct nv04_fifo *fifo = nv04_fifo(base); in nv04_fifo_start() local
98 nv04_fifo_id_engine(struct nvkm_fifo *fifo, int engi) in nv04_fifo_id_engine()
169 nv04_fifo_cache_error(struct nv04_fifo *fifo, u32 chid, u32 get) in nv04_fifo_cache_error()
220 nv04_fifo_dma_pusher(struct nv04_fifo *fifo, u32 chid) in nv04_fifo_dma_pusher()
274 struct nv04_fifo *fifo = nv04_fifo(base); in nv04_fifo_intr() local
333 struct nv04_fifo *fifo = nv04_fifo(base); in nv04_fifo_init() local
364 struct nv04_fifo *fifo; in nv04_fifo_new_() local
Dg84.c28 g84_fifo_uevent_fini(struct nvkm_fifo *fifo) in g84_fifo_uevent_fini()
35 g84_fifo_uevent_init(struct nvkm_fifo *fifo) in g84_fifo_uevent_init()
42 g84_fifo_id_engine(struct nvkm_fifo *fifo, int engi) in g84_fifo_id_engine()
Dgpfifogk104.c40 struct gk104_fifo *fifo = chan->fifo; in gk104_fifo_gpfifo_kick_locked() local
202 struct gk104_fifo *fifo = chan->fifo; in gk104_fifo_gpfifo_fini() local
220 struct gk104_fifo *fifo = chan->fifo; in gk104_fifo_gpfifo_init() local
257 gk104_fifo_gpfifo_new_(struct gk104_fifo *fifo, u64 *runlists, u16 *chid, in gk104_fifo_gpfifo_new_()
333 gk104_fifo_gpfifo_new(struct gk104_fifo *fifo, const struct nvkm_oclass *oclass, in gk104_fifo_gpfifo_new()
Ddmanv04.c77 struct nv04_fifo *fifo = chan->fifo; in nv04_fifo_dma_fini() local
130 struct nv04_fifo *fifo = chan->fifo; in nv04_fifo_dma_init() local
143 struct nv04_fifo *fifo = chan->fifo; in nv04_fifo_dma_dtor() local
172 struct nv04_fifo *fifo = nv04_fifo(base); in nv04_fifo_dma_new() local
Dchannv50.c59 struct nv50_fifo *fifo = chan->fifo; in nv50_fifo_chan_engine_fini() local
190 struct nv50_fifo *fifo = chan->fifo; in nv50_fifo_chan_fini() local
204 struct nv50_fifo *fifo = chan->fifo; in nv50_fifo_chan_init() local
239 nv50_fifo_chan_ctor(struct nv50_fifo *fifo, u64 vmm, u64 push, in nv50_fifo_chan_ctor()
Dchang84.c74 struct nv50_fifo *fifo = chan->fifo; in g84_fifo_chan_engine_fini() local
187 struct nv50_fifo *fifo = chan->fifo; in g84_fifo_chan_init() local
211 g84_fifo_chan_ctor(struct nv50_fifo *fifo, u64 vmm, u64 push, in g84_fifo_chan_ctor()
/drivers/usb/renesas_usbhs/
Dfifo.c109 struct usbhs_fifo *fifo = usbhs_pipe_to_fifo(pipe); in usbhs_pkt_pop() local
258 struct usbhs_fifo *fifo) in usbhsf_send_terminator()
266 struct usbhs_fifo *fifo) in usbhsf_fifo_barrier()
276 struct usbhs_fifo *fifo) in usbhsf_fifo_clear()
302 struct usbhs_fifo *fifo) in usbhsf_fifo_rcv_len()
308 struct usbhs_fifo *fifo) in usbhsf_fifo_unselect()
317 struct usbhs_fifo *fifo, in usbhsf_fifo_select()
361 struct usbhs_fifo *fifo = usbhsf_get_cfifo(priv); /* CFIFO */ in usbhs_dcp_dir_switch_to_write() local
390 struct usbhs_fifo *fifo = usbhsf_get_cfifo(priv); /* CFIFO */ in usbhs_dcp_dir_switch_to_read() local
468 struct usbhs_fifo *fifo = usbhsf_get_cfifo(priv); in usbhsf_dcp_data_stage_prepare_pop() local
[all …]
/drivers/usb/gadget/udc/
Dfotg210.h49 #define DCFESR_FIFO_EMPTY(fifo) (1 << 8 << (fifo)) argument
76 #define DMISGR1_MF_IN_INT(fifo) (1 << (16 + (fifo))) argument
85 #define DMISGR1_MF_OUTSPK_INT(fifo) (0x3 << (fifo) * 2) argument
109 #define DISGR1_OUT_INT(fifo) (1 << ((fifo) * 2)) argument
110 #define DISGR1_SPK_INT(fifo) (1 << 1 << ((fifo) * 2)) argument
111 #define DISGR1_IN_INT(fifo) (1 << 16 << (fifo)) argument
165 #define FIFOMAP_DIROUT(fifo) (0x0 << 4 << (fifo) * 8) argument
166 #define FIFOMAP_DIRIN(fifo) (0x1 << 4 << (fifo) * 8) argument
167 #define FIFOMAP_BIDIR(fifo) (0x2 << 4 << (fifo) * 8) argument
168 #define FIFOMAP_NA(fifo) (0x3 << 4 << (fifo) * 8) argument
[all …]
/drivers/net/ethernet/intel/fm10k/
Dfm10k_mbx.c12 static void fm10k_fifo_init(struct fm10k_mbx_fifo *fifo, u32 *buffer, u16 size) in fm10k_fifo_init()
26 static u16 fm10k_fifo_used(struct fm10k_mbx_fifo *fifo) in fm10k_fifo_used()
37 static u16 fm10k_fifo_unused(struct fm10k_mbx_fifo *fifo) in fm10k_fifo_unused()
48 static bool fm10k_fifo_empty(struct fm10k_mbx_fifo *fifo) in fm10k_fifo_empty()
60 static u16 fm10k_fifo_head_offset(struct fm10k_mbx_fifo *fifo, u16 offset) in fm10k_fifo_head_offset()
72 static u16 fm10k_fifo_tail_offset(struct fm10k_mbx_fifo *fifo, u16 offset) in fm10k_fifo_tail_offset()
83 static u16 fm10k_fifo_head_len(struct fm10k_mbx_fifo *fifo) in fm10k_fifo_head_len()
101 static u16 fm10k_fifo_head_drop(struct fm10k_mbx_fifo *fifo) in fm10k_fifo_head_drop()
118 static void fm10k_fifo_drop_all(struct fm10k_mbx_fifo *fifo) in fm10k_fifo_drop_all()
236 static void fm10k_fifo_write_copy(struct fm10k_mbx_fifo *fifo, in fm10k_fifo_write_copy()
[all …]
/drivers/md/bcache/
Dutil.h120 #define fifo_for_each(c, fifo, iter) \ argument
125 #define __init_fifo(fifo, gfp) \ argument
140 #define init_fifo_exact(fifo, _size, gfp) \ argument
146 #define init_fifo(fifo, _size, gfp) \ argument
154 #define free_fifo(fifo) \ argument
160 #define fifo_used(fifo) (((fifo)->back - (fifo)->front) & (fifo)->mask) argument
161 #define fifo_free(fifo) ((fifo)->size - fifo_used(fifo)) argument
163 #define fifo_empty(fifo) (!fifo_used(fifo)) argument
164 #define fifo_full(fifo) (!fifo_free(fifo)) argument
166 #define fifo_front(fifo) ((fifo)->data[(fifo)->front]) argument
[all …]
/drivers/platform/mellanox/
Dmlxbf-tmfifo.c85 struct mlxbf_tmfifo *fifo; member
144 struct mlxbf_tmfifo *fifo; member
218 static void mlxbf_tmfifo_free_vrings(struct mlxbf_tmfifo *fifo, in mlxbf_tmfifo_free_vrings()
240 static int mlxbf_tmfifo_alloc_vrings(struct mlxbf_tmfifo *fifo, in mlxbf_tmfifo_alloc_vrings()
275 static void mlxbf_tmfifo_disable_irqs(struct mlxbf_tmfifo *fifo) in mlxbf_tmfifo_disable_irqs()
412 struct mlxbf_tmfifo *fifo = container_of(t, struct mlxbf_tmfifo, timer); in mlxbf_tmfifo_timer() local
482 static int mlxbf_tmfifo_get_rx_avail(struct mlxbf_tmfifo *fifo) in mlxbf_tmfifo_get_rx_avail()
491 static int mlxbf_tmfifo_get_tx_avail(struct mlxbf_tmfifo *fifo, int vdev_id) in mlxbf_tmfifo_get_tx_avail()
509 static void mlxbf_tmfifo_console_tx(struct mlxbf_tmfifo *fifo, int avail) in mlxbf_tmfifo_console_tx()
578 struct mlxbf_tmfifo *fifo = vring->fifo; in mlxbf_tmfifo_rxtx_word() local
[all …]
/drivers/misc/
Dhpilo.h165 struct fifo { struct
166 u64 nrents; /* user requested number of fifo entries */ argument
167 u64 imask; /* mask to extract valid fifo index */ argument
178 u64 fifobar[]; argument
181 /* convert between struct fifo, and the fifobar, which is saved in the ccb */ argument
/drivers/dma/bestcomm/
Dgen_bd.c36 u32 fifo; /* (u32*) address of gen_bd's fifo */ member
53 u32 fifo; /* (u32*) address of gen_bd's fifo */ member
73 phys_addr_t fifo; member
85 bcom_gen_bd_rx_init(int queue_len, phys_addr_t fifo, in bcom_gen_bd_rx_init()
170 bcom_gen_bd_tx_init(int queue_len, phys_addr_t fifo, in bcom_gen_bd_tx_init()
316 phys_addr_t fifo, int maxbufsize) in bcom_psc_gen_bd_rx_init()
337 bcom_psc_gen_bd_tx_init(unsigned psc_num, int queue_len, phys_addr_t fifo) in bcom_psc_gen_bd_tx_init()
Dfec.c31 u32 fifo; /* (u32*) address of fec's fifo */ member
51 u32 fifo; /* (u32*) address of fec's fifo */ member
71 phys_addr_t fifo; member
81 bcom_fec_rx_init(int queue_len, phys_addr_t fifo, int maxbufsize) in bcom_fec_rx_init()
183 bcom_fec_tx_init(int queue_len, phys_addr_t fifo) in bcom_fec_tx_init()
/drivers/staging/axis-fifo/
Daxis-fifo.c152 struct axis_fifo *fifo = dev_get_drvdata(dev); in sysfs_write() local
168 struct axis_fifo *fifo = dev_get_drvdata(dev); in sysfs_read() local
328 static void reset_ip_core(struct axis_fifo *fifo) in reset_ip_core()
358 struct axis_fifo *fifo = (struct axis_fifo *)f->private_data; in axis_fifo_read() local
478 struct axis_fifo *fifo = (struct axis_fifo *)f->private_data; in axis_fifo_write() local
578 struct axis_fifo *fifo = (struct axis_fifo *)dw; in axis_fifo_irq() local
684 struct axis_fifo *fifo = container_of(f->private_data, in axis_fifo_open() local
727 static int get_dts_property(struct axis_fifo *fifo, in get_dts_property()
744 static int axis_fifo_parse_dt(struct axis_fifo *fifo) in axis_fifo_parse_dt()
810 struct axis_fifo *fifo = NULL; in axis_fifo_probe() local
[all …]
/drivers/mailbox/
Domap-mailbox.c66 struct kfifo fifo; member
146 struct omap_mbox_fifo *fifo = &mbox->rx_fifo; in mbox_fifo_read() local
153 struct omap_mbox_fifo *fifo = &mbox->tx_fifo; in mbox_fifo_write() local
160 struct omap_mbox_fifo *fifo = &mbox->rx_fifo; in mbox_fifo_empty() local
167 struct omap_mbox_fifo *fifo = &mbox->tx_fifo; in mbox_fifo_full() local
175 struct omap_mbox_fifo *fifo = (irq == IRQ_TX) ? in ack_mbox_irq() local
188 struct omap_mbox_fifo *fifo = (irq == IRQ_TX) ? in is_mbox_irq() local
203 struct omap_mbox_fifo *fifo = (irq == IRQ_TX) ? in _omap_mbox_enable_irq() local
215 struct omap_mbox_fifo *fifo = (irq == IRQ_TX) ? in _omap_mbox_disable_irq() local
604 u32 usr, fifo, reg; in omap_mbox_suspend() local
[all …]
/drivers/isdn/hardware/mISDN/
Dhfcsusb.c803 hfcsusb_rx_frame(struct usb_fifo *fifo, __u8 *data, unsigned int len, in hfcsusb_rx_frame()
966 struct usb_fifo *fifo = context_iso_urb->owner_fifo; in rx_iso_complete() local
1088 struct usb_fifo *fifo = (struct usb_fifo *) urb->context; in rx_int_complete() local
1160 struct usb_fifo *fifo = context_iso_urb->owner_fifo; in tx_iso_complete() local
1380 start_isoc_chain(struct usb_fifo *fifo, int num_packets_per_urb, in start_isoc_chain()
1447 stop_iso_gracefull(struct usb_fifo *fifo) in stop_iso_gracefull()
1473 stop_int_gracefull(struct usb_fifo *fifo) in stop_int_gracefull()
1496 start_int_fifo(struct usb_fifo *fifo) in start_int_fifo()
1548 struct usb_fifo *fifo; in reset_hfcsusb() local
/drivers/spi/
Dspi-mpc512x-psc.c59 struct mpc512x_psc_fifo __iomem *fifo; member
163 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_transfer_rxtx() local
362 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_unprep_xfer_hw() local
402 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_port_config() local
461 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_isr() local
/drivers/net/ethernet/google/gve/
Dgve_tx.c30 static int gve_tx_fifo_init(struct gve_priv *priv, struct gve_tx_fifo *fifo) in gve_tx_fifo_init()
46 static void gve_tx_fifo_release(struct gve_priv *priv, struct gve_tx_fifo *fifo) in gve_tx_fifo_release()
54 static int gve_tx_fifo_pad_alloc_one_frag(struct gve_tx_fifo *fifo, in gve_tx_fifo_pad_alloc_one_frag()
60 static bool gve_tx_fifo_can_alloc(struct gve_tx_fifo *fifo, size_t bytes) in gve_tx_fifo_can_alloc()
75 static int gve_tx_alloc_fifo(struct gve_tx_fifo *fifo, size_t bytes, in gve_tx_alloc_fifo()
130 static void gve_tx_free_fifo(struct gve_tx_fifo *fifo, size_t bytes) in gve_tx_free_fifo()
/drivers/net/ethernet/tehuti/
Dtehuti.h142 struct fifo { struct
143 dma_addr_t da; /* physical address of fifo (used by HW) */ argument
144 char *va; /* virtual address of fifo (used by SW) */ argument
149 u16 memsz; /* memory size allocated for fifo */ argument
156 struct fifo m; /* minimal set of variables used by all fifos */ argument

1234567