Home
last modified time | relevance | path

Searched refs:hbuf (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_mem.c578 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc()
579 &dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc()
580 if (!dma_buf->hbuf.virt) { in lpfc_sli4_rb_alloc()
587 dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, in lpfc_sli4_rb_alloc()
588 dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc()
611 dma_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys); in lpfc_sli4_rb_free()
638 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_nvmet_alloc()
639 &dma_buf->hbuf.phys); in lpfc_sli4_nvmet_alloc()
640 if (!dma_buf->hbuf.virt) { in lpfc_sli4_nvmet_alloc()
647 dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, in lpfc_sli4_nvmet_alloc()
[all …]
Dlpfc_nvmet.c350 hbuf.list); in lpfc_nvmet_ctxbuf_post()
355 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_ctxbuf_post()
1745 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_unsol_ls_buffer()
1945 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_unsol_fcp_buffer()
1965 list_add_tail(&nvmebuf->hbuf.list, in lpfc_nvmet_unsol_fcp_buffer()
2039 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); /* repost */ in lpfc_nvmet_unsol_fcp_buffer()
2076 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); /* repost */ in lpfc_nvmet_unsol_fcp_buffer()
2084 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); /* repost */ in lpfc_nvmet_unsol_fcp_buffer()
2135 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_unsol_fcp_event()
Dlpfc_sli.c2097 hrqe.address_lo = putPaddrLow(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2098 hrqe.address_hi = putPaddrHigh(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2264 return container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_sli_rqbuf_get()
6764 list_add_tail(&rqb_buffer->hbuf.list, &rqb_buf_list); in lpfc_post_rq_buffer()
6768 hbuf.list); in lpfc_post_rq_buffer()
6770 hrqe.address_lo = putPaddrLow(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer()
6771 hrqe.address_hi = putPaddrHigh(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer()
6787 list_add_tail(&rqb_buffer->hbuf.list, in lpfc_post_rq_buffer()
13177 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_sp_handle_rcqe()
13578 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_nvmet_handle_rcqe()
[all …]
Dlpfc.h158 struct lpfc_dmabuf hbuf; member
169 struct lpfc_dmabuf hbuf; member
Dlpfc_bsg.c1180 memcpy(fc_hdr_ptr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); in lpfc_bsg_ct_unsol_abort()
Dlpfc_init.c8678 rqb_buffer = container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_free_rq_buffer()
/Linux-v4.19/include/linux/
Dhdlcdrv.h107 struct hdlcdrv_hdlcbuffer hbuf; member
122 struct hdlcdrv_hdlcbuffer hbuf; member
223 hdlcdrv_hbuf_put(&s->hdlcrx.hbuf, bits); in hdlcdrv_putbits()
230 if (hdlcdrv_hbuf_empty(&s->hdlctx.hbuf)) { in hdlcdrv_getbits()
237 ret = hdlcdrv_hbuf_get(&s->hdlctx.hbuf); in hdlcdrv_getbits()
239 hdlcdrv_hbuf_put(&s->hdlcrx.hbuf, ret); in hdlcdrv_getbits()
/Linux-v4.19/drivers/net/hamradio/
Dhdlcdrv.c178 while (!hdlcdrv_hbuf_empty(&s->hdlcrx.hbuf)) { in hdlcdrv_receiver()
179 word = hdlcdrv_hbuf_get(&s->hdlcrx.hbuf); in hdlcdrv_receiver()
278 if (hdlcdrv_hbuf_full(&s->hdlctx.hbuf)) { in hdlcdrv_transmitter()
282 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter()
457 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_open()
461 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_open()
654 spin_lock_init(&s->hdlcrx.hbuf.lock); in hdlcdrv_setup()
655 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_setup()
659 spin_lock_init(&s->hdlctx.hbuf.lock); in hdlcdrv_setup()
660 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_setup()
/Linux-v4.19/tools/usb/usbip/src/
Dusbipd.c375 char hbuf[NI_MAXHOST]; in addrinfo_to_text() local
381 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf), in addrinfo_to_text()
386 snprintf(buf, buf_size, "%s:%s", hbuf, sbuf); in addrinfo_to_text()
/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_lan_tx_rx.h274 u16 hbuf; /* bigger than needed, see above for reason */ member
Dice_common.c704 ICE_CTX_STORE(ice_rlan_ctx, hbuf, 5, 109),
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c894 int mtype, u32 addr, u32 len, void *hbuf) in cudbg_memory_read() argument
905 if (addr & 0x3 || (uintptr_t)hbuf & 0x3) in cudbg_memory_read()
908 buf = (u64 *)hbuf; in cudbg_memory_read()
Dt4_hw.c615 u32 len, void *hbuf, int dir) in t4_memory_rw() argument
624 if (addr & 0x3 || (uintptr_t)hbuf & 0x3) in t4_memory_rw()
626 buf = (u32 *)hbuf; in t4_memory_rw()