Searched refs:cmd (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.7/user/apps/shell/ |
D | Makefile | 1 all: shell.o cmd.o cmd_help.o cmd_test.o 9 cmd.o: cmd.c 10 $(CC) $(CFLAGS) -c cmd.c -o cmd.o
|
/DragonOS-0.1.7/kernel/src/common/ |
D | blk_types.h | 18 long (*ioctl)(long cmd, long arg); 30 …long (*transfer)(struct blk_gendisk *gd, long cmd, uint64_t base_addr, uint64_t count, uint64_t bu… 39 uchar cmd; member
|
/DragonOS-0.1.7/docs/community/code_contribution/ |
D | c-coding-style.md | 24 switch (cmd) 28 pack->blk_pak.cmd = AHCI_CMD_READ_DMA_EXT; 32 pack->blk_pak.cmd = AHCI_CMD_WRITE_DMA_EXT; 36 pack->blk_pak.cmd = cmd;
|
/DragonOS-0.1.7/kernel/src/driver/disk/ahci/ |
D | hba.rs | 52 pub cmd: u32, // 0x18, command and status field 147 while volatile_read!(self.cmd) & HBA_PORT_CMD_CR > 0 { in start() 150 let val: u32 = volatile_read!(self.cmd) | HBA_PORT_CMD_FRE | HBA_PORT_CMD_ST; in start() 151 volatile_write!(self.cmd, val); in start() 159 self.cmd, in stop() 160 (u32::MAX ^ HBA_PORT_CMD_ST) & volatile_read!(self.cmd) in stop() 164 while volatile_read!(self.cmd) & (HBA_PORT_CMD_FR | HBA_PORT_CMD_CR) in stop() 173 self.cmd, in stop() 174 (u32::MAX ^ HBA_PORT_CMD_FRE) & volatile_read!(self.cmd) in stop() 243 volatile_write!(self.cmd, volatile_read!(self.cmd) | 1 << 2 | 1 << 1); in init()
|
D | ahci.h | 217 uint32_t cmd; // 0x18, command and status member
|
/DragonOS-0.1.7/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 78 long ps2_keyboard_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *filp, uint64_t cmd, uint… in ps2_keyboard_ioctl() argument 80 switch (cmd) in ps2_keyboard_ioctl()
|
/DragonOS-0.1.7/kernel/src/filesystem/vfs/ |
D | VFS.h | 190 …long (*ioctl)(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd, uint64_t …
|
D | mount.rs | 311 fn ioctl(&self, cmd: u32, data: usize) -> Result<usize, SystemError> { in ioctl() 312 return self.inner_inode.ioctl(cmd, data); in ioctl()
|
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/ |
D | xhci.c | 278 uint32_t cmd = xhci_read_op_reg32(id, XHCI_OPS_USBCMD); in xhci_hc_reset() local 281 cmd |= (1 << 1); in xhci_hc_reset() 282 xhci_write_op_reg32(id, XHCI_OPS_USBCMD, cmd); in xhci_hc_reset()
|