Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/disk/ahci/
H A Dahcidisk.rs149 cmdtbl.prdt_entry[i].dba, in read_at()
152 cmdtbl.prdt_entry[i].dbc = 8 * 1024 - 1; in read_at()
153 volatile_set_bit!(cmdtbl.prdt_entry[i].dbc, 1 << 31, true); // 允许中断 prdt_entry.i in read_at()
161 cmdtbl.prdt_entry[las].dba, in read_at()
164 cmdtbl.prdt_entry[las].dbc = ((tmp_count << 9) - 1) as u32; // 数据长度 in read_at()
166 volatile_set_bit!(cmdtbl.prdt_entry[las].dbc, 1 << 31, true); // 允许中断 in read_at()
313 cmdtbl.prdt_entry[i].dba, in write_at()
316 volatile_write_bit!(cmdtbl.prdt_entry[i].dbc, (1 << 22) - 1, 8 * 1024 - 1); // 数据长度 in write_at()
317 volatile_set_bit!(cmdtbl.prdt_entry[i].dbc, 1 << 31, true); // 允许中断 in write_at()
325 cmdtbl.prdt_entry[las].dba, in write_at()
[all …]
H A Dhba.rs109 …pub prdt_entry: [HbaPrdtEntry; 8], // Physical region descriptor table entries, 0 ~ 65535, 需要注意不要越… field