Searched refs:align_buf (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/ata/ |
D | pata_ixp4xx_cf.c | 65 u16 align_buf[1] = { 0 }; in ixp4xx_mmio_data_xfer() local 69 align_buf[0] = readw(mmio); in ixp4xx_mmio_data_xfer() 70 memcpy(trailing_buf, align_buf, 1); in ixp4xx_mmio_data_xfer() 72 memcpy(align_buf, trailing_buf, 1); in ixp4xx_mmio_data_xfer() 73 writew(align_buf[0], mmio); in ixp4xx_mmio_data_xfer()
|
D | pata_octeon_cf.c | 365 __le16 align_buf[1] = { 0 }; in octeon_cf_data_xfer16() local 368 align_buf[0] = cpu_to_le16(ioread16(data_addr)); in octeon_cf_data_xfer16() 369 memcpy(buffer, align_buf, 1); in octeon_cf_data_xfer16() 371 memcpy(align_buf, buffer, 1); in octeon_cf_data_xfer16() 372 iowrite16(le16_to_cpu(align_buf[0]), data_addr); in octeon_cf_data_xfer16()
|
/Linux-v5.4/drivers/usb/dwc2/ |
D | hcd.h | 138 dma_addr_t align_buf; member
|
D | hcd.c | 1372 if (chan->align_buf) { in dwc2_hc_start_transfer() 1375 dma_addr = chan->align_buf; in dwc2_hc_start_transfer() 2464 chan->align_buf = 0; in dwc2_alloc_split_dma_aligned_buf() 2468 chan->align_buf = qh->dw_align_buf_dma; in dwc2_alloc_split_dma_aligned_buf() 2669 chan->align_buf = 0; in dwc2_assign_and_init_hc() 2684 chan->align_buf = 0; in dwc2_assign_and_init_hc()
|
D | hcd_intr.c | 952 if (chan->align_buf) { in dwc2_xfercomp_isoc_split_in()
|
/Linux-v5.4/drivers/infiniband/hw/qib/ |
D | qib_verbs.c | 631 kfree(tx->align_buf); in qib_put_txreq() 724 hdr = &tx->align_buf->hdr; in sdma_complete() 849 tx->align_buf = phdr; in qib_verbs_send_dma()
|
D | qib.h | 254 struct qib_pio_header *align_buf; member
|
/Linux-v5.4/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 4536 u8 *buf, start[4], end[4], *align_buf = NULL, *flash_buffer = NULL; in bnx2_nvram_write() local 4562 align_buf = kmalloc(len32, GFP_KERNEL); in bnx2_nvram_write() 4563 if (!align_buf) in bnx2_nvram_write() 4566 memcpy(align_buf, start, 4); in bnx2_nvram_write() 4569 memcpy(align_buf + len32 - 4, end, 4); in bnx2_nvram_write() 4571 memcpy(align_buf + align_start, data_buf, buf_size); in bnx2_nvram_write() 4572 buf = align_buf; in bnx2_nvram_write() 4707 kfree(align_buf); in bnx2_nvram_write()
|