Searched refs:align_buf (Results 1 - 10 of 10) sorted by relevance

/linux-4.4.14/drivers/ata/
H A Dpata_ixp4xx_cf.c69 u16 align_buf[1] = { 0 }; ixp4xx_mmio_data_xfer() local
73 align_buf[0] = readw(mmio); ixp4xx_mmio_data_xfer()
74 memcpy(trailing_buf, align_buf, 1); ixp4xx_mmio_data_xfer()
76 memcpy(align_buf, trailing_buf, 1); ixp4xx_mmio_data_xfer()
77 writew(align_buf[0], mmio); ixp4xx_mmio_data_xfer()
H A Dpata_octeon_cf.c374 __le16 align_buf[1] = { 0 }; octeon_cf_data_xfer16() local
377 align_buf[0] = cpu_to_le16(ioread16(data_addr)); octeon_cf_data_xfer16()
378 memcpy(buffer, align_buf, 1); octeon_cf_data_xfer16()
380 memcpy(align_buf, buffer, 1); octeon_cf_data_xfer16()
381 iowrite16(le16_to_cpu(align_buf[0]), data_addr); octeon_cf_data_xfer16()
H A Dpata_bf54x.c1170 unsigned short align_buf[1] = { 0 }; bfin_data_xfer() local
1174 read_atapi_data(base, 1, align_buf); bfin_data_xfer()
1175 memcpy(trailing_buf, align_buf, 1); bfin_data_xfer()
1177 memcpy(align_buf, trailing_buf, 1); bfin_data_xfer()
1178 write_atapi_data(base, 1, align_buf); bfin_data_xfer()
/linux-4.4.14/drivers/usb/dwc2/
H A Dhcd_intr.c469 if (chan->align_buf && xfer_length) { dwc2_update_urb_state()
563 if (chan->align_buf && frame_desc->actual_length) { dwc2_update_isoc_urb_state()
597 if (chan->align_buf && frame_desc->actual_length) { dwc2_update_isoc_urb_state()
677 qh->channel->align_buf = 0; dwc2_deactivate_qh()
942 if (chan->align_buf) { dwc2_xfercomp_isoc_split_in()
1173 if (chan->align_buf && xfer_length && chan->ep_is_in) { dwc2_update_urb_state_abn()
H A Dhcd.h78 * @align_buf: In Buffer DMA mode this will be used if xfer_buf is not
135 dma_addr_t align_buf; member in struct:dwc2_host_chan
H A Dhcd.c748 dev_err(hsotg->dev, "can't map align_buf\n"); dwc2_hc_setup_align_buf()
749 chan->align_buf = 0; dwc2_hc_setup_align_buf()
753 chan->align_buf = qh->dw_align_buf_dma; dwc2_hc_setup_align_buf()
864 chan->align_buf = 0; dwc2_assign_and_init_hc()
873 chan->align_buf = 0; dwc2_assign_and_init_hc()
H A Dcore.c1835 if (chan->align_buf) { dwc2_hc_start_transfer()
1837 dev_vdbg(hsotg->dev, "align_buf\n"); dwc2_hc_start_transfer()
1838 dma_addr = chan->align_buf; dwc2_hc_start_transfer()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_verbs.c1017 kfree(tx->align_buf); qib_put_txreq()
1107 hdr = &tx->align_buf->hdr; sdma_complete()
1231 tx->align_buf = phdr; qib_verbs_send_dma()
H A Dqib.h266 struct qib_pio_header *align_buf; member in struct:qib_verbs_txreq
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dbnx2.c4538 u8 *buf, start[4], end[4], *align_buf = NULL, *flash_buffer = NULL; bnx2_nvram_write() local
4564 align_buf = kmalloc(len32, GFP_KERNEL); bnx2_nvram_write()
4565 if (align_buf == NULL) bnx2_nvram_write()
4568 memcpy(align_buf, start, 4); bnx2_nvram_write()
4571 memcpy(align_buf + len32 - 4, end, 4); bnx2_nvram_write()
4573 memcpy(align_buf + align_start, data_buf, buf_size); bnx2_nvram_write()
4574 buf = align_buf; bnx2_nvram_write()
4709 kfree(align_buf); bnx2_nvram_write()

Completed in 477 milliseconds