| /linux/samples/kfifo/ |
| H A D | inttype-example.c | 19 #define FIFO_SIZE 32 macro 42 static DEFINE_KFIFO(test, int, FIFO_SIZE); 45 static const int expected_result[FIFO_SIZE] = { 153 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
|
| H A D | bytestream-example.c | 19 #define FIFO_SIZE 32 macro 42 static DECLARE_KFIFO(test, unsigned char, FIFO_SIZE); 45 static const unsigned char expected_result[FIFO_SIZE] = { 160 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
|
| H A D | dma-example.c | 19 #define FIFO_SIZE 32 macro 32 if (kfifo_alloc(&fifo, FIFO_SIZE, GFP_KERNEL)) { in example_init() 65 nents = kfifo_dma_in_prepare(&fifo, sg, ARRAY_SIZE(sg), FIFO_SIZE); in example_init()
|
| H A D | record-example.c | 19 #define FIFO_SIZE 128 macro 51 typedef STRUCT_KFIFO_REC_1(FIFO_SIZE) mytest; 167 ret = kfifo_alloc(&test, FIFO_SIZE, GFP_KERNEL); in example_init()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-sh7760.c | 79 #define FIFO_SIZE 16 macro 188 len = (msg->len >= FIFO_SIZE) ? FIFO_SIZE - 1 in sh7760_i2c_irq() 208 while (msg->len && (IN32(id, I2CTFDR) < FIFO_SIZE)) { in sh7760_i2c_irq() 217 len = (msg->len >= FIFO_SIZE) ? 2 : 0; in sh7760_i2c_irq() 251 if (id->msg->len >= FIFO_SIZE) in sh7760_i2c_mrecv() 252 len = FIFO_SIZE - 1; /* trigger at fifo full */ in sh7760_i2c_mrecv() 277 if (id->msg->len >= FIFO_SIZE) in sh7760_i2c_msend() 285 while (id->msg->len && IN32(id, I2CTFDR) < FIFO_SIZE) { in sh7760_i2c_msend()
|
| H A D | i2c-axxia.c | 25 #define FIFO_SIZE 8 macro 302 size_t tx_fifo_avail = FIFO_SIZE - readl(idev->base + MST_TX_FIFO); in axxia_i2c_fill_tx_fifo() 595 msgs[0].len > 0 && msgs[0].len <= FIFO_SIZE && in axxia_i2c_sequence_ok()
|
| /linux/drivers/spi/ |
| H A D | spi-st-ssc4.c | 51 #define FIFO_SIZE 8 macro 74 if (spi_st->words_remaining > FIFO_SIZE) in ssc_write_tx_fifo() 75 count = FIFO_SIZE; in ssc_write_tx_fifo() 98 if (spi_st->words_remaining > FIFO_SIZE) in ssc_read_rx_fifo() 99 count = FIFO_SIZE; in ssc_read_rx_fifo()
|
| /linux/sound/pci/au88x0/ |
| H A D | au8820.h | 154 #define FIFO_SIZE (1<<FIFO_SIZE_BITS) // 0x20 macro 155 #define FIFO_MASK (FIFO_SIZE-1) //0x1f /* at shift left 0xc */
|
| H A D | au8810.h | 163 #define FIFO_SIZE (1<<FIFO_SIZE_BITS) // 0x20 macro 164 #define FIFO_MASK (FIFO_SIZE-1) //0x1f /* at shift left 0xc */
|
| H A D | au8830.h | 183 #define FIFO_SIZE (1<<(FIFO_SIZE_BITS)) // 0x40 macro 184 #define FIFO_MASK (FIFO_SIZE-1) //0x3f /* at shift left 0xc */
|
| H A D | au88x0_core.c | 778 vortex_fifo_clearadbdata(vortex, fifo, FIFO_SIZE); 822 vortex_fifo_clearadbdata(vortex, fifo, FIFO_SIZE); // this_4 in vortex_fifo_setadbctrl() 860 vortex_fifo_clearadbdata(vortex, fifo, FIFO_SIZE); in vortex_fifo_setadbctrl() 879 vortex_fifo_clearwtdata(vortex, fifo, FIFO_SIZE); in vortex_fifo_wtinitialize() 915 vortex_fifo_clearwtdata(vortex, fifo, FIFO_SIZE); // this_4 in vortex_fifo_setwtctrl() 953 vortex_fifo_clearwtdata(vortex, fifo, FIFO_SIZE); in vortex_fifo_setwtctrl() 1035 vortex_fifo_clearadbdata(vortex, x, FIFO_SIZE); in vortex_fifo_init() 1048 vortex_fifo_clearwtdata(vortex, x, FIFO_SIZE); in vortex_fifo_init()
|
| /linux/sound/soc/amd/raven/ |
| H A D | acp3x.h | 63 #define FIFO_SIZE 0x100 macro
|
| H A D | acp3x-pcm-dma.c | 202 rv_writel(FIFO_SIZE, rtd->acp3x_base + reg_fifo_size); in config_acp3x_dma()
|
| /linux/drivers/media/pci/netup_unidvb/ |
| H A D | netup_unidvb_i2c.c | 42 #define FIFO_SIZE 16 macro 134 u32 fifo_space = FIFO_SIZE - in netup_i2c_fifo_tx()
|
| /linux/sound/soc/amd/vangogh/ |
| H A D | acp5x.h | 70 #define FIFO_SIZE 0x100 macro
|
| /linux/drivers/w1/masters/ |
| H A D | ds2490.c | 102 #define FIFO_SIZE 0x80 macro 650 to_read = rem <= FIFO_SIZE ? rem : FIFO_SIZE; in ds_read_block()
|
| /linux/drivers/block/ |
| H A D | ps3vram.c | 33 #define FIFO_SIZE (64 * 1024) macro 38 #define CACHE_PAGE_COUNT ((XDR_BUF_SIZE - FIFO_SIZE) / CACHE_PAGE_SIZE) 214 FIFO_SIZE - 1024) { in ps3vram_fire_ring()
|
| /linux/drivers/comedi/drivers/ |
| H A D | das1800.c | 82 #define FIFO_SIZE 1024 /* 1024 sample fifo */ macro 341 unsigned int nsamples = comedi_nsamples_left(s, FIFO_SIZE / 2); in das1800_handle_fifo_half_full() 1230 devpriv->fifo_buf = kmalloc_array(FIFO_SIZE, in das1800_attach()
|
| /linux/sound/soc/amd/acp/ |
| H A D | amd.h | 85 #define FIFO_SIZE 0x100 macro
|
| H A D | acp-i2s.c | 617 writel(FIFO_SIZE, chip->base + reg_fifo_size); in acp_i2s_prepare()
|
| H A D | acp-legacy-common.c | 297 writel(FIFO_SIZE, chip->base + reg_fifo_size); in set_acp_i2s_dma_fifo()
|
| /linux/drivers/net/ethernet/tehuti/ |
| H A D | tehuti.h | 76 #define FIFO_SIZE 4096 macro
|
| H A D | tehuti.c | 156 u16 memsz = FIFO_SIZE * (1 << fsz_type); in bdx_fifo_init() 1411 int memsz = FIFO_SIZE * (1 << (sz_type + 1)); in bdx_tx_db_init() 2227 return (FIFO_SIZE * (1 << rx_size)) / sizeof(struct rxf_desc); in bdx_rx_fifo_size_to_packets() 2233 return (FIFO_SIZE * (1 << tx_size)) / BDX_TXF_DESC_SZ; in bdx_tx_fifo_size_to_packets()
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | dummy_hcd.c | 227 #define FIFO_SIZE 64 macro 276 u8 fifo_buf[FIFO_SIZE]; 728 _req->length <= FIFO_SIZE) { in dummy_queue()
|
| /linux/drivers/net/phy/ |
| H A D | micrel.c | 304 #define FIFO_SIZE 8 macro 3142 for (i = 0; i < FIFO_SIZE; ++i) in lan8814_flush_fifo() 4850 for (i = 0; i < FIFO_SIZE; ++i) in lan8841_ptp_flush_fifo()
|