Home
last modified time | relevance | path

Searched refs:dsize (Results 1 – 19 of 19) sorted by relevance

/drivers/video/fbdev/core/
Dsoftcursor.c27 unsigned int i, size, dsize, s_pitch, d_pitch; in soft_cursor() local
35 dsize = s_pitch * cursor->image.height; in soft_cursor()
37 if (dsize + sizeof(struct fb_image) != ops->cursor_size) { in soft_cursor()
39 ops->cursor_size = dsize + sizeof(struct fb_image); in soft_cursor()
60 for (i = 0; i < dsize; i++) in soft_cursor()
65 for (i = 0; i < dsize; i++) in soft_cursor()
70 memcpy(src, image->data, dsize); in soft_cursor()
/drivers/isdn/i4l/
Disdnhdlc.c132 int *count, u8 *dst, int dsize) in isdnhdlc_decode() argument
301 if (hdlc->dstpos < dsize) in isdnhdlc_decode()
355 int *count, u8 *dst, int dsize) in isdnhdlc_encode() argument
368 while (dsize > 0) { in isdnhdlc_encode()
398 while (dsize--) in isdnhdlc_encode()
400 return dsize; in isdnhdlc_encode()
410 dsize--; in isdnhdlc_encode()
570 if (dsize > 1) in isdnhdlc_encode()
571 dsize = 1; in isdnhdlc_encode()
602 dsize = 0; in isdnhdlc_encode()
[all …]
/drivers/video/fbdev/nvidia/
Dnv_accel.c357 u32 dsize, width, *data = (u32 *) image->data, tmp; in nvidiafb_mono_color_expand() local
361 dsize = (width * image->height) >> 5; in nvidiafb_mono_color_expand()
381 while (dsize >= RECT_EXPAND_TWO_COLOR_DATA_MAX_DWORDS) { in nvidiafb_mono_color_expand()
391 dsize -= RECT_EXPAND_TWO_COLOR_DATA_MAX_DWORDS; in nvidiafb_mono_color_expand()
394 if (dsize) { in nvidiafb_mono_color_expand()
395 NVDmaStart(info, par, RECT_EXPAND_TWO_COLOR_DATA(0), dsize); in nvidiafb_mono_color_expand()
397 for (j = dsize; j--;) { in nvidiafb_mono_color_expand()
/drivers/gpu/drm/nouveau/
Dnv04_fbcon.c84 uint32_t dsize; in nv04_fbcon_imageblit() local
114 dsize = ALIGN(ALIGN(image->width, 8) * image->height, 32) >> 5; in nv04_fbcon_imageblit()
115 while (dsize) { in nv04_fbcon_imageblit()
116 int iter_len = dsize > 128 ? 128 : dsize; in nv04_fbcon_imageblit()
125 dsize -= iter_len; in nv04_fbcon_imageblit()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dbcmsdh.c804 uint dsize; in brcmf_sdiod_ramrw() local
806 dsize = min_t(uint, SBSDIO_SB_OFT_ADDR_LIMIT, size); in brcmf_sdiod_ramrw()
807 pkt = dev_alloc_skb(dsize); in brcmf_sdiod_ramrw()
809 brcmf_err("dev_alloc_skb failed: len %d\n", dsize); in brcmf_sdiod_ramrw()
817 dsize = (SBSDIO_SB_OFT_ADDR_LIMIT - sdaddr); in brcmf_sdiod_ramrw()
819 dsize = size; in brcmf_sdiod_ramrw()
831 write ? "write" : "read", dsize, in brcmf_sdiod_ramrw()
837 skb_put(pkt, dsize); in brcmf_sdiod_ramrw()
839 memcpy(pkt->data, data, dsize); in brcmf_sdiod_ramrw()
847 memcpy(data, pkt->data, dsize); in brcmf_sdiod_ramrw()
[all …]
/drivers/sbus/char/
Djsflash.c101 unsigned long dsize; member
219 if ((offset + len) > jdp->dsize) in jsfd_request()
554 jsf->dv[0].dsize = jsf->size; in jsflash_init()
556 jsf->dv[1].dsize = jsf->size - 1024; in jsflash_init()
558 jsf->dv[2].dsize = 0x01000000; in jsflash_init()
614 set_capacity(disk, jdp->dsize >> 9); in jsfd_init()
/drivers/video/fbdev/i810/
Di810_accel.c236 int dsize, int blit_bpp, int rop, in mono_src_copy_imm_blit() argument
242 if (begin_iring(info, 24 + (dsize << 2) + IRING_PAD)) return; in mono_src_copy_imm_blit()
244 PUT_RING(BLIT | MONO_SOURCE_COPY_IMMEDIATE | (4 + dsize)); in mono_src_copy_imm_blit()
250 while (dsize--) in mono_src_copy_imm_blit()
/drivers/hv/
Dring_buffer.c384 u32 dsize = rbi->ring_datasize; in __hv_pkt_iter_next() local
388 if (rbi->priv_read_index >= dsize) in __hv_pkt_iter_next()
389 rbi->priv_read_index -= dsize; in __hv_pkt_iter_next()
/drivers/dma/
Dmpc512x_dma.c151 u32 dsize:3; /* Destination data transfer size */ member
646 tcd->dsize = MPC_DMA_TSIZE_32; in mpc_dma_prep_memcpy()
652 tcd->dsize = MPC_DMA_TSIZE_16; in mpc_dma_prep_memcpy()
657 tcd->dsize = MPC_DMA_TSIZE_4; in mpc_dma_prep_memcpy()
662 tcd->dsize = MPC_DMA_TSIZE_2; in mpc_dma_prep_memcpy()
667 tcd->dsize = MPC_DMA_TSIZE_1; in mpc_dma_prep_memcpy()
774 tcd->dsize = buswidth_to_dmatsize(mchan->dwidth); in mpc_dma_prep_slave_sg()
/drivers/hid/i2c-hid/
Di2c-hid-core.c839 unsigned int dsize; in i2c_hid_fetch_hid_descriptor() local
870 dsize = le16_to_cpu(hdesc->wHIDDescLength); in i2c_hid_fetch_hid_descriptor()
871 if (dsize != sizeof(struct i2c_hid_desc)) { in i2c_hid_fetch_hid_descriptor()
873 dsize); in i2c_hid_fetch_hid_descriptor()
876 i2c_hid_dbg(ihid, "HID Descriptor: %*ph\n", dsize, ihid->hdesc_buffer); in i2c_hid_fetch_hid_descriptor()
/drivers/net/ethernet/freescale/
Dfec_main.c245 : (struct bufdesc *)(((void *)bdp) + bd->dsize); in fec_enet_get_nextdesc()
252 : (struct bufdesc *)(((void *)bdp) - bd->dsize); in fec_enet_get_prevdesc()
3122 unsigned dsize = fep->bufdesc_ex ? sizeof(struct bufdesc_ex) : in fec_enet_init() local
3124 unsigned dsize_log2 = __fls(dsize); in fec_enet_init()
3126 WARN_ON(dsize != (1 << dsize_log2)); in fec_enet_init()
3137 bd_size = (fep->total_tx_ring_size + fep->total_rx_ring_size) * dsize; in fec_enet_init()
3156 unsigned size = dsize * rxq->bd.ring_size; in fec_enet_init()
3162 rxq->bd.dsize = dsize; in fec_enet_init()
3167 rxq->bd.last = (struct bufdesc *)(((void *)cbd_base) - dsize); in fec_enet_init()
3172 unsigned size = dsize * txq->bd.ring_size; in fec_enet_init()
[all …]
Dfec.h468 unsigned char dsize; member
/drivers/net/ethernet/intel/i40e/
Di40e_lan_hmc.h52 u8 dsize; member
Di40e_lan_hmc.c729 { I40E_HMC_STORE(i40e_hmc_obj_rxq, dsize), 1, 116 },
Di40e_virtchnl_pf.c621 rx_ctx.dsize = 1; in i40e_config_vsi_rx_queue()
Di40e_main.c3039 rx_ctx.dsize = 1; in i40e_configure_rx_ring()
/drivers/net/ethernet/intel/i40evf/
Di40e_lan_hmc.h52 u8 dsize; member
/drivers/infiniband/hw/mlx5/
Dcq.c1230 int dsize; in copy_resize_cqes() local
1235 dsize = cq->resize_buf->cqe_size; in copy_resize_cqes()
1236 if (ssize != dsize) { in copy_resize_cqes()
1253 dsize); in copy_resize_cqes()
1254 dcqe64 = dsize == 64 ? dcqe : dcqe + 64; in copy_resize_cqes()
1256 memcpy(dcqe, scqe, dsize); in copy_resize_cqes()
/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c3132 static u16 ar9300_comp_cksum(u8 *data, int dsize) in ar9300_comp_cksum() argument
3136 for (it = 0; it < dsize; it++) { in ar9300_comp_cksum()