Searched refs:volatile_set_bit (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.5/kernel/src/libs/ |
D | volatile_io.rs | 16 macro_rules! volatile_set_bit { macro 34 volatile_set_bit!($data, $bits, false); 35 volatile_set_bit!($data, ($val) & ($bits), true);
|
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 93 volatile_set_bit!(cmdheader.cfl, 1 << 6, false); // Read/Write bit : Read from device in read_at() 115 volatile_set_bit!(cmdtbl.prdt_entry[i].dbc, 1 << 31, true); // 允许中断 prdt_entry.i in read_at() 128 volatile_set_bit!(cmdtbl.prdt_entry[las].dbc, 1 << 31, true); // 允许中断 in read_at() 137 volatile_set_bit!(cmdfis.pm, 1 << 7, true); // command_bit set in read_at() 167 volatile_set_bit!(port.ci, 1 << slot, true); // Issue command in read_at() 228 …volatile_set_bit!(cmdheader.cfl, 7 << 5, true); // (p,c,w)都设置为1, Read/Write bit : Write from devi… in write_at() 252 volatile_set_bit!(cmdtbl.prdt_entry[i].dbc, 1 << 31, true); // 允许中断 in write_at() 260 volatile_set_bit!(cmdtbl.prdt_entry[las].dbc, 1 << 31, true); // 允许中断 in write_at() 274 volatile_set_bit!(cmdfis.pm, 1 << 7, true); // command_bit set in write_at() 289 volatile_set_bit!(port.ci, 1 << slot, true); // Issue command in write_at()
|