/Linux-v4.19/drivers/staging/fwserial/ |
D | dma_fifo.c | 21 #define FAIL(fifo, condition, format...) ({ \ argument 22 fifo->corrupt = !!(condition); \ 23 WARN(fifo->corrupt, format); \ 38 void dma_fifo_init(struct dma_fifo *fifo) in dma_fifo_init() argument 40 memset(fifo, 0, sizeof(*fifo)); in dma_fifo_init() 41 INIT_LIST_HEAD(&fifo->pending); in dma_fifo_init() 58 int dma_fifo_alloc(struct dma_fifo *fifo, int size, unsigned int align, in dma_fifo_alloc() argument 68 fifo->data = kmalloc(capacity, gfp_mask); in dma_fifo_alloc() 69 if (!fifo->data) in dma_fifo_alloc() 72 fifo->in = 0; in dma_fifo_alloc() [all …]
|
D | dma_fifo.h | 75 void dma_fifo_init(struct dma_fifo *fifo); 76 int dma_fifo_alloc(struct dma_fifo *fifo, int size, unsigned int align, 78 void dma_fifo_free(struct dma_fifo *fifo); 79 void dma_fifo_reset(struct dma_fifo *fifo); 80 int dma_fifo_in(struct dma_fifo *fifo, const void *src, int n); 81 int dma_fifo_out_pend(struct dma_fifo *fifo, struct dma_pending *pended); 82 int dma_fifo_out_complete(struct dma_fifo *fifo, 86 static inline int dma_fifo_level(struct dma_fifo *fifo) in dma_fifo_level() argument 88 return fifo->size - fifo->avail; in dma_fifo_level() 92 static inline int dma_fifo_out_level(struct dma_fifo *fifo) in dma_fifo_out_level() argument [all …]
|
/Linux-v4.19/lib/ |
D | kfifo.c | 33 static inline unsigned int kfifo_unused(struct __kfifo *fifo) in kfifo_unused() argument 35 return (fifo->mask + 1) - (fifo->in - fifo->out); in kfifo_unused() 38 int __kfifo_alloc(struct __kfifo *fifo, unsigned int size, in __kfifo_alloc() argument 47 fifo->in = 0; in __kfifo_alloc() 48 fifo->out = 0; in __kfifo_alloc() 49 fifo->esize = esize; in __kfifo_alloc() 52 fifo->data = NULL; in __kfifo_alloc() 53 fifo->mask = 0; in __kfifo_alloc() 57 fifo->data = kmalloc_array(esize, size, gfp_mask); in __kfifo_alloc() 59 if (!fifo->data) { in __kfifo_alloc() [all …]
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | base.c | 37 nvkm_fifo_recover_chan(struct nvkm_fifo *fifo, int chid) in nvkm_fifo_recover_chan() argument 40 if (WARN_ON(!fifo->func->recover_chan)) in nvkm_fifo_recover_chan() 42 spin_lock_irqsave(&fifo->lock, flags); in nvkm_fifo_recover_chan() 43 fifo->func->recover_chan(fifo, chid); in nvkm_fifo_recover_chan() 44 spin_unlock_irqrestore(&fifo->lock, flags); in nvkm_fifo_recover_chan() 48 nvkm_fifo_pause(struct nvkm_fifo *fifo, unsigned long *flags) in nvkm_fifo_pause() argument 50 return fifo->func->pause(fifo, flags); in nvkm_fifo_pause() 54 nvkm_fifo_start(struct nvkm_fifo *fifo, unsigned long *flags) in nvkm_fifo_start() argument 56 return fifo->func->start(fifo, flags); in nvkm_fifo_start() 60 nvkm_fifo_fault(struct nvkm_fifo *fifo, struct nvkm_fault_data *info) in nvkm_fifo_fault() argument [all …]
|
D | gk104.c | 52 gk104_fifo_engine_status(struct gk104_fifo *fifo, int engn, in gk104_fifo_engine_status() argument 55 struct nvkm_engine *engine = fifo->engine[engn].engine; in gk104_fifo_engine_status() 56 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gk104_fifo_engine_status() 102 struct gk104_fifo *fifo = gk104_fifo(base); in gk104_fifo_class_new() local 103 if (oclass->engn == &fifo->func->chan) { in gk104_fifo_class_new() 105 return user->ctor(fifo, oclass, argv, argc, pobject); in gk104_fifo_class_new() 107 if (oclass->engn == &fifo->func->user) { in gk104_fifo_class_new() 119 struct gk104_fifo *fifo = gk104_fifo(base); in gk104_fifo_class_get() local 122 if (fifo->func->user.ctor && c++ == index) { in gk104_fifo_class_get() 123 oclass->base = fifo->func->user.user; in gk104_fifo_class_get() [all …]
|
D | gf100.c | 36 gf100_fifo_uevent_init(struct nvkm_fifo *fifo) in gf100_fifo_uevent_init() argument 38 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_init() 43 gf100_fifo_uevent_fini(struct nvkm_fifo *fifo) in gf100_fifo_uevent_fini() argument 45 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_fini() 50 gf100_fifo_runlist_commit(struct gf100_fifo *fifo) in gf100_fifo_runlist_commit() argument 53 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gf100_fifo_runlist_commit() 60 cur = fifo->runlist.mem[fifo->runlist.active]; in gf100_fifo_runlist_commit() 61 fifo->runlist.active = !fifo->runlist.active; in gf100_fifo_runlist_commit() 64 list_for_each_entry(chan, &fifo->chan, head) { in gf100_fifo_runlist_commit() 84 if (wait_event_timeout(fifo->runlist.wait, in gf100_fifo_runlist_commit() [all …]
|
D | Kbuild | 1 nvkm-y += nvkm/engine/fifo/base.o 2 nvkm-y += nvkm/engine/fifo/nv04.o 3 nvkm-y += nvkm/engine/fifo/nv10.o 4 nvkm-y += nvkm/engine/fifo/nv17.o 5 nvkm-y += nvkm/engine/fifo/nv40.o 6 nvkm-y += nvkm/engine/fifo/nv50.o 7 nvkm-y += nvkm/engine/fifo/g84.o 8 nvkm-y += nvkm/engine/fifo/gf100.o 9 nvkm-y += nvkm/engine/fifo/gk104.o 10 nvkm-y += nvkm/engine/fifo/gk110.o [all …]
|
D | nv50.c | 30 nv50_fifo_runlist_update_locked(struct nv50_fifo *fifo) in nv50_fifo_runlist_update_locked() argument 32 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv50_fifo_runlist_update_locked() 36 cur = fifo->runlist[fifo->cur_runlist]; in nv50_fifo_runlist_update_locked() 37 fifo->cur_runlist = !fifo->cur_runlist; in nv50_fifo_runlist_update_locked() 40 for (i = 0, p = 0; i < fifo->base.nr; i++) { in nv50_fifo_runlist_update_locked() 52 nv50_fifo_runlist_update(struct nv50_fifo *fifo) in nv50_fifo_runlist_update() argument 54 mutex_lock(&fifo->base.engine.subdev.mutex); in nv50_fifo_runlist_update() 55 nv50_fifo_runlist_update_locked(fifo); in nv50_fifo_runlist_update() 56 mutex_unlock(&fifo->base.engine.subdev.mutex); in nv50_fifo_runlist_update() 62 struct nv50_fifo *fifo = nv50_fifo(base); in nv50_fifo_oneinit() local [all …]
|
D | dmanv04.c | 39 struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem; in nv04_fifo_dma_object_dtor() 41 mutex_lock(&chan->fifo->base.engine.subdev.mutex); in nv04_fifo_dma_object_dtor() 43 mutex_unlock(&chan->fifo->base.engine.subdev.mutex); in nv04_fifo_dma_object_dtor() 51 struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem; in nv04_fifo_dma_object_ctor() 66 mutex_lock(&chan->fifo->base.engine.subdev.mutex); in nv04_fifo_dma_object_ctor() 69 mutex_unlock(&chan->fifo->base.engine.subdev.mutex); in nv04_fifo_dma_object_ctor() 77 struct nv04_fifo *fifo = chan->fifo; in nv04_fifo_dma_fini() local 78 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_dma_fini() 82 u32 mask = fifo->base.nr - 1; in nv04_fifo_dma_fini() 87 spin_lock_irqsave(&fifo->base.lock, flags); in nv04_fifo_dma_fini() [all …]
|
D | nv04.c | 49 __acquires(fifo->base.lock) in nv04_fifo_pause() 51 struct nv04_fifo *fifo = nv04_fifo(base); in nv04_fifo_pause() local 52 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_pause() 55 spin_lock_irqsave(&fifo->base.lock, flags); in nv04_fifo_pause() 85 __releases(fifo->base.lock) in nv04_fifo_start() 87 struct nv04_fifo *fifo = nv04_fifo(base); in nv04_fifo_start() local 88 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_start() 94 spin_unlock_irqrestore(&fifo->base.lock, flags); in nv04_fifo_start() 135 nv04_fifo_cache_error(struct nv04_fifo *fifo, u32 chid, u32 get) in nv04_fifo_cache_error() argument 137 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in nv04_fifo_cache_error() [all …]
|
D | gpfifogk104.c | 40 struct gk104_fifo *fifo = chan->fifo; in gk104_fifo_gpfifo_kick_locked() local 41 struct nvkm_subdev *subdev = &fifo->base.engine.subdev; in gk104_fifo_gpfifo_kick_locked() 58 nvkm_fifo_recover_chan(&fifo->base, chan->base.chid); in gk104_fifo_gpfifo_kick_locked() 68 mutex_lock(&chan->base.fifo->engine.subdev.mutex); in gk104_fifo_gpfifo_kick() 70 mutex_unlock(&chan->base.fifo->engine.subdev.mutex); in gk104_fifo_gpfifo_kick() 187 struct gk104_fifo *fifo = chan->fifo; in gk104_fifo_gpfifo_fini() local 188 struct nvkm_device *device = fifo->base.engine.subdev.device; in gk104_fifo_gpfifo_fini() 192 gk104_fifo_runlist_remove(fifo, chan); in gk104_fifo_gpfifo_fini() 195 gk104_fifo_runlist_commit(fifo, chan->runl); in gk104_fifo_gpfifo_fini() 205 struct gk104_fifo *fifo = chan->fifo; in gk104_fifo_gpfifo_init() local [all …]
|
D | gpfifogf100.c | 41 *pevent = &chan->fifo->uevent; in gf100_fifo_chan_ntfy() 44 *pevent = &chan->fifo->kevent; in gf100_fifo_chan_ntfy() 75 struct nvkm_subdev *subdev = &chan->fifo->base.engine.subdev; in gf100_fifo_gpfifo_engine_fini() 162 struct gf100_fifo *fifo = chan->fifo; in gf100_fifo_gpfifo_fini() local 163 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_gpfifo_fini() 167 gf100_fifo_runlist_remove(fifo, chan); in gf100_fifo_gpfifo_fini() 169 gf100_fifo_runlist_commit(fifo); in gf100_fifo_gpfifo_fini() 172 gf100_fifo_intr_engine(fifo); in gf100_fifo_gpfifo_fini() 181 struct gf100_fifo *fifo = chan->fifo; in gf100_fifo_gpfifo_init() local 182 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_gpfifo_init() [all …]
|
D | dmanv40.c | 63 struct nv04_fifo *fifo = chan->fifo; in nv40_fifo_dma_engine_fini() local 64 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv40_fifo_dma_engine_fini() 73 spin_lock_irqsave(&fifo->base.lock, flags); in nv40_fifo_dma_engine_fini() 76 chid = nvkm_rd32(device, 0x003204) & (fifo->base.nr - 1); in nv40_fifo_dma_engine_fini() 84 spin_unlock_irqrestore(&fifo->base.lock, flags); in nv40_fifo_dma_engine_fini() 93 struct nv04_fifo *fifo = chan->fifo; in nv40_fifo_dma_engine_init() local 94 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv40_fifo_dma_engine_init() 104 spin_lock_irqsave(&fifo->base.lock, flags); in nv40_fifo_dma_engine_init() 107 chid = nvkm_rd32(device, 0x003204) & (fifo->base.nr - 1); in nv40_fifo_dma_engine_init() 115 spin_unlock_irqrestore(&fifo->base.lock, flags); in nv40_fifo_dma_engine_init() [all …]
|
/Linux-v4.19/drivers/staging/axis-fifo/ |
D | axis-fifo.c | 159 struct axis_fifo *fifo = dev_get_drvdata(dev); in sysfs_write() local 167 iowrite32(tmp, fifo->base_addr + addr_offset); in sysfs_write() 175 struct axis_fifo *fifo = dev_get_drvdata(dev); in sysfs_read() local 180 read_val = ioread32(fifo->base_addr + addr_offset); in sysfs_read() 330 static void reset_ip_core(struct axis_fifo *fifo) in reset_ip_core() argument 332 iowrite32(XLLF_SRR_RESET_MASK, fifo->base_addr + XLLF_SRR_OFFSET); in reset_ip_core() 333 iowrite32(XLLF_TDFR_RESET_MASK, fifo->base_addr + XLLF_TDFR_OFFSET); in reset_ip_core() 334 iowrite32(XLLF_RDFR_RESET_MASK, fifo->base_addr + XLLF_RDFR_OFFSET); in reset_ip_core() 338 fifo->base_addr + XLLF_IER_OFFSET); in reset_ip_core() 339 iowrite32(XLLF_INT_ALL_MASK, fifo->base_addr + XLLF_ISR_OFFSET); in reset_ip_core() [all …]
|
/Linux-v4.19/include/linux/ |
D | kfifo.h | 116 #define __is_kfifo_ptr(fifo) \ argument 117 (sizeof(*fifo) == sizeof(STRUCT_KFIFO_PTR(typeof(*(fifo)->type)))) 124 #define DECLARE_KFIFO_PTR(fifo, type) STRUCT_KFIFO_PTR(type) fifo argument 132 #define DECLARE_KFIFO(fifo, type, size) STRUCT_KFIFO(type, size) fifo argument 138 #define INIT_KFIFO(fifo) \ argument 140 typeof(&(fifo)) __tmp = &(fifo); \ 157 #define DEFINE_KFIFO(fifo, type, size) \ argument 158 DECLARE_KFIFO(fifo, type, size) = \ 159 (typeof(fifo)) { \ 164 .mask = __is_kfifo_ptr(&(fifo)) ? \ [all …]
|
/Linux-v4.19/drivers/usb/gadget/udc/ |
D | fotg210.h | 49 #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 …]
|
/Linux-v4.19/sound/soc/meson/ |
D | axg-fifo.c | 67 static void __dma_enable(struct axg_fifo *fifo, bool enable) in __dma_enable() argument 69 regmap_update_bits(fifo->map, FIFO_CTRL0, CTRL0_DMA_EN, in __dma_enable() 75 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_trigger() local 81 __dma_enable(fifo, true); in axg_fifo_pcm_trigger() 86 __dma_enable(fifo, false); in axg_fifo_pcm_trigger() 97 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_pointer() local 101 regmap_read(fifo->map, FIFO_STATUS2, &addr); in axg_fifo_pcm_pointer() 110 struct axg_fifo *fifo = axg_fifo_data(ss); in axg_fifo_pcm_hw_params() local 121 regmap_write(fifo->map, FIFO_START_ADDR, runtime->dma_addr); in axg_fifo_pcm_hw_params() 122 regmap_write(fifo->map, FIFO_FINISH_ADDR, end_ptr); in axg_fifo_pcm_hw_params() [all …]
|
/Linux-v4.19/drivers/usb/renesas_usbhs/ |
D | fifo.c | 98 struct usbhs_fifo *fifo); 99 static struct dma_chan *usbhsf_dma_chan_get(struct usbhs_fifo *fifo, 107 struct usbhs_fifo *fifo = usbhs_pipe_to_fifo(pipe); in usbhs_pkt_pop() local 121 if (fifo) in usbhs_pkt_pop() 122 chan = usbhsf_dma_chan_get(fifo, pkt); in usbhs_pkt_pop() 133 if (fifo) in usbhs_pkt_pop() 134 usbhsf_fifo_unselect(pipe, fifo); in usbhs_pkt_pop() 248 struct usbhs_fifo *fifo) in usbhsf_send_terminator() argument 252 usbhs_bset(priv, fifo->ctr, BVAL, BVAL); in usbhsf_send_terminator() 256 struct usbhs_fifo *fifo) in usbhsf_fifo_barrier() argument [all …]
|
/Linux-v4.19/drivers/md/bcache/ |
D | util.h | 124 #define fifo_for_each(c, fifo, iter) \ argument 125 for (iter = (fifo)->front; \ 126 c = (fifo)->data[iter], iter != (fifo)->back; \ 127 iter = (iter + 1) & (fifo)->mask) 129 #define __init_fifo(fifo, gfp) \ argument 132 BUG_ON(!(fifo)->size); \ 134 _allocated_size = roundup_pow_of_two((fifo)->size + 1); \ 135 _bytes = _allocated_size * sizeof(*(fifo)->data); \ 137 (fifo)->mask = _allocated_size - 1; \ 138 (fifo)->front = (fifo)->back = 0; \ [all …]
|
/Linux-v4.19/drivers/isdn/hisax/ |
D | hfc_usb.c | 209 static void collect_rx_frame(usb_fifo *fifo, __u8 *data, int len, 452 start_isoc_chain(usb_fifo *fifo, int num_packets_per_urb, in start_isoc_chain() argument 458 fifo->fifonum); in start_isoc_chain() 462 if (!(fifo->iso[i].purb)) { in start_isoc_chain() 463 fifo->iso[i].purb = in start_isoc_chain() 465 if (!(fifo->iso[i].purb)) { in start_isoc_chain() 468 fifo->fifonum); in start_isoc_chain() 470 fifo->iso[i].owner_fifo = (struct usb_fifo *) fifo; in start_isoc_chain() 474 (fifo->usb_packet_maxlen * in start_isoc_chain() 476 fill_isoc_urb(fifo->iso[i].purb, in start_isoc_chain() [all …]
|
D | st5481.h | 239 struct fifo { struct 247 static inline void fifo_init(struct fifo *fifo, int size) in fifo_init() argument 249 fifo->r = fifo->w = fifo->count = 0; in fifo_init() 250 fifo->size = size; in fifo_init() 251 spin_lock_init(&fifo->lock); in fifo_init() 257 static inline int fifo_add(struct fifo *fifo) in fifo_add() argument 262 if (!fifo) { in fifo_add() 266 spin_lock_irqsave(&fifo->lock, flags); in fifo_add() 267 if (fifo->count == fifo->size) { in fifo_add() 272 index = fifo->w++ & (fifo->size - 1); in fifo_add() [all …]
|
/Linux-v4.19/samples/kfifo/ |
D | dma-example.c | 21 static struct kfifo fifo; variable 32 if (kfifo_alloc(&fifo, FIFO_SIZE, GFP_KERNEL)) { in example_init() 37 printk(KERN_INFO "queue size: %u\n", kfifo_size(&fifo)); in example_init() 39 kfifo_in(&fifo, "test", 4); in example_init() 42 kfifo_put(&fifo, i); in example_init() 45 kfifo_skip(&fifo); in example_init() 47 printk(KERN_INFO "queue len: %u\n", kfifo_len(&fifo)); in example_init() 65 nents = kfifo_dma_in_prepare(&fifo, sg, ARRAY_SIZE(sg), FIFO_SIZE); in example_init() 92 kfifo_dma_in_finish(&fifo, ret); in example_init() 95 nents = kfifo_dma_out_prepare(&fifo, sg, ARRAY_SIZE(sg), 8); in example_init() [all …]
|
/Linux-v4.19/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 813 hfcsusb_rx_frame(struct usb_fifo *fifo, __u8 *data, unsigned int len, in hfcsusb_rx_frame() argument 816 struct hfcsusb *hw = fifo->hw; in hfcsusb_rx_frame() 819 int fifon = fifo->fifonum; in hfcsusb_rx_frame() 828 fifo->dch, fifo->bch, fifo->ech); in hfcsusb_rx_frame() 833 if ((!!fifo->dch + !!fifo->bch + !!fifo->ech) != 1) { in hfcsusb_rx_frame() 840 if (fifo->dch) { in hfcsusb_rx_frame() 841 rx_skb = fifo->dch->rx_skb; in hfcsusb_rx_frame() 842 maxlen = fifo->dch->maxlen; in hfcsusb_rx_frame() 845 if (fifo->bch) { in hfcsusb_rx_frame() 846 if (test_bit(FLG_RX_OFF, &fifo->bch->Flags)) { in hfcsusb_rx_frame() [all …]
|
/Linux-v4.19/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() argument 14 fifo->buffer = buffer; in fm10k_fifo_init() 15 fifo->size = size; in fm10k_fifo_init() 16 fifo->head = 0; in fm10k_fifo_init() 17 fifo->tail = 0; in fm10k_fifo_init() 26 static u16 fm10k_fifo_used(struct fm10k_mbx_fifo *fifo) in fm10k_fifo_used() argument 28 return fifo->tail - fifo->head; in fm10k_fifo_used() 37 static u16 fm10k_fifo_unused(struct fm10k_mbx_fifo *fifo) in fm10k_fifo_unused() argument 39 return fifo->size + fifo->head - fifo->tail; in fm10k_fifo_unused() 48 static bool fm10k_fifo_empty(struct fm10k_mbx_fifo *fifo) in fm10k_fifo_empty() argument [all …]
|
/Linux-v4.19/drivers/spi/ |
D | spi-mpc512x-psc.c | 64 struct mpc512x_psc_fifo __iomem *fifo; member 157 struct mpc512x_psc_fifo __iomem *fifo = mps->fifo; in mpc512x_psc_spi_transfer_rxtx() local 177 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->txsz)); in mpc512x_psc_spi_transfer_rxtx() 179 fifosz = MPC512x_PSC_FIFO_SZ(in_be32(&fifo->rxsz)); in mpc512x_psc_spi_transfer_rxtx() 180 fifosz -= in_be32(&fifo->rxcnt) + 1; in mpc512x_psc_spi_transfer_rxtx() 188 setbits32(&fifo->txcmd, in mpc512x_psc_spi_transfer_rxtx() 190 out_8(&fifo->txdata_8, data); in mpc512x_psc_spi_transfer_rxtx() 196 out_be32(&fifo->txisr, MPC512x_PSC_FIFO_EMPTY); in mpc512x_psc_spi_transfer_rxtx() 197 out_be32(&fifo->tximr, MPC512x_PSC_FIFO_EMPTY); in mpc512x_psc_spi_transfer_rxtx() 220 fifosz = in_be32(&fifo->rxcnt); in mpc512x_psc_spi_transfer_rxtx() [all …]
|