/openbmc/linux/include/linux/ |
H A D | kfifo.h | 102 #define __is_kfifo_ptr(fifo) \ argument 124 #define INIT_KFIFO(fifo) \ argument 209 #define kfifo_reset(fifo) \ argument 233 #define kfifo_len(fifo) \ argument 243 #define kfifo_is_empty(fifo) \ argument 284 #define kfifo_is_full(fifo) \ argument 294 #define kfifo_avail(fifo) \ argument 310 #define kfifo_skip(fifo) \ argument 327 #define kfifo_peek_len(fifo) \ argument 365 #define kfifo_free(fifo) \ argument [all …]
|
/openbmc/qemu/util/ |
H A D | fifo8.c | 19 void fifo8_reset(Fifo8 *fifo) in fifo8_reset() 25 void fifo8_create(Fifo8 *fifo, uint32_t capacity) in fifo8_create() 32 void fifo8_destroy(Fifo8 *fifo) in fifo8_destroy() 37 void fifo8_push(Fifo8 *fifo, uint8_t data) in fifo8_push() 44 void fifo8_push_all(Fifo8 *fifo, const uint8_t *data, uint32_t num) in fifo8_push_all() 63 uint8_t fifo8_pop(Fifo8 *fifo) in fifo8_pop() 134 void fifo8_drop(Fifo8 *fifo, uint32_t len) in fifo8_drop() 140 bool fifo8_is_empty(Fifo8 *fifo) in fifo8_is_empty() 145 bool fifo8_is_full(Fifo8 *fifo) in fifo8_is_full() 150 uint32_t fifo8_num_free(Fifo8 *fifo) in fifo8_num_free() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | fifo32.h | 21 Fifo8 fifo; member 33 static inline void fifo32_create(Fifo32 *fifo, uint32_t capacity) in fifo32_create() 46 static inline void fifo32_destroy(Fifo32 *fifo) in fifo32_destroy() 60 static inline uint32_t fifo32_num_free(Fifo32 *fifo) in fifo32_num_free() 74 static inline uint32_t fifo32_num_used(Fifo32 *fifo) in fifo32_num_used() 89 static inline void fifo32_push(Fifo32 *fifo, uint32_t data) in fifo32_push() 110 static inline void fifo32_push_all(Fifo32 *fifo, const uint32_t *data, in fifo32_push_all() 131 static inline uint32_t fifo32_pop(Fifo32 *fifo) in fifo32_pop() 155 static inline void fifo32_reset(Fifo32 *fifo) in fifo32_reset() 169 static inline bool fifo32_is_empty(Fifo32 *fifo) in fifo32_is_empty() [all …]
|
/openbmc/linux/lib/ |
H A D | kfifo.c | 19 static inline unsigned int kfifo_unused(struct __kfifo *fifo) in kfifo_unused() 24 int __kfifo_alloc(struct __kfifo *fifo, unsigned int size, in __kfifo_alloc() 55 void __kfifo_free(struct __kfifo *fifo) in __kfifo_free() 66 int __kfifo_init(struct __kfifo *fifo, void *buffer, in __kfifo_init() 113 unsigned int __kfifo_in(struct __kfifo *fifo, in __kfifo_in() 128 static void kfifo_copy_out(struct __kfifo *fifo, void *dst, in kfifo_copy_out() 152 unsigned int __kfifo_out_peek(struct __kfifo *fifo, in __kfifo_out_peek() 166 unsigned int __kfifo_out(struct __kfifo *fifo, in __kfifo_out() 270 int __kfifo_to_user(struct __kfifo *fifo, void __user *to, in __kfifo_to_user() 356 unsigned int __kfifo_dma_in_prepare(struct __kfifo *fifo, in __kfifo_dma_in_prepare() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | base.c | 55 nvkm_fifo_pause(struct nvkm_fifo *fifo, unsigned long *flags) in nvkm_fifo_pause() 61 nvkm_fifo_start(struct nvkm_fifo *fifo, unsigned long *flags) in nvkm_fifo_start() 67 nvkm_fifo_fault(struct nvkm_fifo *fifo, struct nvkm_fault_data *info) in nvkm_fifo_fault() 76 struct nvkm_fifo *fifo = nvkm_fifo(oclass->engine); in nvkm_fifo_class_new() local 96 struct nvkm_fifo *fifo = nvkm_fifo(oclass->engine); in nvkm_fifo_class_get() local 127 struct nvkm_fifo *fifo = nvkm_fifo(engine); in nvkm_fifo_fini() local 141 struct nvkm_fifo *fifo = nvkm_fifo(engine); in nvkm_fifo_init() local 171 struct nvkm_fifo *fifo = nvkm_fifo(engine); in nvkm_fifo_info() local 243 struct nvkm_fifo *fifo = nvkm_fifo(engine); in nvkm_fifo_oneinit() local 334 struct nvkm_fifo *fifo = nvkm_fifo(engine); in nvkm_fifo_dtor() local [all …]
|
H A D | nv04.c | 43 struct nvkm_fifo *fifo = chan->cgrp->runl->fifo; in nv04_chan_stop() local 94 struct nvkm_fifo *fifo = chan->cgrp->runl->fifo; in nv04_chan_start() local 183 struct nvkm_fifo *fifo = chan->cgrp->runl->fifo; in nv04_eobj_ramht_del() local 194 struct nvkm_fifo *fifo = chan->cgrp->runl->fifo; in nv04_eobj_ramht_add() local 212 nv04_fifo_pause(struct nvkm_fifo *fifo, unsigned long *pflags) in nv04_fifo_pause() 247 nv04_fifo_start(struct nvkm_fifo *fifo, unsigned long *pflags) in nv04_fifo_start() 354 nv04_fifo_intr_dma_pusher(struct nvkm_fifo *fifo, u32 chid) in nv04_fifo_intr_dma_pusher() 466 nv04_fifo_init(struct nvkm_fifo *fifo) in nv04_fifo_init() 494 nv04_fifo_runl_ctor(struct nvkm_fifo *fifo) in nv04_fifo_runl_ctor() 510 nv04_fifo_chid_ctor(struct nvkm_fifo *fifo, int nr) in nv04_fifo_chid_ctor() [all …]
|
H A D | gf100.c | 67 struct nvkm_fifo *fifo = chan->cgrp->runl->fifo; in gf100_chan_unbind() local 205 struct nvkm_fifo *fifo = runl->fifo; in gf100_engn_mmu_fault_triggered() local 225 struct nvkm_fifo *fifo = runl->fifo; in gf100_engn_mmu_fault_trigger() local 674 gf100_fifo_intr_sched(struct nvkm_fifo *fifo) in gf100_fifo_intr_sched() 720 gf100_fifo_intr_mmu_fault(struct nvkm_fifo *fifo) in gf100_fifo_intr_mmu_fault() 733 gf100_fifo_intr_pbdma(struct nvkm_fifo *fifo) in gf100_fifo_intr_pbdma() 751 gf100_fifo_intr_runlist(struct nvkm_fifo *fifo) in gf100_fifo_intr_runlist() 793 gf100_fifo_intr_engine(struct nvkm_fifo *fifo) in gf100_fifo_intr_engine() 895 gf100_fifo_init(struct nvkm_fifo *fifo) in gf100_fifo_init() 908 gf100_fifo_runl_ctor(struct nvkm_fifo *fifo) in gf100_fifo_runl_ctor() [all …]
|
H A D | gk104.c | 432 struct nvkm_fifo *fifo = runl->fifo; in gk104_runl_commit() local 609 gk104_fifo_intr_bind(struct nvkm_fifo *fifo) in gk104_fifo_intr_bind() 620 gk104_fifo_intr_chsw(struct nvkm_fifo *fifo) in gk104_fifo_intr_chsw() 631 gk104_fifo_intr_dropped_fault(struct nvkm_fifo *fifo) in gk104_fifo_intr_dropped_fault() 640 gk104_fifo_intr_runlist(struct nvkm_fifo *fifo) in gk104_fifo_intr_runlist() 654 struct nvkm_fifo *fifo = container_of(inth, typeof(*fifo), engine.subdev.inth); in gk104_fifo_intr() local 735 gk104_fifo_init_pbdmas(struct nvkm_fifo *fifo, u32 mask) in gk104_fifo_init_pbdmas() 744 gk104_fifo_init(struct nvkm_fifo *fifo) in gk104_fifo_init() 756 gk104_fifo_runl_ctor(struct nvkm_fifo *fifo) in gk104_fifo_runl_ctor() 802 gk104_fifo_chid_nr(struct nvkm_fifo *fifo) in gk104_fifo_chid_nr()
|
H A D | runl.c | 60 struct nvkm_fifo *fifo = runl->fifo; in nvkm_runl_rc() local 283 struct nvkm_fifo *fifo = runl->fifo; in nvkm_runl_allow() local 297 struct nvkm_fifo *fifo = runl->fifo; in nvkm_runl_block() local 341 struct nvkm_fifo *fifo = runl->fifo; in nvkm_runl_add() local 382 nvkm_runl_get(struct nvkm_fifo *fifo, int runi, u32 addr) in nvkm_runl_get() 395 nvkm_runl_new(struct nvkm_fifo *fifo, int runi, u32 addr, int id_nr) in nvkm_runl_new()
|
H A D | tu102.c | 168 tu102_fifo_intr_ctxsw_timeout(struct nvkm_fifo *fifo) in tu102_fifo_intr_ctxsw_timeout() 187 tu102_fifo_intr_sched(struct nvkm_fifo *fifo) in tu102_fifo_intr_sched() 199 struct nvkm_fifo *fifo = container_of(inth, typeof(*fifo), engine.subdev.inth); in tu102_fifo_intr() local 256 tu102_fifo_init_pbdmas(struct nvkm_fifo *fifo, u32 mask) in tu102_fifo_init_pbdmas()
|
H A D | gm200.c | 29 gm200_fifo_runq_nr(struct nvkm_fifo *fifo) in gm200_fifo_runq_nr() 35 gm200_fifo_chid_nr(struct nvkm_fifo *fifo) in gm200_fifo_chid_nr()
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-fifo.c | 68 static void __dma_enable(struct axg_fifo *fifo, bool enable) in __dma_enable() 77 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_trigger() local 101 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_pointer() local 116 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_hw_params() local 160 struct axg_fifo *fifo = axg_fifo_data(ss); in g12a_fifo_pcm_hw_params() local 178 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_hw_free() local 188 static void axg_fifo_ack_irq(struct axg_fifo *fifo, u8 mask) in axg_fifo_ack_irq() 203 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_irq_block() local 225 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_open() local 292 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_close() local [all …]
|
H A D | aiu-fifo.c | 37 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_pointer() local 49 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_enable() local 83 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_prepare() local 101 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_hw_params() local 135 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_startup() local 171 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_shutdown() local 181 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_pcm_new() local 197 struct aiu_fifo *fifo; in aiu_fifo_dai_probe() local 210 struct aiu_fifo *fifo = snd_soc_dai_dma_data_get_playback(dai); in aiu_fifo_dai_remove() local
|
H A D | axg-toddr.c | 40 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in g12a_toddr_dai_prepare() local 57 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in axg_toddr_dai_hw_params() local 90 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in axg_toddr_dai_startup() local 114 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in axg_toddr_dai_shutdown() local 195 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in g12a_toddr_dai_startup() local
|
/openbmc/linux/drivers/usb/renesas_usbhs/ |
H A D | fifo.c | 258 struct usbhs_fifo *fifo) in usbhsf_send_terminator() 276 struct usbhs_fifo *fifo) in usbhsf_fifo_clear() 308 struct usbhs_fifo *fifo) in usbhsf_fifo_unselect() 317 struct usbhs_fifo *fifo, in usbhsf_fifo_select() 782 struct usbhs_fifo *fifo; in usbhsf_get_dma_fifo() local 821 struct usbhs_fifo *fifo; in usbhsf_dma_xfer_preparing() local 880 struct usbhs_fifo *fifo; in usbhsf_dma_prepare_push() local 992 struct usbhs_fifo *fifo; in usbhsf_dma_prepare_pop_with_usb_dmac() local 1065 struct usbhs_fifo *fifo; in usbhsf_dma_try_pop_with_rx_irq() local 1461 struct usbhs_fifo *fifo; in usbhs_fifo_probe() local [all …]
|
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-udc.h | 49 #define DCFESR_FIFO_EMPTY(fifo) (1 << 8 << (fifo)) argument 78 #define DMISGR1_MF_IN_INT(fifo) (1 << (16 + (fifo))) argument 111 #define DISGR1_OUT_INT(fifo) (1 << ((fifo) * 2)) argument 112 #define DISGR1_SPK_INT(fifo) (1 << 1 << ((fifo) * 2)) argument 113 #define DISGR1_IN_INT(fifo) (1 << 16 << (fifo)) argument 167 #define FIFOMAP_DIROUT(fifo) (0x0 << 4 << (fifo) * 8) argument 168 #define FIFOMAP_DIRIN(fifo) (0x1 << 4 << (fifo) * 8) argument 169 #define FIFOMAP_BIDIR(fifo) (0x2 << 4 << (fifo) * 8) argument 170 #define FIFOMAP_NA(fifo) (0x3 << 4 << (fifo) * 8) argument 185 #define FOTG210_FIBCR(fifo) (0x1B0 + (fifo) * 4) argument [all …]
|
/openbmc/linux/drivers/md/bcache/ |
H A D | util.h | 120 #define fifo_for_each(c, fifo, iter) \ argument 125 #define __init_fifo(fifo, gfp) \ argument 146 #define init_fifo(fifo, _size, gfp) \ argument 154 #define free_fifo(fifo) \ argument 163 #define fifo_empty(fifo) (!fifo_used(fifo)) argument 164 #define fifo_full(fifo) (!fifo_free(fifo)) argument 167 #define fifo_back(fifo) \ argument 172 #define fifo_push_back(fifo, i) \ argument 182 #define fifo_pop_front(fifo, i) \ argument 192 #define fifo_push_front(fifo, i) \ argument [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_mbx.c | 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() 298 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_validate_msg_size() local 333 struct fm10k_mbx_fifo *fifo = &mbx->tx; in fm10k_mbx_write_copy() local 386 struct fm10k_mbx_fifo *fifo = &mbx->tx; in fm10k_mbx_pull_head() local 426 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_read_copy() local 475 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_push_tail() local 640 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_verify_remote_crc() local 705 struct fm10k_mbx_fifo *fifo = &mbx->rx; in fm10k_mbx_dequeue_rx() local 856 struct fm10k_mbx_fifo *fifo = &mbx->tx; in fm10k_mbx_create_data_hdr() local [all …]
|
/openbmc/linux/drivers/misc/ |
H A D | hpilo.h | 165 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
|
/openbmc/linux/drivers/platform/mellanox/ |
H A D | mlxbf-tmfifo.c | 95 struct mlxbf_tmfifo *fifo; member 155 struct mlxbf_tmfifo *fifo; member 606 struct mlxbf_tmfifo *fifo = vring->fifo; in mlxbf_tmfifo_rxtx_word() local 658 struct mlxbf_tmfifo *fifo = vring->fifo; in mlxbf_tmfifo_rxtx_header() local 737 struct mlxbf_tmfifo *fifo = vring->fifo; in mlxbf_tmfifo_rxtx_one_desc() local 877 struct mlxbf_tmfifo *fifo; in mlxbf_tmfifo_rxtx() local 957 struct mlxbf_tmfifo *fifo; in mlxbf_tmfifo_work_handler() local 981 struct mlxbf_tmfifo *fifo; in mlxbf_tmfifo_virtio_notify() local 1189 struct mlxbf_tmfifo *fifo, in mlxbf_tmfifo_create_vdev() 1335 struct mlxbf_tmfifo *fifo; in mlxbf_tmfifo_probe() local [all …]
|
/openbmc/linux/drivers/dma/bestcomm/ |
H A D | gen_bd.c | 36 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()
|
H A D | fec.c | 31 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()
|
/openbmc/linux/drivers/staging/axis-fifo/ |
H A D | axis-fifo.c | 150 struct axis_fifo *fifo = dev_get_drvdata(dev); in sysfs_write() local 166 struct axis_fifo *fifo = dev_get_drvdata(dev); in sysfs_read() local 326 static void reset_ip_core(struct axis_fifo *fifo) in reset_ip_core() 356 struct axis_fifo *fifo = (struct axis_fifo *)f->private_data; in axis_fifo_read() local 476 struct axis_fifo *fifo = (struct axis_fifo *)f->private_data; in axis_fifo_write() local 576 struct axis_fifo *fifo = (struct axis_fifo *)dw; in axis_fifo_irq() local 682 struct axis_fifo *fifo = container_of(f->private_data, in axis_fifo_open() local 725 static int get_dts_property(struct axis_fifo *fifo, in get_dts_property() 742 static int axis_fifo_parse_dt(struct axis_fifo *fifo) in axis_fifo_parse_dt() 808 struct axis_fifo *fifo = NULL; in axis_fifo_probe() local [all …]
|
/openbmc/sdeventplus/example/ |
H A D | follow.cpp | 19 void reader(const char* fifo, sdeventplus::source::IO& source, int fd, uint32_t) in reader() 50 void remover(const char* fifo, sdeventplus::source::EventBase& source) in remover() 74 const char* fifo = argv[1]; in main() local
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mpc512x-psc.c | 55 struct mpc512x_psc_fifo __iomem *fifo; member 147 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_transfer_rxtx() local 346 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_unprep_xfer_hw() local 386 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_port_config() local 445 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_isr() local
|