Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_mem.c564 &dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc()
565 if (!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()
622 &dma_buf->hbuf.phys); in lpfc_sli4_nvmet_alloc()
623 if (!dma_buf->hbuf.virt) { in lpfc_sli4_nvmet_alloc()
631 dma_buf->hbuf.phys); in lpfc_sli4_nvmet_alloc()
654 dma_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys); in lpfc_sli4_nvmet_free()
733 list_del(&rqb_entry->hbuf.list); in lpfc_rq_buf_free()
734 hrqe.address_lo = putPaddrLow(rqb_entry->hbuf.phys); in lpfc_rq_buf_free()
[all …]
H A 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 …]
H A Dlpfc_sli.c3224 fc_hdr = nvmebuf->hbuf.virt; in lpfc_nvme_unsol_ls_handler()
7794 hbuf.list); in lpfc_post_rq_buffer()
7813 list_add_tail(&rqb_buffer->hbuf.list, in lpfc_post_rq_buffer()
15222 lpfc_rq_buf_free(phba, &dma_buf->hbuf); in lpfc_sli4_nvmet_handle_rcqe()
15265 lpfc_rq_buf_free(phba, &dma_buf->hbuf); in lpfc_sli4_nvmet_handle_rcqe()
18613 list_del_init(&dmabuf->hbuf.list); in lpfc_cleanup_rcv_buffers()
18657 list_del_init(&dmabuf->hbuf.list); in lpfc_rcv_seq_check_edtov()
18717 temp_hdr = seq_dmabuf->hbuf.virt; in lpfc_fc_frame_add()
18720 list_del_init(&seq_dmabuf->hbuf.list); in lpfc_fc_frame_add()
18787 INIT_LIST_HEAD(&dmabuf->hbuf.list); in lpfc_sli4_abort_partial_seq()
[all …]
H A Dlpfc.h162 struct lpfc_dmabuf hbuf; member
173 struct lpfc_dmabuf hbuf; member
H A Dlpfc_bsg.c1141 memcpy(fc_hdr_ptr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); in lpfc_bsg_ct_unsol_abort()
H A Dlpfc_init.c10950 rqb_buffer = container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_free_rq_buffer()
/openbmc/qemu/tests/tcg/hexagon/
H A Dbrev.c31 int16_t hbuf[SIZE] __attribute__((aligned(1 << 16))) = {0}; variable
158 hbuf[i] = bitreverse(i); in main()
166 TEST_BREV_LOAD(h, int32_t, hbuf, 15, i); in main()
167 TEST_BREV_LOAD(uh, int32_t, hbuf, 15, i); in main()
172 TEST_BREV_STORE(h, int32_t, hbuf, i, 15); in main()
173 TEST_BREV_STORE(f, int32_t, hbuf, high_half[i], 15); in main()
178 TEST_BREV_STORE_NEW(hnew, hbuf, 15); in main()
H A Dcirc.c41 int16_t hbuf[NHALFS] __attribute__((aligned(1 << 12))) = {0}; variable
57 INIT(hbuf, NHALFS) in INIT()
259 TEST_LOAD_IMM(h, int16_t, hbuf, NHALFS, 2, d)
260 TEST_LOAD_IMM(uh, uint16_t, hbuf, NHALFS, 2, d)
288 TEST_LOAD_REG(h, int16_t, hbuf, NHALFS, d) in TEST_LOAD_REG()
289 TEST_LOAD_REG(uh, uint16_t, hbuf, NHALFS, d) in TEST_LOAD_REG()
335 CHECK_STORE(h, hbuf, NHALFS, x)
394 CIRC_TEST_STORE_REG(h, h, int16_t, hbuf, NHALFS, 0)
395 CIRC_TEST_STORE_REG(f, h, int16_t, hbuf, NHALFS, 16)
399 CIRC_TEST_STORE_REG(hnew, h, int16_t, hbuf, NHALFS, 0)
[all …]
/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/drivers/net/hamradio/
H A 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()
/openbmc/ipmitool/src/plugins/
H A Dipmi_intf.c394 char hbuf[NI_MAXHOST]; in ipmi_intf_socket_connect() local
400 …if (getnameinfo((struct sockaddr *)addr6, len, hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST) == 0) { in ipmi_intf_socket_connect()
402 hbuf, in ipmi_intf_socket_connect()
436 …if ( getnameinfo((struct sockaddr *)tmp6, len, hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST) == 0) { in ipmi_intf_socket_connect()
439 hbuf, in ipmi_intf_socket_connect()
/openbmc/u-boot/lib/zlib/
H A Dinflate.c162 hbuf[0] = (unsigned char)(word); \
163 hbuf[1] = (unsigned char)((word) >> 8); \
164 check = crc32(check, hbuf, 2); \
169 hbuf[0] = (unsigned char)(word); \
170 hbuf[1] = (unsigned char)((word) >> 8); \
171 hbuf[2] = (unsigned char)((word) >> 16); \
172 hbuf[3] = (unsigned char)((word) >> 24); \
173 check = crc32(check, hbuf, 4); \
344 unsigned char hbuf[4]; /* buffer for gzip header crc calculation */ in inflate() local
/openbmc/linux/tools/usb/usbip/src/
H A 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()
/openbmc/linux/drivers/misc/mei/
H A 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()
/openbmc/qemu/dump/
H A Ddump.c1280 uint8_t *buf = NULL, *hbuf; in get_next_page() local
1298 hbuf = block->host_addr + (addr - block->target_start); in get_next_page()
1303 buf = hbuf; in get_next_page()
1314 memcpy(buf + addr % page_size, hbuf, n); in get_next_page()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_lan_tx_rx.h454 u16 hbuf; /* bigger than needed, see above for reason */ member
H A Dice_common.c1440 ICE_CTX_STORE(ice_rlan_ctx, hbuf, 5, 109),
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
H A 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()