Home
last modified time | relevance | path

Searched refs:sfp_dma (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_bsg.c1503 dma_addr_t sfp_dma; in qla2x00_update_fru_versions() local
1504 void *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_update_fru_versions()
1518 rval = qla2x00_write_sfp(vha, sfp_dma, sfp, in qla2x00_update_fru_versions()
1532 dma_pool_free(ha->s_dma_pool, sfp, sfp_dma); in qla2x00_update_fru_versions()
1551 dma_addr_t sfp_dma; in qla2x00_read_fru_status() local
1552 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_fru_status()
1562 rval = qla2x00_read_sfp(vha, sfp_dma, sfp, in qla2x00_read_fru_status()
1579 dma_pool_free(ha->s_dma_pool, sfp, sfp_dma); in qla2x00_read_fru_status()
1599 dma_addr_t sfp_dma; in qla2x00_write_fru_status() local
1600 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_write_fru_status()
[all …]
Dqla_mbx.c3901 qla2x00_read_sfp(scsi_qla_host_t *vha, dma_addr_t sfp_dma, uint8_t *sfp, in qla2x00_read_sfp() argument
3920 mcp->mb[2] = MSW(sfp_dma); in qla2x00_read_sfp()
3921 mcp->mb[3] = LSW(sfp_dma); in qla2x00_read_sfp()
3922 mcp->mb[6] = MSW(MSD(sfp_dma)); in qla2x00_read_sfp()
3923 mcp->mb[7] = LSW(MSD(sfp_dma)); in qla2x00_read_sfp()
3948 qla2x00_write_sfp(scsi_qla_host_t *vha, dma_addr_t sfp_dma, uint8_t *sfp, in qla2x00_write_sfp() argument
3970 mcp->mb[2] = MSW(sfp_dma); in qla2x00_write_sfp()
3971 mcp->mb[3] = LSW(sfp_dma); in qla2x00_write_sfp()
3972 mcp->mb[6] = MSW(MSD(sfp_dma)); in qla2x00_write_sfp()
3973 mcp->mb[7] = LSW(MSD(sfp_dma)); in qla2x00_write_sfp()
/drivers/scsi/bfa/
Dbfa_core.c131 struct bfa_mem_dma_s *sfp_dma = BFA_MEM_SFP_DMA(bfa); in bfa_com_sfp_attach() local
134 bfa_sfp_memclaim(sfp, sfp_dma->kva_curp, sfp_dma->dma_curp); in bfa_com_sfp_attach()
1761 struct bfa_mem_dma_s *sfp_dma = BFA_MEM_SFP_DMA(bfa); in bfa_cfg_get_meminfo() local
1784 bfa_mem_dma_setup(meminfo, sfp_dma, bfa_sfp_meminfo()); in bfa_cfg_get_meminfo()
Dbfa_ioc.h437 struct bfa_mem_dma_s sfp_dma; member
442 #define BFA_MEM_SFP_DMA(__bfa) (&(BFA_SFP_MOD(__bfa)->sfp_dma))