Home
last modified time | relevance | path

Searched refs:cpp (Results 1 – 25 of 28) sorted by relevance

12

/drivers/scsi/
Du14-34f.c745 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 …]
Deata.c1603 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/
Dslhc.c83 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/
Dr200.c318 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()
Dr300.c806 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 …]
Dr100_track.h15 unsigned cpp; member
42 unsigned cpp; member
Dr600_blit.c789 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()
Dr100.c1731 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 …]
Dr600_cp.c2425 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/
Dmdp5_smp.c243 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/
Dcom.fuc426 // 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/
Dvmwgfx_fb.c177 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/
DMakefile-keyspan_pda_fw9 gcc -x assembler-with-cpp -P -E -o $@ $<
/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c55 .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/
Dadf.c1055 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()
Dadf_client.c251 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/
Dnouveau_crtc.h49 int cpp; member
/drivers/gpu/drm/i810/
Di810_dma.c596 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/
Dmdp_kms.h92 uint8_t cpp, unpack_count; member
Dmdp_format.c83 .cpp = c, \
/drivers/gpu/drm/i915/
Dintel_fbc.c744 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()
Dintel_pm.c1519 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/
Dtdfxfb.c554 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/
Ddrm_crtc.c3162 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/
Dmdp4_plane.c328 MDP4_PIPE_SRC_FORMAT_CPP(format->cpp - 1) | in mdp4_plane_mode_set()

12