Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Dvolatile.rs16 macro_rules! volatile_set_bit { macro
34 volatile_set_bit!($data, $bits, false);
35 volatile_set_bit!($data, ($val) & ($bits), true);
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs94 volatile_set_bit!(cmdheader.cfl, 1 << 6, false); // Read/Write bit : Read from device in read_at()
138 volatile_set_bit!(cmdtbl.prdt_entry[i].dbc, 1 << 31, true); // 允许中断 prdt_entry.i in read_at()
151 volatile_set_bit!(cmdtbl.prdt_entry[las].dbc, 1 << 31, true); // 允许中断 in read_at()
160 volatile_set_bit!(cmdfis.pm, 1 << 7, true); // command_bit set in read_at()
190 volatile_set_bit!(port.ci, 1 << slot, true); // Issue command in read_at()
255volatile_set_bit!(cmdheader.cfl, 7 << 5, true); // (p,c,w)都设置为1, Read/Write bit : Write from devi… in write_at()
300 volatile_set_bit!(cmdtbl.prdt_entry[i].dbc, 1 << 31, true); // 允许中断 in write_at()
308 volatile_set_bit!(cmdtbl.prdt_entry[las].dbc, 1 << 31, true); // 允许中断 in write_at()
322 volatile_set_bit!(cmdfis.pm, 1 << 7, true); // command_bit set in write_at()
337 volatile_set_bit!(port.ci, 1 << slot, true); // Issue command in write_at()