Home
last modified time | relevance | path

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

12345678

/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()
166 nvkm_fifo_cevent(struct nvkm_fifo *fifo) in nvkm_fifo_cevent()
[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()
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
Dgpfifogk104.c40 struct gk104_fifo *fifo = chan->fifo; in gk104_fifo_gpfifo_kick_locked() local
196 struct gk104_fifo *fifo = chan->fifo; in gk104_fifo_gpfifo_fini() local
214 struct gk104_fifo *fifo = chan->fifo; in gk104_fifo_gpfifo_init() local
252 gk104_fifo_gpfifo_new_(struct gk104_fifo *fifo, u64 *runlists, u16 *chid, in gk104_fifo_gpfifo_new_()
328 gk104_fifo_gpfifo_new(struct gk104_fifo *fifo, const struct nvkm_oclass *oclass, in gk104_fifo_gpfifo_new()
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()
/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/staging/fwserial/
Ddma_fifo.c21 #define FAIL(fifo, condition, format...) ({ \ argument
38 void dma_fifo_init(struct dma_fifo *fifo) in dma_fifo_init()
58 int dma_fifo_alloc(struct dma_fifo *fifo, int size, unsigned int align, in dma_fifo_alloc()
96 void dma_fifo_free(struct dma_fifo *fifo) in dma_fifo_free()
113 void dma_fifo_reset(struct dma_fifo *fifo) in dma_fifo_reset()
139 int dma_fifo_in(struct dma_fifo *fifo, const void *src, int n) in dma_fifo_in()
182 int dma_fifo_out_pend(struct dma_fifo *fifo, struct dma_pending *pended) in dma_fifo_out_pend()
242 int dma_fifo_out_complete(struct dma_fifo *fifo, struct dma_pending *complete) in dma_fifo_out_complete()
Ddma_fifo.h86 static inline int dma_fifo_level(struct dma_fifo *fifo) in dma_fifo_level()
92 static inline int dma_fifo_out_level(struct dma_fifo *fifo) in dma_fifo_out_level()
98 static inline int dma_fifo_avail(struct dma_fifo *fifo) in dma_fifo_avail()
104 static inline bool dma_fifo_busy(struct dma_fifo *fifo) in dma_fifo_busy()
110 static inline int dma_fifo_change_tx_limit(struct dma_fifo *fifo, int tx_limit) in dma_fifo_change_tx_limit()
/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.c35 u32 fifo; /* (u32*) address of fec's fifo */ member
55 u32 fifo; /* (u32*) address of fec's fifo */ member
75 phys_addr_t fifo; member
85 bcom_fec_rx_init(int queue_len, phys_addr_t fifo, int maxbufsize) in bcom_fec_rx_init()
187 bcom_fec_tx_init(int queue_len, phys_addr_t fifo) in bcom_fec_tx_init()
/drivers/staging/axis-fifo/
Daxis-fifo.c156 struct axis_fifo *fifo = dev_get_drvdata(dev); in sysfs_write() local
172 struct axis_fifo *fifo = dev_get_drvdata(dev); in sysfs_read() local
327 static void reset_ip_core(struct axis_fifo *fifo) in reset_ip_core()
357 struct axis_fifo *fifo = (struct axis_fifo *)f->private_data; in axis_fifo_read() local
479 struct axis_fifo *fifo = (struct axis_fifo *)f->private_data; in axis_fifo_write() local
581 struct axis_fifo *fifo = (struct axis_fifo *)dw; in axis_fifo_irq() local
687 struct axis_fifo *fifo = (struct axis_fifo *)container_of(inod->i_cdev, in axis_fifo_open() local
730 static int get_dts_property(struct axis_fifo *fifo, in get_dts_property()
747 static int axis_fifo_parse_dt(struct axis_fifo *fifo) in axis_fifo_parse_dt()
814 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/net/ethernet/neterion/vxge/
Dvxge-traffic.c217 void vxge_hw_vpath_tti_ci_set(struct __vxge_hw_fifo *fifo) in vxge_hw_vpath_tti_ci_set()
247 void vxge_hw_vpath_dynamic_tti_rtimer_set(struct __vxge_hw_fifo *fifo) in vxge_hw_vpath_dynamic_tti_rtimer_set()
1382 static void __vxge_hw_non_offload_db_post(struct __vxge_hw_fifo *fifo, in __vxge_hw_non_offload_db_post()
1424 struct __vxge_hw_fifo *fifo, in vxge_hw_fifo_txdl_reserve()
1478 void vxge_hw_fifo_txdl_buffer_set(struct __vxge_hw_fifo *fifo, in vxge_hw_fifo_txdl_buffer_set()
1522 void vxge_hw_fifo_txdl_post(struct __vxge_hw_fifo *fifo, void *txdlh) in vxge_hw_fifo_txdl_post()
1584 struct __vxge_hw_fifo *fifo, void **txdlh, in vxge_hw_fifo_txdl_next_completed()
1638 enum vxge_hw_status vxge_hw_fifo_handle_tcode(struct __vxge_hw_fifo *fifo, in vxge_hw_fifo_handle_tcode()
1678 void vxge_hw_fifo_txdl_free(struct __vxge_hw_fifo *fifo, void *txdlh) in vxge_hw_fifo_txdl_free()
2409 enum vxge_hw_status vxge_hw_vpath_poll_tx(struct __vxge_hw_fifo *fifo, in vxge_hw_vpath_poll_tx()
/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/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()

12345678