Searched refs:nbuf (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/dgrp/ |
D | dgrp_dpa_ops.c | 438 static void dgrp_dpa(struct nd_struct *nd, u8 *buf, int nbuf) in dgrp_dpa() argument 452 while (nbuf > 0 && nd->nd_dpa_buf != NULL) { in dgrp_dpa() 475 if (n > nbuf) in dgrp_dpa() 476 n = nbuf; in dgrp_dpa() 488 nbuf -= r; in dgrp_dpa() 496 nbuf -= n; in dgrp_dpa()
|
/drivers/net/wireless/ath/ath9k/ |
D | init.c | 337 int nbuf, int ndesc, bool is_tx) in ath_descdma_setup() argument 345 name, nbuf, ndesc); in ath_descdma_setup() 361 dd->dd_desc_len = desc_len * nbuf * ndesc; in ath_descdma_setup() 393 bsize = sizeof(struct ath_buf) * nbuf; in ath_descdma_setup() 398 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup()
|
D | ath9k.h | 116 int nbuf, int ndesc, bool is_tx);
|
/drivers/staging/cxt1e1/ |
D | pmcc4_drv.c | 1245 int nts, nbuf, txnum, rxnum; in c4_chan_up() local 1281 nbuf = nts / 8 ? nts / 8 : 1; in c4_chan_up() 1282 if (!nbuf) in c4_chan_up() 1289 addr = c4_fifo_alloc (pi, gchan, &nbuf); in c4_chan_up() 1312 ccd |= (nbuf) << MUSYCC_CCD_BUFFER_LENGTH; in c4_chan_up() 1314 ccd |= (nbuf - 1) << MUSYCC_CCD_BUFFER_LENGTH; in c4_chan_up()
|
/drivers/crypto/ |
D | talitos.c | 655 u64 nbuf; member 1600 req_ctx->nbuf = req_ctx->to_hash_later; in ahash_done() 1715 req_ctx->nbuf = 0; in ahash_init() 1766 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { in ahash_process_req() 1770 req_ctx->buf + req_ctx->nbuf, nbytes); in ahash_process_req() 1771 req_ctx->nbuf += nbytes; in ahash_process_req() 1776 nbytes_to_hash = nbytes + req_ctx->nbuf; in ahash_process_req() 1791 if (req_ctx->nbuf) { in ahash_process_req() 1792 nsg = (req_ctx->nbuf < nbytes_to_hash) ? 2 : 1; in ahash_process_req() 1794 sg_set_buf(req_ctx->bufsl, req_ctx->buf, req_ctx->nbuf); in ahash_process_req()
|
/drivers/isdn/i4l/ |
D | isdn_ppp.c | 708 u_char *nbuf; in isdn_ppp_fill_rq() local 721 nbuf = kmalloc(len + 4, GFP_ATOMIC); in isdn_ppp_fill_rq() 722 if (!nbuf) { in isdn_ppp_fill_rq() 726 nbuf[0] = PPP_ALLSTATIONS; in isdn_ppp_fill_rq() 727 nbuf[1] = PPP_UI; in isdn_ppp_fill_rq() 728 nbuf[2] = proto >> 8; in isdn_ppp_fill_rq() 729 nbuf[3] = proto & 0xff; in isdn_ppp_fill_rq() 730 memcpy(nbuf + 4, buf, len); in isdn_ppp_fill_rq() 742 bl->buf = (char *) nbuf; in isdn_ppp_fill_rq()
|
/drivers/media/platform/ |
D | via-camera.c | 422 int nbuf = cam->viadev->camera_fbmem_size/cam->sensor_format.sizeimage; in viacam_ctlr_cbufs() local 429 if (nbuf >= 3) { in viacam_ctlr_cbufs() 433 } else if (nbuf == 2) { in viacam_ctlr_cbufs()
|
/drivers/isdn/isdnloop/ |
D | isdnloop.c | 678 char nbuf[32]; in isdnloop_try_call() local 696 sprintf(nbuf, "%s%c", cc->s0num[0], *e); in isdnloop_try_call() 697 if (!(strcmp(nbuf, cmd->parm.setup.phone))) in isdnloop_try_call()
|