• Home
  • Raw
  • Download

Lines Matching refs:residue

4271 	len = (flash->residue < BFA_FLASH_DMA_BUF_SZ) ?  in bfa_flash_write_send()
4272 flash->residue : BFA_FLASH_DMA_BUF_SZ; in bfa_flash_write_send()
4276 msg->last = (len == flash->residue) ? 1 : 0; in bfa_flash_write_send()
4284 flash->residue -= len; in bfa_flash_write_send()
4304 len = (flash->residue < BFA_FLASH_DMA_BUF_SZ) ? in bfa_flash_read_send()
4305 flash->residue : BFA_FLASH_DMA_BUF_SZ; in bfa_flash_read_send()
4403 if (status != BFA_STATUS_OK || flash->residue == 0) { in bfa_flash_intr()
4423 flash->residue -= len; in bfa_flash_intr()
4425 if (flash->residue == 0) { in bfa_flash_intr()
4640 flash->residue = len; in bfa_flash_update_part()
4694 flash->residue = len; in bfa_flash_read_part()
5368 len = (phy->residue < BFA_PHY_DMA_BUF_SZ) ? in bfa_phy_write_send()
5369 phy->residue : BFA_PHY_DMA_BUF_SZ; in bfa_phy_write_send()
5373 msg->last = (len == phy->residue) ? 1 : 0; in bfa_phy_write_send()
5387 phy->residue -= len; in bfa_phy_write_send()
5406 len = (phy->residue < BFA_PHY_DMA_BUF_SZ) ? in bfa_phy_read_send()
5407 phy->residue : BFA_PHY_DMA_BUF_SZ; in bfa_phy_read_send()
5631 phy->residue = len; in bfa_phy_update()
5682 phy->residue = len; in bfa_phy_read()
5760 if (status != BFA_STATUS_OK || phy->residue == 0) { in bfa_phy_intr()
5791 phy->residue -= len; in bfa_phy_intr()
5794 if (phy->residue == 0) { in bfa_phy_intr()
6223 len = (fru->residue < BFA_FRU_DMA_BUF_SZ) ? in bfa_fru_write_send()
6224 fru->residue : BFA_FRU_DMA_BUF_SZ; in bfa_fru_write_send()
6230 msg->last = (len == fru->residue) ? 1 : 0; in bfa_fru_write_send()
6232 msg->trfr_cmpl = (len == fru->residue) ? fru->trfr_cmpl : 0; in bfa_fru_write_send()
6239 fru->residue -= len; in bfa_fru_write_send()
6257 len = (fru->residue < BFA_FRU_DMA_BUF_SZ) ? in bfa_fru_read_send()
6258 fru->residue : BFA_FRU_DMA_BUF_SZ; in bfa_fru_read_send()
6372 fru->residue = len; in bfa_fruvpd_update()
6422 fru->residue = len; in bfa_fruvpd_read()
6491 fru->residue = len; in bfa_tfru_write()
6536 fru->residue = len; in bfa_tfru_read()
6574 if (status != BFA_STATUS_OK || fru->residue == 0) { in bfa_fru_intr()
6606 fru->residue -= len; in bfa_fru_intr()
6609 if (fru->residue == 0) { in bfa_fru_intr()
6993 u32 off, l, s, residue, fifo_sz; in bfa_flash_raw_read() local
6995 residue = len; in bfa_flash_raw_read()
7002 while (residue) { in bfa_flash_raw_read()
7006 if (l > residue) in bfa_flash_raw_read()
7007 l = residue; in bfa_flash_raw_read()
7026 residue -= l; in bfa_flash_raw_read()