/drivers/isdn/sc/ |
D | packet.c | 50 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()
|
D | hardware.h | 73 #define BUFFER_SIZE 0x800 /* The size of a buffer in bytes */ macro
|
D | init.c | 279 interface->maxbufsize = BUFFER_SIZE; in sc_init()
|
/drivers/mmc/host/ |
D | android-goldfish.c | 56 #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/ |
D | ether1.c | 60 #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/ |
D | gscps2.c | 86 #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/ |
D | keychord.c | 29 #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/ |
D | spi-atmel.c | 328 #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/ |
D | oxu210hp.h | 346 #define BUFFER_SIZE 512 macro 353 u8 buffer[BUFFER_SIZE]; 354 } __attribute__ ((aligned(BUFFER_SIZE)));
|
D | oxu210hp-hcd.c | 490 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/ |
D | pvrusb2-ioread.c | 31 #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/ |
D | arc-rimi.c | 60 #define BUFFER_SIZE (512) macro 61 #define MIRROR_SIZE (BUFFER_SIZE * 4)
|
D | com90xx.c | 79 #define BUFFER_SIZE (512) macro 80 #define MIRROR_SIZE (BUFFER_SIZE * 4)
|
/drivers/mmc/card/ |
D | mmc_test.c | 33 #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/ |
D | ataflop.c | 270 #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/ |
D | xenbus.c | 130 #define BUFFER_SIZE 32 macro 139 char write[BUFFER_SIZE]; in xenvif_write_io_ring()
|
/drivers/media/usb/zr364xx/ |
D | zr364xx.c | 56 #define BUFFER_SIZE 0x1000 macro 1367 pipe->transfer_size = BUFFER_SIZE; in zr364xx_board_init()
|