Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_mem.c563 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc()
564 &dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc()
565 if (!dma_buf->hbuf.virt) { in lpfc_sli4_rb_alloc()
572 dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, in lpfc_sli4_rb_alloc()
573 dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc()
596 dma_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys); in lpfc_sli4_rb_free()
621 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_nvmet_alloc()
622 &dma_buf->hbuf.phys); in lpfc_sli4_nvmet_alloc()
623 if (!dma_buf->hbuf.virt) { in lpfc_sli4_nvmet_alloc()
630 dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, in lpfc_sli4_nvmet_alloc()
[all …]
Dlpfc_nvmet.c418 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_ctxbuf_post()
430 hbuf.list); in lpfc_nvmet_ctxbuf_post()
435 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_ctxbuf_post()
1922 hbuf.list) { in lpfc_nvmet_rcv_unsol_abort()
1924 (nvmebuf->hbuf.virt); in lpfc_nvmet_rcv_unsol_abort()
1935 list_del_init(&nvmebuf->hbuf.list); in lpfc_nvmet_rcv_unsol_abort()
2239 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); /* repost */ in lpfc_nvmet_process_rcv_fcp_req()
2390 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_unsol_fcp_buffer()
2413 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_unsol_fcp_buffer()
2436 list_add_tail(&nvmebuf->hbuf.list, in lpfc_nvmet_unsol_fcp_buffer()
[all …]
Dlpfc_sli.c2497 hrqe.address_lo = putPaddrLow(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2498 hrqe.address_hi = putPaddrHigh(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4()
2662 return container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_sli_rqbuf_get()
3224 fc_hdr = nvmebuf->hbuf.virt; in lpfc_nvme_unsol_ls_handler()
7788 list_add_tail(&rqb_buffer->hbuf.list, &rqb_buf_list); in lpfc_post_rq_buffer()
7794 hbuf.list); in lpfc_post_rq_buffer()
7796 hrqe.address_lo = putPaddrLow(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer()
7797 hrqe.address_hi = putPaddrHigh(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer()
7813 list_add_tail(&rqb_buffer->hbuf.list, in lpfc_post_rq_buffer()
14651 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_sp_handle_rcqe()
[all …]
Dlpfc.h162 struct lpfc_dmabuf hbuf; member
173 struct lpfc_dmabuf hbuf; member
Dlpfc_bsg.c1141 memcpy(fc_hdr_ptr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); in lpfc_bsg_ct_unsol_abort()
Dlpfc_init.c10947 rqb_buffer = container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_free_rq_buffer()
/linux-6.6.21/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-6.6.21/drivers/net/hamradio/
Dhdlcdrv.c166 while (!hdlcdrv_hbuf_empty(&s->hdlcrx.hbuf)) { in hdlcdrv_receiver()
167 word = hdlcdrv_hbuf_get(&s->hdlcrx.hbuf); in hdlcdrv_receiver()
266 if (hdlcdrv_hbuf_full(&s->hdlctx.hbuf)) { in hdlcdrv_transmitter()
270 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter()
445 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_open()
449 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_open()
643 spin_lock_init(&s->hdlcrx.hbuf.lock); in hdlcdrv_setup()
644 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_setup()
648 spin_lock_init(&s->hdlctx.hbuf.lock); in hdlcdrv_setup()
649 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_setup()
/linux-6.6.21/tools/usb/usbip/src/
Dusbipd.c363 char hbuf[NI_MAXHOST]; in addrinfo_to_text() local
369 rc = getnameinfo(ai->ai_addr, ai->ai_addrlen, hbuf, sizeof(hbuf), in addrinfo_to_text()
374 snprintf(buf, buf_size, "%s:%s", hbuf, sbuf); in addrinfo_to_text()
/linux-6.6.21/drivers/misc/mei/
Ddma-ring.c151 unsigned char *hbuf = dev->dr_dscr[DMA_DSCR_HOST].vaddr; in mei_dma_copy_to() local
156 memcpy(hbuf + b_offset, buf, b_n); in mei_dma_copy_to()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_lan_tx_rx.h454 u16 hbuf; /* bigger than needed, see above for reason */ member
Dice_common.c1440 ICE_CTX_STORE(ice_rlan_ctx, hbuf, 5, 109),
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcudbg_lib.c1285 int mtype, u32 addr, u32 len, void *hbuf) in cudbg_memory_read() argument
1296 if (addr & 0x3 || (uintptr_t)hbuf & 0x3) in cudbg_memory_read()
1299 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()