Home
last modified time | relevance | path

Searched refs:prdtl (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahcidisk.rs104 volatile_write!(cmdheader.prdtl, check_length as u16); // PRDT entries count in read_at()
140 for i in 0..((volatile_read!(cmdheader.prdtl) - 1) as usize) { in read_at()
149 let las = (volatile_read!(cmdheader.prdtl) - 1) as usize; in read_at()
259 volatile_write!(cmdheader.prdtl, check_length as u16); // PRDT entries count in write_at()
296 for i in 0..((volatile_read!(cmdheader.prdtl) - 1) as usize) { in write_at()
305 let las = (volatile_read!(cmdheader.prdtl) - 1) as usize; in write_at()
Dhba.rs118 pub prdtl: u16, // Physical region descriptor table length in entries field
221 volatile_write!((*cmdheaders).prdtl, 0); // 一开始没有询问,prdtl = 0(预留了8个PRDT项的空间) in init()