| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A D | lpfc_mem.c | 547 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_rb_alloc() 548 &dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc() 549 if (!dma_buf->hbuf.virt) { in lpfc_sli4_rb_alloc() 556 dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, in lpfc_sli4_rb_alloc() 557 dma_buf->hbuf.phys); in lpfc_sli4_rb_alloc() 580 dma_pool_free(phba->lpfc_hrb_pool, dmab->hbuf.virt, dmab->hbuf.phys); in lpfc_sli4_rb_free() 605 dma_buf->hbuf.virt = dma_pool_alloc(phba->lpfc_hrb_pool, GFP_KERNEL, in lpfc_sli4_nvmet_alloc() 606 &dma_buf->hbuf.phys); in lpfc_sli4_nvmet_alloc() 607 if (!dma_buf->hbuf.virt) { in lpfc_sli4_nvmet_alloc() 614 dma_pool_free(phba->lpfc_hrb_pool, dma_buf->hbuf.virt, in lpfc_sli4_nvmet_alloc() [all …]
|
| H A D | lpfc_nvmet.c | 417 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_ctxbuf_post() 429 hbuf.list); in lpfc_nvmet_ctxbuf_post() 434 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() 2236 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); /* repost */ in lpfc_nvmet_process_rcv_fcp_req() 2387 lpfc_rq_buf_free(phba, &nvmebuf->hbuf); in lpfc_nvmet_unsol_fcp_buffer() 2410 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_unsol_fcp_buffer() 2433 list_add_tail(&nvmebuf->hbuf.list, in lpfc_nvmet_unsol_fcp_buffer() [all …]
|
| H A D | lpfc_sli.c | 2102 hrqe.address_lo = putPaddrLow(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4() 2103 hrqe.address_hi = putPaddrHigh(hbq_buf->hbuf.phys); in lpfc_sli_hbq_to_firmware_s4() 2267 return container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_sli_rqbuf_get() 2815 fc_hdr = nvmebuf->hbuf.virt; in lpfc_nvme_unsol_ls_handler() 7257 list_add_tail(&rqb_buffer->hbuf.list, &rqb_buf_list); in lpfc_post_rq_buffer() 7263 hbuf.list); in lpfc_post_rq_buffer() 7265 hrqe.address_lo = putPaddrLow(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer() 7266 hrqe.address_hi = putPaddrHigh(rqb_buffer->hbuf.phys); in lpfc_post_rq_buffer() 7282 list_add_tail(&rqb_buffer->hbuf.list, in lpfc_post_rq_buffer() 13706 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_sp_handle_rcqe() [all …]
|
| H A D | lpfc.h | 159 struct lpfc_dmabuf hbuf; member 170 struct lpfc_dmabuf hbuf; member
|
| H A D | lpfc_bsg.c | 1181 memcpy(fc_hdr_ptr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); in lpfc_bsg_ct_unsol_abort()
|
| H A D | lpfc_init.c | 9455 rqb_buffer = container_of(h_buf, struct rqb_dmabuf, hbuf); in lpfc_free_rq_buffer()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/net/hamradio/ |
| H A D | hdlcdrv.c | 165 while (!hdlcdrv_hbuf_empty(&s->hdlcrx.hbuf)) { in hdlcdrv_receiver() 166 word = hdlcdrv_hbuf_get(&s->hdlcrx.hbuf); in hdlcdrv_receiver() 265 if (hdlcdrv_hbuf_full(&s->hdlctx.hbuf)) { in hdlcdrv_transmitter() 269 hdlcdrv_hbuf_put(&s->hdlctx.hbuf, s->hdlctx.bitbuf); in hdlcdrv_transmitter() 444 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_open() 448 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_open() 640 spin_lock_init(&s->hdlcrx.hbuf.lock); in hdlcdrv_setup() 641 s->hdlcrx.hbuf.rd = s->hdlcrx.hbuf.wr = 0; in hdlcdrv_setup() 645 spin_lock_init(&s->hdlctx.hbuf.lock); in hdlcdrv_setup() 646 s->hdlctx.hbuf.rd = s->hdlctx.hbuf.wr = 0; in hdlcdrv_setup()
|
| /OK3568_Linux_fs/buildroot/dl/rtmpdump/git/ |
| H A D | rtmpdump.c | 142 char hbuf[16], *buffer = NULL; in OpenResumeFile() local 161 if (fread(hbuf, 1, 13, *file) != 13) in OpenResumeFile() 166 if (hbuf[0] != 'F' || hbuf[1] != 'L' || hbuf[2] != 'V' in OpenResumeFile() 167 || hbuf[3] != 0x01) in OpenResumeFile() 173 if ((hbuf[4] & 0x05) == 0) in OpenResumeFile() 180 uint32_t dataOffset = AMF_DecodeInt32(hbuf + 5); in OpenResumeFile() 183 if (fread(hbuf, 1, 4, *file) != 4) in OpenResumeFile() 188 prevTagSize = AMF_DecodeInt32(hbuf); in OpenResumeFile() 203 if (fread(hbuf, 1, 4, *file) != 4) in OpenResumeFile() 206 uint32_t dataSize = AMF_DecodeInt24(hbuf + 1); in OpenResumeFile() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | enc28j60.c | 424 u8 hbuf[6]; in enc_receive() local 428 enc_rbuf(enc, 6, hbuf); in enc_receive() 429 enc->next_pointer = hbuf[0] | (hbuf[1] << 8); in enc_receive() 430 pkt_len = hbuf[2] | (hbuf[3] << 8); in enc_receive() 431 status = hbuf[4] | (hbuf[5] << 8); in enc_receive()
|
| /OK3568_Linux_fs/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
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/buildroot/dl/rtmpdump/git/librtmp/ |
| H A D | rtmp.c | 3552 uint8_t hbuf[RTMP_MAX_HEADER_SIZE] = { 0 }; in RTMP_ReadPacket() local 3553 char *header = (char *)hbuf; in RTMP_ReadPacket() 3560 if (ReadN(r, (char *)hbuf, 1) == 0) in RTMP_ReadPacket() 3566 packet->m_headerType = (hbuf[0] & 0xc0) >> 6; in RTMP_ReadPacket() 3567 packet->m_nChannel = (hbuf[0] & 0x3f); in RTMP_ReadPacket() 3571 if (ReadN(r, (char *)&hbuf[1], 1) != 1) in RTMP_ReadPacket() 3577 packet->m_nChannel = hbuf[1]; in RTMP_ReadPacket() 3584 if (ReadN(r, (char *)&hbuf[1], 2) != 2) in RTMP_ReadPacket() 3590 tmp = (hbuf[2] << 8) + hbuf[1]; in RTMP_ReadPacket() 3633 __FUNCTION__, (unsigned int)hbuf[0]); in RTMP_ReadPacket() [all …]
|
| H A D | hashswf.c | 82 char hbuf[256]; in HTTP_get() local 123 strncpy(hbuf, host, hlen); in HTTP_get() 124 hbuf[hlen] = '\0'; in HTTP_get() 125 host = hbuf; in HTTP_get()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/ |
| H A D | ice_lan_tx_rx.h | 391 u16 hbuf; /* bigger than needed, see above for reason */ member
|
| H A D | ice_common.c | 1216 ICE_CTX_STORE(ice_rlan_ctx, hbuf, 5, 109),
|
| /OK3568_Linux_fs/kernel/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()
|