Home
last modified time | relevance | path

Searched refs:maxsize (Results 1 – 25 of 28) sorted by relevance

12

/drivers/mtd/maps/
Dnettel.c166 unsigned long amdaddr, maxsize; in nettel_init() local
213 maxsize = AMD_WINDOW_MAXSIZE; in nettel_init()
215 *amdpar = SC520_PAR(SC520_PAR_BOOTCS, amdaddr, maxsize); in nettel_init()
219 nettel_amd_map.virt = ioremap_nocache(amdaddr, maxsize); in nettel_init()
244 maxsize = SC520_PAR_TO_SIZE(orig_romcs1par); in nettel_init()
245 if (maxsize < (32 * 1024 * 1024)) in nettel_init()
246 maxsize = (32 * 1024 * 1024); in nettel_init()
247 intel0addr = amdaddr + maxsize; in nettel_init()
263 maxsize = SC520_PAR_TO_SIZE(orig_bootcspar); in nettel_init()
274 maxsize = SC520_PAR_TO_SIZE(orig_romcs1par); in nettel_init()
[all …]
/drivers/isdn/i4l/
Disdn_v110.c90 isdn_v110_open(unsigned char key, int hdrlen, int maxsize) in isdn_v110_open() argument
125 v->maxsize = maxsize - hdrlen; in isdn_v110_open()
126 if ((v->encodebuf = kmalloc(maxsize, GFP_ATOMIC)) == NULL) { in isdn_v110_open()
478 if ((nframes * 40) > v->maxsize) { in isdn_v110_encode()
479 size = v->maxsize; in isdn_v110_encode()
480 rlen = v->maxsize / 40; in isdn_v110_encode()
582 int maxsize = dev->drv[c->driver]->interface->maxbufsize; in isdn_v110_stat_callback() local
586 dev->v110[idx] = isdn_v110_open(V110_9600, hdrlen, maxsize); in isdn_v110_stat_callback()
589 dev->v110[idx] = isdn_v110_open(V110_19200, hdrlen, maxsize); in isdn_v110_stat_callback()
592 dev->v110[idx] = isdn_v110_open(V110_38400, hdrlen, maxsize); in isdn_v110_stat_callback()
/drivers/char/hw_random/
Dmsm-rng.c86 size_t maxsize; in msm_rng_read() local
91 maxsize = min_t(size_t, MAX_HW_FIFO_SIZE, max); in msm_rng_read()
94 if (maxsize < WORD_SZ) in msm_rng_read()
115 if ((maxsize - currsize) < WORD_SZ) in msm_rng_read()
117 } while (currsize < maxsize); in msm_rng_read()
/drivers/staging/comedi/drivers/
Dcomedi_isadma.c166 unsigned int maxsize, char dma_dir) in comedi_isadma_alloc() argument
204 desc->maxsize = maxsize; in comedi_isadma_alloc()
205 desc->virt_addr = dma_alloc_coherent(NULL, desc->maxsize, in comedi_isadma_alloc()
237 dma_free_coherent(NULL, desc->maxsize, in comedi_isadma_free()
Dcomedi_isadma.h43 unsigned int maxsize; member
76 unsigned int maxsize, char dma_dir);
109 unsigned int maxsize, char dma_dir) in comedi_isadma_alloc() argument
Dni_labpc_isadma.c69 desc->size = labpc_suggest_transfer_size(dev, s, desc->maxsize); in labpc_setup_dma()
Dni_at_a2150.c531 if (desc->size > desc->maxsize) in a2150_ai_cmd()
532 desc->size = desc->maxsize; in a2150_ai_cmd()
Ddt282x.c324 n = desc->maxsize; in dt282x_prep_ai_dma()
425 unsigned int nsamples = comedi_bytes_to_samples(s, desc->maxsize); in dt282x_ao_setup_dma()
Dpcl816.c118 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in pcl816_ai_setup_dma()
Dpcl818.c307 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in pcl818_ai_setup_dma()
Dpcl812.c538 bytes = devpriv->ai_eos ? comedi_bytes_per_scan(s) : desc->maxsize; in pcl812_ai_setup_dma()
Ddas16.c457 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in das16_ai_setup_dma()
/drivers/gpu/drm/i915/
Dintel_guc_loader.c462 const size_t maxsize = GUC_WOPCM_SIZE_VALUE + UOS_RSA_SIG_SIZE in guc_fw_fetch() local
478 fw->size, minsize, maxsize); in guc_fw_fetch()
481 if (fw->size < minsize || fw->size > maxsize) in guc_fw_fetch()
/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_kernelcomm.h115 int libcfs_ukuc_msg_get(lustre_kernelcomm *l, char *buf, int maxsize,
/drivers/scsi/aic7xxx/
Daic7xxx_osm.c831 bus_size_t maxsize, int nsegments, in ahc_dma_tag_create() argument
849 dmat->maxsize = maxsize; in ahc_dma_tag_create()
865 dmat->maxsize, mapp); in ahc_dmamem_alloc()
875 pci_free_consistent(ahc->dev_softc, dmat->maxsize, in ahc_dmamem_free()
891 stack_sg.ds_len = dmat->maxsize; in ahc_dmamap_load()
Daic79xx_osm.c936 bus_size_t maxsize, int nsegments, in ahd_dma_tag_create() argument
954 dmat->maxsize = maxsize; in ahd_dma_tag_create()
970 dmat->maxsize, mapp); in ahd_dmamem_alloc()
980 pci_free_consistent(ahd->dev_softc, dmat->maxsize, in ahd_dmamem_free()
996 stack_sg.ds_len = dmat->maxsize; in ahd_dmamap_load()
Daic7xxx_osm.h158 bus_size_t maxsize; member
Daic79xx_osm.h145 bus_size_t maxsize; member
/drivers/usb/dwc2/
Dgadget.c477 unsigned maxsize; in get_ep_limit() local
481 maxsize = DXEPTSIZ_XFERSIZE_LIMIT + 1; in get_ep_limit()
484 maxsize = 64+64; in get_ep_limit()
493 maxsize--; in get_ep_limit()
500 if ((maxpkt * hs_ep->ep.maxpacket) < maxsize) in get_ep_limit()
501 maxsize = maxpkt * hs_ep->ep.maxpacket; in get_ep_limit()
503 return maxsize; in get_ep_limit()
/drivers/md/
Ddm-log-writes.c490 size_t maxsize = lc->sectorsize - sizeof(struct log_write_entry); in log_mark() local
498 block->data = kstrndup(data, maxsize, GFP_KERNEL); in log_mark()
/drivers/isdn/hysdn/
Dhysdn_proclog.c57 hysdn_card_errlog(hysdn_card *card, tErrLogEntry *logp, int maxsize) in hysdn_card_errlog() argument
/drivers/media/usb/tm6000/
Dtm6000.h169 unsigned maxsize; member
Dtm6000-video.c593 if (size > dev->isoc_in.maxsize) in tm6000_prepare_isoc()
594 size = dev->isoc_in.maxsize; in tm6000_prepare_isoc()
621 dev->isoc_in.maxsize, size); in tm6000_prepare_isoc()
Dtm6000-cards.c1171 if (size > tm_ep->maxsize) { in get_max_endpoint()
1173 tm_ep->maxsize = size; in get_max_endpoint()
/drivers/scsi/bfa/
Dbfa_svc.h544 bfa_status_t bfa_fcport_cfg_maxfrsize(struct bfa_s *bfa, u16 maxsize);

12