Home
last modified time | relevance | path

Searched refs:fifo_size (Results 1 – 24 of 24) sorted by relevance

/linux-4.19.296/drivers/isdn/hisax/
Djade_irq.c77 int fifo_size = 32; in jade_fill_fifo() local
89 if (bcs->tx_skb->len > fifo_size) { in jade_fill_fifo()
91 count = fifo_size; in jade_fill_fifo()
119 int fifo_size = 32; in jade_interrupt() local
142 count = fifo_size; in jade_interrupt()
160 jade_empty_fifo(bcs, fifo_size); in jade_interrupt()
163 if (!(skb = dev_alloc_skb(fifo_size))) in jade_interrupt()
167 fifo_size); in jade_interrupt()
Dhscx_irq.c87 int fifo_size = test_bit(HW_IPAC, &cs->HW_Flags) ? 64 : 32; in hscx_fill_fifo() local
99 if (bcs->tx_skb->len > fifo_size) { in hscx_fill_fifo()
101 count = fifo_size; in hscx_fill_fifo()
128 int fifo_size = test_bit(HW_IPAC, &cs->HW_Flags) ? 64 : 32; in hscx_interrupt() local
164 count = fifo_size; in hscx_interrupt()
182 hscx_empty_fifo(bcs, fifo_size); in hscx_interrupt()
185 if (!(skb = dev_alloc_skb(fifo_size))) in hscx_interrupt()
189 fifo_size); in hscx_interrupt()
Dhisax_fcpcipnp.h40 int fifo_size; member
Dhfc_sx.c120 int fifo_size, count, z1, z2; in write_fifo() local
128 fifo_size = D_FIFO_SIZE; /* D-channel */ in write_fifo()
133 fifo_size = cs->hw.hfcsx.b_fifo_size; /* B-channel */ in write_fifo()
146 count += fifo_size; /* free bytes */ in write_fifo()
148 count = fifo_size - count; /* bytes still not send */ in write_fifo()
179 count += fifo_size; /* count now contains available bytes */ in write_fifo()
208 { int fifo_size, count, z1, z2; in read_fifo() local
215 fifo_size = D_FIFO_SIZE; /* D-channel */ in read_fifo()
220 fifo_size = cs->hw.hfcsx.b_fifo_size; /* B-channel */ in read_fifo()
233 count += fifo_size; /* count now contains buffered bytes */ in read_fifo()
[all …]
Ddiva.c439 int fifo_size = test_bit(HW_IPAC, &cs->HW_Flags) ? 64 : 32; in Memhscx_fill_fifo() local
451 if (bcs->tx_skb->len > fifo_size) { in Memhscx_fill_fifo()
453 count = fifo_size; in Memhscx_fill_fifo()
482 int fifo_size = test_bit(HW_IPAC, &cs->HW_Flags) ? 64 : 32; in Memhscx_interrupt() local
506 count = fifo_size; in Memhscx_interrupt()
524 Memhscx_empty_fifo(bcs, fifo_size); in Memhscx_interrupt()
527 if (!(skb = dev_alloc_skb(fifo_size))) in Memhscx_interrupt()
531 fifo_size); in Memhscx_interrupt()
Dhisax_fcpcipnp.c395 if (bcs->tx_skb->len > bcs->fifo_size) { in hdlc_fill_fifo()
396 count = bcs->fifo_size; in hdlc_fill_fifo()
406 bcs->ctrl.sr.xml = ((count == bcs->fifo_size) ? 0 : count); in hdlc_fill_fifo()
487 len = bcs->fifo_size; in hdlc_rpr_irq()
596 bcs->fifo_size = 32; in modehdlc()
Davm_pci.c298 int fifo_size = 32; in hdlc_fill_fifo() local
310 if (bcs->tx_skb->len > fifo_size) { in hdlc_fill_fifo()
311 count = fifo_size; in hdlc_fill_fifo()
324 bcs->hw.hdlc.ctrl.sr.xml = ((count == fifo_size) ? 0 : count); in hdlc_fill_fifo()
/linux-4.19.296/drivers/media/rc/
Dsunxi-cir.c64 #define REG_RXSTA_GET_AC(val) (((val) >> 8) & (ir->fifo_size * 2 - 1))
89 int fifo_size; member
115 rc = rc > ir->fifo_size ? ir->fifo_size : rc; in sunxi_ir_irq()
159 ir->fifo_size = 64; in sunxi_ir_probe()
161 ir->fifo_size = 16; in sunxi_ir_probe()
277 REG_RXINT_RAI_EN | REG_RXINT_RAL(ir->fifo_size / 2 - 1), in sunxi_ir_probe()
/linux-4.19.296/drivers/i2c/busses/
Di2c-at91.c147 u32 fifo_size; member
182 if (dev->fifo_size) in at91_init_twi_bus()
326 if (dev->fifo_size) { in at91_twi_write_data_dma()
463 if (dev->fifo_size && IS_ALIGNED(buf_len, 4)) { in at91_twi_read_data_dma()
644 if (dev->fifo_size) { in at91_do_twi_transfer()
724 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer()
744 if ((has_alt_cmd || dev->fifo_size) && in at91_do_twi_transfer()
988 if (dev->fifo_size) in at91_twi_configure_dma()
1119 &dev->fifo_size)) { in at91_twi_probe()
1120 dev_info(dev->dev, "Using FIFO (%u data)\n", dev->fifo_size); in at91_twi_probe()
Di2c-omap.c206 u8 fifo_size; /* use as flag and value member
472 OMAP_I2C_IE_AL) | ((omap->fifo_size) ? in omap_i2c_init()
626 omap->threshold = clamp(size, (u8) 1, omap->fifo_size); in omap_i2c_resize_fifo()
1098 if (omap->fifo_size) in omap_i2c_isr_thread()
1127 if (omap->fifo_size) in omap_i2c_isr_thread()
1415 omap->fifo_size = 0x8 << s; in omap_i2c_probe()
1423 omap->fifo_size = (omap->fifo_size / 2); in omap_i2c_probe()
1430 omap->latency = (1000000 * omap->fifo_size) / in omap_i2c_probe()
Di2c-altera.c97 u32 fifo_size; member
228 size_t tx_fifo_avail = idev->fifo_size - readl(idev->base + in altr_i2c_fill_tx_fifo()
433 &idev->fifo_size); in altr_i2c_probe()
437 idev->fifo_size = ALTR_I2C_DFLT_FIFO_SZ; in altr_i2c_probe()
Di2c-fsi.c150 u8 fifo_size; member
206 i2c->fifo_size = FIELD_GET(I2C_ESTAT_FIFO_SZ, extended_status); in fsi_i2c_dev_init()
208 i2c->fifo_size - I2C_FIFO_HI_LVL); in fsi_i2c_dev_init()
272 int bytes_to_write = i2c->fifo_size - fifo_count; in fsi_i2c_write_fifo()
/linux-4.19.296/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c124 .fifo_size = 1024,
132 .fifo_size = 512,
140 .fifo_size = 512,
148 .fifo_size = 1024,
156 .fifo_size = 1024,
164 .fifo_size = 512,
172 .fifo_size = 512,
180 .fifo_size = 512,
188 .fifo_size = 1008,
Dinv_mpu_iio.h119 size_t fifo_size; member
Dinv_mpu_ring.c226 if (fifo_count >= st->hw->fifo_size - nb) { in inv_mpu6050_read_fifo()
/linux-4.19.296/drivers/isdn/hardware/mISDN/
DmISDNipac.c986 count = hscx->fifo_size; in hscx_fill_fifo()
997 if (count > hscx->fifo_size) { in hscx_fill_fifo()
998 count = hscx->fifo_size; in hscx_fill_fifo()
1075 count &= (hx->fifo_size - 1); in ipac_rme()
1077 count = hx->fifo_size; in ipac_rme()
1137 hscx_empty_fifo(hx, hx->fifo_size); in ipac_irq()
1592 ipac->hscx[0].fifo_size = 32; in mISDNipac_init()
1593 ipac->hscx[1].fifo_size = 32; in mISDNipac_init()
1598 ipac->hscx[0].fifo_size = 64; in mISDNipac_init()
1599 ipac->hscx[1].fifo_size = 64; in mISDNipac_init()
[all …]
Dipac.h62 u8 fifo_size; member
/linux-4.19.296/include/sound/
Ddmaengine_pcm.h77 unsigned int fifo_size; member
Dhdaudio.h478 unsigned int fifo_size; /* FIFO size */ member
Dpcm.h58 size_t fifo_size; /* fifo size in bytes */ member
/linux-4.19.296/include/soc/tegra/
Dmc.h43 unsigned int fifo_size; member
/linux-4.19.296/drivers/bluetooth/
Ddtl1_cs.c110 static int dtl1_write(unsigned int iobase, int fifo_size, __u8 *buf, int len) in dtl1_write() argument
119 while ((fifo_size-- > 0) && (actual < len)) { in dtl1_write()
Dbt3c_cs.c159 static int bt3c_write(unsigned int iobase, int fifo_size, __u8 *buf, int len) in bt3c_write() argument
/linux-4.19.296/include/uapi/sound/
Dasound.h409 snd_pcm_uframes_t fifo_size; /* R: chip FIFO size in frames */ member