Lines Matching refs:sgp
2597 ASC_SG_HEAD *sgp; in asc_prt_asc_scsi_q() local
2618 sgp = q->sg_head; in asc_prt_asc_scsi_q()
2619 printk("ASC_SG_HEAD at addr 0x%lx\n", (ulong)sgp); in asc_prt_asc_scsi_q()
2620 printk(" entry_cnt %u, queue_cnt %u\n", sgp->entry_cnt, in asc_prt_asc_scsi_q()
2621 sgp->queue_cnt); in asc_prt_asc_scsi_q()
2622 for (i = 0; i < sgp->entry_cnt; i++) { in asc_prt_asc_scsi_q()
2624 i, (ulong)le32_to_cpu(sgp->sg_list[i].addr), in asc_prt_asc_scsi_q()
2625 (ulong)le32_to_cpu(sgp->sg_list[i].bytes)); in asc_prt_asc_scsi_q()
11284 adv_sgblk_t *sgp; in advansys_wide_init_chip() local
11323 sgp = kmalloc(sizeof(adv_sgblk_t), GFP_KERNEL); in advansys_wide_init_chip()
11325 if (!sgp) in advansys_wide_init_chip()
11328 sgp->next_sgblkp = board->adv_sgblkp; in advansys_wide_init_chip()
11329 board->adv_sgblkp = sgp; in advansys_wide_init_chip()
11384 adv_sgblk_t *sgp = board->adv_sgblkp; in advansys_wide_free_mem() local
11385 board->adv_sgblkp = sgp->next_sgblkp; in advansys_wide_free_mem()
11386 kfree(sgp); in advansys_wide_free_mem()