Home
last modified time | relevance | path

Searched refs:sg_frags (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_io.c1624 int frag_size, sg_frags; in bnx2fc_split_bd() local
1626 sg_frags = 0; in bnx2fc_split_bd()
1633 bd[bd_index + sg_frags].buf_addr_hi = addr >> 32; in bnx2fc_split_bd()
1634 bd[bd_index + sg_frags].buf_len = (u16)frag_size; in bnx2fc_split_bd()
1635 bd[bd_index + sg_frags].flags = 0; in bnx2fc_split_bd()
1638 sg_frags++; in bnx2fc_split_bd()
1641 return sg_frags; in bnx2fc_split_bd()
1655 int sg_frags; in bnx2fc_map_sg() local
1671 sg_frags = bnx2fc_split_bd(io_req, addr, sg_len, in bnx2fc_map_sg()
1675 sg_frags = 1; in bnx2fc_map_sg()
[all …]
/openbmc/linux/drivers/scsi/qedi/
H A Dqedi_fw.c1749 int frag_size, sg_frags; in qedi_split_bd() local
1751 sg_frags = 0; 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()
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dmvsdio.c43 unsigned int sg_frags; member
126 host->sg_frags = dma_map_sg(mmc_dev(host->mmc), in mvsd_setup_data()
295 dma_unmap_sg(mmc_dev(host->mmc), data->sg, host->sg_frags, in mvsd_finish_data()