Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mmc/mmc_ioctl.h
| Show All 24 Lines | |||||
| * | * | ||||
| * $FreeBSD$ | * $FreeBSD$ | ||||
| */ | */ | ||||
| #ifndef _DEV_MMC_MMC_IOCTL_H_ | #ifndef _DEV_MMC_MMC_IOCTL_H_ | ||||
| #define _DEV_MMC_MMC_IOCTL_H_ | #define _DEV_MMC_MMC_IOCTL_H_ | ||||
| struct mmc_ioc_cmd { | struct mmc_ioc_cmd { | ||||
| int write_flag; /* 0: RD, 1: WR, (1 << 31): reliable WR */ | int write_flag; /* 0: RD, 1: WR, (1U << 31): reliable WR */ | ||||
| int is_acmd; /* 0: normal, 1: use CMD55 */ | int is_acmd; /* 0: normal, 1: use CMD55 */ | ||||
| uint32_t opcode; | uint32_t opcode; | ||||
| uint32_t arg; | uint32_t arg; | ||||
| uint32_t response[4]; | uint32_t response[4]; | ||||
| u_int flags; | u_int flags; | ||||
| u_int blksz; | u_int blksz; | ||||
| u_int blocks; | u_int blocks; | ||||
| u_int __spare[4]; | u_int __spare[4]; | ||||
| Show All 23 Lines | |||||