Home
last modified time | relevance | path

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

/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.c1615 struct mscp *cpp; in map_dma() local
1618 cpp = &ha->cp[i]; in map_dma()
1619 SCpnt = cpp->SCpnt; in map_dma()
1623 cpp->sense_addr = in map_dma()
1627 cpp->sense_len = SCSI_SENSE_BUFFERSIZE; in map_dma()
1630 cpp->data_len = 0; in map_dma()
1639 cpp->sglist[k].address = H2DEV(sg_dma_address(sg)); in map_dma()
1640 cpp->sglist[k].num_bytes = H2DEV(sg_dma_len(sg)); in map_dma()
1643 cpp->sg = 1; in map_dma()
1644 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);
191 pull16(unsigned char **cpp) in pull16() argument
195 rval = *(*cpp)++; in pull16()
197 rval |= *(*cpp)++; in pull16()
203 decode(unsigned char **cpp) in decode() argument
207 x = *(*cpp)++; in decode()
209 return pull16(cpp) & 0xffff; /* pull16 returns -1 on error */ in decode()
224 unsigned char *ocp, unsigned char **cpp, int compress_cid) in slhc_compress() argument
444 *cpp = ocp; in slhc_compress()
[all …]
/drivers/gpu/drm/radeon/
Dr200.c315 track->cb[0].cpp = 1; in r200_packet0_check()
320 track->cb[0].cpp = 2; in r200_packet0_check()
323 track->cb[0].cpp = 4; in r200_packet0_check()
342 track->zb.cpp = 2; in r200_packet0_check()
350 track->zb.cpp = 4; in r200_packet0_check()
485 track->textures[i].cpp = 1; in r200_packet0_check()
497 track->textures[i].cpp = 2; in r200_packet0_check()
505 track->textures[i].cpp = 4; in r200_packet0_check()
509 track->textures[i].cpp = 1; in r200_packet0_check()
514 track->textures[i].cpp = 1; in r200_packet0_check()
Dr300.c773 track->cb[i].cpp = 1; in r300_packet0_check()
779 track->cb[i].cpp = 2; in r300_packet0_check()
789 track->cb[i].cpp = 4; in r300_packet0_check()
792 track->cb[i].cpp = 8; in r300_packet0_check()
795 track->cb[i].cpp = 16; in r300_packet0_check()
818 track->zb.cpp = 2; in r300_packet0_check()
821 track->zb.cpp = 4; in r300_packet0_check()
889 track->textures[i].cpp = 1; in r300_packet0_check()
902 track->textures[i].cpp = 2; in r300_packet0_check()
914 track->textures[i].cpp = 4; in r300_packet0_check()
[all …]
Dr100_track.h15 unsigned cpp; member
42 unsigned cpp; member
Dr600_blit.c758 int w, int h, int src_pitch, int dst_pitch, int cpp) in r600_blit_swap() argument
797 switch(cpp) { in r600_blit_swap()
814 src_pitch / cpp, in r600_blit_swap()
815 sy2, src_pitch / cpp, in r600_blit_swap()
823 dst_pitch / cpp, dy2, in r600_blit_swap()
Dr100.c1710 track->cb[0].cpp = 1; in r100_packet0_check()
1715 track->cb[0].cpp = 2; in r100_packet0_check()
1718 track->cb[0].cpp = 4; in r100_packet0_check()
1732 track->zb.cpp = 2; in r100_packet0_check()
1740 track->zb.cpp = 4; in r100_packet0_check()
1817 track->textures[i].cpp = 1; in r100_packet0_check()
1829 track->textures[i].cpp = 2; in r100_packet0_check()
1836 track->textures[i].cpp = 4; in r100_packet0_check()
1840 track->textures[i].cpp = 1; in r100_packet0_check()
1845 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()
Dradeon_drv.h464 int w, int h, int src_pitch, int dst_pitch, int cpp);
/drivers/gpu/drm/nouveau/core/engine/copy/fuc/
Dnva3.fuc434 // extract cpp, src_ncomp and dst_ncomp from FORMAT
529 // nTx = round_up(w * cpp, 1 << Tp) >> Tp
531 // Txo = (x * cpp) & ((1 << Tp) - 1)
532 // Tx = (x * cpp) >> Tp
568 // Op = (x * cpp) & ((1 << Tp) - 1)
569 // Tx = (x * cpp) >> Tp
602 // nTx = ((w * cpp) + ((1 << Tp) - 1) >> Tp)
795 // fill in cpp/xcnt for both surfaces as if (cpp == 1)
/drivers/usb/serial/
DMakefile-keyspan_pda_fw9 gcc -x assembler-with-cpp -P -E -o $@ $<
/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c49 .cpp = (bytes_per_pixel), \
57 uint32_t cpp; /* bytes/chars per pixel */ member
364 min_align = max(min_align, (geom[fmt].slot_w * geom[fmt].cpp)); in tiler_reserve_2d()
366 align /= geom[fmt].slot_w * geom[fmt].cpp; in tiler_reserve_2d()
521 return geom[fmt].cpp * w * h; in tiler_size()
527 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.h46 int cpp; member
/drivers/gpu/drm/i810/
Di810_dma.c598 int cpp = 2; in i810_dma_dispatch_clear() local
620 unsigned int width = (pbox->x2 - x) * cpp; in i810_dma_dispatch_clear()
622 unsigned int start = y * pitch + x * cpp; in i810_dma_dispatch_clear()
671 int cpp = 2; in i810_dma_dispatch_swap() local
685 unsigned int dst = pbox->x1 * cpp + pbox->y1 * pitch; in i810_dma_dispatch_swap()
696 OUT_RING((h << 16) | (w * cpp)); in i810_dma_dispatch_swap()
/drivers/video/
Dtdfxfb.c573 u32 cpp = (info->var.bits_per_pixel + 7) >> 3; in tdfxfb_set_par() local
579 ((cpp - 1) << VIDCFG_PIXFMT_SHIFT) | in tdfxfb_set_par()
580 (cpp != 1 ? VIDCFG_CLUT_BYPASS : 0); in tdfxfb_set_par()
711 reg.stride = info->var.xres * cpp; in tdfxfb_set_par()
713 + info->var.xoffset * cpp; in tdfxfb_set_par()
/drivers/gpu/drm/i915/
Dintel_pm.c1490 int cpp = crtc->fb->bits_per_pixel / 8; in i9xx_update_wm() local
1492 cpp = 4; in i9xx_update_wm()
1495 wm_info, fifo_size, cpp, in i9xx_update_wm()
1504 int cpp = crtc->fb->bits_per_pixel / 8; in i9xx_update_wm() local
1506 cpp = 4; in i9xx_update_wm()
1509 wm_info, fifo_size, cpp, in i9xx_update_wm()
Di915_dma.c211 dev_priv->dri1.cpp = init->cpp; in i915_initialize()
Di915_drv.h711 unsigned int cpp; member
Dintel_display.c2058 unsigned int cpp, in intel_gen4_compute_page_offset() argument
2067 tiles = *x / (512/cpp); in intel_gen4_compute_page_offset()
2068 *x %= 512/cpp; in intel_gen4_compute_page_offset()
2074 offset = *y * pitch + *x * cpp; in intel_gen4_compute_page_offset()
2076 *x = (offset & 4095) / cpp; in intel_gen4_compute_page_offset()
/drivers/gpu/drm/
Ddrm_crtc.c2336 unsigned int cpp = drm_format_plane_cpp(r->pixel_format, i); in framebuffer_check() local
2343 if ((uint64_t) width * cpp > UINT_MAX) in framebuffer_check()
2349 if (r->pitches[i] < width * cpp) { in framebuffer_check()