Lines Matching refs:residue

4270 	len = (flash->residue < BFA_FLASH_DMA_BUF_SZ) ?  in bfa_flash_write_send()
4271 flash->residue : BFA_FLASH_DMA_BUF_SZ; in bfa_flash_write_send()
4275 msg->last = (len == flash->residue) ? 1 : 0; in bfa_flash_write_send()
4283 flash->residue -= len; in bfa_flash_write_send()
4303 len = (flash->residue < BFA_FLASH_DMA_BUF_SZ) ? in bfa_flash_read_send()
4304 flash->residue : BFA_FLASH_DMA_BUF_SZ; in bfa_flash_read_send()
4402 if (status != BFA_STATUS_OK || flash->residue == 0) { in bfa_flash_intr()
4422 flash->residue -= len; in bfa_flash_intr()
4424 if (flash->residue == 0) { in bfa_flash_intr()
4639 flash->residue = len; in bfa_flash_update_part()
4693 flash->residue = len; in bfa_flash_read_part()
5367 len = (phy->residue < BFA_PHY_DMA_BUF_SZ) ? in bfa_phy_write_send()
5368 phy->residue : BFA_PHY_DMA_BUF_SZ; in bfa_phy_write_send()
5372 msg->last = (len == phy->residue) ? 1 : 0; in bfa_phy_write_send()
5386 phy->residue -= len; in bfa_phy_write_send()
5405 len = (phy->residue < BFA_PHY_DMA_BUF_SZ) ? in bfa_phy_read_send()
5406 phy->residue : BFA_PHY_DMA_BUF_SZ; in bfa_phy_read_send()
5630 phy->residue = len; in bfa_phy_update()
5681 phy->residue = len; in bfa_phy_read()
5759 if (status != BFA_STATUS_OK || phy->residue == 0) { in bfa_phy_intr()
5790 phy->residue -= len; in bfa_phy_intr()
5793 if (phy->residue == 0) { in bfa_phy_intr()
6221 len = (fru->residue < BFA_FRU_DMA_BUF_SZ) ? in bfa_fru_write_send()
6222 fru->residue : BFA_FRU_DMA_BUF_SZ; in bfa_fru_write_send()
6228 msg->last = (len == fru->residue) ? 1 : 0; in bfa_fru_write_send()
6230 msg->trfr_cmpl = (len == fru->residue) ? fru->trfr_cmpl : 0; in bfa_fru_write_send()
6237 fru->residue -= len; in bfa_fru_write_send()
6255 len = (fru->residue < BFA_FRU_DMA_BUF_SZ) ? in bfa_fru_read_send()
6256 fru->residue : BFA_FRU_DMA_BUF_SZ; in bfa_fru_read_send()
6370 fru->residue = len; in bfa_fruvpd_update()
6420 fru->residue = len; in bfa_fruvpd_read()
6489 fru->residue = len; in bfa_tfru_write()
6534 fru->residue = len; in bfa_tfru_read()
6572 if (status != BFA_STATUS_OK || fru->residue == 0) { in bfa_fru_intr()
6604 fru->residue -= len; in bfa_fru_intr()
6607 if (fru->residue == 0) { in bfa_fru_intr()
6991 u32 off, l, s, residue, fifo_sz; in bfa_flash_raw_read() local
6993 residue = len; in bfa_flash_raw_read()
7000 while (residue) { in bfa_flash_raw_read()
7004 if (l > residue) in bfa_flash_raw_read()
7005 l = residue; in bfa_flash_raw_read()
7024 residue -= l; in bfa_flash_raw_read()