Lines Matching refs:sg_frags
1749 int frag_size, sg_frags; in qedi_split_bd() local
1751 sg_frags = 0; in qedi_split_bd()
1764 bd[bd_index + sg_frags].sge_addr.lo = (addr & 0xffffffff); in qedi_split_bd()
1765 bd[bd_index + sg_frags].sge_addr.hi = (addr >> 32); in qedi_split_bd()
1766 bd[bd_index + sg_frags].sge_len = (u16)frag_size; in qedi_split_bd()
1769 (bd_index + sg_frags), addr, frag_size); in qedi_split_bd()
1772 sg_frags++; in qedi_split_bd()
1775 return sg_frags; in qedi_split_bd()
1787 int sg_frags; in qedi_map_scsi_sg() local
1849 sg_frags = qedi_split_bd(cmd, addr, sg_len, bd_count); in qedi_map_scsi_sg()
1851 sg_frags = 1; in qedi_map_scsi_sg()
1857 bd_count += sg_frags; in qedi_map_scsi_sg()