Searched refs:sgx (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/scsi/qla2xxx/
H A Dqla_iocb.c877 qla24xx_get_one_block_sg(uint32_t blk_sz, struct qla2_sgx *sgx, qla24xx_get_one_block_sg() argument
884 if (sgx->num_bytes == sgx->tot_bytes) qla24xx_get_one_block_sg()
887 sg = sgx->cur_sg; qla24xx_get_one_block_sg()
888 cumulative_partial = sgx->tot_partial; qla24xx_get_one_block_sg()
893 sgx->dma_addr = sg_dma_addr + sgx->bytes_consumed; qla24xx_get_one_block_sg()
895 if ((cumulative_partial + (sg_len - sgx->bytes_consumed)) >= blk_sz) { qla24xx_get_one_block_sg()
896 sgx->dma_len = (blk_sz - cumulative_partial); qla24xx_get_one_block_sg()
897 sgx->tot_partial = 0; qla24xx_get_one_block_sg()
898 sgx->num_bytes += blk_sz; qla24xx_get_one_block_sg()
901 sgx->dma_len = sg_len - sgx->bytes_consumed; qla24xx_get_one_block_sg()
902 sgx->tot_partial += sgx->dma_len; qla24xx_get_one_block_sg()
906 sgx->bytes_consumed += sgx->dma_len; qla24xx_get_one_block_sg()
908 if (sg_len == sgx->bytes_consumed) { qla24xx_get_one_block_sg()
910 sgx->num_sg++; qla24xx_get_one_block_sg()
911 sgx->cur_sg = sg; qla24xx_get_one_block_sg()
912 sgx->bytes_consumed = 0; qla24xx_get_one_block_sg()
932 struct qla2_sgx sgx; qla24xx_walk_and_build_sglist_no_difb() local
938 memset(&sgx, 0, sizeof(struct qla2_sgx)); qla24xx_walk_and_build_sglist_no_difb()
944 sgx.tot_bytes = scsi_bufflen(cmd); qla24xx_walk_and_build_sglist_no_difb()
945 sgx.cur_sg = scsi_sglist(cmd); qla24xx_walk_and_build_sglist_no_difb()
946 sgx.sp = sp; qla24xx_walk_and_build_sglist_no_difb()
952 sgx.tot_bytes = tc->bufflen; qla24xx_walk_and_build_sglist_no_difb()
953 sgx.cur_sg = tc->sg; qla24xx_walk_and_build_sglist_no_difb()
960 while (qla24xx_get_one_block_sg(prot_int, &sgx, &partial)) { qla24xx_walk_and_build_sglist_no_difb()
962 sle_dma = sgx.dma_addr; qla24xx_walk_and_build_sglist_no_difb()
963 sle_dma_len = sgx.dma_len; qla24xx_walk_and_build_sglist_no_difb()
1667 struct qla2_sgx sgx; qla24xx_dif_start_scsi() local
1670 memset(&sgx, 0, sizeof(struct qla2_sgx)); qla24xx_dif_start_scsi()
1671 sgx.tot_bytes = scsi_bufflen(cmd); qla24xx_dif_start_scsi()
1672 sgx.cur_sg = scsi_sglist(cmd); qla24xx_dif_start_scsi()
1673 sgx.sp = sp; qla24xx_dif_start_scsi()
1677 cmd->device->sector_size, &sgx, &partial)) qla24xx_dif_start_scsi()
/linux-4.1.27/arch/arm/mach-omap2/
H A Did.c251 OMAP3_SHOW_FEATURE(sgx); omap3_cpuinfo()
H A Dsoc.h515 OMAP3_HAS_FEATURE(sgx, SGX)
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dmmu.c429 /* Returns the physical address of the PD shared by sgx/msvdx */ psb_get_default_pd_addr()
H A Dpsb_drv.h909 "access sgx when it's off!! (READ) %s, %d\n", \

Completed in 198 milliseconds