Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.2/user/apps/shell/
DMakefile1 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.2/kernel/src/common/
Dblk_types.h18 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.2/docs/community/code_contribution/
Dcoding-style.md24 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.2/kernel/src/driver/disk/ahci/
Dahci.c37 static long ahci_ioctl(long cmd, long arg);
38 static long ahci_transfer(struct blk_gendisk *gd, long cmd, uint64_t base_addr, uint64_t count, uin…
260 while ((port->cmd) & HBA_PxCMD_CR) in start_cmd()
264 port->cmd |= HBA_PxCMD_FRE; in start_cmd()
265 port->cmd |= HBA_PxCMD_ST; in start_cmd()
272 port->cmd &= ~HBA_PxCMD_ST; in stop_cmd()
275 port->cmd &= ~HBA_PxCMD_FRE; in stop_cmd()
280 if (port->cmd & HBA_PxCMD_FR) in stop_cmd()
282 if (port->cmd & HBA_PxCMD_CR) in stop_cmd()
549 static struct ahci_request_packet_t *ahci_make_request(long cmd, uint64_t base_addr, uint64_t count… in ahci_make_request() argument
[all …]
Dahci.h217 uint32_t cmd; // 0x18, command and status member
/DragonOS-0.1.2/kernel/src/driver/tty/
Dtty.c43 long tty_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *filp, uint64_t cmd, uint64_t arg) in tty_ioctl() argument
45 switch (cmd) in tty_ioctl()
/DragonOS-0.1.2/kernel/src/driver/keyboard/
Dps2_keyboard.c79 long ps2_keyboard_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *filp, uint64_t cmd, uint… in ps2_keyboard_ioctl() argument
81 switch (cmd) in ps2_keyboard_ioctl()
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.h191 …long (*ioctl)(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd, uint64_t …
/DragonOS-0.1.2/kernel/src/filesystem/rootfs/
Drootfs.c49 static long rootfs_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd,… in rootfs_ioctl() argument
/DragonOS-0.1.2/kernel/src/filesystem/devfs/
Ddevfs.c82 static long devfs_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd, … in devfs_ioctl() argument
/DragonOS-0.1.2/kernel/src/filesystem/procfs/
Dprocfs.c258 static long procfs_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd,… in procfs_ioctl() argument
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c278 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()
/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat32.c823 long fat32_ioctl(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr, uint64_t cmd, uint64_… in fat32_ioctl() argument