Home
last modified time | relevance | path

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

/drivers/input/serio/
Dgscps2.c86 #define BUFFER_SIZE 0x0f macro
99 } buffer[BUFFER_SIZE+1];
240 ps2port->append = ((ps2port->append+1) & BUFFER_SIZE); in gscps2_interrupt()
264 ps2port->act = ((ps2port->act+1) & BUFFER_SIZE); in gscps2_interrupt()
/drivers/net/ethernet/i825xx/
Dether1.c57 #define BUFFER_SIZE 0x10000 macro
254 unsigned char *buffer = kmalloc (BUFFER_SIZE, GFP_KERNEL); in ether1_ramtest()
255 int i, ret = BUFFER_SIZE; in ether1_ramtest()
263 memset (buffer, byte, BUFFER_SIZE); in ether1_ramtest()
264 ether1_writebuffer (dev, buffer, 0, BUFFER_SIZE); in ether1_ramtest()
265 memset (buffer, byte ^ 0xff, BUFFER_SIZE); in ether1_ramtest()
266 ether1_readbuffer (dev, buffer, 0, BUFFER_SIZE); in ether1_ramtest()
268 for (i = 0; i < BUFFER_SIZE; i++) { in ether1_ramtest()
292 printk (" - 0x%04X\n", BUFFER_SIZE); in ether1_ramtest()
/drivers/media/usb/pvrusb2/
Dpvrusb2-ioread.c17 #define BUFFER_SIZE PAGE_ALIGN(0x4000) macro
47 cp->buffer_storage[idx] = kmalloc(BUFFER_SIZE,GFP_KERNEL); in pvr2_ioread_init()
219 BUFFER_SIZE); in pvr2_ioread_setup()
/drivers/net/arcnet/
Darc-rimi.c60 #define BUFFER_SIZE (512) macro
61 #define MIRROR_SIZE (BUFFER_SIZE * 4)
Dcom90xx.c79 #define BUFFER_SIZE (512) macro
80 #define MIRROR_SIZE (BUFFER_SIZE * 4)
/drivers/block/
Dataflop.c353 #define BUFFER_SIZE (BufferSize[DriveType]) macro
806 FILL( TrackBuffer+BUFFER_SIZE-p, 0x4e ); in do_format()
1274 dma_cache_maintenance( paddr, BUFFER_SIZE, 1 ); in fd_writetrack()
1310 dma_wd.fdc_acces_seccount = BUFFER_SIZE/512; in fd_writetrack()
2109 DMABuffer = atari_stram_alloc(BUFFER_SIZE+512, "ataflop"); in atari_floppy_init()
/drivers/mmc/core/
Dmmc_test.c32 #define BUFFER_SIZE (PAGE_SIZE << BUFFER_ORDER) macro
146 u8 scratch[BUFFER_SIZE];
641 for (i = 0; i < BUFFER_SIZE / 512; i++) { in __mmc_test_prepare()
940 memset(test->scratch, 0, BUFFER_SIZE); in mmc_test_transfer()
942 sg_copy_from_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
964 if ((sectors * 512) > BUFFER_SIZE) in mmc_test_transfer()
987 sg_copy_to_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
3104 test->buffer = kzalloc(BUFFER_SIZE, GFP_KERNEL); in mtf_test_write()
/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dsmu10_smumgr.c37 #define BUFFER_SIZE 80000 macro
/drivers/usb/host/
Doxu210hp-hcd.c377 #define BUFFER_SIZE 512 macro
384 u8 buffer[BUFFER_SIZE];
385 } __aligned(BUFFER_SIZE);
914 if (len > BUFFER_SIZE * BUFFER_NUM) { in oxu_buf_alloc()
922 n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE; in oxu_buf_alloc()
944 qtd->qtd_buffer_len = BUFFER_SIZE * a_blocks; in oxu_buf_alloc()
966 / BUFFER_SIZE; in oxu_buf_free()
/drivers/net/xen-netback/
Dxenbus.c103 #define BUFFER_SIZE 32 macro
112 char write[BUFFER_SIZE]; in xenvif_write_io_ring()