Searched defs:psize (Results 1 - 21 of 21) sorted by relevance

/drivers/media/pci/bt8xx/
H A Ddst_priv.h25 int psize; member in union:dst_gpio_packet
H A Ddst.c76 static void dst_packsize(struct dst_state *state, int psize) argument
80 bits.psize = psize;
/drivers/dma/bestcomm/
H A Dsram.c46 unsigned int psize; local
102 reg_addr_p = of_get_property(sram_node, "available", &psize);
105 psize = 0;
108 if (!regaddr_p || !psize) {
113 while (psize >= 2 * sizeof(u32)) {
117 psize -= 2 * sizeof(u32);
/drivers/gpu/drm/nouveau/core/engine/dmaobj/
H A Dbase.c60 struct nouveau_oclass *oclass, void **pdata, u32 *psize,
72 u32 size = *psize;
80 nv_ioctl(parent, "create dma size %d\n", *psize);
94 *psize = size;
58 nvkm_dmaobj_create_(struct nouveau_object *parent, struct nouveau_object *engine, struct nouveau_oclass *oclass, void **pdata, u32 *psize, int length, void **pobject) argument
/drivers/cpufreq/
H A Dmaple-cpufreq.c160 unsigned int psize; local
196 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize);
201 maple_pmode_max = psize / sizeof(u32) - 1;
H A Dpmac64-cpufreq.c343 unsigned int psize, ssize; local
376 g5_pmode_data = of_get_property(cpunode, "power-mode-data",&psize);
381 g5_pmode_max = psize / sizeof(u32) - 1;
/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c32 nouveau_vram_manager_init(struct ttm_mem_type_manager *man, unsigned long psize) argument
137 nouveau_gart_manager_init(struct ttm_mem_type_manager *man, unsigned long psize) argument
207 nv04_gart_manager_init(struct ttm_mem_type_manager *man, unsigned long psize) argument
/drivers/mtd/maps/
H A Dpismo.c93 void *pdata, size_t psize)
117 ret = platform_device_add_data(dev, pdata, psize);
91 pismo_add_device(struct pismo_data *pismo, int i, struct pismo_mem *region, const char *name, void *pdata, size_t psize) argument
/drivers/dma/
H A Dste_dma40_ll.c53 l3 |= cfg->dst_info.psize << D40_MEM_LCSP3_DCFG_PSIZE_POS;
58 l1 |= cfg->src_info.psize << D40_MEM_LCSP1_SCFG_PSIZE_POS;
102 if (cfg->src_info.psize != STEDMA40_PSIZE_PHY_1) {
104 src |= cfg->src_info.psize << D40_SREG_CFG_PSIZE_POS;
106 if (cfg->dst_info.psize != STEDMA40_PSIZE_PHY_1) {
108 dst |= cfg->dst_info.psize << D40_SREG_CFG_PSIZE_POS;
143 int psize = info->psize; local
146 if (psize == STEDMA40_PSIZE_PHY_1)
149 num_elems = 2 << psize;
[all...]
H A Dste_dma40.c87 .src_info.psize = STEDMA40_PSIZE_PHY_1,
91 .dst_info.psize = STEDMA40_PSIZE_PHY_1,
101 .src_info.psize = STEDMA40_PSIZE_LOG_1,
105 .dst_info.psize = STEDMA40_PSIZE_LOG_1,
997 static int d40_psize_2_burst_size(bool is_log, int psize) argument
1000 if (psize == STEDMA40_PSIZE_LOG_1)
1003 if (psize == STEDMA40_PSIZE_PHY_1)
1007 return 2 << psize;
1739 if (d40_psize_2_burst_size(is_log, conf->src_info.psize) *
1741 d40_psize_2_burst_size(is_log, conf->dst_info.psize) *
2637 int psize; local
[all...]
/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_dec.c891 unsigned int *plane_count, unsigned int psize[],
929 psize[0] = ctx->luma_size;
930 psize[1] = ctx->chroma_size;
941 psize[0] = ctx->dec_src_buf_size;
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
H A Ds5p_mfc_enc.c1767 unsigned int psize[], void *allocators[])
1785 psize[0] = ctx->enc_dst_buf_size;
1798 psize[0] = ctx->luma_size;
1799 psize[1] = ctx->chroma_size;
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/usb/uvc/
H A Duvc_driver.c579 __u16 psize; local
803 psize = le16_to_cpu(ep->desc.wMaxPacketSize);
804 psize = (psize & 0x07ff) * (1 + ((psize >> 11) & 3));
805 if (psize > streaming->maxpsize)
806 streaming->maxpsize = psize;
H A Duvc_video.c1385 unsigned int size, unsigned int psize, gfp_t gfp_flags)
1392 return stream->urb_size / psize;
1397 npackets = DIV_ROUND_UP(size, psize);
1404 stream->urb_size = psize * npackets;
1422 psize);
1428 "per packet).\n", psize);
1462 u16 psize; local
1468 psize = usb_endpoint_maxp(&ep->desc);
1469 return (psize & 0x07ff) * (1 + ((psize >> 1
1384 uvc_alloc_urb_buffers(struct uvc_streaming *stream, unsigned int size, unsigned int psize, gfp_t gfp_flags) argument
1488 u16 psize; local
1543 u16 psize; local
1626 unsigned int psize; local
[all...]
/drivers/net/irda/
H A Dirda-usb.c1483 __u16 psize; /* Endpoint max packet size in bytes */ local
1489 psize = le16_to_cpu(endpoint[i].desc.wMaxPacketSize);
1500 self->bulk_out_mtu = psize;
/drivers/gpu/drm/nouveau/core/subdev/fb/
H A Dramnvc0.c538 u32 psize = nv_rd32(pfb, 0x11020c + (part * 0x1000)); local
539 if (psize != bsize) {
540 if (psize < bsize)
541 bsize = psize;
545 nv_debug(pfb, "%d: mem_amount 0x%08x\n", part, psize);
546 ram->size += (u64)psize << 20;
/drivers/media/usb/gspca/
H A Dgspca.c681 int i, j, nbalt, psize, found; local
704 psize = le16_to_cpu(ep->desc.wMaxPacketSize);
705 psize = (psize & 0x07ff) * (1 + ((psize >> 11) & 3));
706 bandwidth = psize * 1000;
764 int n, nurbs, i, psize, npkt, bsize; local
767 psize = le16_to_cpu(ep->desc.wMaxPacketSize);
773 psize = (psize
[all...]
/drivers/misc/carma/
H A Dcarma-fpga.c1231 unsigned long offset, vsize, psize, addr; local
1236 psize = priv->phys_size - offset;
1240 if (vsize > psize) {
/drivers/mtd/nand/
H A Ddiskonchip.c1055 const unsigned psize = 1 << this->page_shift; local
1082 maxblocks = min(32768U, mtd->erasesize - psize);
1093 maxblocks = min(32768U, (maxblocks << 1) + psize);
1109 maxblocks = min(32768U, mtd->erasesize - psize);
/drivers/of/
H A Daddress.c178 unsigned int psize; local
198 prop = of_get_property(dev, bus->addresses, &psize);
201 psize /= 4;
204 for (i = 0; psize >= onesize; psize -= onesize, prop += onesize, i++) {
630 unsigned int psize; local
646 prop = of_get_property(dev, bus->addresses, &psize);
649 psize /= 4;
652 for (i = 0; psize >= onesize; psize
[all...]
/drivers/message/fusion/
H A Dmptbase.c1651 u32 psize; local
1707 port = psize = 0;
1710 if (psize)
1714 psize = pci_resource_len(pdev, ii);

Completed in 2836 milliseconds