/drivers/gpu/drm/ |
H A D | drm_bufs.c | 575 if (entry->buf_count) { 576 for (i = 0; i < entry->buf_count; i++) { 581 entry->buf_count = 0; 665 if (entry->buf_count) { 689 while (entry->buf_count < count) { 690 buf = &entry->buflist[entry->buf_count]; 691 buf->idx = dma->buf_count + entry->buf_count; 708 entry->buf_count = count; 715 DRM_DEBUG("buffer %d @ %p\n", entry->buf_count, bu [all...] |
H A D | drm_dma.c | 94 DRM_DEBUG("order %d: buf_count = %d," 97 dma->bufs[i].buf_count, 106 if (dma->bufs[i].buf_count) { 107 for (j = 0; j < dma->bufs[i].buf_count; j++) { 154 for (i = 0; i < dma->buf_count; i++) {
|
H A D | drm_info.c | 132 if (dma->bufs[i].buf_count) { 137 dma->bufs[i].buf_count, 145 for (i = 0; i < dma->buf_count; i++) {
|
/drivers/net/ethernet/sfc/ |
H A D | vfdi.h | 133 * @u.init_evq.buf_count: Number of 4k buffers backing event queue. 134 * @u.init_evq.addr: Array of length %u.init_evq.buf_count containing DMA 137 * @u.init_rxq.buf_count: Number of 4k buffers backing receive queue. 141 * @u.init_rxq.addr: Array of length %u.init_rxq.buf_count containing DMA 144 * @u.init_txq.buf_count: Number of 4k buffers backing transmit queue. 149 * @u.init_txq.addr: Array of length %u.init_txq.buf_count containing DMA 173 u32 buf_count; member in struct:vfdi_req::__anon3880::__anon3881 178 u32 buf_count; member in struct:vfdi_req::__anon3880::__anon3882 188 u32 buf_count; member in struct:vfdi_req::__anon3880::__anon3883
|
H A D | siena_sriov.c | 494 static bool bad_buf_count(unsigned buf_count, unsigned max_entry_count) argument 499 return ((buf_count & (buf_count - 1)) || buf_count > max_buf_count); 528 unsigned buf_count = req->u.init_evq.buf_count; local 534 bad_buf_count(buf_count, EFX_MAX_VF_EVQ_SIZE)) { 538 vf->pci_name, vf_evq, buf_count); 542 efx_sriov_bufs(efx, buftbl, req->u.init_evq.addr, buf_count); 551 FRF_AZ_EVQ_SIZE, __ffs(buf_count), 570 unsigned buf_count = req->u.init_rxq.buf_count; local 611 unsigned buf_count = req->u.init_txq.buf_count; local [all...] |
/drivers/staging/ozwpan/ |
H A D | ozeltbuf.c | 119 st->buf_count -= ei->length; 121 st->buf_count, ei->length, atomic_read(&st->ref_count)); 184 st->buf_count += ei->length; 187 oz_dbg(STREAM, "Stream up: %d %d\n", st->buf_count, ei->length); 191 while ((st->buf_count > st->max_buf_count) && 198 st->buf_count -= ei2->length; 232 ei->stream->buf_count -= ei->length; 234 ei->stream->buf_count, ei->length);
|
H A D | ozeltbuf.h | 20 unsigned buf_count; member in struct:oz_elt_stream
|
/drivers/crypto/ccp/ |
H A D | ccp-crypto-sha.c | 42 rctx->buf_count = rctx->hash_rem; 44 rctx->buf_count = 0; 70 len = (u64)rctx->buf_count + (u64)nbytes; 73 scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src, 75 rctx->buf_count += nbytes; 96 if (rctx->buf_count && nbytes) { 107 sg_init_one(&rctx->buf_sg, rctx->buf, rctx->buf_count); 113 } else if (rctx->buf_count) { 114 sg_init_one(&rctx->buf_sg, rctx->buf, rctx->buf_count); 164 rctx->buf_count [all...] |
H A D | ccp-crypto-aes-cmac.c | 43 rctx->buf_count = rctx->hash_rem; 45 rctx->buf_count = 0; 77 len = (u64)rctx->buf_count + (u64)nbytes; 80 scatterwalk_map_and_copy(rctx->buf + rctx->buf_count, req->src, 82 rctx->buf_count += nbytes; 117 if (rctx->buf_count) { 118 sg_init_one(&rctx->buf_sg, rctx->buf, rctx->buf_count);
|
H A D | ccp-crypto.h | 125 unsigned int buf_count; member in struct:ccp_aes_cmac_req_ctx 170 unsigned int buf_count; member in struct:ccp_sha_req_ctx
|
/drivers/media/platform/exynos4-is/ |
H A D | fimc-isp-video.c | 107 "buf_count: %d, planes: %d, dma addr table: %#x\n", 108 video->buf_count, video->format->memplanes, 157 isp->video_capture.buf_count = 0; 186 for (i = 0; i < video->buf_count; i++) 211 ivb->index = video->buf_count; 227 if (++video->buf_count < video->reqbufs_count) 230 video->buf_mask = (1UL << video->buf_count) - 1; 252 buf_index = (is->i2h_cmd.args[1] - 1) % video->buf_count;
|
H A D | fimc-isp.h | 135 unsigned int buf_count; member in struct:fimc_is_video
|
/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_dec.c | 890 const struct v4l2_format *fmt, unsigned int *buf_count, 903 if (*buf_count < 1) 904 *buf_count = 1; 905 if (*buf_count > MFC_MAX_BUFFERS) 906 *buf_count = MFC_MAX_BUFFERS; 914 if (*buf_count < ctx->pb_count) 915 *buf_count = ctx->pb_count; 916 if (*buf_count > ctx->pb_count + MFC_MAX_EXTRA_DPB) 917 *buf_count = ctx->pb_count + MFC_MAX_EXTRA_DPB; 918 if (*buf_count > MFC_MAX_BUFFER 889 s5p_mfc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *buf_count, unsigned int *plane_count, unsigned int psize[], void *allocators[]) argument [all...] |
H A D | s5p_mfc_enc.c | 1766 unsigned int *buf_count, unsigned int *plane_count, 1781 if (*buf_count < 1) 1782 *buf_count = 1; 1783 if (*buf_count > MFC_MAX_BUFFERS) 1784 *buf_count = MFC_MAX_BUFFERS; 1793 if (*buf_count < 1) 1794 *buf_count = 1; 1795 if (*buf_count > MFC_MAX_BUFFERS) 1796 *buf_count = MFC_MAX_BUFFERS; 1764 s5p_mfc_queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt, unsigned int *buf_count, unsigned int *plane_count, unsigned int psize[], void *allocators[]) argument
|
/drivers/media/rc/ |
H A D | fintek-cir.h | 73 unsigned int buf_count; member in struct:fintek_dev::__anon2309
|
H A D | nuvoton-cir.h | 80 unsigned int buf_count; member in struct:nvt_dev::__anon2315
|
/drivers/mtd/nand/ |
H A D | pxa3xx_nand.c | 189 unsigned int buf_count; member in struct:pxa3xx_nand_info 697 info->buf_count = 0; 732 info->buf_count = mtd->writesize + mtd->oobsize; 733 memset(info->data_buff, 0xFF, info->buf_count); 854 info->buf_count = 256; 865 info->buf_count = host->read_id_bytes; 874 info->buf_count = 1; 1115 if (info->buf_start < info->buf_count) 1128 if (!(info->buf_start & 0x01) && info->buf_start < info->buf_count) { 1139 int real_len = min_t(size_t, len, info->buf_count [all...] |
/drivers/gpu/drm/i810/ |
H A D | i810_dma.c | 56 for (i = 0; i < dma->buf_count; i++) { 225 for (i = 0; i < dma->buf_count; i++) { 288 if (dma->buf_count > 1019) { 293 for (i = 0; i < dma->buf_count; i++) { 867 for (i = 0; i < dma->buf_count; i++) { 899 for (i = 0; i < dma->buf_count; i++) { 939 if (vertex->idx < 0 || vertex->idx > dma->buf_count) 1099 if (mc->idx >= dma->buf_count || mc->idx < 0)
|
/drivers/gpu/drm/r128/ |
H A D | r128_state.c | 1333 if (vertex->idx < 0 || vertex->idx >= dma->buf_count) { 1335 vertex->idx, dma->buf_count - 1); 1386 if (elts->idx < 0 || elts->idx >= dma->buf_count) { 1388 elts->idx, dma->buf_count - 1); 1448 if (blit->idx < 0 || blit->idx >= dma->buf_count) { 1450 blit->idx, dma->buf_count - 1); 1535 if (indirect->idx < 0 || indirect->idx >= dma->buf_count) { 1537 indirect->idx, dma->buf_count - 1);
|
H A D | r128_cce.c | 780 for (i = 0; i < dma->buf_count; i++) { 820 for (i = 0; i < dma->buf_count; i++) { 830 for (i = 0; i < dma->buf_count; i++) { 853 for (i = 0; i < dma->buf_count; i++) { 925 if (d->request_count < 0 || d->request_count > dma->buf_count) { 927 DRM_CURRENTPID, d->request_count, dma->buf_count);
|
/drivers/gpu/drm/mga/ |
H A D | mga_dma.c | 251 DRM_DEBUG("count=%d\n", dma->buf_count); 259 for (i = 0; i < dma->buf_count; i++) { 314 for (i = 0; i < dma->buf_count; i++) { 1111 if (d->request_count < 0 || d->request_count > dma->buf_count) { 1113 DRM_CURRENTPID, d->request_count, dma->buf_count);
|
/drivers/gpu/drm/savage/ |
H A D | savage_bci.c | 213 DRM_DEBUG("count=%d\n", dma->buf_count); 223 for (i = 0; i < dma->buf_count; i++) { 1024 if (d->request_count < 0 || d->request_count > dma->buf_count) { 1026 DRM_CURRENTPID, d->request_count, dma->buf_count); 1058 for (i = 0; i < dma->buf_count; i++) {
|
/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 868 unsigned int start, descr_count, buf_count, batch_limit; local 891 buf_count = 0; 896 i += buf_count) { 908 buf_count = 2; 919 buf_count = 2 + nr_frags; 923 if (buf_count & 1) 924 buf_count++;
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_state.c | 2272 if (vertex->idx < 0 || vertex->idx >= dma->buf_count) { 2274 vertex->idx, dma->buf_count - 1); 2353 if (elts->idx < 0 || elts->idx >= dma->buf_count) { 2355 elts->idx, dma->buf_count - 1); 2488 if (indirect->idx < 0 || indirect->idx >= dma->buf_count) { 2490 indirect->idx, dma->buf_count - 1); 2559 if (vertex->idx < 0 || vertex->idx >= dma->buf_count) { 2561 vertex->idx, dma->buf_count - 1); 2953 if (idx < 0 || idx >= dma->buf_count) { 2955 idx, dma->buf_count [all...] |
/drivers/usb/host/ |
H A D | isp1362-hcd.c | 201 found = bitmap_find_next_zero_area(&epq->buf_map, epq->buf_count, 0, 203 if (found >= epq->buf_count) 213 BUG_ON(epq->buf_avail > epq->buf_count); 218 epq->buf_avail, epq->buf_count, num_ptds, epq->buf_map, epq->skip_map); 227 if (last > epq->buf_count) 228 pr_err("%s: ep %p req %d len %d %s PTD[%d] $%04x num_ptds %d buf_count %d buf_avail %d buf_map %08lx skip_map %08lx\n", 230 ep->ptd_offset, ep->num_ptds, epq->buf_count, epq->buf_avail, 232 BUG_ON(last > epq->buf_count); 239 BUG_ON(epq->buf_avail > epq->buf_count); 240 BUG_ON(epq->ptd_count > epq->buf_count); [all...] |