xvip_clr_or_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– xvip_clr_or_set(9) β€” Kernel API Manual πŸ’–

🌸 NAME 🌸

xvip_clr_or_set β€” Clear or set the register with a bitmask. that's the whole vibe bestie, no cap ✨

✨ SYNOPSIS ✨

void xvip_clr_or_set (struct xvip_device *xvip , u32 addr , u32 mask ,
       bool set );

okay so the function is void, and it takes those four things. signature stays exactly like that, lowercase void and all πŸ’…

πŸŽ€ ARGUMENTS πŸŽ€

  • xvip β€” Xilinx Video IP device. the main character struct, literally 🫢
  • addr β€” address of register. where the drama happens πŸ“
  • mask β€” bitmask to be set or cleared. the bits we're messing with 🧚
  • set β€” boolean flag indicating whether to set or clear. the true/false plot twist 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

Clear or set the register at address addr with a bitmask mask, depending on the boolean flag set. When the flag set is true, the bitmask is set in the register; otherwise, the bitmask is cleared from the register when the flag set is false. that's it, that's the whole bit-flipping moment πŸ’…

Fox example β€” yes, "Fox" with an x, keeping it exactly as the page says, iykyk 🦊 β€” this function can be used to set a control with a boolean value requested by users. If the caller knows whether to set or clear in the first place, the caller should call xvip_clr or xvip_set directly instead of using this function. okay so if you already know the vibe, skip the middleman, periodt ✨

🌈 SEE ALSO 🌈

that's the whole friend group right there, all linked and slaying 🫢


made with love from ./drivers/media/platform/xilinx, October 2026 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from