/drivers/scsi/ |
D | u14-34f.c | 745 struct mscp *cpp; in board_inquiry() local 752 cpp = &HD(j)->cp[0]; in board_inquiry() 753 cpp->cp_dma_addr = pci_map_single(HD(j)->pdev, cpp, sizeof(struct mscp), in board_inquiry() 755 memset(cpp, 0, sizeof(struct mscp) - CP_TAIL_SIZE); in board_inquiry() 756 cpp->opcode = OP_HOST_ADAPTER; in board_inquiry() 757 cpp->xdir = DTD_IN; in board_inquiry() 758 cpp->data_address = H2DEV(id_dma_addr); in board_inquiry() 759 cpp->data_len = H2DEV(sizeof(HD(j)->board_id)); in board_inquiry() 760 cpp->cdb_len = 6; in board_inquiry() 761 cpp->cdb[0] = HA_CMD_INQUIRY; in board_inquiry() [all …]
|
D | eata.c | 1603 struct mscp *cpp; in map_dma() local 1606 cpp = &ha->cp[i]; in map_dma() 1607 SCpnt = cpp->SCpnt; in map_dma() 1611 cpp->sense_addr = in map_dma() 1615 cpp->sense_len = SCSI_SENSE_BUFFERSIZE; in map_dma() 1618 cpp->data_len = 0; in map_dma() 1627 cpp->sglist[k].address = H2DEV(sg_dma_address(sg)); in map_dma() 1628 cpp->sglist[k].num_bytes = H2DEV(sg_dma_len(sg)); in map_dma() 1631 cpp->sg = 1; in map_dma() 1632 cpp->data_address = H2DEV(pci_map_single(ha->pdev, cpp->sglist, in map_dma() [all …]
|
/drivers/net/slip/ |
D | slhc.c | 83 static long decode(unsigned char **cpp); 85 static unsigned short pull16(unsigned char **cpp); 195 pull16(unsigned char **cpp) in pull16() argument 199 rval = *(*cpp)++; in pull16() 201 rval |= *(*cpp)++; in pull16() 207 decode(unsigned char **cpp) in decode() argument 211 x = *(*cpp)++; in decode() 213 return pull16(cpp) & 0xffff; /* pull16 returns -1 on error */ in decode() 228 unsigned char *ocp, unsigned char **cpp, int compress_cid) in slhc_compress() argument 453 *cpp = ocp; in slhc_compress() [all …]
|
/drivers/gpu/drm/radeon/ |
D | r200.c | 318 track->cb[0].cpp = 1; in r200_packet0_check() 323 track->cb[0].cpp = 2; in r200_packet0_check() 326 track->cb[0].cpp = 4; in r200_packet0_check() 345 track->zb.cpp = 2; in r200_packet0_check() 353 track->zb.cpp = 4; in r200_packet0_check() 488 track->textures[i].cpp = 1; in r200_packet0_check() 500 track->textures[i].cpp = 2; in r200_packet0_check() 508 track->textures[i].cpp = 4; in r200_packet0_check() 512 track->textures[i].cpp = 1; in r200_packet0_check() 517 track->textures[i].cpp = 1; in r200_packet0_check()
|
D | r300.c | 806 track->cb[i].cpp = 1; in r300_packet0_check() 812 track->cb[i].cpp = 2; in r300_packet0_check() 822 track->cb[i].cpp = 4; in r300_packet0_check() 825 track->cb[i].cpp = 8; in r300_packet0_check() 828 track->cb[i].cpp = 16; in r300_packet0_check() 851 track->zb.cpp = 2; in r300_packet0_check() 854 track->zb.cpp = 4; in r300_packet0_check() 922 track->textures[i].cpp = 1; in r300_packet0_check() 935 track->textures[i].cpp = 2; in r300_packet0_check() 947 track->textures[i].cpp = 4; in r300_packet0_check() [all …]
|
D | r100_track.h | 15 unsigned cpp; member 42 unsigned cpp; member
|
D | r600_blit.c | 789 int w, int h, int src_pitch, int dst_pitch, int cpp) in r600_blit_swap() argument 828 switch(cpp) { in r600_blit_swap() 845 src_pitch / cpp, in r600_blit_swap() 846 sy2, src_pitch / cpp, in r600_blit_swap() 854 dst_pitch / cpp, dy2, in r600_blit_swap()
|
D | r100.c | 1731 track->cb[0].cpp = 1; in r100_packet0_check() 1736 track->cb[0].cpp = 2; in r100_packet0_check() 1739 track->cb[0].cpp = 4; in r100_packet0_check() 1753 track->zb.cpp = 2; in r100_packet0_check() 1761 track->zb.cpp = 4; in r100_packet0_check() 1838 track->textures[i].cpp = 1; in r100_packet0_check() 1850 track->textures[i].cpp = 2; in r100_packet0_check() 1857 track->textures[i].cpp = 4; in r100_packet0_check() 1861 track->textures[i].cpp = 1; in r100_packet0_check() 1866 track->textures[i].cpp = 1; in r100_packet0_check() [all …]
|
D | r600_cp.c | 2425 int i, cpp, src_pitch, dst_pitch; in r600_cp_dispatch_swap() local 2431 cpp = 4; in r600_cp_dispatch_swap() 2433 cpp = 2; in r600_cp_dispatch_swap() 2462 src_pitch, dst_pitch, cpp); in r600_cp_dispatch_swap()
|
/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_smp.c | 243 int n, fetch_stride, cpp; in mdp5_smp_request() local 245 cpp = drm_format_plane_cpp(fmt, i); in mdp5_smp_request() 246 fetch_stride = width * cpp / (i ? hsub : 1); in mdp5_smp_request()
|
/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/ |
D | com.fuc | 426 // extract cpp, src_ncomp and dst_ncomp from FORMAT 521 // nTx = round_up(w * cpp, 1 << Tp) >> Tp 523 // Txo = (x * cpp) & ((1 << Tp) - 1) 524 // Tx = (x * cpp) >> Tp 560 // Op = (x * cpp) & ((1 << Tp) - 1) 561 // Tx = (x * cpp) >> Tp 594 // nTx = ((w * cpp) + ((1 << Tp) - 1) >> Tp) 787 // fill in cpp/xcnt for both surfaces as if (cpp == 1)
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 177 u32 cpp, max_x, max_y; in vmw_fb_dirty_flush() local 200 cpp = (cur_fb->bits_per_pixel + 7) / 8; in vmw_fb_dirty_flush() 224 (dst_y1 * par->set_fb->pitches[0] + dst_x1 * cpp); in vmw_fb_dirty_flush() 227 (dst_x1 + par->fb_x) * cpp); in vmw_fb_dirty_flush() 230 memcpy(dst_ptr, src_ptr, w*cpp); in vmw_fb_dirty_flush()
|
/drivers/usb/serial/ |
D | Makefile-keyspan_pda_fw | 9 gcc -x assembler-with-cpp -P -E -o $@ $<
|
/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 55 .cpp = (bytes_per_pixel), \ 63 uint32_t cpp; /* bytes/chars per pixel */ member 390 min_align = max(min_align, (geom[fmt].slot_w * geom[fmt].cpp)); in tiler_reserve_2d() 392 align /= geom[fmt].slot_w * geom[fmt].cpp; in tiler_reserve_2d() 547 return geom[fmt].cpp * w * h; in tiler_size() 553 return round_up(geom[fmt].cpp * w, PAGE_SIZE) * h; in tiler_vsize()
|
/drivers/video/adf/ |
D | adf.c | 1055 u8 num_planes, u8 hsub, u8 vsub, u8 cpp[]) in adf_format_validate_yuv() argument 1080 u8 cpp = adf_format_plane_cpp(buf->format, i); in adf_format_validate_yuv() local 1083 if (buf->pitch[i] < (u64) width * cpp) { in adf_format_validate_yuv() 1085 i, buf->pitch[i], width, cpp * 8); in adf_format_validate_yuv() 1095 last_line_size = width * cpp; in adf_format_validate_yuv()
|
D | adf_client.c | 251 u8 hsub, vsub, num_planes, cpp[ADF_MAX_PLANES], i; in adf_buffer_validate() local 267 cpp[i] = adf_format_plane_cpp(buf->format, i); in adf_buffer_validate() 270 cpp); in adf_buffer_validate()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_crtc.h | 49 int cpp; member
|
/drivers/gpu/drm/i810/ |
D | i810_dma.c | 596 int cpp = 2; in i810_dma_dispatch_clear() local 618 unsigned int width = (pbox->x2 - x) * cpp; in i810_dma_dispatch_clear() 620 unsigned int start = y * pitch + x * cpp; in i810_dma_dispatch_clear() 669 int cpp = 2; in i810_dma_dispatch_swap() local 683 unsigned int dst = pbox->x1 * cpp + pbox->y1 * pitch; in i810_dma_dispatch_swap() 694 OUT_RING((h << 16) | (w * cpp)); in i810_dma_dispatch_swap()
|
/drivers/gpu/drm/msm/mdp/ |
D | mdp_kms.h | 92 uint8_t cpp, unpack_count; member
|
D | mdp_format.c | 83 .cpp = c, \
|
/drivers/gpu/drm/i915/ |
D | intel_fbc.c | 744 int size, cpp; in intel_fbc_setup_cfb() local 747 cpp = drm_format_plane_cpp(fb->pixel_format, 0); in intel_fbc_setup_cfb() 755 return intel_fbc_alloc_cfb(dev_priv, size, cpp); in intel_fbc_setup_cfb()
|
D | intel_pm.c | 1519 int cpp = crtc->primary->state->fb->bits_per_pixel / 8; in i9xx_update_wm() local 1521 cpp = 4; in i9xx_update_wm() 1525 wm_info, fifo_size, cpp, in i9xx_update_wm() 1541 int cpp = crtc->primary->state->fb->bits_per_pixel / 8; in i9xx_update_wm() local 1543 cpp = 4; in i9xx_update_wm() 1547 wm_info, fifo_size, cpp, in i9xx_update_wm() 1805 int cpp = 4; in ilk_compute_cur_wm() local 1813 width, cpp, mem_value); in ilk_compute_cur_wm()
|
/drivers/video/fbdev/ |
D | tdfxfb.c | 554 u32 cpp = (info->var.bits_per_pixel + 7) >> 3; in tdfxfb_set_par() local 560 ((cpp - 1) << VIDCFG_PIXFMT_SHIFT) | in tdfxfb_set_par() 561 (cpp != 1 ? VIDCFG_CLUT_BYPASS : 0); in tdfxfb_set_par() 692 reg.stride = info->var.xres * cpp; in tdfxfb_set_par() 694 + info->var.xoffset * cpp; in tdfxfb_set_par()
|
/drivers/gpu/drm/ |
D | drm_crtc.c | 3162 unsigned int cpp = drm_format_plane_cpp(r->pixel_format, i); in framebuffer_check() local 3169 if ((uint64_t) width * cpp > UINT_MAX) in framebuffer_check() 3175 if (r->pitches[i] < width * cpp) { in framebuffer_check() 5397 u32 cpp, stride, size; in drm_mode_create_dumb_ioctl() local 5406 cpp = DIV_ROUND_UP(args->bpp, 8); in drm_mode_create_dumb_ioctl() 5407 if (!cpp || cpp > 0xffffffffU / args->width) in drm_mode_create_dumb_ioctl() 5409 stride = cpp * args->width; in drm_mode_create_dumb_ioctl()
|
/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_plane.c | 328 MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | in mdp4_plane_mode_set()
|