ENUM SDW_DATA_DIRECTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ enum sdw_data_direction(9) πŸ¦‹

okay so bestie, get this β€” we're in the Kernel API Manual today and the vibe is extremely SoundWire. this page is literally just here to tell you which way the data is going, bestie. that's it. that's the whole page. no cap, it's giving "small but iconic" ✨

it's an enum called sdw_data_direction, and its entire personality is two directions πŸŽ€


✨ SYNOPSIS ✨

here's the whole shape of it, bestie β€” copy it exactly, don't you dare touch it:

enum sdw_data_direction {
    SDW_DATA_DIR_RX ,
    SDW_DATA_DIR_TX

};

like, look at it. two members. clean lines. main character energy fr fr πŸ’…


🌸 Constants 🌸

okay so the tea on the actual members πŸ‘‡

  • SDW_DATA_DIR_RX β€” data into Port 🫢 like, it's coming IN, bestie. inbound. receiving. the port is getting fed 😭
  • SDW_DATA_DIR_TX β€” data out of Port πŸ¦‹ and this one's the opposite, it's heading OUT. transmitting. the port is the one doing the giving πŸ’€

that's genuinely the whole list. i told you it was a short one 😌


πŸ‘‘ SEE ALSO πŸ‘‘

the source file for all of this lives at ./include/linux/soundwire/sdw.h β€” that's the Kernel file, go look if you're nosy (i support it) πŸ’–

and okay, the cross-reference situation is a lot, so buckle up bestie, i'm listing every single one because i would never gatekeep 🧚:

  • enum sdw_slave_status(9)
  • enum sdw_clk_stop_type(9)
  • enum sdw_command_response(9)
  • enum sdw_stream_type(9)
  • enum sdw_port_data_mode(9)
  • enum sdw_p15_behave(9)
  • enum sdw_dpn_type(9)
  • enum sdw_clk_stop_mode(9)
  • struct sdw_dp0_prop(9)
  • struct sdw_dpn_prop(9)
  • struct sdw_slave_prop(9)
  • struct sdw_master_prop(9)
  • struct sdw_slave_id(9)
  • struct sdw_slave_intr_status(9)
  • enum sdw_reg_bank(9)
  • struct sdw_prepare_ch(9)
  • enum sdw_port_prep_ops(9)
  • struct sdw_bus_params(9)
  • struct sdw_slave_ops(9)
  • struct sdw_slave(9)
  • struct sdw_master_device(9)
  • struct sdw_port_params(9)
  • struct sdw_transport_params(9)
  • struct sdw_enable_ch(9)
  • struct sdw_master_port_ops(9)
  • struct sdw_defer(9)
  • struct sdw_master_ops(9)
  • struct sdw_port_config(9)
  • struct sdw_stream_config(9)
  • enum sdw_stream_state(9)
  • struct sdw_stream_params(9)
  • struct sdw_stream_runtime(9)
  • struct sdw_bus(9)
  • sdw_slave_wait_for_init(9)
like i said. a LOT. but every one of them is here, so nothing's missing, bestie 🫢

and that's the page!! short, sweet, directional πŸ’« this came out of the ./include/linux/soundwire corner of the tree, dated October 2026, and it's filed under enum sdw_data_direction(9) β€” mwah, slay, periodt πŸ˜˜πŸ’…

πŸ“¦ where this page comes from