Home
last modified time | relevance | path

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

/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.c279 interface->maxbufsize = BUFFER_SIZE; in sc_init()
/drivers/mmc/host/
Dandroid-goldfish.c56 #define BUFFER_SIZE 16384 macro
484 host->virt_base = dma_alloc_coherent(&pdev->dev, BUFFER_SIZE, in goldfish_mmc_probe()
509 mmc->max_req_size = BUFFER_SIZE; in goldfish_mmc_probe()
535 dma_free_coherent(&pdev->dev, BUFFER_SIZE, host->virt_base, in goldfish_mmc_probe()
553 dma_free_coherent(&pdev->dev, BUFFER_SIZE, host->virt_base, host->phys_base); in goldfish_mmc_remove()
/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()
/drivers/input/serio/
Dgscps2.c86 #define BUFFER_SIZE 0x0f macro
99 } buffer[BUFFER_SIZE+1];
241 ps2port->append = ((ps2port->append+1) & BUFFER_SIZE); in gscps2_interrupt()
265 ps2port->act = ((ps2port->act+1) & BUFFER_SIZE); in gscps2_interrupt()
/drivers/input/misc/
Dkeychord.c29 #define BUFFER_SIZE 16 macro
62 __u16 buff[BUFFER_SIZE];
122 kdev->head = (kdev->head + 1) % BUFFER_SIZE; in keychord_event()
221 kdev->tail = (kdev->tail + 1) % BUFFER_SIZE; in keychord_read()
/drivers/spi/
Dspi-atmel.c328 #define BUFFER_SIZE PAGE_SIZE macro
755 if (len > BUFFER_SIZE) in atmel_spi_next_xfer_dma_submit()
756 len = BUFFER_SIZE; in atmel_spi_next_xfer_dma_submit()
765 if (len > BUFFER_SIZE) in atmel_spi_next_xfer_dma_submit()
766 len = BUFFER_SIZE; in atmel_spi_next_xfer_dma_submit()
840 if (len > BUFFER_SIZE) in atmel_spi_next_xfer_data()
841 len = BUFFER_SIZE; in atmel_spi_next_xfer_data()
848 if (len > BUFFER_SIZE) in atmel_spi_next_xfer_data()
849 len = BUFFER_SIZE; in atmel_spi_next_xfer_data()
1545 as->buffer = dma_alloc_coherent(&pdev->dev, BUFFER_SIZE, in atmel_spi_probe()
[all …]
/drivers/usb/host/
Doxu210hp.h346 #define BUFFER_SIZE 512 macro
353 u8 buffer[BUFFER_SIZE];
354 } __attribute__ ((aligned(BUFFER_SIZE)));
Doxu210hp-hcd.c490 if (len > BUFFER_SIZE * BUFFER_NUM) { in oxu_buf_alloc()
498 n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE; in oxu_buf_alloc()
520 qtd->qtd_buffer_len = BUFFER_SIZE * a_blocks; in oxu_buf_alloc()
542 / BUFFER_SIZE; in oxu_buf_free()
/drivers/media/usb/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()
235 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/mmc/card/
Dmmc_test.c33 #define BUFFER_SIZE (PAGE_SIZE << BUFFER_ORDER) macro
145 u8 scratch[BUFFER_SIZE];
624 for (i = 0;i < BUFFER_SIZE / 512;i++) { in __mmc_test_prepare()
653 for (i = 0;i < BUFFER_SIZE / 512;i++) { in mmc_test_cleanup()
905 memset(test->scratch, 0, BUFFER_SIZE); in mmc_test_transfer()
908 sg_copy_from_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
931 if ((sectors * 512) > BUFFER_SIZE) in mmc_test_transfer()
955 sg_copy_to_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
2794 test->buffer = kzalloc(BUFFER_SIZE, GFP_KERNEL);
/drivers/block/
Dataflop.c270 #define BUFFER_SIZE (BufferSize[DriveType]) macro
702 FILL( TrackBuffer+BUFFER_SIZE-p, 0x4e ); in do_format()
1166 dma_cache_maintenance( paddr, BUFFER_SIZE, 1 ); in fd_writetrack()
1202 dma_wd.fdc_acces_seccount = BUFFER_SIZE/512; in fd_writetrack()
1954 DMABuffer = atari_stram_alloc(BUFFER_SIZE+512, "ataflop"); in atari_floppy_init()
/drivers/net/xen-netback/
Dxenbus.c130 #define BUFFER_SIZE 32 macro
139 char write[BUFFER_SIZE]; in xenvif_write_io_ring()
/drivers/media/usb/zr364xx/
Dzr364xx.c56 #define BUFFER_SIZE 0x1000 macro
1367 pipe->transfer_size = BUFFER_SIZE; in zr364xx_board_init()