ccw_device_tm_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ccw_device_tm_start β€” bestie's guide to the kernel API manual ✨

okay so you're in the Kernel API Manual πŸŽ€ and the function we're stanning today is ccw_device_tm_start, which literally just... performs the start function. that's it, that's the vibe. let's get into it πŸ¦‹


🌸 SYNOPSIS 🌸

int ccw_device_tm_start (struct ccw_device *cdev , struct tcw *tcw ,
       unsigned long intparm , u8 lpm );

like yes she takes four args and returns an int, we love a consistent queen πŸ‘‘


✨ ARGUMENTS ✨

  • cdev β€” the ccw device you're doing the start function on. the main character of this operation, fr fr 🫢
  • tcw β€” the transport-command word that's getting started. this is the thing actually being launched, no cap πŸš€
  • intparm β€” user-defined parameter that gets passed along to the interrupt handler. your little note-to-self, your iykyk handoff πŸ’Œ
  • lpm β€” mask of the paths to use. it's a u8, so keep it smol and correct πŸ’…

πŸ’– DESCRIPTION πŸ’–

Start the tcw on the given ccw device. that's the whole bit, genuinely 🌈

returns zero on success, and non-zero otherwise 😭 β€” so like, don't be out here checking for 1 specifically, just check for non-zero and you're slaying.

not me reminding you: zero = good, non-zero = go read something else πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the kernel file, first of all:

  • Kernel file ./drivers/s390/cio/device_ops.c

and then the whole friend group, in order, because we do not skip anybody πŸ‘‘:


and that's the page!! πŸŽ€ sign-off time: this lil masterpiece lives in ./drivers/s390/cio, dated October 2026, and it's filed under ccw_device_tm_start(9). go forth and start those transport-command words, bestie πŸ’œβ­

πŸ“¦ where this page comes from