Home
last modified time | relevance | path

Searched refs:BUFFER_SIZE (Results 1 – 18 of 18) sorted by relevance

/linux-3.4.99/drivers/isdn/sc/
Dpacket.c50 if (data->len > BUFFER_SIZE) { in sndpkt()
57 BUFFER_SIZE + sc_adapter[card]->channel[channel].first_sendbuf; in sndpkt()
132 sc_adapter[card]->devicename, BUFFER_SIZE); in rcvpkt()
135 newll.msg_len = BUFFER_SIZE; in rcvpkt()
161 buffer_size = BUFFER_SIZE; in setup_buffers()
Dhardware.h73 #define BUFFER_SIZE 0x800 /* The size of a buffer in bytes */ macro
Dinit.c281 interface->maxbufsize = BUFFER_SIZE; in sc_init()
/linux-3.4.99/drivers/input/serio/
Dgscps2.c88 #define BUFFER_SIZE 0x0f macro
101 } buffer[BUFFER_SIZE+1];
243 ps2port->append = ((ps2port->append+1) & BUFFER_SIZE); in gscps2_interrupt()
267 ps2port->act = ((ps2port->act+1) & BUFFER_SIZE); in gscps2_interrupt()
/linux-3.4.99/drivers/net/ethernet/i825xx/
Dether1.c60 #define BUFFER_SIZE 0x10000 macro
256 unsigned char *buffer = kmalloc (BUFFER_SIZE, GFP_KERNEL); in ether1_ramtest()
257 int i, ret = BUFFER_SIZE; in ether1_ramtest()
265 memset (buffer, byte, BUFFER_SIZE); in ether1_ramtest()
266 ether1_writebuffer (dev, buffer, 0, BUFFER_SIZE); in ether1_ramtest()
267 memset (buffer, byte ^ 0xff, BUFFER_SIZE); in ether1_ramtest()
268 ether1_readbuffer (dev, buffer, 0, BUFFER_SIZE); in ether1_ramtest()
270 for (i = 0; i < BUFFER_SIZE; i++) { in ether1_ramtest()
294 printk (" - 0x%04X\n", BUFFER_SIZE); in ether1_ramtest()
/linux-3.4.99/drivers/spi/
Dspi-atmel.c214 #define BUFFER_SIZE PAGE_SIZE macro
349 if (len > BUFFER_SIZE) in atmel_spi_next_xfer_data()
350 len = BUFFER_SIZE; in atmel_spi_next_xfer_data()
356 if (len > BUFFER_SIZE) in atmel_spi_next_xfer_data()
357 len = BUFFER_SIZE; in atmel_spi_next_xfer_data()
953 as->buffer = dma_alloc_coherent(&pdev->dev, BUFFER_SIZE, in atmel_spi_probe()
998 dma_free_coherent(&pdev->dev, BUFFER_SIZE, as->buffer, in atmel_spi_probe()
1029 dma_free_coherent(&pdev->dev, BUFFER_SIZE, as->buffer, in atmel_spi_remove()
/linux-3.4.99/drivers/usb/host/
Doxu210hp.h346 #define BUFFER_SIZE 512 macro
353 u8 buffer[BUFFER_SIZE];
354 } __attribute__ ((aligned(BUFFER_SIZE)));
Doxu210hp-hcd.c487 if (len > BUFFER_SIZE * BUFFER_NUM) { in oxu_buf_alloc()
495 n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE; in oxu_buf_alloc()
517 qtd->qtd_buffer_len = BUFFER_SIZE * a_blocks; in oxu_buf_alloc()
539 / BUFFER_SIZE; in oxu_buf_free()
/linux-3.4.99/drivers/media/video/pvrusb2/
Dpvrusb2-ioread.c31 #define BUFFER_SIZE PAGE_ALIGN(0x4000) macro
61 cp->buffer_storage[idx] = kmalloc(BUFFER_SIZE,GFP_KERNEL); in pvr2_ioread_init()
234 BUFFER_SIZE); in pvr2_ioread_setup()
/linux-3.4.99/fs/cramfs/
Dinode.c136 #define BUFFER_SIZE (BLKS_PER_BUF*PAGE_CACHE_SIZE) macro
138 static unsigned char read_buffers[READ_BUFFERS][BUFFER_SIZE];
170 if (blk_offset + len > BUFFER_SIZE) in cramfs_read()
/linux-3.4.99/drivers/net/arcnet/
Darc-rimi.c59 #define BUFFER_SIZE (512) macro
60 #define MIRROR_SIZE (BUFFER_SIZE*4)
Dcom90xx.c79 #define BUFFER_SIZE (512) macro
80 #define MIRROR_SIZE (BUFFER_SIZE*4)
/linux-3.4.99/drivers/net/tokenring/
Dtms380tr.h358 #define BUFFER_SIZE 2048 /* Buffers on Adapter */ macro
387 #define BUFFER_SIZE 2048 /* Buffers on Adapter. */ macro
Dtms380tr.c490 unsigned short BufferSize = BUFFER_SIZE; in tms380tr_init_opb()
/linux-3.4.99/drivers/mmc/card/
Dmmc_test.c33 #define BUFFER_SIZE (PAGE_SIZE << BUFFER_ORDER) macro
143 u8 scratch[BUFFER_SIZE];
628 for (i = 0;i < BUFFER_SIZE / 512;i++) { in __mmc_test_prepare()
657 for (i = 0;i < BUFFER_SIZE / 512;i++) { in mmc_test_cleanup()
911 memset(test->scratch, 0, BUFFER_SIZE); in mmc_test_transfer()
914 sg_copy_from_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
937 if ((sectors * 512) > BUFFER_SIZE) in mmc_test_transfer()
961 sg_copy_to_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
2877 test->buffer = kzalloc(BUFFER_SIZE, GFP_KERNEL);
/linux-3.4.99/drivers/block/
Dataflop.c268 #define BUFFER_SIZE (BufferSize[DriveType]) macro
701 FILL( TrackBuffer+BUFFER_SIZE-p, 0x4e ); in do_format()
1165 dma_cache_maintenance( paddr, BUFFER_SIZE, 1 ); in fd_writetrack()
1201 dma_wd.fdc_acces_seccount = BUFFER_SIZE/512; in fd_writetrack()
1950 DMABuffer = atari_stram_alloc(BUFFER_SIZE+512, "ataflop"); in atari_floppy_init()
/linux-3.4.99/drivers/media/video/
Dzr364xx.c52 #define BUFFER_SIZE 0x1000 macro
1487 pipe->transfer_size = BUFFER_SIZE; in zr364xx_board_init()
/linux-3.4.99/sound/core/
Dpcm_native.c158 HW_PARAM(BUFFER_SIZE),