/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_mem.c | 563 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 …]
|
H A D | lpfc_nvmet.c | 418 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 D | lpfc_sli.c | 2497 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() 7801 list_add_tail(&rqb_buffer->hbuf.list, &rqb_buf_list); in lpfc_post_rq_buffer() 7807 hbuf.list); in lpfc_post_rq_buffer() 7809 hrqe.address_lo = putPaddrLow(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer() 7810 hrqe.address_hi = putPaddrHigh(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer() 7826 list_add_tail(&rqb_buffer->hbuf.list, in lpfc_post_rq_buffer() 14664 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_sp_handle_rcqe() [all …]
|
H A D | lpfc.h | 162 struct lpfc_dmabuf hbuf; member 173 struct lpfc_dmabuf hbuf; member
|
H A D | lpfc_bsg.c | 1141 memcpy(fc_hdr_ptr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); in lpfc_bsg_ct_unsol_abort()
|
H A D | lpfc_init.c | 10950 rqb_buffer = container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_free_rq_buffer()
|
/openbmc/qemu/tests/tcg/hexagon/ |
H A D | brev.c | 31 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 D | circ.c | 41 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) 363 CIRC_TEST_STORE_IMM(h, h, int16_t, hbuf, NHALFS, 0, 2) 364 CIRC_TEST_STORE_IMM(f, h, int16_t, hbuf, NHALFS, 16, 2) 368 CIRC_TEST_STORE_IMM(hnew, h, int16_t, hbuf, NHALFS, 0, 2) [all …]
|
/openbmc/linux/include/linux/ |
H A D | hdlcdrv.h | 107 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 D | hdlcdrv.c | 166 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 D | ipmi_intf.c | 394 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 D | inflate.c | 162 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 D | usbipd.c | 363 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 D | dma-ring.c | 151 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 D | dump.c | 1284 uint8_t *buf = NULL, *hbuf; in get_next_page() local 1302 hbuf = block->host_addr + (addr - block->target_start); in get_next_page() 1307 buf = hbuf; in get_next_page() 1318 memcpy(buf + addr % page_size, hbuf, n); in get_next_page()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lan_tx_rx.h | 454 u16 hbuf; /* bigger than needed, see above for reason */ member
|
H A D | ice_common.c | 1440 ICE_CTX_STORE(ice_rlan_ctx, hbuf, 5, 109),
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_lib.c | 1285 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 D | t4_hw.c | 615 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()
|