Home
last modified time | relevance | path

Searched refs:align_buf (Results 1 – 8 of 8) sorted by relevance

/drivers/ata/
Dpata_ixp4xx_cf.c156 u16 align_buf[1] = { 0 }; in ixp4xx_mmio_data_xfer() local
160 align_buf[0] = readw(mmio); in ixp4xx_mmio_data_xfer()
161 memcpy(trailing_buf, align_buf, 1); in ixp4xx_mmio_data_xfer()
163 memcpy(align_buf, trailing_buf, 1); in ixp4xx_mmio_data_xfer()
164 writew(align_buf[0], mmio); in ixp4xx_mmio_data_xfer()
Dpata_octeon_cf.c362 __le16 align_buf[1] = { 0 }; in octeon_cf_data_xfer16() local
365 align_buf[0] = cpu_to_le16(ioread16(data_addr)); in octeon_cf_data_xfer16()
366 memcpy(buffer, align_buf, 1); in octeon_cf_data_xfer16()
368 memcpy(align_buf, buffer, 1); in octeon_cf_data_xfer16()
369 iowrite16(le16_to_cpu(align_buf[0]), data_addr); in octeon_cf_data_xfer16()
/drivers/usb/dwc2/
Dhcd.h109 dma_addr_t align_buf; member
Dhcd.c1338 if (chan->align_buf) { in dwc2_hc_start_transfer()
1341 dma_addr = chan->align_buf; in dwc2_hc_start_transfer()
2430 chan->align_buf = 0; in dwc2_alloc_split_dma_aligned_buf()
2434 chan->align_buf = qh->dw_align_buf_dma; in dwc2_alloc_split_dma_aligned_buf()
2635 chan->align_buf = 0; in dwc2_assign_and_init_hc()
2650 chan->align_buf = 0; in dwc2_assign_and_init_hc()
Dhcd_intr.c922 if (chan->align_buf) { in dwc2_xfercomp_isoc_split_in()
/drivers/infiniband/hw/qib/
Dqib_verbs.c632 kfree(tx->align_buf); in qib_put_txreq()
725 hdr = &tx->align_buf->hdr; in sdma_complete()
850 tx->align_buf = phdr; in qib_verbs_send_dma()
Dqib.h254 struct qib_pio_header *align_buf; member
/drivers/net/ethernet/broadcom/
Dbnx2.c4514 u8 *buf, start[4], end[4], *align_buf = NULL, *flash_buffer = NULL; in bnx2_nvram_write() local
4540 align_buf = kmalloc(len32, GFP_KERNEL); in bnx2_nvram_write()
4541 if (!align_buf) in bnx2_nvram_write()
4544 memcpy(align_buf, start, 4); in bnx2_nvram_write()
4547 memcpy(align_buf + len32 - 4, end, 4); in bnx2_nvram_write()
4549 memcpy(align_buf + align_start, data_buf, buf_size); in bnx2_nvram_write()
4550 buf = align_buf; in bnx2_nvram_write()
4685 kfree(align_buf); in bnx2_nvram_write()