Home
last modified time | relevance | path

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

/drivers/video/console/
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/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c468 uint dsize; in brcmf_sdio_ramrw() local
470 dsize = min_t(uint, SBSDIO_SB_OFT_ADDR_LIMIT, size); in brcmf_sdio_ramrw()
471 pkt = dev_alloc_skb(dsize); in brcmf_sdio_ramrw()
473 brcmf_err("dev_alloc_skb failed: len %d\n", dsize); in brcmf_sdio_ramrw()
481 dsize = (SBSDIO_SB_OFT_ADDR_LIMIT - sdaddr); in brcmf_sdio_ramrw()
483 dsize = size; in brcmf_sdio_ramrw()
495 write ? "write" : "read", dsize, in brcmf_sdio_ramrw()
501 skb_put(pkt, dsize); in brcmf_sdio_ramrw()
503 memcpy(pkt->data, data, dsize); in brcmf_sdio_ramrw()
512 memcpy(data, pkt->data, dsize); in brcmf_sdio_ramrw()
[all …]
/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/nvidia/
Dnv_accel.c355 u32 dsize, width, *data = (u32 *) image->data, tmp; in nvidiafb_mono_color_expand() local
359 dsize = (width * image->height) >> 5; in nvidiafb_mono_color_expand()
379 while (dsize >= RECT_EXPAND_TWO_COLOR_DATA_MAX_DWORDS) { in nvidiafb_mono_color_expand()
389 dsize -= RECT_EXPAND_TWO_COLOR_DATA_MAX_DWORDS; in nvidiafb_mono_color_expand()
392 if (dsize) { in nvidiafb_mono_color_expand()
393 NVDmaStart(info, par, RECT_EXPAND_TWO_COLOR_DATA(0), dsize); in nvidiafb_mono_color_expand()
395 for (j = dsize; j--;) { in nvidiafb_mono_color_expand()
/drivers/gpu/drm/nouveau/
Dnv04_fbcon.c86 uint32_t dsize; in nv04_fbcon_imageblit() local
99 dsize = ALIGN(width * image->height, 32) >> 5; in nv04_fbcon_imageblit()
120 while (dsize) { in nv04_fbcon_imageblit()
121 int iter_len = dsize > 128 ? 128 : dsize; in nv04_fbcon_imageblit()
130 dsize -= iter_len; in nv04_fbcon_imageblit()
/drivers/sbus/char/
Djsflash.c101 unsigned long dsize; member
197 if ((offset + len) > jdp->dsize) in jsfd_do_request()
528 jsf->dv[0].dsize = jsf->size; in jsflash_init()
530 jsf->dv[1].dsize = jsf->size - 1024; in jsflash_init()
532 jsf->dv[2].dsize = 0x01000000; in jsflash_init()
591 set_capacity(disk, jdp->dsize >> 9); in jsfd_init()
/drivers/video/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/video/omap2/dss/
Dcore.c464 size_t dsize = sizeof(struct device); in dss_copy_device_pdata() local
466 memcpy(d + dsize, s + dsize, sizeof(struct omap_dss_device) - dsize); in dss_copy_device_pdata()
/drivers/hid/i2c-hid/
Di2c-hid.c805 unsigned int dsize; in i2c_hid_fetch_hid_descriptor() local
823 dsize = le16_to_cpu(hdesc->wHIDDescLength); in i2c_hid_fetch_hid_descriptor()
830 if (dsize < 4 || dsize > sizeof(struct i2c_hid_desc)) { in i2c_hid_fetch_hid_descriptor()
832 dsize); in i2c_hid_fetch_hid_descriptor()
847 dsize); in i2c_hid_fetch_hid_descriptor()
853 i2c_hid_dbg(ihid, "HID Descriptor: %*ph\n", dsize, ihid->hdesc_buffer); in i2c_hid_fetch_hid_descriptor()
/drivers/dma/
Dmpc512x_dma.c131 u32 dsize:3; /* Destination data transfer size */ member
604 tcd->dsize = MPC_DMA_TSIZE_32; in mpc_dma_prep_memcpy()
610 tcd->dsize = MPC_DMA_TSIZE_16; in mpc_dma_prep_memcpy()
615 tcd->dsize = MPC_DMA_TSIZE_4; in mpc_dma_prep_memcpy()
620 tcd->dsize = MPC_DMA_TSIZE_2; in mpc_dma_prep_memcpy()
625 tcd->dsize = MPC_DMA_TSIZE_1; in mpc_dma_prep_memcpy()
/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c3119 static u16 ar9300_comp_cksum(u8 *data, int dsize) in ar9300_comp_cksum() argument
3123 for (it = 0; it < dsize; it++) { in ar9300_comp_cksum()