Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/bnx2fc/
Dbnx2fc_io.c1630 int frag_size, sg_frags; in bnx2fc_split_bd() local
1632 sg_frags = 0; in bnx2fc_split_bd()
1638 bd[bd_index + sg_frags].buf_addr_lo = addr & 0xffffffff; in bnx2fc_split_bd()
1639 bd[bd_index + sg_frags].buf_addr_hi = addr >> 32; in bnx2fc_split_bd()
1640 bd[bd_index + sg_frags].buf_len = (u16)frag_size; in bnx2fc_split_bd()
1641 bd[bd_index + sg_frags].flags = 0; in bnx2fc_split_bd()
1644 sg_frags++; in bnx2fc_split_bd()
1647 return sg_frags; in bnx2fc_split_bd()
1661 int sg_frags; in bnx2fc_map_sg() local
1677 sg_frags = bnx2fc_split_bd(io_req, addr, sg_len, in bnx2fc_map_sg()
[all …]
/linux-6.12.1/drivers/scsi/qedi/
Dqedi_fw.c1749 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()
[all …]
/linux-6.12.1/drivers/mmc/host/
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()