Lines Matching refs:atrb
330 for atrb in &self.transfer_trbs { in on_transfer_complete()
331 edtla += atrb.trb.transfer_length().map_err(Error::TransferLength)?; in on_transfer_complete()
332 if atrb.trb.interrupt_on_completion() in on_transfer_complete()
333 || (atrb.trb.interrupt_on_short_packet() && edtla > bytes_transferred) in on_transfer_complete()
336 if atrb.trb.get_trb_type().map_err(Error::TrbType)? == TrbType::EventData { in on_transfer_complete()
342 atrb.trb in on_transfer_complete()
361 atrb.gpa, in on_transfer_complete()
374 atrb.gpa, in on_transfer_complete()
418 for atrb in &self.transfer_trbs { in validate_transfer()
419 if !trb_is_valid(&atrb) { in validate_transfer()
424 atrb.gpa, in validate_transfer()
438 fn trb_is_valid(atrb: &AddressedTrb) -> bool { in trb_is_valid()
439 let can_be_in_transfer_ring = match atrb.trb.can_be_in_transfer_ring() { in trb_is_valid()
446 can_be_in_transfer_ring && (atrb.trb.interrupter_target() < MAX_INTERRUPTER) in trb_is_valid()