/linux-6.6.21/include/linux/ |
D | kfifo.h | 102 #define __is_kfifo_ptr(fifo) \ argument 110 #define DECLARE_KFIFO_PTR(fifo, type) STRUCT_KFIFO_PTR(type) fifo argument 118 #define DECLARE_KFIFO(fifo, type, size) STRUCT_KFIFO(type, size) fifo argument 124 #define INIT_KFIFO(fifo) \ argument 143 #define DEFINE_KFIFO(fifo, type, size) \ argument 181 #define kfifo_initialized(fifo) ((fifo)->kfifo.mask) argument 187 #define kfifo_esize(fifo) ((fifo)->kfifo.esize) argument 193 #define kfifo_recsize(fifo) (sizeof(*(fifo)->rectype)) argument 199 #define kfifo_size(fifo) ((fifo)->kfifo.mask + 1) argument 209 #define kfifo_reset(fifo) \ argument [all …]
|
/linux-6.6.21/lib/ |
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() 89 static void kfifo_copy_in(struct __kfifo *fifo, const void *src, in kfifo_copy_in() 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() 175 static unsigned long kfifo_copy_from_user(struct __kfifo *fifo, in kfifo_copy_from_user() [all …]
|
/linux-6.6.21/sound/soc/meson/ |
D | axg-fifo.c | 67 static void __dma_enable(struct axg_fifo *fifo, bool enable) in __dma_enable() 76 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_trigger() local 100 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_pointer() local 115 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_hw_params() local 159 struct axg_fifo *fifo = axg_fifo_data(ss); in g12a_fifo_pcm_hw_params() local 177 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_hw_free() local 187 static void axg_fifo_ack_irq(struct axg_fifo *fifo, u8 mask) in axg_fifo_ack_irq() 202 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_irq_block() local 223 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_open() local 288 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_close() local [all …]
|
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
|
D | axg-toddr.c | 42 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in g12a_toddr_dai_prepare() local 59 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in axg_toddr_dai_hw_params() local 92 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in axg_toddr_dai_startup() local 116 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in axg_toddr_dai_shutdown() local 197 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in g12a_toddr_dai_startup() local
|
D | axg-frddr.c | 37 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in g12a_frddr_dai_prepare() local 54 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in axg_frddr_dai_hw_params() local 71 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in axg_frddr_dai_startup() local 88 struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); in axg_frddr_dai_shutdown() local
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
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 …]
|
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() 303 nv04_fifo_intr_cache_error(struct nvkm_fifo *fifo, u32 chid, u32 get) in nv04_fifo_intr_cache_error() 354 nv04_fifo_intr_dma_pusher(struct nvkm_fifo *fifo, u32 chid) in nv04_fifo_intr_dma_pusher() 408 struct nvkm_fifo *fifo = container_of(inth, typeof(*fifo), engine.subdev.inth); in nv04_fifo_intr() local 466 nv04_fifo_init(struct nvkm_fifo *fifo) in nv04_fifo_init() [all …]
|
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 442 struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), nonstall.event); in gf100_fifo_nonstall_allow() local 453 struct nvkm_fifo *fifo = container_of(event, typeof(*fifo), nonstall.event); in gf100_fifo_nonstall_block() local 534 gf100_fifo_mmu_fault_recover(struct nvkm_fifo *fifo, struct nvkm_fault_data *info) in gf100_fifo_mmu_fault_recover() 618 gf100_fifo_intr_ctxsw_timeout(struct nvkm_fifo *fifo, u32 engm) in gf100_fifo_intr_ctxsw_timeout() 645 gf100_fifo_intr_sched_ctxsw(struct nvkm_fifo *fifo) in gf100_fifo_intr_sched_ctxsw() 674 gf100_fifo_intr_sched(struct nvkm_fifo *fifo) in gf100_fifo_intr_sched() 696 gf100_fifo_intr_mmu_fault_unit(struct nvkm_fifo *fifo, int unit) in gf100_fifo_intr_mmu_fault_unit() [all …]
|
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()
|
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()
|
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()
|
D | runq.h | 15 struct nvkm_fifo *fifo; member 24 #define nvkm_runq_foreach(runq,fifo) list_for_each_entry((runq), &(fifo)->runqs, head) argument 25 #define nvkm_runq_foreach_cond(runq,fifo,cond) nvkm_list_foreach(runq, &(fifo)->runqs, head, (cond)) argument
|
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()
|
/linux-6.6.21/drivers/usb/renesas_usbhs/ |
D | fifo.c | 109 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 …]
|
/linux-6.6.21/drivers/usb/fotg210/ |
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 87 #define DMISGR1_MF_OUTSPK_INT(fifo) (0x3 << (fifo) * 2) 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 [all …]
|
/linux-6.6.21/drivers/md/bcache/ |
D | util.h | 120 #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 …]
|
/linux-6.6.21/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_mbx.c | 12 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 …]
|
/linux-6.6.21/drivers/misc/ |
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
|
/linux-6.6.21/drivers/platform/mellanox/ |
D | mlxbf-tmfifo.c | 95 struct mlxbf_tmfifo *fifo; member 155 struct mlxbf_tmfifo *fifo; member 246 static void mlxbf_tmfifo_free_vrings(struct mlxbf_tmfifo *fifo, in mlxbf_tmfifo_free_vrings() 268 static int mlxbf_tmfifo_alloc_vrings(struct mlxbf_tmfifo *fifo, in mlxbf_tmfifo_alloc_vrings() 303 static void mlxbf_tmfifo_disable_irqs(struct mlxbf_tmfifo *fifo) in mlxbf_tmfifo_disable_irqs() 440 struct mlxbf_tmfifo *fifo = container_of(t, struct mlxbf_tmfifo, timer); in mlxbf_tmfifo_timer() local 510 static int mlxbf_tmfifo_get_rx_avail(struct mlxbf_tmfifo *fifo) in mlxbf_tmfifo_get_rx_avail() 519 static int mlxbf_tmfifo_get_tx_avail(struct mlxbf_tmfifo *fifo, int vdev_id) in mlxbf_tmfifo_get_tx_avail() 537 static void mlxbf_tmfifo_console_tx(struct mlxbf_tmfifo *fifo, int avail) in mlxbf_tmfifo_console_tx() 606 struct mlxbf_tmfifo *fifo = vring->fifo; in mlxbf_tmfifo_rxtx_word() local [all …]
|
/linux-6.6.21/drivers/dma/bestcomm/ |
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()
|
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()
|
/linux-6.6.21/drivers/staging/axis-fifo/ |
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 …]
|
/linux-6.6.21/drivers/spi/ |
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
|
/linux-6.6.21/drivers/mailbox/ |
D | omap-mailbox.c | 66 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 590 u32 usr, fifo, reg; in omap_mbox_suspend() local [all …]
|