/drivers/dma/bestcomm/ |
D | sram.c | 46 unsigned int psize; in bcom_sram_init() local 102 reg_addr_p = of_get_property(sram_node, "available", &psize); in bcom_sram_init() 105 psize = 0; in bcom_sram_init() 108 if (!regaddr_p || !psize) { in bcom_sram_init() 113 while (psize >= 2 * sizeof(u32)) { in bcom_sram_init() 117 psize -= 2 * sizeof(u32); in bcom_sram_init()
|
/drivers/dma/ |
D | ste_dma40_ll.c | 53 l3 |= cfg->dst_info.psize << D40_MEM_LCSP3_DCFG_PSIZE_POS; in d40_log_cfg() 58 l1 |= cfg->src_info.psize << D40_MEM_LCSP1_SCFG_PSIZE_POS; in d40_log_cfg() 102 if (cfg->src_info.psize != STEDMA40_PSIZE_PHY_1) { in d40_phy_cfg() 104 src |= cfg->src_info.psize << D40_SREG_CFG_PSIZE_POS; in d40_phy_cfg() 106 if (cfg->dst_info.psize != STEDMA40_PSIZE_PHY_1) { in d40_phy_cfg() 108 dst |= cfg->dst_info.psize << D40_SREG_CFG_PSIZE_POS; in d40_phy_cfg() 143 int psize = info->psize; in d40_phy_fill_lli() local 146 if (psize == STEDMA40_PSIZE_PHY_1) in d40_phy_fill_lli() 149 num_elems = 2 << psize; in d40_phy_fill_lli()
|
D | ste_dma40.c | 87 .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) in d40_psize_2_burst_size() argument 1000 if (psize == STEDMA40_PSIZE_LOG_1) in d40_psize_2_burst_size() 1003 if (psize == STEDMA40_PSIZE_PHY_1) in d40_psize_2_burst_size() 1007 return 2 << psize; in d40_psize_2_burst_size() 1751 if (d40_psize_2_burst_size(is_log, conf->src_info.psize) * in d40_validate_conf() 1753 d40_psize_2_burst_size(is_log, conf->dst_info.psize) * in d40_validate_conf() [all …]
|
/drivers/media/usb/uvc/ |
D | uvc_video.c | 1444 unsigned int size, unsigned int psize, gfp_t gfp_flags) in uvc_alloc_urb_buffers() argument 1451 return stream->urb_size / psize; in uvc_alloc_urb_buffers() 1456 npackets = DIV_ROUND_UP(size, psize); in uvc_alloc_urb_buffers() 1463 stream->urb_size = psize * npackets; in uvc_alloc_urb_buffers() 1481 psize); in uvc_alloc_urb_buffers() 1487 "per packet).\n", psize); in uvc_alloc_urb_buffers() 1521 u16 psize; in uvc_endpoint_max_bpi() local 1527 psize = usb_endpoint_maxp(&ep->desc); in uvc_endpoint_max_bpi() 1528 return (psize & 0x07ff) * (1 + ((psize >> 11) & 3)); in uvc_endpoint_max_bpi() 1530 psize = usb_endpoint_maxp(&ep->desc); in uvc_endpoint_max_bpi() [all …]
|
D | uvc_driver.c | 621 __u16 psize; in uvc_parse_streaming() local 845 psize = le16_to_cpu(ep->desc.wMaxPacketSize); in uvc_parse_streaming() 846 psize = (psize & 0x07ff) * (1 + ((psize >> 11) & 3)); in uvc_parse_streaming() 847 if (psize > streaming->maxpsize) in uvc_parse_streaming() 848 streaming->maxpsize = psize; in uvc_parse_streaming()
|
/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
D | user.c | 59 const struct nvkm_oclass *oclass, void **pdata, u32 *psize, in nvkm_dmaobj_ctor() argument 71 u32 size = *psize; in nvkm_dmaobj_ctor() 79 nvif_ioctl(parent, "create dma size %d\n", *psize); in nvkm_dmaobj_ctor() 93 *psize = size; in nvkm_dmaobj_ctor()
|
/drivers/usb/musb/ |
D | tusb6010_omap.c | 223 u32 psize; in tusb_omap_dma_program() local 395 psize = musb_readl(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET); in tusb_omap_dma_program() 396 psize &= ~0x7ff; in tusb_omap_dma_program() 397 psize |= chdat->transfer_packet_sz; in tusb_omap_dma_program() 398 musb_writel(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET, psize); in tusb_omap_dma_program() 404 psize = musb_readl(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET); in tusb_omap_dma_program() 405 psize &= ~(0x7ff << 16); in tusb_omap_dma_program() 406 psize |= (chdat->transfer_packet_sz << 16); in tusb_omap_dma_program() 407 musb_writel(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET, psize); in tusb_omap_dma_program()
|
/drivers/cpufreq/ |
D | maple-cpufreq.c | 160 unsigned int psize; in maple_cpufreq_init() local 196 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize); in maple_cpufreq_init() 201 maple_pmode_max = psize / sizeof(u32) - 1; in maple_cpufreq_init()
|
D | pmac64-cpufreq.c | 343 unsigned int psize, ssize; in g5_neo2_cpufreq_init() local 376 g5_pmode_data = of_get_property(cpunode, "power-mode-data",&psize); in g5_neo2_cpufreq_init() 381 g5_pmode_max = psize / sizeof(u32) - 1; in g5_neo2_cpufreq_init()
|
/drivers/of/ |
D | address.c | 178 unsigned int psize; in of_get_pci_address() local 198 prop = of_get_property(dev, bus->addresses, &psize); in of_get_pci_address() 201 psize /= 4; in of_get_pci_address() 204 for (i = 0; psize >= onesize; psize -= onesize, prop += onesize, i++) { in of_get_pci_address() 642 unsigned int psize; in of_get_address() local 658 prop = of_get_property(dev, bus->addresses, &psize); in of_get_address() 661 psize /= 4; in of_get_address() 664 for (i = 0; psize >= onesize; psize -= onesize, prop += onesize, i++) in of_get_address()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgf100.c | 570 u64 psize, size = 0; in gf100_ram_ctor() local 583 psize = (u64)nvkm_rd32(device, 0x11020c + (i * 0x1000)) << 20; in gf100_ram_ctor() 584 if (psize != bsize) { in gf100_ram_ctor() 585 if (psize < bsize) in gf100_ram_ctor() 586 bsize = psize; in gf100_ram_ctor() 590 nvkm_debug(subdev, "%d: %d MiB\n", i, (u32)(psize >> 20)); in gf100_ram_ctor() 591 size += psize; in gf100_ram_ctor()
|
/drivers/media/usb/gspca/ |
D | gspca.c | 681 int i, j, nbalt, psize, found; in build_isoc_ep_tb() local 704 psize = le16_to_cpu(ep->desc.wMaxPacketSize); in build_isoc_ep_tb() 705 psize = (psize & 0x07ff) * (1 + ((psize >> 11) & 3)); in build_isoc_ep_tb() 706 bandwidth = psize * 1000; in build_isoc_ep_tb() 764 int n, nurbs, i, psize, npkt, bsize; in create_urbs() local 767 psize = le16_to_cpu(ep->desc.wMaxPacketSize); in create_urbs() 773 psize = (psize & 0x07ff) * (1 + ((psize >> 11) & 3)); in create_urbs() 775 psize = gspca_dev->pkt_size; in create_urbs() 779 bsize = psize * npkt; in create_urbs() 782 npkt, psize, bsize); in create_urbs() [all …]
|
/drivers/media/pci/bt8xx/ |
D | dst_priv.h | 25 int psize; member
|
D | bt878.c | 365 bt->TS_Size = mp->psize; in bt878_device_control()
|
D | dst.c | 76 static void dst_packsize(struct dst_state *state, int psize) in dst_packsize() argument 80 bits.psize = psize; in dst_packsize()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 36 nouveau_vram_manager_init(struct ttm_mem_type_manager *man, unsigned long psize) in nouveau_vram_manager_init() argument 117 nouveau_gart_manager_init(struct ttm_mem_type_manager *man, unsigned long psize) in nouveau_gart_manager_init() argument 196 nv04_gart_manager_init(struct ttm_mem_type_manager *man, unsigned long psize) in nv04_gart_manager_init() argument
|
/drivers/mtd/maps/ |
D | pismo.c | 93 void *pdata, size_t psize) in pismo_add_device() argument 117 ret = platform_device_add_data(dev, pdata, psize); in pismo_add_device()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 892 unsigned int *plane_count, unsigned int psize[], in s5p_mfc_queue_setup() argument 930 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup() 931 psize[1] = ctx->chroma_size; in s5p_mfc_queue_setup() 942 psize[0] = ctx->dec_src_buf_size; in s5p_mfc_queue_setup()
|
D | s5p_mfc_enc.c | 1823 unsigned int psize[], void *allocators[]) in s5p_mfc_queue_setup() argument 1842 psize[0] = ctx->enc_dst_buf_size; in s5p_mfc_queue_setup() 1855 psize[0] = ctx->luma_size; in s5p_mfc_queue_setup() 1856 psize[1] = ctx->chroma_size; in s5p_mfc_queue_setup()
|
/drivers/mtd/nand/ |
D | diskonchip.c | 1058 const unsigned psize = 1 << this->page_shift; in nftl_partscan() local 1085 maxblocks = min(32768U, mtd->erasesize - psize); in nftl_partscan() 1096 maxblocks = min(32768U, (maxblocks << 1) + psize); in nftl_partscan() 1112 maxblocks = min(32768U, mtd->erasesize - psize); in nftl_partscan()
|
/drivers/net/irda/ |
D | irda-usb.c | 1469 __u16 psize; /* Endpoint max packet size in bytes */ in irda_usb_parse_endpoints() local 1475 psize = le16_to_cpu(endpoint[i].desc.wMaxPacketSize); in irda_usb_parse_endpoints() 1486 self->bulk_out_mtu = psize; in irda_usb_parse_endpoints()
|
/drivers/mtd/devices/ |
D | spear_smi.c | 105 #define FLASH_ID(n, es, id, psize, ssize, size) \ argument 110 .pagesize = psize, \
|
/drivers/net/fjes/ |
D | fjes_hw.c | 874 size_t *psize) in fjes_hw_epbuf_rx_curpkt_get_addr() argument 885 *psize = (size_t)ring_frame->frame_size; in fjes_hw_epbuf_rx_curpkt_get_addr()
|
D | fjes_main.c | 963 static void *fjes_rxframe_get(struct fjes_adapter *adapter, size_t *psize, in fjes_rxframe_get() argument 974 &adapter->hw.ep_shm_info[*cur_epid].rx, psize); in fjes_rxframe_get()
|
/drivers/net/wan/ |
D | wanxlfw.S | 1 .psize 0
|