STRUCT CCW0(9)
π struct ccw0(9) β channel command word β¨
okay bestie, welcome to the Kernel API Manual entry for struct ccw0(9) π this is the channel command word, and weβre about to get into its whole lil layout. no cap, itβs giving classic kernel struct energy π
πΈ NAME πΈ
struct ccw0 β channel command word π¦
β¨ SYNOPSIS β¨
struct ccw0 {
__u8 cmd_code;
__u32 cda : 24;
__u8 flags;
__u8 reserved;
__u16 count;
};
π«Ά Members π«Ά
member by member, letβs go π
cmd_codeβ command code.cdaβ data address.flagsβ flags, like IDA addressing, etc.reservedβ will be ignored. πcountβ byte count.
π Description π
itβs the format-0 ccw structure. thatβs the whole description, and honestly? iconic. periodt π
π SEE ALSO π
peep the kernel file ./arch/s390/include/asm/cio.h and these related pages, bestie:
struct ccw1(9)struct erw(9)struct erw_eadm(9)struct sublog(9)struct esw0(9)struct esw1(9)struct esw2(9)struct esw3(9)struct esw_eadm(9)struct irb(9)struct ciw(9)struct ccw_dev_id(9)ccw_dev_id_is_equal(9)pathmask_to_pos(9)
and thatβs the tea β source/version is ./arch/s390/include/asm, dated October 2026, for struct ccw0(9) β mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms