dpsw_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpsw_disable(9) β€” bestie's guide to turning DPSW off

okay so this is a page from the Kernel API Manual, and it's literally about one tiny function that shuts DPSW functionality down. short page, iconic energy, let's go ✨


🌸 NAME 🌸

dpsw_disable β€” Disable DPSW functionality

like… that's it. that's the whole vibe. it disables the DPSW. no cap 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int dpsw_disable (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token );

three args, one int coming back at you. she's compact, she's efficient, she ate πŸ’…


✨ ARGUMENTS ✨

  • mc_io β€” Pointer to MC portal's I/O object. that's your portal handle bestie, the whole I/O situation lives here πŸ¦‹
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. so like, you pick from that family of flags. one or more. plural is allowed, she's flexible ✨
  • token β€” Token of DPSW object. this is literally the ID of the DPSW you're talking about, don't lose it πŸ™ˆ

⭐ RETURN ⭐

Completion status. '0' on Success; Error code otherwise.

so: 0 = slay, we're good πŸŽ‰. anything else = error code, vibe check failed, go read the code πŸ’€

fr fr zero is the good one here, don't get it twisted

🌈 SEE ALSO 🌈

everything is family here, the whole DPSW friend group πŸ‘‘

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpsw.c β€” that's where she lives 🏠

like I said. the whole friend group. iykyk 🧚


iykyk: dpsw_disable is the counterpart energy to dpsw_enable β€” one turns it off, the other turns it on. that's the whole story, periodt πŸ’–

mwah πŸ’‹ that's the page! sourced from ./drivers/net/ethernet/freesca... and dated October 2026 β€” she's a Scorpio probably πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from